/* Interior pages (/fleet, /desk) — components the homepage does not use.
   Everything shared (tokens, buttons, nav, forms, footer, concierge panel) lives
   in css/pop.css, which is a verbatim copy of index.html's inline <style> body
   and is drift-guarded by functions/_lib/shared-assets.test.ts. Add nothing here
   that belongs in pop.css, or the two will disagree about the brand. */

/* Interior hero — one column, no disco-ball art. */
.hero-solo { max-width: 48rem; }
.hero-solo h1 { font-size: clamp(40px, 5.6vw, 84px); }
.hero-solo .lede { margin-top: 20px; color: var(--muted); }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-solo .note { margin-top: 26px; display: inline-block; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); padding: 8px 16px 10px; transform: rotate(-2deg); box-shadow: 5px 5px 0 var(--cyan); }

/* Quiet receipt section — the sober counterweight to a loud headline.
   Ink-on-ink with a hard rule, so it reads as a statement of record. */
.receipt { margin-top: 56px; background: var(--ink-2); border: 3px solid var(--paper); border-left: 10px solid var(--cyan); padding: 30px 30px 32px; }
.receipt h2 { font-size: clamp(28px, 3.2vw, 44px); color: var(--paper); }
.receipt p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 46em; }
.receipt .stamp { display: inline-block; margin-bottom: 14px; font-weight: 800; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); }
.receipt.warm { border-left-color: var(--yellow); }
.receipt.warm .stamp { color: var(--yellow); }

/* Diamond bullet list — same marker language as .arm li and .gov li. */
.points { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; max-width: 42em; }
.points li { font-size: 16px; font-weight: 700; display: flex; gap: 12px; align-items: flex-start; color: var(--paper); }
.points li::before { content: ""; flex: none; width: 11px; height: 11px; margin-top: 6px; background: var(--pink); transform: rotate(45deg); }
/* On a bright fill, body text and markers go to ink — never paper on yellow. */
.on-light .points li { color: var(--ink); }
.on-light .points li::before { background: var(--ink); }

/* Pull quote — the one line to remember off the page. */
.pullquote { margin-top: 44px; background: var(--yellow); color: var(--ink); border: var(--edge); box-shadow: var(--pop-shadow); padding: 30px 32px; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.08; }

/* Cross-link to the sibling interior page. */
.crosslink { margin-top: 40px; display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: var(--yellow); border: var(--edge); box-shadow: 8px 8px 0 var(--pink); padding: 20px 26px; text-decoration: none; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; transition: transform .15s ease, box-shadow .15s ease; }
.crosslink:hover { transform: translate(-2px,-2px); box-shadow: 10px 10px 0 var(--pink); }
.crosslink span { font-family: var(--font-sans); font-weight: 800; font-size: 26px; }

/* A measured statement under a section — how we know the thing is working. */
.measure { margin-top: 24px; font-weight: 800; font-size: 15px; letter-spacing: 0.04em; color: var(--cyan); max-width: 42em; }
.on-light .measure { color: var(--ink); }

/* Two-beat headlines. The second beat drops to its own line; which treatment it
   gets depends on what is BEHIND it, so each use picks one explicitly:
     .beat-pink — pink on a dark ground only (fails contrast on any bright fill)
     .beat-ink  — ink block, yellow text; safe on pink, yellow, cyan and orange
   Brand guide section 2: never a bright on a bright at display size. */
.two-beat .beat2 { display: block; }
.two-beat .beat-pink { color: var(--pink); }
.two-beat .beat-ink { background: var(--ink); color: var(--yellow); padding: 0 0.15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Nav: mark the page you are on. */
.nav-links a[aria-current="page"] { color: var(--yellow); text-decoration: underline; text-underline-offset: 5px; }

/* /questions — one answer per card. Visible text, never collapsed: search engines and
   people read the same thing, and the FAQPage JSON-LD is generated from the same strings
   (scripts/questions.py). */
.qa-toc { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.qa-toc a { font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: var(--yellow); border: 3px solid var(--ink); padding: 8px 14px; box-shadow: 4px 4px 0 var(--pink); }
.qa-toc a:hover { transform: translate(-1px,-1px); }
.qa-list { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .qa-list { grid-template-columns: minmax(0, 1fr); } }
.qa { background: var(--ink-2); border: 3px solid var(--paper); border-left: 10px solid var(--cyan); padding: 24px 24px 26px; scroll-margin-top: 96px; }
.qa h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; }
.qa h3 a { color: var(--paper); text-decoration: none; }
.qa h3 a:hover { color: var(--yellow); }
.qa p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.qa-more { margin-top: 14px; display: inline-block; font-weight: 800; font-size: 14px; color: var(--yellow); text-decoration: none; }
.qa-more:hover { text-decoration: underline; text-underline-offset: 4px; }
/* On a bright fill the card stays ink, so its text stays paper on ink — never paper on yellow. */
.on-light .qa, .dots-cyan .qa { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.qa:target { border-left-color: var(--pink); }
/* Group headings on a bright fill go to ink (brand guide section 2: never paper on a bright). */
.qa-group.on-light .section-head h2, .qa-group.dots-cyan .section-head h2 { color: var(--ink); }

/* /questions — definition, fit criteria, comparison table, capability checklist.
   All generated by scripts/questions.py from scripts/content.py. */
.hero .updated { margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero .updated a { color: var(--yellow); }
.foot time { white-space: nowrap; }
#definition .definition { background: var(--ink); color: var(--paper); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); padding: 28px 30px; max-width: 980px; }
#definition .stamp { display: inline-block; font-weight: 800; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); }
#definition .def-main { margin-top: 12px; font-size: clamp(19px, 1.9vw, 25px); line-height: 1.45; font-weight: 700; }
#definition .def-note { margin-top: 14px; font-size: 15px; color: var(--muted); }
#compare .section-head h2, #compare .section-head .lede { color: var(--ink); }
.fit-grid, .feat-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.feat-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
@media (max-width: 860px) { .fit-grid { grid-template-columns: minmax(0, 1fr); } }
.fit, .feat { background: var(--ink-2); border: 3px solid var(--paper); padding: 22px 24px 24px; }
.fit.yes { border-left: 10px solid var(--cyan); }
.fit.no { border-left: 10px solid var(--pink); }
.feat { border-left: 10px solid var(--yellow); }
.fit h3, .feat h3 { font-size: clamp(19px, 1.8vw, 24px); color: var(--paper); }
.fit ul, .feat ul { margin-top: 12px; padding-left: 1.1em; }
.fit li, .feat li { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.cmp-wrap { margin-top: 32px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); background: var(--ink); }
.cmp-wrap:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; color: var(--paper); }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid #2a2a35; }
.cmp thead th { background: var(--yellow); color: var(--ink); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; position: sticky; top: 0; }
.cmp tbody th { font-weight: 800; color: var(--yellow); width: 16%; }
.cmp td { color: var(--muted); width: 28%; }
.cmp td:nth-of-type(2) { color: var(--paper); }
.cmp td.ask { font-style: italic; }
@media (max-width: 860px) {
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { border-bottom: 3px solid var(--yellow); padding: 6px 0; }
  .cmp tbody th { padding-bottom: 4px; font-size: 16px; }
  .cmp td { border-bottom: 0; padding-top: 6px; }
  .cmp td::before { content: attr(data-label); display: block; font-style: normal; font-weight: 800; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 2px; }
}

/* ---------- reviewer pages (/capabilities /architecture /trust /evaluate), generated ---------- */
.pg .section-head .lede { max-width: 46em; }
.pg-steps { list-style: none; counter-reset: pgstep; margin-top: 32px; display: grid; gap: 18px; max-width: 54rem; }
.pg-steps li { counter-increment: pgstep; position: relative; background: var(--ink-2); border: 3px solid var(--paper); padding: 20px 22px 22px 76px; }
.pg-steps li::before { content: counter(pgstep, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--yellow); }
.pg-steps h3 { font-size: clamp(19px, 1.8vw, 24px); color: var(--paper); }
.pg-steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.on-light .pg-steps li, .dots-cyan .pg-steps li { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
@media (max-width: 560px) { .pg-steps li { padding: 58px 18px 20px; } }
.cmp.cols-2 tbody th { width: 38%; }
.cmp.cols-2 td { width: auto; }
.cmp.cols-3 tbody th { width: 20%; }
.cmp.cols-3 td { width: 40%; }
.pg-check { margin-top: 32px; }
.pg .receipt { margin-top: 40px; }
.pg .crosslink { margin-top: 36px; }
.pg .qa h3 { color: var(--paper); }
.pg.on-light .section-head .lede, .pg.dots-cyan .section-head .lede { color: var(--ink); }
.pg.on-light .section-head h2, .pg.dots-cyan .section-head h2 { color: var(--ink); }
@media (max-width: 860px) { .cmp.cols-2 tbody th, .cmp.cols-3 tbody th, .cmp.cols-2 td, .cmp.cols-3 td { width: auto; } }

/* ---------- /start: steps with give / get back / promise and an "Ask about this step" hand-off ---------- */
.start-steps li::before { content: attr(data-step); }
.start-steps li { scroll-margin-top: 96px; }
.st-lines { margin-top: 12px; display: grid; gap: 10px; }
.st-lines dt { font-weight: 800; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.st-lines dd { margin: 2px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.st-lines .st-promise dd { color: var(--paper); font-weight: 800; }
.st-lines .st-promise dt { color: var(--yellow); }
.st-ask { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: inherit; background: none; border: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; opacity: .85; transition: opacity .15s ease; }
.st-ask:hover { opacity: 1; text-decoration-thickness: 2px; }
.st-ask:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
/* /start only: three audience cards in one row, not two plus an orphan. */
@media (min-width: 861px) { section#why:has(+ section#first-steps) .qa-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .st-ask { transition: none; } .st-ask:hover { transform: none; } }
.pg-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 18px 22px; }
