/* Neon City Guides — site.css v0.1
   Palette and fonts from plans/12-BRAND-AND-LOGO-BRIEF.md. No animation (brand rule: no flashing neon). */

/* Fonts: SIL OFL 1.1, from github.com/google/fonts. Audiowide and Righteous are shipped UNMODIFIED
   (they have Reserved Font Names). Inter (no RFN) is subset to Latin + instanced to wght 400–700. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Audiowide"; src: url("/assets/fonts/Audiowide-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Righteous"; src: url("/assets/fonts/Righteous-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --pink: #FF2E88; --teal: #00E5D4; --purple: #9D4EDD; --lavender: #B388FF; --peach: #FFB86B;
  --midnight: #140B2E; --deep: #0B0618; --chrome: #F5F3FF; --mist: #B8B3D1;
  --card: #1B1040; --line: #3A2A6B;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Audiowide", "Inter", system-ui, sans-serif;
  --font-mark: "Righteous", "Audiowide", system-ui, sans-serif;
  --max: 72rem; --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--midnight); color: var(--chrome); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--chrome); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.25; letter-spacing: .01em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin: .2em 0 .5em; }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--lavender); margin: 1.8em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
p, ul, ol { margin: 0 0 1em; }
small, .muted { color: var(--mist); }
code { background: var(--deep); padding: .1em .35em; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: .5rem; top: -3rem; background: var(--teal); color: var(--deep); padding: .5rem 1rem; z-index: 100; font-weight: 700; border-radius: 6px; }
.skip-link:focus { top: .5rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.1rem; }
.prose { max-width: 46rem; }

/* Header: 56px mobile / 64px desktop, Midnight with 1px Neon Pink bottom line (brief §5b) */
.site-header { background: var(--midnight); border-bottom: 1px solid var(--pink); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; min-height: 56px; padding-top: .35rem; padding-bottom: .35rem; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .15rem .35rem; margin: 0; padding: 0; }
.site-nav a { display: inline-block; padding: .4rem .55rem; color: var(--chrome); text-decoration: none; font-size: .95rem; border-radius: 6px; }
.site-nav a:hover { color: var(--teal); }
.site-nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }
.site-nav .nav-cta { background: var(--pink); color: var(--deep); font-weight: 700; }
.site-nav .nav-cta:hover { background: var(--chrome); color: var(--deep); }
@media (min-width: 60rem) { .site-header .wrap { min-height: 64px; } }

/* PLACEHOLDER WORDMARK (CSS text, not the final logo). Swap for the Fiverr SVG when delivered (README §Logo). */
.wordmark { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--chrome); border: 2px solid var(--teal); border-radius: 10px; padding: .2rem .6rem; max-height: 40px; box-shadow: 0 0 6px rgba(0,229,212,.35); }
.wordmark:hover { color: var(--chrome); }
.wm-neon { font-family: var(--font-mark); font-size: 1.2rem; line-height: 1; background: linear-gradient(90deg, var(--pink), var(--peach)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-guides { display: inline-flex; align-items: center; gap: .2rem; font-family: var(--font-head); font-size: .9rem; letter-spacing: .14em; color: var(--chrome); line-height: 1; }
.wm-pin { width: .8rem; height: 1rem; flex: none; }
@media (forced-colors: active) { .wm-neon { color: CanvasText; background: none; } }

/* Hero: CSS-only sunset + retro grid (our own art, no images) */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #140B2E 0%, #2A1150 55%, #3B145E 70%, #140B2E 100%); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; right: -4rem; top: 2.5rem; width: 22rem; height: 22rem; border-radius: 50%;
  background: repeating-linear-gradient(180deg, transparent 0 62%, rgba(20,11,46,.9) 62% 64%, transparent 64% 70%, rgba(20,11,46,.9) 70% 73%, transparent 73% 79%, rgba(20,11,46,.9) 79% 83%, transparent 83%),
              linear-gradient(180deg, var(--peach), var(--pink)); opacity: .55; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9rem;
  background: repeating-linear-gradient(90deg, rgba(157,78,221,.45) 0 1px, transparent 1px 3rem), repeating-linear-gradient(180deg, rgba(157,78,221,.45) 0 1px, transparent 1px 1.5rem);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000); }
.hero .wrap { position: relative; z-index: 1; padding-top: 2.5rem; padding-bottom: 7rem; }
.hero-sign { display: inline-flex; flex-direction: column; align-items: flex-start; border: 3px solid var(--teal); border-radius: 18px; padding: .9rem 1.4rem 1rem; background: rgba(11,6,24,.6); box-shadow: 0 0 14px rgba(0,229,212,.4), inset 0 0 10px rgba(0,229,212,.15); margin-bottom: 1.2rem; }
.hero-sign .wm-neon { font-size: clamp(2.4rem, 9vw, 4.4rem); padding-bottom: .1em; }
.hero-sign .wm-guides { font-size: clamp(1.2rem, 4.5vw, 2rem); gap: .5rem; }
.hero-sign .wm-pin { width: 1.4em; height: 1.7em; }
.hero h1 { font-size: clamp(1.25rem, 3.4vw, 1.75rem); color: var(--chrome); max-width: 36rem; }
.hero p.lede { font-size: 1.15rem; max-width: 36rem; color: var(--chrome); }
.btn { display: inline-block; padding: .75rem 1.2rem; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--pink); color: var(--deep); }
.btn-primary:hover { background: var(--chrome); color: var(--deep); }
.btn-ghost { border-color: var(--teal); color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

main { display: block; padding-bottom: 3rem; }
.page-head { padding: 2rem 0 .5rem; }
.breadcrumb { font-size: .9rem; color: var(--mist); margin: 0 0 .5rem; }
.breadcrumb a { color: var(--mist); }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); margin: 1rem 0 1.5rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.card h3 { margin-top: 0; font-size: 1.05rem; }
.card h3 a { color: var(--chrome); text-decoration: none; }
.card h3 a:hover { color: var(--teal); text-decoration: underline; }
.card p { margin: 0; color: var(--mist); font-size: .97rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--teal); color: var(--teal); margin-bottom: .5rem; }
.tag-template { border-color: var(--peach); color: var(--peach); }
.callout { border-left: 4px solid var(--teal); background: var(--deep); padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; }
.callout-pink { border-left-color: var(--pink); }
.callout-peach { border-left-color: var(--peach); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.answer { font-size: 1.12rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.meta { color: var(--mist); font-size: .92rem; margin-bottom: 1rem; }
.unverified { color: var(--peach); font-weight: 700; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .97rem; }
caption { text-align: left; color: var(--mist); padding-bottom: .4rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
th { color: var(--lavender); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.sources ol { padding-left: 1.3rem; }
.sources li { margin-bottom: .4rem; word-break: break-word; }
details { background: var(--deep); border: 1px solid var(--line); border-radius: 10px; padding: .6rem 1rem; margin: 1rem 0; }
summary { cursor: pointer; font-weight: 700; color: var(--lavender); }
dl.faq dt { font-weight: 700; margin-top: 1.2rem; color: var(--chrome); }
dl.faq dd { margin: .3rem 0 0; color: var(--chrome); }
.news-list { list-style: none; padding: 0; }
.news-list li { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.news-list time { color: var(--mist); font-size: .9rem; display: block; }

/* Checklist */
.checklist-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin: 1rem 0; }
.progress { font-weight: 700; color: var(--teal); }
.cl-group { margin: 1.4rem 0; }
.cl-group h2 { margin-top: .5rem; }
.cl-list { list-style: none; padding: 0; margin: 0; }
.cl-list li { border-bottom: 1px solid var(--line); }
.cl-item { display: flex; align-items: flex-start; gap: .75rem; padding: .7rem .2rem; cursor: pointer; }
.cl-item input { width: 1.35rem; height: 1.35rem; margin: .15rem 0 0; accent-color: var(--teal); flex: none; }
.cl-item .cl-note { display: block; font-size: .9rem; color: var(--mist); }
.cl-item input:checked + span { color: var(--mist); text-decoration: line-through; }
.btn-small { padding: .45rem .8rem; font-size: .92rem; background: transparent; color: var(--chrome); border: 1px solid var(--mist); border-radius: 8px; cursor: pointer; font: inherit; }
.btn-small:hover { border-color: var(--teal); color: var(--teal); }

/* Footer */
.site-footer { background: var(--deep); border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: .95rem; color: var(--mist); }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; padding: 0; margin: 0 0 1rem; }
.site-footer a { color: var(--teal); }
.disclaimer { color: var(--chrome); max-width: 52rem; }

@media print {
  .site-header, .site-footer, .hero::before, .hero::after, .checklist-tools, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .card, .answer, .callout, details { background: #fff; border-color: #999; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.mt0 { margin-top: 0; }
.news-h { margin: .2rem 0 .3rem; font-size: 1.1rem; color: var(--chrome); }
/* Mobile: keep the sun out from behind the text */
@media (max-width: 40rem) {
  .hero::before { width: 11rem; height: 11rem; right: -4.5rem; top: .8rem; opacity: .35; }
  .hero .wrap { padding-bottom: 5.5rem; }
}
