/* Styles for the template's showcase page (DMV Throwers look: square corners, flat cards) (not used by sites built from the template). */
:root { --navy: #102040; --navy-dark: #08122a; --gold: #B80000; --ink: #102040; --muted: #545b66; --bg: #fffdfa; --line: #d9d3c4; --white: #fff; --radius: 0;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1, h2 { font-family: var(--display); font-weight: 900; }
h1 { font-size: 2.1rem; color: var(--white); }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.15rem; }
code { font-family: var(--mono); font-size: .92em; background: rgba(16,32,64,.08); padding: .1em .35em; border-radius: 0; overflow-wrap: anywhere; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }
.skip-link { position: absolute; left: .5rem; top: -4rem; background: var(--gold); color: #fff; padding: .6rem 1rem; font-weight: 700; border-radius: 0; z-index: 10; }
.skip-link:focus { top: .5rem; }

.top { background: var(--navy-dark); color: var(--white); }
.top-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--white); text-decoration: none; font-weight: 800; min-height: 44px; }
.top nav { display: flex; flex-wrap: wrap; gap: 0 .25rem; }
.top nav a { color: var(--white); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .6rem; border-radius: 0; }
.top nav a:hover { background: rgba(255,255,255,.12); }

.hero { background: var(--navy); border-bottom: 6px solid var(--gold); color: var(--white); padding: 3rem 0 3.5rem; text-align: center; }
.eyebrow { color: var(--white); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .875rem; }
.lede { max-width: 700px; margin: 0 auto 1.5rem; font-size: 1.15rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 0 0 1.5rem; }
.btn { text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.5rem; border-radius: 0; font-weight: 800; text-decoration: none; border: 2px solid transparent; }
.btn-accent { background: var(--gold); color: #fff; }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.facts { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem; max-width: 640px; }
.facts li { background: rgba(255,255,255,.1); border-radius: var(--radius); padding: .9rem .5rem; }
.facts strong { display: block; font-size: 1.4rem; color: var(--white); font-family: var(--display); }
.facts span { font-size: .875rem; }

.section { padding: 3.5rem 0; }
.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { color: var(--muted); max-width: 720px; }
.note { color: var(--muted); font-size: .95rem; max-width: 820px; }

.examples { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0,1fr)); margin: 1.5rem 0; }
.example { display: flex; flex-direction: column; gap: .2rem; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; position: relative; }
.example:hover { border-color: var(--navy); }
.example img { border-radius: 0; border: 1px solid var(--line); aspect-ratio: 390 / 520; object-fit: cover; object-position: top; margin-bottom: .5rem; }
.example strong { color: var(--navy); font-size: 1.05rem; }
.example span { font-size: .9rem; color: var(--muted); }
.example .tag { position: absolute; top: 1.2rem; left: 1.2rem; background: var(--gold); color: #fff; font-weight: 800; font-size: .8125rem; padding: .15rem .6rem; border-radius: 0; }
.example .tag-demo { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.featured { border: 2px solid var(--gold); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.5rem 0 2.5rem; display: grid; gap: 1rem; }
.steps li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem 4.4rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 1.2rem; top: 1.15rem; width: 2.3rem; height: 2.3rem; border-radius: 0; background: var(--navy); color: var(--white); font-weight: 800; display: grid; place-items: center; }
.steps p { margin: 0 0 .5rem; }
.time { color: var(--muted); font-size: .875rem; font-weight: 700; }
.two-col { display: grid; gap: 1.25rem; grid-template-columns: minmax(0,1fr); }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; min-width: 0; }
pre { background: #0f1b2b; color: #e6edf6; border-radius: 0; padding: 1rem; overflow-x: auto; font-size: .875rem; line-height: 1.5; margin: 0 0 1rem; }
pre code { background: none; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: rgba(16,32,64,.06); color: var(--navy); }
.features { list-style: none; padding: 0; display: grid; gap: .75rem; grid-template-columns: minmax(0,1fr); }
.features li { background: var(--bg); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--radius); padding: .9rem 1.1rem; }

details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; }
summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--navy); min-height: 44px; }
details p { margin: 0; padding: 0 1.2rem 1rem; }

.cta { background: var(--navy); color: var(--white); text-align: center; padding: 3rem 0 2rem; }
.cta h2 { color: var(--white); }
.foot { background: var(--navy-dark); color: #e9eef5; text-align: center; padding: 1.5rem 0; font-size: .95rem; }
.foot .credit { font-size: .8125rem; margin: 0; }
.foot a { color: var(--white); display: inline-block; min-height: 44px; line-height: 44px; }

@media (min-width: 760px) {
  h1 { font-size: 2.8rem; }
  .examples { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .two-col { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .features { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1100px) { .examples { grid-template-columns: repeat(5, minmax(0,1fr)); } }
