/* Bridgehead site, version 2 (2 Oct 2026): Vouch's homepage layout (big capitals per section, numbered
   sections, three columns, a road of what's next) in the explainer videos' own colours, type and background.
   The page IS the videos' background (#0A0A0A and their faint grid); each scene draws on it with no
   background of its own (?clear=1), so page and clip are one surface (Tony). */
:root {
  --ground: #0a0a0a; --sheet: #141414; --ink: #ededE9; --ink2: #8a8a84; --ink3: #4a4a45; --soft: #b9b9b2;
  --accent: #9dc4ff; --card: rgba(255,255,255,.045); --line: rgba(255,255,255,.09);
  --grid: rgba(255,255,255,.022); --grid2: rgba(255,255,255,.045);
  --sans: "IBM Plex Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 6vw, 96px);
  --on-accent: #0a0a0a; --glow: color-mix(in srgb, var(--accent) 35%, transparent);
  --page-fade: 10,10,10;
  color-scheme: dark;
}
/* the light page (Vouch's white), for a light computer, a Light pick, or Auto's roll */
:root[data-mode="light"] {
  --ground: #ffffff; --sheet: #f4f4f2; --ink: #151513; --ink2: #66665f; --ink3: #a9a9a2; --soft: #3c3c37;
  --card: rgba(10,10,10,.04); --line: rgba(10,10,10,.12); --grid: rgba(10,10,10,.035); --grid2: rgba(10,10,10,.07);
  --on-accent: #ffffff; --page-fade: 255,255,255; color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  background-color: var(--ground);
  background-image:
    linear-gradient(var(--grid2) 1px, transparent 1px), linear-gradient(90deg, var(--grid2) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 144px 144px, 144px 144px, 36px 36px, 36px 36px;
}
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--ink); color: var(--ground); padding: 6px 10px; z-index: 9; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* top: the mark, two pills, over the page */
.top { position: sticky; top: 0; z-index: 9100; display: flex; align-items: center; gap: 16px; padding: 16px var(--gutter); }
/* THE PAGE'S OWN GLASS EDGES, Vouch's exactly (vouch-app/src/styles.css, "§2.33, applied to the document"): the
   page thins out under the header and at the foot of the window, a gradient in the page's own colour, never a
   blur; neither strip takes a click. */
.top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -34px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(var(--page-fade),.97) 0%, rgba(var(--page-fade),.97) 46px,
    rgba(var(--page-fade),.5) 74%, rgba(var(--page-fade),0) 100%); }
body::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 104px; z-index: 9; pointer-events: none;
  background: linear-gradient(to top, rgba(var(--page-fade),.94) 0%, rgba(var(--page-fade),.5) 55%, rgba(var(--page-fade),0) 100%); }
.mark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 22px var(--sans); }
.mark svg { height: 34px; width: auto; color: var(--ink); }
:root[data-logo="a"] .mark .logo-b, :root[data-logo="b"] .mark .logo-a, :root:not([data-logo]) .mark .logo-b { display: none; }
.top-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.pill { font: 600 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; white-space: nowrap; background: color-mix(in srgb, var(--ground) 60%, transparent); }
.pill:hover { border-color: var(--ink2); }
.pill.solid { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

main { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) 120px; display: grid; gap: clamp(120px, 16vw, 200px); }

/* the big capitals */
.big { font: 700 clamp(40px, 5.4vw, 76px)/.95 var(--sans); text-transform: uppercase; letter-spacing: -.012em; text-wrap: balance; }
.big em { font-style: normal; color: var(--accent); display: block; }
.hero .big { font-size: clamp(40px, 8.2vw, 116px); line-height: .92; }
.hero .big > span { display: block; }

/* "Your own Mac", underlined, with a small note under it: Windows and Linux coming soon (Tony, 2 Oct) */
.hero .big .macline { padding-bottom: .34em; }
.mac { position: relative; display: inline-block; }
.mac::after { content: ""; position: absolute; left: .02em; right: .04em; bottom: .02em; height: .045em; min-height: 2px; background: var(--accent); border-radius: 99px; }
.mac .soon { position: absolute; right: 0; top: 100%; margin-top: .42em; font: 600 clamp(10px, 1.05vw, 13px)/1 var(--mono); letter-spacing: .14em;
  color: var(--accent); white-space: nowrap; text-transform: uppercase; }

/* hero */
.hero { display: grid; gap: 30px; padding-top: clamp(48px, 9vw, 120px); }
.lede { color: var(--soft); font-size: clamp(18px, 1.7vw, 22px); max-width: 36em; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); margin-top: 18px; max-width: 1000px; }
.three > div { display: grid; gap: 10px; align-content: start; padding: 16px 0; }
.three h3 { font: 700 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.three p { font-size: 16px; line-height: 1.5; color: var(--soft); }
.three .lit { border: 1px solid var(--accent); border-radius: 12px; padding: 16px 18px; box-shadow: 0 0 40px -12px var(--glow); margin: 0 -18px; }

/* a numbered section */
.block { display: grid; gap: 28px; }
.head { display: grid; grid-template-columns: auto auto 1fr; gap: 16px; align-items: baseline; }
.head .n { font: 700 24px var(--mono); color: var(--accent); }
.head .t { font: 700 24px var(--sans); }
.head .state { justify-self: end; font: 500 clamp(15px, 1.5vw, 21px) var(--mono); color: var(--ink2); text-align: right; }
.line { color: var(--soft); font-size: clamp(18px, 1.6vw, 21px); max-width: 40em; }
.fine { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }

/* a live scene, drawn straight onto the page: no box, no edge */
.scene { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.scene iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: transparent; pointer-events: none; }
.scene.tall { aspect-ratio: 9 / 16; width: min(100%, 76vh * 9 / 16); margin-inline: auto; }

/* the film: a poster with one big round play button; pressing it plays the film with sound */
.film { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0a0a0a; }
.film .poster, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film .poster.tall { display: none; }
.film video { object-fit: contain; background: #0a0a0a; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(84px, 11vw, 128px); aspect-ratio: 1;
  padding: 0; border: 0; background: none; cursor: pointer; color: #ededE9; transition: transform .25s cubic-bezier(.16,1,.3,1); }
.play svg { width: 100%; height: 100%; display: block; overflow: visible; }
.play circle { fill: rgba(10,10,10,.42); stroke: currentColor; stroke-width: 2.5; transition: stroke .2s, fill .2s; }
.play path { fill: currentColor; stroke: currentColor; stroke-width: 4; stroke-linejoin: round; transition: fill .2s, stroke .2s; }
.play:hover, .play:focus-visible { transform: translate(-50%, -50%) scale(1.06); color: var(--accent); }
.play:hover circle { fill: rgba(10,10,10,.6); }
.film.playing .poster, .film.playing .play { display: none; }

/* agents talk to agents: a drawing in the videos' own look, on the page's ground */
.talk svg { width: 100%; height: auto; display: block; overflow: visible; }
.talk .tall { display: none; max-width: 520px; margin-inline: auto; }
.t-line { fill: none; stroke: var(--line); stroke-width: 2; }
.t-pill { fill: var(--sheet); stroke: var(--line); stroke-width: 1.5; }
.t-hub { fill: var(--sheet); stroke: var(--accent); stroke-width: 2; }
.t-text { fill: var(--ink); font: 500 26px var(--sans); }
.t-head { fill: var(--ink2); font: 600 18px var(--mono); letter-spacing: .14em; }
.t-dot { fill: var(--ink3); }
.t-pulse { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.t-onLight { display: none; }
:root[data-mode="light"] .t-onLight { display: inline; } :root[data-mode="light"] .t-onDark { display: none; }
@media (max-width: 700px) { .talk .wide { display: none; } .talk .tall { display: block; } }
@media (prefers-reduced-motion: reduce) { .t-pulse { display: none; } }

/* the waitlist */
.join { display: flex; flex-wrap: wrap; gap: 12px; max-width: 620px; }
.join input[type=email] { flex: 1 1 240px; min-width: 0; background: transparent; border: 1px solid color-mix(in srgb, var(--ink) 45%, transparent); border-radius: 9px;
  color: var(--ink); font: 400 16px var(--mono); padding: 15px 16px; }
.join input[type=email]::placeholder { color: var(--ink3); }
.join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn { border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); border-radius: 9px; cursor: pointer;
  font: 700 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 15px 22px; }
.btn:hover { opacity: .84; }
.btn:disabled { opacity: .6; cursor: default; }
.join .note { flex-basis: 100%; color: var(--ink2); font-size: 15px; }
.join .note.good { color: var(--accent); } .join .note.bad { color: var(--ink); }

/* where it is: a road, Vouch's way */
.road { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line); }
.road li { position: relative; padding-top: 26px; display: grid; gap: 8px; align-content: start; }
.road li::before { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink2); background: var(--ground); }
.road li.here::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--glow); }
.road .when { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.road .here .when { color: var(--ink); } .road .here .when span { color: var(--accent); }
.road h3 { font: 700 19px/1.2 var(--sans); }
.road p:not(.when) { color: var(--soft); font-size: 15.5px; line-height: 1.5; }

/* questions */
.faq { max-width: 860px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font: 600 22px var(--sans); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
details[open] summary::after { content: "−"; }
details p { color: var(--soft); margin-top: 10px; max-width: 42em; }

.foot { position: relative; z-index: 11; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; padding: 28px var(--gutter) 44px; color: var(--ink3);
  font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.foot a { color: var(--ink2); }
.foot .fine { flex-basis: 100%; text-align: center; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 12px; }

/* the privacy page */
.page { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gutter) 140px; display: grid; gap: 18px; }
.page .label { font: 600 13px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.page h1 { font: 700 clamp(40px, 6vw, 76px)/.95 var(--sans); text-transform: uppercase; letter-spacing: -.012em; }
.page h2 { font: 700 24px var(--sans); margin-top: 18px; }
.page p, .page li { color: var(--soft); }
.page ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

/* the colour choice, at the foot */
.modes { flex-basis: 100%; display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; }
.modes span { margin-right: 6px; }
.modes button { font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); background: none;
  border: 1px solid var(--line); border-radius: 99px; padding: 5px 10px; cursor: pointer; }
.modes button[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }

/* ── THE SLIDE-UP: Vouch's dock (vouch-app/src/styles.css, CTX-SLIDEUP), its style exactly: glass that
   follows the mode, 370px from the bottom right, 20px top corners, the .46s rise, a sticky header that
   content dissolves under, a circled close; full width on a phone. ── */
/* One deviation (Tony, 2 Oct): Vouch's glass is near-black, which on this near-black page is black on black;
   here it is lifted a step and tinted with the page's highlight, so it reads as a panel over black and over white. */
:root { --dock-solid: color-mix(in srgb, var(--accent) 7%, #1f2124); --glass: color-mix(in srgb, var(--dock-solid) 74%, transparent);
  --glass-blur: blur(30px) saturate(1.4); --dock-line: rgba(255,255,255,.18); --dock-grab: rgba(255,255,255,.3);
  --dock-shadow: 0 -26px 76px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.07); --hov: rgba(255,255,255,.07); }
:root[data-mode="light"] { --dock-solid: color-mix(in srgb, var(--accent) 6%, #ececE8); --glass: color-mix(in srgb, var(--dock-solid) 80%, transparent);
  --dock-line: rgba(10,10,10,.14); --dock-grab: rgba(10,10,10,.24); --dock-shadow: 0 -26px 76px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.7); --hov: rgba(0,0,0,.05); }
/* Height: Vouch's six slide-ups on a 900px-tall window run 287 to 620px, about 530 on average; this one is
   fixed there rather than shrinking to its short form. */
.dock { position: fixed; bottom: 0; right: 10px; z-index: 9200; width: 370px; height: min(59svh, 530px);
  display: flex; flex-direction: column; overflow: hidden; border-radius: 20px 20px 0 0; padding: 0;
  background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--dock-line); border-bottom: 0; box-shadow: var(--dock-shadow); color: var(--ink);
  transform: translateY(100%); visibility: hidden;
  transition: transform .46s cubic-bezier(.16,1,.3,1), visibility 0s linear .46s; }
.dock.on { transform: translateY(0); visibility: visible; transition-delay: 0s, 0s; }
.dock .grab { display: block; width: 38px; height: 3px; border-radius: 99px; background: var(--dock-grab); margin: 0 auto 12px; }
.dock-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 0 20px 26px;
  scrollbar-width: thin; scrollbar-color: var(--dock-grab) transparent; }
.dock-head { position: sticky; top: 0; z-index: 20; margin: 0 -20px; padding: 10px 20px 30px; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--dock-solid) 97%, transparent) 0%, color-mix(in srgb, var(--dock-solid) 97%, transparent) 59px,
    color-mix(in srgb, var(--dock-solid) 55%, transparent) 78%, transparent 100%); }
.dock-head-row { pointer-events: auto; display: flex; align-items: center; gap: 8px; min-height: 34px; }
.dock-t { flex: 1 1 auto; min-width: 0; font: 600 15px var(--sans); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-x { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0;
  background: none; color: var(--ink); border: 1px solid var(--dock-line); border-radius: 999px; font-size: 11px; cursor: pointer;
  line-height: 1; opacity: .5; transition: opacity .15s ease, background-color .15s ease; }
.dock-x:hover { opacity: 1; background: var(--hov); }
.dock-fade-b { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; z-index: 15; pointer-events: none;
  background: linear-gradient(to top, color-mix(in srgb, var(--dock-solid) 90%, transparent) 0%, color-mix(in srgb, var(--dock-solid) 45%, transparent) 55%, transparent 100%); }
.dock .lede { font-size: 14px; line-height: 1.6; color: var(--soft); margin: -12px 0 16px; }
.dock-form { display: grid; gap: 8px; max-width: none; }
.dock .field { display: flex; align-items: center; height: 54px; border: 1px solid color-mix(in srgb, var(--ink) 75%, transparent); border-radius: 9px; padding: 0 14px; }
.dock .field:focus-within { outline: 2px solid var(--accent); outline-offset: -1px; }
.dock .field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font: 400 15px var(--mono); color: var(--ink); height: 100%; letter-spacing: -.01em; padding: 0; }
.dock .field input::placeholder { color: var(--ink2); opacity: .7; }
.dock .btn { width: 100%; height: 54px; font-size: 12.5px; padding: 0; }
.dock .note { font-size: 13px; }
.dock-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; opacity: .5; }

/* ── POWERED BY NOIFS: Vouch's badge, bottom right of the window, quiet until wanted (11px, faint, full on hover);
   the mark in a 14px window that crops the PNG's padding, paired to the mode ── */
.powered { position: fixed; right: clamp(16px, 2.4vw, 34px); bottom: 14px; z-index: 11; margin: 0; display: flex; align-items: center; gap: 5px;
  font: 400 11px var(--mono); letter-spacing: .04em; color: var(--ink2); opacity: .3; transition: opacity .2s ease; }
.powered > span { line-height: 1; }
.powered:hover { opacity: 1; }
.powered a { display: inline-flex; align-items: center; gap: 5px; line-height: 1; color: inherit; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.powered:hover a { color: var(--accent); }
.noifs-mark { position: relative; display: inline-block; width: 14px; height: 14px; border-radius: 2px; overflow: hidden; opacity: .75; transition: opacity .2s ease; }
.powered:hover .noifs-mark { opacity: 1; }
.noifs-mark img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; max-width: none; }
.noifs-mark .on-light { display: none; }
:root[data-mode="light"] .noifs-mark .on-dark { display: none; }
:root[data-mode="light"] .noifs-mark .on-light { display: block; }

@media (max-width: 900px) {
  .three, .road { grid-template-columns: minmax(0, 1fr); }
  .three .lit { margin: 0; }
  .road::before { left: 4px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .road li { padding: 0 0 0 28px; }
  .head { grid-template-columns: auto 1fr; }
  .head .state { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 860px) { .dock { left: 10px; right: 10px; width: auto; height: min(62svh, 560px); } }
@media (max-width: 700px) {
  .top .pill:not(.solid) { display: none; }
  .film { aspect-ratio: 9 / 16; width: min(100%, 76vh * 9 / 16); justify-self: center; }
  .film .poster.wide { display: none; } .film .poster.tall { display: block; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
