/* GovBite marketing site — "Cel / Sticker" system, static edition (LTAS-199 / LTAS-318).
   Self-contained: no build step, no web/ imports. Token VALUES mirror
   web/web/src/app/globals.css (Berkeley palette); keep in sync on redesign.
   Fonts load from Google Fonts (see each page's <link>). */
:root {
  --bg: #FBF9F4; --surface: #FFFFFF; --surface-2: #F3EFE3;
  --ink: #00284A; --ink-text: #0C1B2A; --muted: #5B6B7A;
  --brand: #003262; --accent: #FDB515; --accent-2: #FC9313;
  --line: #E6DFCE; --s-active: #00A598;
  --d-medicaid: #00A598; --d-tech: #00B0DA; --d-elections: #D9661F;
  --d-redtape: #C4820E; --d-capacity: #3B7EA1; --d-dmv: #EE1F60;
  --ow: 2.5px; --sh: 4px 4px 0 var(--ink); --r: 16px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --ui: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink-text);
  font-family: var(--ui); line-height: 1.45; -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.5px; }
.cap { font-family: var(--mono); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.cel { background: var(--surface); border: var(--ow) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
main section { scroll-margin-top: 96px; }

/* ---- masthead (gtop) ---- */
.gtop { background: var(--surface); border-bottom: var(--ow) solid var(--ink); position: sticky; top: 0; z-index: 20; }
.gtop-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 78px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brandmark { width: 48px; height: 48px; flex: none; display: block; }
.brand .wm { display: flex; flex-direction: column; line-height: 1; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 27px; letter-spacing: -.8px; color: var(--ink-text); }
.wordmark em { font-style: normal; color: var(--accent); }
.tagline { font-family: var(--mono); font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.grow { flex: 1; }
.mk-nav { display: flex; gap: 6px; align-items: center; margin-right: 8px; }
.nav-lnk { font-weight: 600; font-size: 14px; color: var(--ink-text); text-decoration: none; padding: 8px 12px; border-radius: 9px; border: 2px solid transparent; }
.nav-lnk:hover { border-color: var(--ink); }
.nav-lnk.active { border-color: var(--accent); background: var(--accent); }

/* ---- buttons (gbtn) ---- */
.gbtn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ui); font-weight: 700; font-size: 14px; color: var(--ink-text); background: var(--surface); border: var(--ow) solid var(--ink); border-radius: 11px; padding: 9px 15px; cursor: pointer; text-decoration: none; box-shadow: var(--sh); transition: transform .06s, box-shadow .06s; }
.gbtn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.gbtn-gold { background: var(--accent); color: var(--brand); }

/* ---- sections ---- */
main section { border-bottom: var(--ow) solid var(--ink); }
.sec { max-width: 1180px; margin: 0 auto; padding: 72px 24px; }
.sec.tight { padding: 64px 24px; }
.sec.big { padding: 80px 24px; }
h1.hero-h { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -1.6px; margin: 16px 0 0; color: var(--brand); }
.lede { font-size: 19px; color: var(--muted); line-height: 1.55; margin: 22px 0 0; }
.eyebrow { color: var(--accent-2); font-size: 12px; }
.sec-h { font-family: var(--display); font-weight: 700; line-height: 1.06; letter-spacing: -.8px; margin: 12px 0 0; color: var(--brand); }
.ctarow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.gbtn.lg { font-size: 16px; padding: 14px 24px; border-radius: 13px; }

/* ---- hero ---- */
.mk-hero { max-width: 1180px; margin: 0 auto; padding: 76px 24px 84px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
#top { position: relative; overflow: hidden; }
.domchips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.domchip { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; padding: 5px 11px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; display: inline-flex; gap: 7px; align-items: center; }
.domchip .dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); }
.herocard { position: relative; }
.herocard .halo { position: absolute; right: -90px; top: -70px; width: 340px; height: 340px; border-radius: 50%; background: #EAF3FA; border: var(--ow) solid var(--ink); z-index: 0; }
.feedcard { position: relative; z-index: 1; padding: 22px; background: var(--brand); color: #fff; border: var(--ow) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); }
.feedcard .fitem { background: #0B2F55; border: 2px solid #0B2F55; border-radius: 12px; padding: 13px 15px; }
/* v2 hero: bill-density dot field (LTAS-372) — pure CSS, CSP-clean */
.dotfield { height: 196px; border-radius: 12px; border: 2px solid #17436e; background-color: #0B2F55; background-image: radial-gradient(circle, #2B6096 1.7px, transparent 2.4px); background-size: 15px 15px; background-position: 9px 9px; position: relative; overflow: hidden; }
.golddot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1.5px var(--ink); }
.livedot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink); display: inline-block; }
.pill-gold { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--brand); padding: 2px 7px; border-radius: 5px; font-weight: 700; }
.pill-teal { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; background: var(--s-active); color: #04231f; padding: 2px 7px; border-radius: 5px; font-weight: 700; }

/* ---- grids of cel cards ---- */
.mk-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.mk-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 34px; }
.step, .feat { transition: .12s; }
.step:hover, .feat:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.step .num { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--accent-2); }
.card-h { font-family: var(--display); font-weight: 700; margin: 12px 0 8px; color: var(--brand); }
.card-p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }
.bar { border-radius: 5px; background: var(--surface-2); border: 1.5px solid var(--line); margin: 9px 0; height: 9px; }

/* ---- honesty strip ---- */
.honesty { margin-top: 16px; padding: 28px 30px; border-left: 10px solid var(--accent); display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.honesty p { font-size: 17px; color: var(--ink-text); margin: 0; line-height: 1.55; max-width: 70ch; flex: 1; min-width: 260px; }

/* ---- access ---- */
.access { text-align: center; }
.access .sec-h { margin-inline: auto; max-width: 18ch; }
.access .lede { margin-inline: auto; max-width: 52ch; }
.access .ctarow { justify-content: center; }

/* ---- AI Approach: dark hero + harness + risk rows ---- */
.darkhero { background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.darkhero .halo { position: absolute; right: -140px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: #0B2F55; border: 3px solid var(--accent); opacity: .5; }
.risktags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.risktag { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; padding: 8px 14px; border: 2px solid var(--accent); border-radius: 999px; color: #fff; }
.riskrow { display: grid; grid-template-columns: 1fr 44px 1.3fr; gap: 16px; align-items: center; }
.riskcol { border: 2px dashed var(--line); border-radius: var(--r); padding: 18px 20px; background: var(--surface-2); }
.riskarrow { display: flex; justify-content: center; color: var(--accent-2); font-size: 26px; font-weight: 700; }
.riskfix { border-left: 8px solid var(--accent); padding: 20px 22px; }

/* ---- footer ---- */
footer { background: var(--brand); color: #fff; }
.foot { max-width: 1180px; margin: 0 auto; padding: 34px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot .fmark { width: 38px; height: 38px; }
.foot .fwm { font-family: var(--display); font-weight: 700; font-size: 18px; }
.foot .fwm em { font-style: normal; color: var(--accent); }
.foot nav { display: flex; gap: 16px; margin-left: 8px; }
.foot nav a { color: #CFE0F0; font-size: 14px; text-decoration: none; }
.foot .copy { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: #9FC0DE; margin-left: 8px; }
.foot .email { color: #fff; font-size: 14px; border-bottom: 2px solid var(--accent); text-decoration: none; }

@media (max-width: 900px) {
  .mk-hero { grid-template-columns: 1fr; gap: 40px; }
  .mk-3 { grid-template-columns: 1fr; }
  .riskrow { grid-template-columns: 1fr; }
  .riskarrow { transform: rotate(90deg); }
}
@media (max-width: 760px) {
  .mk-2 { grid-template-columns: 1fr; }
  .mk-nav { display: none; }
}

/* ---- mobile hamburger menu (LTAS-331 / M5) ----
   JS-free <details>/<summary> disclosure — the site CSP is `script-src 'none'`, so no
   JS toggle is possible. At ≤760px the inline .mk-nav + the two masthead buttons collapse
   into a full-width stacked menu (Features · Our AI Approach · Access + Sign in + Request
   access), matching design/govbite-ui/project/scratch/mk-mobile-menu.png. Cel recipe + tokens
   reused so the burger + rows match the reskin. */
.mk-disc { display: none; }
.mk-burger {
  list-style: none; cursor: pointer; flex: none;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: var(--ow) solid var(--ink); border-radius: 11px; background: var(--surface);
  box-shadow: 3px 3px 0 var(--ink);
}
.mk-burger::-webkit-details-marker { display: none; }
.mk-burger svg { width: 24px; height: 24px; display: block; }
.mk-disc[open] .mk-burger { background: var(--accent); box-shadow: 1px 1px 0 var(--ink); transform: translate(2px, 2px); }
.mk-menu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 21;
  background: var(--surface); border-bottom: var(--ow) solid var(--ink);
  padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 14px 26px rgba(0, 40, 74, .16);
}
.mk-menu a {
  display: block; text-decoration: none; font-family: var(--ui); font-weight: 700; font-size: 16px;
  color: var(--ink-text); background: var(--surface); border: var(--ow) solid var(--ink);
  border-radius: 12px; padding: 14px 16px; box-shadow: 3px 3px 0 var(--ink);
}
.mk-menu a:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.mk-menu .mk-menu-signin { background: var(--brand); color: #fff; }
.mk-menu .mk-menu-cta { background: var(--accent); color: var(--brand); }

@media (max-width: 760px) {
  .gtop-inner > .gbtn { display: none; }   /* the two masthead buttons move into the menu */
  .mk-disc { display: block; }
}

/* phone-tier polish — tighten the generous desktop section padding */
@media (max-width: 600px) {
  .gtop-inner { padding: 0 16px; gap: 10px; }
  .wrap { padding: 0 16px; }
  .mk-hero { padding: 44px 20px 52px; gap: 32px; }
  .sec { padding: 52px 20px; }
  .sec.tight { padding: 44px 20px; }
  .sec.big { padding: 56px 20px; }
}
