/* GovSport public site — one stylesheet, no build step, no external requests.
   Palette follows brand/design-tokens.json: #142D4E carries structure
   (masthead rule, headings, footer, closing band), #007C77 carries actions
   (buttons, links, eyebrows). Status colours are never tinted with the accent.
   Fonts are system stacks: no third-party font request means no visitor data
   leaves the page.

   CHANGED from the previous version — see repo-drop-in/README.md:
   - blue/teal roles separated; --accent-deep replaced by --brand and used
   - status tints matched to their own hue (.t-* / .p-* / .formmsg)
   - font-weights limited to 400/500/600/700 (the 560–680 values could not resolve)
   - one prose measure (--measure) instead of 36/44/46rem
   - masthead is light, sticky, and collapses below 720px
   - new: .hero-split .artifact .proof .band .shot .founder .steps
   All pre-existing class names are kept, so the other pages render unchanged. */
:root{
  --ink:#111c2e;
  --ink-2:#3a4a63;
  --ink-3:#65758e;
  --bg:#fbfbfa;
  --surface:#ffffff;
  --surface-2:#f4f6f8;
  --line:#e3e6ea;
  --brand:#142d4e;
  --brand-2:#0e1f35;
  --brand-ink:#9db4d4;
  --accent:#007c77;
  --accent-soft:#e6f2f0;
  --panel:#e6e9ee;
  --ok:#2e7d32;      --ok-bg:#e7f3e8;
  --warn:#b45309;    --warn-bg:#fdf0e3;
  --stop:#c62828;    --stop-bg:#fbeaea;
  --off-bg:#f0f2f5;
  --radius:10px;
  --measure:34rem;
}
@media (prefers-color-scheme: dark){
  :root{
    --ink:#eef1f5;
    --ink-2:#b7c1d0;
    --ink-3:#8794a7;
    --bg:#0e141d;
    --surface:#151d29;
    --surface-2:#111925;
    --line:#26313f;
    --brand:#9db4d4;
    --brand-2:#0a121c;
    --panel:#111925;
    --accent:#4fbfae;
    --accent-soft:#132a28;
    --ok:#4ade80;      --ok-bg:#12291a;
    --warn:#fbbf24;    --warn-bg:#2b2010;
    --stop:#f87171;    --stop-bg:#2c1618;
    --off-bg:#1a222e;
  }
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3{line-height:1.15; letter-spacing:-0.025em; margin:0; color:var(--brand)}
h1{font-size:clamp(2rem,5.5vw,3.1rem); font-weight:700}
h2{font-size:clamp(1.4rem,3vw,1.85rem); font-weight:700}
h3{font-size:1.02rem; font-weight:600}
p,ul,ol{margin:0}
a{color:var(--accent)}
a:hover{color:var(--brand)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--accent); outline-offset:2px; border-radius:3px;
}
.wrap{max-width:64rem; margin:0 auto; padding:0 1.5rem}
section{padding:4.25rem 0; border-top:1px solid var(--line)}
section:first-of-type{border-top:0}
.lede{color:var(--ink-2); font-size:1.1rem; max-width:var(--measure)}
.eyebrow{font-size:.75rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); margin-bottom:.9rem}
.skip{position:absolute; left:-9999px}
.skip:focus{position:static; display:inline-block; padding:.5rem 1rem; background:var(--accent); color:#fff}
.text-mono{font-variant-numeric:tabular-nums}

/* Masthead — light in both schemes, because the wordmark artwork is dark navy.
   A reversed wordmark is needed before this can invert. Everything inside is
   pinned to literals for the same reason: a scheme-dependent token on a fixed
   white bar drops the wordmark to 1.13:1 in dark mode. */
.masthead{position:sticky; top:0; z-index:20; background:#fff; border-bottom:2px solid #142d4e}
.masthead .wrap{display:flex; align-items:center; flex-wrap:wrap; gap:.6rem 1.5rem; padding-top:.85rem; padding-bottom:.85rem}
.brand{display:flex; align-items:baseline; gap:.55rem; flex:0 0 auto; font-weight:700; letter-spacing:-0.02em; font-size:1.2rem; color:#142d4e; text-decoration:none}
.brand img{display:block; width:168px; height:auto}
/* Kept for the pages that still ship the text wordmark. Delete once every
   masthead uses the image. */
.brand span{color:#007c77}
.brand small{font-weight:500; font-size:.72rem; letter-spacing:.04em; color:#65758e; text-transform:uppercase}
nav.site{margin-left:auto; display:flex; align-items:center; gap:1.4rem}
nav.site a{color:#3a414a; text-decoration:none; font-size:.93rem; font-weight:500}
nav.site a:hover{color:#007c77}
nav.site a[aria-current="page"]{color:#007c77}
nav.site .signin{font-size:.88rem; color:#65758e; border-left:1px solid #e3e6ea; padding-left:1.4rem; white-space:nowrap}
nav.site .btn-sm{background:#007c77; color:#fff; white-space:nowrap}
nav.site .btn-sm:hover{background:#00655f; color:#fff; filter:none}
.navtoggle{display:none}

@media (max-width:720px){
  .masthead .wrap{gap:1rem}
  .brand img{width:132px}
  .navtoggle{
    display:flex; flex-direction:column; justify-content:center; gap:5px;
    margin-left:auto; width:44px; height:44px; padding:11px 10px;
    background:none; border:1px solid #e3e6ea; border-radius:8px; cursor:pointer;
  }
  .navtoggle span{display:block; height:2px; background:#142d4e}
  nav.site{
    display:none; order:3; flex-basis:100%; margin-left:0;
    flex-direction:column; align-items:stretch; gap:0;
    border-top:1px solid #e3e6ea; padding-top:.5rem;
  }
  .masthead.open nav.site{display:flex}
  nav.site a{padding:.8rem .25rem; font-size:1rem; min-height:44px; display:flex; align-items:center}
  nav.site .signin{border-left:0; padding-left:.25rem}
  nav.site .btn-sm{margin-top:.6rem; text-align:center; justify-content:center}
}

/* Buttons */
.btn,.btn-sm{
  display:inline-block; background:var(--accent); color:#fff;
  padding:.75rem 1.4rem; border-radius:var(--radius);
  font-weight:600; font-size:.95rem; text-decoration:none; border:0; cursor:pointer;
}
.btn-sm{padding:.5rem 1rem; font-size:.88rem}
.btn:hover,.btn-sm:hover{filter:brightness(1.08); color:#fff}
.btn[disabled]{opacity:.6; cursor:progress}
@media (prefers-color-scheme: dark){ .btn,.btn-sm{color:#08110f} .btn:hover,.btn-sm:hover{color:#08110f} }
.btn-quiet{color:var(--ink-2); text-decoration:none; font-size:.95rem; border-bottom:1px solid var(--line); padding-bottom:2px}
.cta-row{margin-top:2.2rem; display:flex; flex-wrap:wrap; gap:.9rem 1.2rem; align-items:center}

/* Hero */
.hero{padding:3.5rem 0 4.25rem}
.hero h1{max-width:19ch}
.hero p{margin-top:1.4rem}
.hero-split{
  padding:3.5rem 0 2.75rem; border-top:0;
  display:grid; gap:2.75rem; grid-template-columns:1.05fr .95fr; align-items:start;
}
.hero-split h1{max-width:20ch}
.hero-split .lede{margin-top:1.2rem}
.hero-split .cta-row{margin-top:1.8rem}
@media (max-width:860px){ .hero-split{grid-template-columns:1fr; gap:2rem} }

/* Clearance artifact — the product state, shown rather than described */
.artifact{background:var(--surface); border:1px solid var(--line); border-radius:12px; overflow:hidden}
.artifact-head{padding:.9rem 1.2rem; border-bottom:1px solid var(--line); display:flex; align-items:baseline; justify-content:space-between; gap:.75rem; flex-wrap:wrap}
.artifact-head strong{font-size:.9rem; font-weight:600; color:var(--brand)}
.artifact-head span{font-size:.78rem; color:var(--ink-3)}
.artifact-row{display:flex; align-items:center; gap:.75rem; padding:.8rem 1.2rem; border-bottom:1px solid var(--surface-2)}
.artifact-row .who{flex:1; font-size:.9rem; font-weight:500; color:var(--brand)}
.artifact-row .when{font-size:.78rem; color:var(--ink-3); white-space:nowrap}
.artifact-row.is-stop{background:var(--stop-bg)}
.artifact-foot{padding:.9rem 1.2rem; background:var(--surface-2); font-size:.85rem; color:var(--ink-3)}

/* Proof strip */
.proof{border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--surface)}
.proof .wrap{display:grid; gap:1.4rem 2rem; grid-template-columns:repeat(auto-fit,minmax(13rem,1fr)); padding-top:1.4rem; padding-bottom:1.4rem}
.proof strong{display:block; font-size:.9rem; font-weight:600; color:var(--brand)}
.proof a{font-size:.85rem; text-decoration:none}

/* Full-bleed bands */
.band{background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.band > .wrap{padding-top:3.25rem; padding-bottom:3.25rem}
.band-brand{background:#142d4e}
.band-brand .wrap{padding-top:3rem; padding-bottom:3rem; display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap}
.band-brand h2{color:#fff}
.band-brand p{color:#b9c8dc; font-size:.95rem; margin-top:.5rem}
.band-brand .btn:hover{color:#fff}
.band-brand a.quiet{color:#b9c8dc; font-size:.9rem; text-decoration:none; border-bottom:1px solid #2c4767; padding-bottom:2px}

/* Steps — stacked on a phone instead of a horizontal scroller */
.steps{display:grid; gap:1.1rem; grid-template-columns:repeat(3,1fr); margin-top:2rem}
.steps .step{background:var(--surface); border-radius:var(--radius); padding:1.15rem 1.25rem; border-top:3px solid var(--line)}
.steps .step.is-ok{border-top-color:var(--ok)}
.steps .step.is-warn{border-top-color:var(--warn)}
.steps .step.is-stop{border-top-color:var(--stop)}
.steps .step strong{display:block; font-size:.95rem; color:var(--brand); margin:.55rem 0 .3rem}
.steps .step p{font-size:.9rem; color:var(--ink-2)}
@media (max-width:760px){ .steps{grid-template-columns:1fr} }
.steps-note{margin-top:1.4rem; font-size:.9rem; color:var(--ink-2); max-width:var(--measure)}

/* Screenshot slot */
.shot{
  margin-top:1.6rem; border:1px solid var(--line); border-radius:12px;
  min-height:22rem; background-color:var(--surface-2);
  background-image:repeating-linear-gradient(135deg,rgba(0,0,0,.035) 0 10px,transparent 10px 20px);
  display:flex; align-items:center; justify-content:center; text-align:center; padding:1.5rem;
}
.shot span{font-size:.85rem; color:var(--ink-3); background:var(--surface); border:1px solid var(--line); border-radius:6px; padding:.6rem .85rem}
.shot-cap{margin-top:.9rem; font-size:.88rem; color:var(--ink-3)}

/* Founder */
.founder{display:grid; gap:2.25rem; grid-template-columns:12.5rem 1fr; align-items:start}
.founder-photo{
  border:1px solid var(--line); border-radius:var(--radius); aspect-ratio:1/1;
  background-color:var(--surface-2);
  background-image:repeating-linear-gradient(135deg,rgba(0,0,0,.035) 0 10px,transparent 10px 20px);
  display:flex; align-items:center; justify-content:center; text-align:center; padding:1rem;
}
.founder-photo span{font-size:.78rem; color:var(--ink-3)}
.founder p{color:var(--ink-2); max-width:var(--measure); margin-top:1rem}
.founder p.last{color:var(--brand); font-weight:500}
@media (max-width:700px){ .founder{grid-template-columns:1fr} .founder-photo{max-width:11rem} }

/* Cards + features */
.cards{display:grid; gap:1rem; grid-template-columns:repeat(auto-fit,minmax(15rem,1fr)); margin-top:2rem}
.card{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:1.3rem 1.35rem}
.card p{color:var(--ink-2); font-size:.95rem; margin-top:.4rem}
.features{margin-top:2rem; display:grid; gap:1.6rem 2.5rem; grid-template-columns:repeat(auto-fit,minmax(16rem,1fr))}
.feature h3{display:flex; gap:.55rem; align-items:flex-start}
.feature h3::before{content:""; flex:0 0 auto; width:7px; height:7px; margin-top:.5rem; border-radius:50%; background:var(--accent)}
.feature p{color:var(--ink-2); font-size:.95rem; margin-top:.35rem; padding-left:1.15rem}

/* Mechanism diagram (kept for /safeguarding) */
.mech{margin-top:2.2rem; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:1.6rem}
.mech-steps{display:grid; gap:1.25rem; grid-template-columns:repeat(3,1fr)}
@media (max-width:760px){ .mech-steps{grid-template-columns:1fr} }
.step{position:relative}
/* The → connector belongs to the mechanism diagram only, and only while it is
   laid out in a row. */
.mech-steps .step + .step::before{content:"\2192"; position:absolute; left:-1.05rem; top:.15rem; color:var(--ink-3); font-size:1rem}
@media (max-width:760px){ .mech-steps .step + .step::before{display:none} }
.tag{display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; padding:.2rem .5rem; border-radius:4px; white-space:nowrap}
.step .tag{margin-bottom:.6rem}
.t-ok{background:var(--ok-bg); color:var(--ok)}
.t-warn{background:var(--warn-bg); color:var(--warn)}
.t-stop{background:var(--stop-bg); color:var(--stop)}
.step p{font-size:.9rem; color:var(--ink-2)}
.step strong{display:block; color:var(--brand); font-size:.95rem; margin-bottom:.25rem}
.mech-note{margin-top:1.3rem; font-size:.88rem; color:var(--ink-3); max-width:var(--measure)}

/* Panels + notes */
.panel{background:var(--surface); border:1px solid var(--line); border-left:3px solid var(--accent); border-radius:var(--radius); padding:1.6rem 1.7rem}
.panel p + p{margin-top:.9rem}
.panel p{color:var(--ink-2); max-width:var(--measure)}
.panel h3{margin-bottom:.6rem}

/* Prose lists */
.list{margin-top:1.2rem; padding-left:1.15rem; color:var(--ink-2); max-width:var(--measure)}
.list li{margin-bottom:.5rem}
.prose p{color:var(--ink-2); max-width:var(--measure); margin-top:1rem}
.prose h3{margin-top:2rem}

/* Status table */
.table-scroll{overflow-x:auto; margin-top:1.6rem}
table{border-collapse:collapse; width:100%; min-width:34rem; font-size:.94rem}
th,td{text-align:left; padding:.7rem .8rem; border-bottom:1px solid var(--line); vertical-align:top}
th{font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-3); font-weight:600}
td:first-child{color:var(--ink); font-weight:500}
td{color:var(--ink-2)}
.pill{display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:.16rem .5rem; border-radius:4px; white-space:nowrap}
.p-live{background:var(--ok-bg); color:var(--ok)}
.p-soon{background:var(--warn-bg); color:var(--warn)}
.p-off{background:var(--off-bg); color:var(--ink-3)}

/* Pricing */
.tiers{display:grid; gap:1.1rem; grid-template-columns:repeat(auto-fit,minmax(16rem,1fr)); margin-top:2rem}
.tier{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:1.5rem 1.5rem 1.7rem; display:flex; flex-direction:column}
.tier.featured{border-color:var(--accent); box-shadow:0 0 0 1px var(--accent) inset}
.tier .price{font-size:1.75rem; font-weight:700; letter-spacing:-0.02em; margin:.7rem 0 .2rem; color:var(--brand)}
.tier .price small{font-size:.85rem; font-weight:400; color:var(--ink-3); letter-spacing:0}
.tier .who{color:var(--ink-3); font-size:.9rem}
.tier ul{list-style:none; padding:0; margin:1.1rem 0 0; font-size:.93rem; color:var(--ink-2)}
.tier li{padding-left:1.3rem; position:relative; margin-bottom:.5rem}
.tier li::before{content:"\2713"; position:absolute; left:0; color:var(--accent); font-weight:700}
.tier .foot{margin-top:auto; padding-top:1.3rem}

/* Forms */
form{margin-top:2rem; max-width:34rem}
.field{margin-bottom:1.1rem}
label{display:block; font-size:.85rem; font-weight:600; margin-bottom:.4rem}
input,select,textarea{
  width:100%; font:inherit; font-size:.95rem; color:var(--ink);
  background:var(--surface); border:1px solid var(--line); border-radius:8px; padding:.65rem .75rem;
  min-height:44px;
}
input:focus,select:focus,textarea:focus{outline:2px solid var(--accent); outline-offset:1px; border-color:transparent}
textarea{min-height:6.5rem; resize:vertical}
.hint{font-size:.83rem; color:var(--ink-3); margin:1rem 0 1.1rem; max-width:34rem}
.alt{margin-top:1.4rem; font-size:.92rem; color:var(--ink-2)}
.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}
.formmsg{margin-top:1.1rem; padding:.85rem 1rem; border-radius:8px; font-size:.93rem; display:none}
.formmsg.show{display:block}
.formmsg.ok{background:var(--ok-bg); color:var(--ok); border:1px solid var(--ok)}
.formmsg.err{background:var(--stop-bg); color:var(--stop); border:1px solid var(--stop)}

/* Footer */
footer{background:var(--brand-2); padding:2.5rem 0 3.5rem; font-size:.85rem; color:#7d93b3}
footer p + p{margin-top:.5rem}
footer strong{color:var(--brand-ink); font-weight:600}
.footnav{display:flex; flex-wrap:wrap; gap:1.1rem; margin-bottom:1.2rem}
.footnav a{color:#9db4d4; text-decoration:none}
.footnav a:hover{color:#fff}
@media (prefers-color-scheme: dark){ footer{background:#0a121c} }

/* Utilities — used instead of inline style attributes so the site can ship a
   Content-Security-Policy with no 'unsafe-inline' for styles or scripts. */
.mt-1{margin-top:1rem}
.mt-2{margin-top:1.4rem}
.mt-3{margin-top:1.6rem}
.mt-6{margin-top:2.5rem}
.pb-2{padding-bottom:2rem}
.pb-3{padding-bottom:2.5rem}
.pt-1{padding-top:1rem}
.narrow-18{max-width:18ch}
.narrow-20{max-width:20ch}
.narrow-22{max-width:22ch}
.optional{font-weight:400; color:var(--ink-3)}
