/* BroadReel — "Program monitor"
   Monochrome broadcast palette (ink + white) with one tally-light vermilion.
   Mona Sans (variable width: the wordmark is set extra-wide) + Fragment Mono for spec labels. */

@font-face { font-family: 'Mona Sans'; src: url(/fonts/mona-sans-latin.woff2) format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: 'Fragment Mono'; src: url(/fonts/fragment-mono-latin.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --ink: #0B0B0C;
  --ink-2: #161719;
  --ink-3: #232427;
  --text: #0B0B0C;
  --muted: #5A5D62;
  --line: #E4E4E0;
  --line-2: #D3D3CE;
  --bg: #FFFFFF;
  --bg-2: #F4F4F1;
  --tally: #FF4A1C;          /* marks, dots, rules: never body text */
  --tally-ink: #C2370F;      /* accent text on light (5.4:1) */
  --on-dark: #F3F3F0;
  --on-dark-muted: #A6A8AD;
  --tally-on-dark: #FF6A3D;
  --ok: #138A4B;
  --sans: 'Mona Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Fragment Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r: 14px;
  --r-lg: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 680; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 6.2vw, 5rem); font-weight: 700; letter-spacing: -0.038em; line-height: 1.0; }
h2 { font-size: clamp(1.95rem, 3.9vw, 3.1rem); letter-spacing: -0.032em; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); letter-spacing: -0.015em; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 650; }
code, .mono { font-family: var(--mono); font-size: .9em; }
::selection { background: var(--tally); color: #fff; }
:focus-visible { outline: 2.5px solid var(--tally); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.mark { width: 42px; height: 30px; flex: none; }
.site-foot, .hub, .flow__node--br .flow__icon { --knock: var(--ink); }
.wordmark { font-weight: 760; font-stretch: 122%; font-size: 1.22rem; letter-spacing: -0.035em; line-height: 1; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid rgba(0,0,0,.07); }
.site-head__in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.sitenav { display: flex; align-items: center; gap: 28px; }
.sitenav ul { display: flex; list-style: none; gap: 26px; }
.sitenav ul a { text-decoration: none; font-size: .95rem; font-weight: 520; color: #2B2D31; padding: 8px 0; position: relative; }
.sitenav ul a:hover { color: var(--ink); }
.sitenav ul a[aria-current="page"] { color: var(--ink); }
.sitenav ul a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tally); border-radius: 2px; }
.navtoggle { display: none; }

@media (max-width: 900px) {
  .navtoggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; color: var(--ink); }
  .navtoggle__bars, .navtoggle__bars::before, .navtoggle__bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .navtoggle__bars { position: relative; }
  .navtoggle__bars::before, .navtoggle__bars::after { content: ""; position: absolute; left: 0; }
  .navtoggle__bars::before { top: -6px; } .navtoggle__bars::after { top: 6px; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars { background: transparent; }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .sitenav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; box-shadow: 0 24px 40px -24px rgba(0,0,0,.18); }
  .sitenav.is-open { display: flex; }
  .sitenav ul { flex-direction: column; gap: 0; }
  .sitenav ul a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .sitenav ul a[aria-current="page"]::after { display: none; }
  .sitenav .btn { margin-top: 18px; justify-content: center; }
  html:not(.js) .sitenav { display: flex; position: static; box-shadow: none; }
  html:not(.js) .navtoggle { display: none; }
}

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; border: 1.5px solid var(--ink); transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; cursor: pointer; font-family: inherit; }
.btn:hover { background: #2A2B2F; border-color: #2A2B2F; }
.btn:active { transform: translateY(1px); }
.btn .arr { width: 16px; height: 16px; transition: transform .15s ease; }
.btn:hover .arr, .link:hover .arr, .pathcard:hover .arr { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn--sm .arr { display: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--bg-2); border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: #E9E9E6; border-color: #E9E9E6; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--line-2); padding-bottom: 2px; }
.link:hover { border-color: var(--ink); }
.link .arr { width: 14px; height: 14px; transition: transform .15s ease; }
.sec--dark .link { color: #fff; border-color: rgba(255,255,255,.35); }
.sec--dark .link:hover { border-color: #fff; }
.prose a, .ledger a, .qa a, .lede a, .note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--tally); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover, .ledger a:hover, .qa a:hover, .lede a:hover, .note a:hover { text-decoration-color: var(--ink); }

/* ---------- Eyebrows ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tally { width: 8px; height: 8px; border-radius: 50%; background: var(--tally); box-shadow: 0 0 0 4px rgba(255,74,28,.14); flex: none; }
.eyebrow__n { color: var(--tally-ink); }
.sec--dark .eyebrow, .band--dark .eyebrow, .hero .eyebrow { color: var(--on-dark-muted); }
.sec--dark .eyebrow__n { color: var(--tally-on-dark); }

/* ---------- Home hero ---------- */
.hero { padding: clamp(64px, 9vw, 120px) 0 0; text-align: center; }
.hero h1 { max-width: 15ch; margin: 0 auto; font-size: clamp(2.7rem, 7vw, 5.6rem); }
.hero .eyebrow { color: var(--muted); }
.hero .lede { max-width: 680px; margin: 28px auto 0; }
.hero .actions { justify-content: center; }
.lede { font-size: clamp(1.13rem, 1.6vw, 1.32rem); line-height: 1.55; color: #3A3C40; max-width: 720px; margin: 26px 0 0; letter-spacing: -0.006em; }
.lede strong { color: var(--ink); }

/* Signal path: one video -> BroadReel -> many publishers */
.signal { margin-top: clamp(56px, 7vw, 88px); background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 44px); position: relative; overflow: hidden; text-align: left; }
.signal::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 300px at 50% -10%, rgba(255,255,255,.07), transparent 70%); pointer-events: none; }
.signal__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: clamp(18px, 3vw, 30px); position: relative; }
.signal__head .rec { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); }
.signal__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) 72px minmax(0, 1fr) 72px minmax(0, 1.05fr); align-items: start; }
.signal__grid > .wire { align-self: center; }
.sig-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 12px; }
.frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #3A2A22 0%, #6B4A35 38%, #A47852 62%, #D9B58A 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }
.frame__scene { position: absolute; inset: 0; }
.frame__play { position: absolute; left: 50%; top: 46%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(11,11,12,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; }
.frame__play svg { width: 18px; height: 18px; margin-left: 3px; }
.frame__bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .7rem; color: #fff; }
.frame__track { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.frame__track i { display: block; width: 34%; height: 100%; background: var(--tally); }
.sig-meta { margin-top: 12px; font-size: .9rem; color: var(--on-dark-muted); line-height: 1.4; }
.sig-meta b { display: block; color: var(--on-dark); font-weight: 600; font-size: .98rem; }
.wire { position: relative; height: 2px; }
.wire::before { content: ""; position: absolute; left: 6px; right: 6px; top: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 6px, transparent 6px 11px); }
.wire::after { content: ""; position: absolute; right: 2px; top: -4px; border: 5px solid transparent; border-left: 7px solid rgba(255,255,255,.55); border-right: 0; }
.hub { background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 18px 18px 14px; }
.hub__brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 740; font-stretch: 122%; letter-spacing: -0.03em; font-size: 1.02rem; margin-bottom: 12px; }
.hub__brand .mark { width: 31px; height: 22px; }
.hub ul { list-style: none; }
.hub li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .93rem; color: var(--on-dark); }
.hub li svg { width: 16px; height: 16px; flex: none; color: var(--tally-on-dark); }
.outs { list-style: none; display: grid; gap: 10px; }
.outs li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 10px 12px; font-size: .93rem; color: var(--on-dark); }
.outs svg { width: 30px; height: 22px; flex: none; color: var(--on-dark-muted); }
.outs small { display: block; color: var(--on-dark-muted); font-size: .78rem; }
.signal__foot { position: relative; margin: clamp(20px, 3vw, 30px) 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: .9rem; color: var(--on-dark-muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.signal__foot strong { color: var(--on-dark); font-weight: 600; }
@media (max-width: 960px) {
  .signal__grid { grid-template-columns: 1fr; gap: 0; }
  .wire { height: 40px; width: 2px; margin: 6px auto; }
  .wire::before { left: 0; right: auto; top: 4px; bottom: 6px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(255,255,255,.4) 0 6px, transparent 6px 11px); }
  .wire::after { right: auto; left: -4px; top: auto; bottom: 0; border: 5px solid transparent; border-top: 7px solid rgba(255,255,255,.55); border-bottom: 0; }
  .sig-src { max-width: 420px; }
}

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; }
.sec--tight { padding: calc(var(--sec) * .66) 0; }
.sec--alt { background: var(--bg-2); }
.sec--dark { background: var(--ink); color: var(--on-dark); }
.sec--dark .lede, .sec--dark p { color: var(--on-dark-muted); }
.sec--dark h2, .sec--dark h3, .sec--dark strong { color: #fff; }
.sec + .sec:not(.sec--alt):not(.sec--dark) { border-top: 1px solid var(--line); }
.sec__head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec__head .lede { margin-top: 20px; }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--center .lede { margin-inline: auto; }

.prose { max-width: 700px; }
.prose p, .prose li { color: #2F3135; }
.prose h2 { margin: 56px 0 18px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.prose h3 { margin: 34px 0 10px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--tally); }

/* Three plain columns (no cards) */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col { border-top: 2px solid var(--ink); padding-top: 22px; }
.col p { color: var(--muted); margin-top: 12px; margin-bottom: 0; }
.col h3 { font-size: 1.3rem; }
.col__k { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tally-ink); margin: 0 0 14px; display: block; }
.sec--dark .col { border-color: rgba(255,255,255,.85); }
.sec--dark .col__k { color: var(--tally-on-dark); }
@media (max-width: 900px) { .cols, .cols--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cols, .cols--2, .cols--4 { grid-template-columns: 1fr; } }

/* Split: text + visual */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split__sticky { position: sticky; top: 100px; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } .split__sticky { position: static; } }

/* Audience doors (home) */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.door { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); text-decoration: none; min-height: 100%; }
.door--pub { background: var(--ink); color: var(--on-dark); }
.door--cre { background: var(--bg-2); color: var(--ink); }
.door__who { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 18px; }
.door--pub .door__who { color: var(--on-dark-muted); }
.door--cre .door__who { color: var(--muted); }
.door h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); max-width: 16ch; }
.door--pub h2 { color: #fff; }
.door > p { margin: 18px 0 0; max-width: 46ch; }
.door--pub > p { color: var(--on-dark-muted); }
.door--cre > p { color: var(--muted); }
.door ul { list-style: none; margin: 26px 0 32px; display: grid; gap: 10px; }
.door li { display: flex; gap: 12px; align-items: baseline; font-size: .98rem; }
.door li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tally); flex: none; transform: translateY(-2px); }
.door .actions { margin-top: auto; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

/* Numbered steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.steps > li { counter-increment: s; padding: 28px 28px 8px 0; position: relative; }
.steps > li + li { padding-left: 28px; border-left: 1px solid var(--line-2); }
.steps > li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-size: .8rem; color: var(--tally-ink); letter-spacing: .06em; margin-bottom: 18px; }
.steps h3 { font-size: 1.22rem; }
.steps p { color: var(--muted); margin: 10px 0 0; font-size: 1rem; }
.sec--dark .steps { border-color: rgba(255,255,255,.16); }
.sec--dark .steps > li + li { border-color: rgba(255,255,255,.16); }
.sec--dark .steps > li::before { color: var(--tally-on-dark); }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps, .steps--5 { grid-template-columns: 1fr 1fr; } .steps > li:nth-child(odd) { padding-left: 0; border-left: 0; } .steps > li { border-bottom: 1px solid var(--line-2); padding-bottom: 26px; } .sec--dark .steps > li { border-color: rgba(255,255,255,.16); } }
@media (max-width: 600px) { .steps, .steps--5 { grid-template-columns: 1fr; } .steps > li, .steps > li + li { padding-left: 0; border-left: 0; padding-right: 0; } }

/* Ledger: label / explanation rows */
.ledger { border-top: 1px solid var(--line-2); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 40px; padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.ledger__row h3 { font-size: 1.2rem; }
.ledger__row p { margin: 0; color: #3A3C40; }
.ledger__row p + p { margin-top: .7em; }
.ledger--dark { border-color: rgba(255,255,255,.16); }
.ledger--dark .ledger__row { border-color: rgba(255,255,255,.16); }
.ledger--dark .ledger__row p { color: var(--on-dark-muted); }
@media (max-width: 760px) { .ledger__row { grid-template-columns: 1fr; gap: 8px; } }

/* Check list */
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: #2F3135; }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.2 7.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.ticks--no li::before { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%230B0B0C' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.sec--dark .ticks li { color: var(--on-dark); }
.sec--dark .ticks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.2 7.4' fill='none' stroke='%230B0B0C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Panels (used sparingly: spec sheets, records) */
.panel { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); background: #fff; }
.panel--soft { background: var(--bg-2); border-color: transparent; }
.panel h3 { margin-bottom: 14px; }

/* Rights record: a sample per-video record */
.record { font-family: var(--mono); font-size: .84rem; background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); overflow: hidden; }
.record__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--on-dark-muted); letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; gap: 12px; }
.record__top span:first-child { display: inline-flex; gap: 8px; align-items: center; color: #fff; }
.record dl { margin: 0; padding: 6px 20px 14px; }
.record__row { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.record__row:last-child { border-bottom: 0; }
.record dt { color: var(--on-dark-muted); }
.record dd { margin: 0; color: #fff; }
.record .ok { color: #6FDC9C; }
.record .warn { color: var(--tally-on-dark); }
.record__cap { padding: 12px 20px; background: var(--ink-2); color: var(--on-dark-muted); font-size: .74rem; }
@media (max-width: 480px) { .record__row { grid-template-columns: 1fr; gap: 2px; } }

/* Code sample (MRSS) */
.code { background: var(--ink); color: #E6E6E2; border-radius: var(--r-lg); overflow: hidden; }
.code__top { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.1); font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); gap: 12px; }
.code pre { margin: 0; padding: 18px 20px 22px; overflow-x: auto; font-family: var(--mono); font-size: .8rem; line-height: 1.7; tab-size: 2; }
.code .t { color: #9FB8FF; } .code .a { color: #FFB59A; } .code .s { color: #B9E4C6; } .code .c { color: #8C8E93; }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec caption { text-align: left; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-2); }
.spec thead th { font-family: var(--mono); font-weight: 400; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--ink); padding-top: 0; }
.spec tbody th { font-weight: 620; width: 28%; }
.spec td { color: #3A3C40; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) { .spec--stack thead { display: none; } .spec--stack tr { display: block; border-bottom: 1px solid var(--line-2); padding: 14px 0; } .spec--stack th, .spec--stack td { display: block; width: auto; border: 0; padding: 4px 0; } .spec--stack tbody th { width: auto; } }

/* Status: available now vs in development */
.status { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.status__col { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.status__col--now { background: #fff; border: 1px solid var(--line-2); }
.status__col--next { background: transparent; border: 1.5px dashed var(--line-2); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.chip--now { background: var(--ink); color: #fff; }
.chip--now::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tally); }
.chip--next { border: 1px solid var(--line-2); color: var(--muted); }
.chip--next::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--muted); }
.status h3 { margin-bottom: 16px; }
.status ul { list-style: none; display: grid; gap: 12px; }
.status li { padding-left: 18px; position: relative; color: #2F3135; }
.status li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.status__col--next li::before { background: transparent; border: 1.5px solid var(--muted); width: 7px; height: 7px; }
.status__col--next li { color: var(--muted); }
@media (max-width: 760px) { .status { grid-template-columns: 1fr; } }

/* Questions & answers (always visible) */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.qa__item { padding: 28px 0; border-top: 1px solid var(--line-2); }
.qa__item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.qa__item p { color: #3A3C40; margin: 0; }
.qa__item p + p { margin-top: .7em; }
@media (max-width: 800px) { .qa { grid-template-columns: 1fr; } }

/* Flow diagram (how it works) */
.flow { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 40px); background: #fff; }
.flow__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; align-items: stretch; }
.flow__node { text-align: center; padding: 0 8px; position: relative; }
.flow__node + .flow__node::before { content: ""; position: absolute; left: -14%; width: 28%; top: 34px; height: 2px; background: var(--ink); }
.flow__node + .flow__node::after { content: ""; position: absolute; left: calc(14% - 8px); top: 29px; border: 6px solid transparent; border-left: 8px solid var(--ink); border-right: 0; }
.flow__icon { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--bg-2); color: var(--ink); }
.flow__icon svg { width: 30px; height: 30px; }
.flow__node--br .flow__icon { background: var(--ink); color: #fff; }
.flow__node--br .flow__icon .mark { width: 40px; height: 29px; color: #fff; }
.flow__node h3 { font-size: 1.05rem; }
.flow__node p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.flow__lane { display: flex; align-items: center; gap: 14px; margin: 26px 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.flow__lane::before, .flow__lane::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.flow__lane--money { color: var(--tally-ink); }
.flow__money { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.flow__money div { padding: 0 8px; font-size: .9rem; color: #3A3C40; position: relative; }
.flow__money div + div::before { content: ""; position: absolute; left: -14%; width: 28%; top: 11px; height: 2px; background: var(--tally); }
.flow__money div + div::after { content: ""; position: absolute; left: -14%; top: 6px; border: 6px solid transparent; border-right: 8px solid var(--tally); border-left: 0; }
.flow__money b { display: block; color: var(--ink); font-weight: 640; margin-bottom: 4px; }
@media (max-width: 820px) {
  .flow__row, .flow__money { grid-template-columns: 1fr; gap: 34px; }
  .flow__node + .flow__node::before { left: 50%; width: 2px; height: 22px; top: -28px; }
  .flow__node + .flow__node::after { left: calc(50% - 5px); top: -10px; border: 6px solid transparent; border-top: 8px solid var(--ink); border-bottom: 0; }
  .flow__money div + div::before { left: 50%; width: 2px; height: 20px; top: -27px; }
  .flow__money div + div::after { left: calc(50% - 5px); top: -33px; border: 6px solid transparent; border-bottom: 8px solid var(--tally); border-top: 0; }
}

/* Statement (large quote-style line) */
.statement { font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.18; letter-spacing: -0.03em; font-weight: 620; max-width: 26ch; text-wrap: balance; }
.statement em { font-style: normal; color: var(--tally-ink); }
.sec--dark .statement { color: #fff; }
.sec--dark .statement em { color: var(--tally-on-dark); }

/* Glossary */
.gloss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; }
.gloss div { padding: 20px 0; border-top: 1px solid var(--line-2); }
.gloss dt { font-weight: 650; margin-bottom: 6px; }
.gloss dd { margin: 0; color: #3A3C40; }
@media (max-width: 760px) { .gloss { grid-template-columns: 1fr; } }

/* Note / callout */
.note { border-left: 3px solid var(--tally); padding: 4px 0 4px 20px; color: #2F3135; max-width: 700px; }
.note p:last-child { margin-bottom: 0; }

/* Interior page head */
.phead { padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.phead__grid.has-aside { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 88px); align-items: end; }
.phead h1 { max-width: 19ch; font-size: clamp(2.4rem, 5vw, 4.1rem); }
.phead--plain h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
@media (max-width: 900px) { .phead__grid.has-aside { grid-template-columns: 1fr; } }
.updated { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }

/* Closing band */
.band { padding: clamp(72px, 9vw, 120px) 0; }
.band--dark { background: var(--ink); color: var(--on-dark); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.band h2 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.band__text { color: var(--on-dark-muted); font-size: 1.12rem; margin: 18px 0 0; max-width: 44ch; }
.band__paths { display: grid; gap: 12px; }
.pathcard { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 24px 26px; border-radius: 18px; background: var(--ink-2); border: 1px solid rgba(255,255,255,.1); transition: border-color .15s ease, background .15s ease; }
.pathcard:hover { border-color: rgba(255,255,255,.4); background: var(--ink-3); }
.pathcard__who { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
.pathcard__cta { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 640; letter-spacing: -0.02em; color: #fff; }
.pathcard .arr { width: 18px; height: 18px; color: var(--tally-on-dark); transition: transform .15s ease; }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact > div:last-child { order: -1; } }
.lanes { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.lanes li { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.lanes h3 { font-size: 1.05rem; margin-bottom: 4px; }
.lanes p { margin: 0 0 6px; color: var(--muted); font-size: .96rem; }
.lanes a { font-weight: 600; color: var(--ink); text-decoration-color: var(--tally); text-underline-offset: 3px; overflow-wrap: anywhere; }
.form { background: var(--bg-2); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 44px); color: var(--text); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { font-weight: 650; font-size: 1.1rem; letter-spacing: -0.015em; margin-bottom: 14px; padding: 0; }
.picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 30px; }
.picker label { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; min-height: 44px; }
.picker input { position: absolute; opacity: 0; pointer-events: none; }
.picker b { font-weight: 640; font-size: .98rem; }
.picker small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.picker label:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.picker label:has(input:focus-visible) { outline: 2.5px solid var(--tally); outline-offset: 2px; }
@media (max-width: 640px) { .picker { grid-template-columns: 1fr; } }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-items: end; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } }
.field label, .field .flabel { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; min-height: 50px; transition: border-color .15s ease; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230B0B0C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,74,28,.18); }
.field .hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.lane-fields[hidden] { display: none; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .93rem; color: #3A3C40; margin: 22px 0 0; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.form__foot p { margin: 0; font-size: .88rem; color: var(--muted); max-width: 40ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.form__msg--err { background: #FDECE7; color: #8A2408; }
.form__done { text-align: left; }
.form__done h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 14px; }
.form__done p { color: #3A3C40; }
.cf-turnstile { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: 40px 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand--foot { color: #fff; margin-bottom: 18px; }
.foot__brand p { max-width: 34ch; margin: 0 0 12px; }
.foot__promise { color: #fff; font-weight: 600; letter-spacing: -0.01em; }
.foot__h { font-family: var(--mono); font-weight: 400; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot__col ul { list-style: none; display: grid; gap: 10px; }
.foot__col a { text-decoration: none; color: var(--on-dark-muted); }
.foot__col a:hover { color: #fff; }
.foot__mail li { display: grid; gap: 2px; }
.foot__mail span { font-size: .78rem; color: #77797E; }
.foot__mail a { color: var(--on-dark); overflow-wrap: anywhere; }
.foot__base { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-top: 24px; font-size: .84rem; color: #8A8C91; }
.foot__base p { margin: 0; }
@media (max-width: 1000px) { .foot__top { grid-template-columns: 1fr 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } .foot__top > .foot__col:last-child { grid-column: span 3; } }
@media (max-width: 600px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__top > .foot__col:last-child { grid-column: 1 / -1; } }

/* Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.muted { color: var(--muted); }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
@media print { .site-head, .site-foot, .band, .navtoggle { display: none !important; } body { font-size: 11pt; } }

/* Small screens */
@media (max-width: 640px) {
  .hero { text-align: left; }
  .hero h1 { margin: 0; font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero .lede { margin-left: 0; }
  .hero .actions { justify-content: flex-start; }
  .actions .btn { width: 100%; justify-content: space-between; }
  .signal__head { flex-wrap: wrap; font-size: .68rem; }
  .signal { margin-inline: calc(var(--gutter) * -0.5); }
  .sig-label { font-size: .68rem; }
  .door { padding: 26px 22px; }
  .lede { font-size: 1.1rem; }
  .statement { font-size: 1.65rem; }
}
