/* WASID public pages — product, method, coverage, access, contact, legal and the request-received page.
   Loaded AFTER static/bm.css and wearing only its white-core tokens (--base --ink --muted --line and the
   three --font-* families), so these pages and the landing are one system. Figma 01b section 278:202
   (frames 278:203 /access, 278:226 /sentinel, 278:249 /method; 390 frames 278:272/292/312) is the spec.
   Nothing from the Blue Hour site: palette.FORBIDDEN_IN_CHROME is held out by tests/test_white_core.py. */

:root {
  --pad: clamp(1.25rem, 4vw, 3rem);
  --sheet: 1152px;          /* the page column in the Figma frames */
  --panel: rgba(10, 10, 10, .03);
}

a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--muted); }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

.skip-link {
  position: absolute; left: var(--pad); top: -3rem; z-index: 30;
  background: var(--base); color: var(--ink); border: 1px solid var(--ink);
  font-family: var(--font-mono); font-size: var(--fs-12); padding: .5rem 1rem;
}
.skip-link:focus { top: .75rem; }

/* the Client access line on /land and /royalties (site_pages.CONSOLE_LINE) */
.nav-console { color: var(--ink); }

.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.wordmark {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-20); letter-spacing: -.01em; color: var(--ink);
}

.nav-group { position: relative; }
.nav-group-toggle {
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
  color: var(--muted); display: inline-flex; align-items: center; gap: .35rem;
}
.nav-group-toggle:hover, .nav-group-toggle[aria-expanded="true"] { color: var(--ink); }
.nav-group-link { margin-right: .4rem; }

/* ── page column: sections sit in the 1152 sheet, ruled by hairlines (278:212) ───────────────── */
main > section {
  max-width: var(--sheet); margin: 0 auto;
  padding: clamp(4rem, 11vw, 162px) 48px;
  border: 1px solid var(--line); border-top: 0;
  background: var(--base);
}
main > section.page-intro { padding-block: clamp(4rem, 11vw, 162px); }
.product-page { padding-top: clamp(4rem, 11vw, 162px); }

.eyebrow {
  /* type audit 2026-10-07: the one eyebrow spec — JetBrains Mono 400, 12 px, .12em, uppercase (was 500 / .08em) */
  font-family: var(--font-mono); font-weight: 400; font-size: var(--fs-12); line-height: 1.5;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 44px;              /* pb 16 + gap 28 in the frame */
}
.eyebrow a { color: inherit; text-decoration: none; }

h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--fs-hero); line-height: .98; letter-spacing: -.02em;
  max-width: 1056px;                /* type audit 2026-10-07: balanced (bm.css), no one-word last line */
}
h2, .moat-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--fs-49); line-height: 1.08; letter-spacing: -.015em;
  text-wrap: balance; margin-top: 3rem;
}
h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-20); line-height: 1.2; margin-top: 1.5rem; }
main p { max-width: 776px; }
.section-lede {
  max-width: 776px; margin-top: 28px;
  font-family: var(--font-text); font-size: var(--fs-20); line-height: 1.5; color: var(--muted);
}
main ul:not([class]), main ol:not([class]) { margin: 1rem 0 0 1.25rem; max-width: 776px; color: var(--muted); }
main strong { color: var(--ink); font-weight: 600; }

/* ── calls to action — ink pill, the landing's button language ───────────────────────────────── */
.hero-cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.cta {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .12em; text-transform: uppercase;
  color: var(--base); background: var(--ink); border: 1px solid var(--ink); border-radius: 999px;
  padding: .85rem 1.5rem; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s;
}
.cta:hover { background: var(--base); color: var(--ink); }
.cta-ghost { background: var(--base); color: var(--ink); border-color: var(--line); }
.cta-ghost:hover { border-color: var(--ink); }

.trust-strip {
  list-style: none; display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; margin-top: 2.25rem;
  font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .06em; color: var(--muted);
}
.trust-strip li { position: relative; padding-left: 1rem; }
.trust-strip li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--ink);
}

/* ── /land: the address screener and the six-point checklist ─────────────────────────────────── */
.screener-box { margin: 2rem 0; max-width: 776px; }
.screener-search {
  display: flex; gap: .5rem; padding: .5rem .6rem;
  background: #FFFFFF; border: 2px solid #0B2D4C; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(11, 45, 76, 0.12);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.screener-search:focus-within { border-color: #1A568C; box-shadow: 0 4px 20px rgba(26, 86, 140, 0.25); }
.screener-input {
  flex-grow: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: var(--ink); font-family: var(--font-text); font-size: var(--fs-17); padding: .6rem .9rem;
}
.screener-input::placeholder { color: var(--muted); }
.screener-btn {
  background: var(--ink); color: var(--base); border: 1px solid var(--ink); border-radius: 999px;
  padding: .6rem 1.25rem; cursor: pointer; white-space: nowrap;
  font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .12em; text-transform: uppercase;
}
.screener-btn:hover { background: var(--base); color: var(--ink); }
.screener-results { margin-top: 1rem; color: var(--muted); }
.screener-results ul { margin: .75rem 0 0 1.25rem; }

.checklist-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem; margin: 2rem 0; border: none;
}
.checklist-item {
  background-color: #0B2E52;
  background-image:
    linear-gradient(155deg, rgba(8, 38, 68, 0.82) 0%, rgba(17, 68, 114, 0.76) 55%, rgba(7, 32, 58, 0.88) 100%),
    url("/static/video/airspace-poster.webp");
  background-size: cover; background-position: center 40%;
  padding: 1.5rem 1.6rem; border-radius: 10px;
  border: 1px solid rgba(173, 208, 231, 0.45); border-top: 3px solid #8FD6FF;
  box-shadow: 0 12px 30px rgba(8, 38, 68, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.checklist-item:nth-child(even) {
  background-image:
    linear-gradient(155deg, rgba(7, 36, 62, 0.82) 0%, rgba(16, 66, 104, 0.76) 55%, rgba(8, 42, 58, 0.86) 100%),
    url("/static/video/satellite-poster.webp");
  background-position: center 35%;
}
.checklist-item:hover {
  transform: translateY(-2px);
  border-color: rgba(173, 208, 231, 0.85);
  box-shadow: 0 16px 36px rgba(8, 38, 68, 0.34);
}
.check-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.check-name {
  font-family: var(--font-mono); font-size: var(--fs-14); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #ADD0E7;
}
.check-name, .check-evidence { font-variant-numeric: tabular-nums; }   /* type audit 2026-10-07 */
.check-evidence { font-size: var(--fs-14); color: rgba(242, 248, 255, 0.96); line-height: 1.6; }

/* ── /coverage: language identities (same marks as the landing's .bm-lang) ───────────────────── */
.lang-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; max-width: 60rem; }
.lang-list li, .lang {
  border: 1px solid var(--line); padding: .25rem .75rem; color: var(--muted); font-size: var(--fs-14);
  display: inline-flex; align-items: center; gap: .45rem;
}
.lang--deep::before, .lang--group::before, .lang-dot {
  content: ""; width: .4rem; height: .4rem; border-radius: 50%; border: 1px solid var(--ink); display: inline-block;
}
.lang--deep::before, .lang-dot--deep { background: var(--ink); }
.lang-legends { margin-top: 1rem; display: grid; gap: .35rem; }
.lang-legend { color: var(--muted); display: flex; gap: .5rem; align-items: center; font-size: var(--fs-14); }

/* ── access-request form (the /contact page carries the landing's .bm-form; this is the older one) */
.access-form { display: grid; gap: 1.1rem; margin-top: 1.75rem; max-width: 640px; }
.access-form label {
  display: grid; gap: .45rem; font-family: var(--font-mono); font-size: var(--fs-12);
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-weight: 600;
}
.access-form input, .access-form select, .access-form textarea {
  font-family: var(--font-text); font-size: var(--fs-17); color: var(--ink);
  background: #FFFFFF; border: 1.5px solid rgba(11, 45, 76, 0.35); border-radius: 6px;
  padding: .75rem .9rem; width: 100%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.access-form input:focus, .access-form select:focus, .access-form textarea:focus {
  outline: none; border-color: #0B2D4C; box-shadow: 0 0 0 3px rgba(11, 45, 76, 0.16);
}
.access-form textarea { resize: vertical; min-height: 3.2rem; }
.access-form .cta { justify-self: start; margin-top: .25rem; }
/* Honeypot: off-screen, never shown to real users; a filled value flags a bot. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── the request-received page ───────────────────────────────────────────────────────────────── */
.thanks { max-width: 776px; margin: 0 auto; padding: clamp(4rem, 11vw, 8rem) var(--pad); min-height: 60vh; }
.thanks .eyebrow { margin-bottom: 1.5rem; }
.thanks-h {
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-hero);
  line-height: 1.02; letter-spacing: -.02em; margin: .5rem 0 1rem; color: var(--ink);
}
.thanks .section-lede { margin-top: 0; }
.thanks-findings { margin: 1.25rem 0 0 1.25rem; color: var(--muted); display: grid; gap: .5rem; }
.thanks a:not(.cta) { color: var(--ink); }   /* the pill keeps its own label colour */

/* ── 390: sections drop their side rules ──────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  main > section { padding: 3.5rem var(--pad); border-left: 0; border-right: 0; }
  .eyebrow { margin-bottom: 1.5rem; }
  .section-lede { font-size: var(--fs-17); }
  .screener-search { flex-direction: column; border-radius: 14px; padding: .5rem; }
  .screener-btn { width: 100%; text-align: center; justify-content: center; padding: .75rem 1rem; }
  .checklist-grid { grid-template-columns: 1fr; gap: 1rem; }
  .checklist-item { padding: 1.3rem 1.25rem; }
  .access-form .cta { width: 100%; justify-content: center; }
}

/* ── the shared shell (owner pick 2026-10-07 15:10): every public page wears the landing's
   fixed .bm-header + .bm-footer (static/bm.css). The header is fixed, so the page column starts
   below it: 72px at desktop, 79px at 390 (44px pills), measured. ─────────────────────────────── */
body.bm-page > main { padding-top: 72px; }
.console-line {
  max-width: var(--sheet); margin: 0 auto; padding: 1rem 48px 0;
  font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .12em; text-transform: uppercase;
}
.console-line a { color: var(--ink); text-decoration: none; }
@media (max-width: 720px) {
  body.bm-page > main { padding-top: 80px; }
  .console-line { padding: 1rem var(--pad) 0; }
}

/* ── /royalties: services and societies strip (owner ask 2026-10-07). Two rows drift slowly in
   opposite directions; each list is rendered twice and the track moves -50%, so the loop has no
   seam. Transform only; hover or keyboard focus pauses; reduced motion gets a still, wrapped grid
   with the aria-hidden copy removed. Names in --muted on white measure 5.9:1. Sizes are T2's
   --fs-* tokens (type audit 2026-10-07), mono at 400 / .12em like the one eyebrow spec. ─────────────────── */
.marks { margin-top: 2.5rem; max-width: 100%; }
.marks-caption { display: flex; flex-direction: column; gap: .25rem; font-family: var(--font-text); font-size: var(--fs-17); line-height: 1.45; color: var(--ink); }
.marks-caption span + span { color: var(--muted); }
.marks-label {
  margin-top: 1.35rem; font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-12); letter-spacing: .12em;
  text-transform: uppercase; color: #0B2D4C;
}
.marks-row {
  position: relative; overflow: hidden; margin-top: .45rem; padding: .65rem 0;
  border-top: 1px solid rgba(11, 45, 76, 0.14); border-bottom: 1px solid rgba(11, 45, 76, 0.14);
  background: rgba(11, 45, 76, 0.02); border-radius: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marks-row:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.marks-track { display: flex; width: max-content; animation: marks-drift 72s linear infinite; will-change: transform; }
.marks-rev .marks-track { animation-duration: 90s; animation-direction: reverse; }
.marks-row:hover .marks-track, .marks-row:focus-within .marks-track { animation-play-state: paused; }
.marks-list { list-style: none; display: flex; align-items: center; gap: 1rem; padding-right: 1rem; margin: 0; }
.mark {
  display: inline-flex; align-items: center; gap: .55rem; height: 34px; white-space: nowrap;
  font-family: var(--font-text); font-weight: 600; font-size: var(--fs-14); color: var(--ink);
  padding: .22rem .75rem .22rem .35rem; border-radius: 8px; background: #FFFFFF;
  border: 1px solid rgba(11, 45, 76, 0.16); box-shadow: 0 2px 5px rgba(11, 45, 76, 0.06);
}
.mark img { width: 24px; height: 24px; flex: none; border-radius: 6px; }
.mark-word span { font-family: var(--font-text); font-weight: 600; font-size: var(--fs-14); letter-spacing: .01em; }
.marks-note { margin-top: 1rem; font-family: var(--font-text); font-size: var(--fs-14); line-height: 1.5; color: var(--muted); }
.marks-legal { margin-top: .5rem; font-size: var(--fs-12); }
@keyframes marks-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marks-row { -webkit-mask-image: none; mask-image: none; }
  .marks-track { animation: none; width: auto; }
  .marks-list { flex-wrap: wrap; gap: .75rem 2rem; padding-right: 0; }
  .marks-list[aria-hidden="true"] { display: none; }
}
