/* cabpuccino.io — one stylesheet for all pages. Flat by design: no gradients, no shadows, no blur. */

/* Fraunces (SIL OFL 1.1, see assets/fonts/Fraunces-OFL.txt), self-hosted so the hero headline paints early. Latin subset only. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/fraunces-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 600; font-display: swap; src: url("../fonts/fraunces-italic-latin.woff2") format("woff2"); }

:root {
  --bg: #FAFAF8;
  --ink: #1A1A1A;
  --espresso: #3D1F0D;
  --amber: #C87533;
  --line: #E5E5E0;
  --cream: #F3EBDF;          /* warm tint of bg + amber, used only by the "morning" overlay */
  --muted: #5E5D5A;
  --ok: #16A34A;
  --warn: #D97706;
  --bad: #DC2626;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-io: cubic-bezier(0.87, 0, 0.13, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --col-gap: clamp(12px, 2vw, 32px);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--espresso); color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .alert-sec :focus-visible { outline-color: var(--bg); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--espresso); color: var(--bg); padding: 8px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

.mono { font-family: var(--f-mono); font-size: 0.8125rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.kicker { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.placeholder { font-family: var(--f-mono); font-size: 0.75em; color: var(--espresso); background: transparent; border: 1px dashed var(--amber); padding: 0 6px; border-radius: 2px; white-space: nowrap; }

.wrap { width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

/* Morning: an overlay that warms the page as the clock moves (opacity only, set from JS). */
.morning { position: fixed; inset: 0; background: var(--cream); opacity: 0; pointer-events: none; z-index: -1; }

/* Display type */
.display-xl, .display-l, .display-m {
  font-family: var(--f-display);
  font-weight: 380;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.display-l { font-size: clamp(44px, 7.4vw, 132px); line-height: 0.94; letter-spacing: -0.04em; }
.display-m { font-size: clamp(34px, 4.6vw, 76px); line-height: 1; letter-spacing: -0.035em; }
.display-xl em, .display-l em, .display-m em { font-style: italic; font-variation-settings: "opsz" 144; }
.amber { color: var(--amber); }

/* Line mask reveal: every .line hides its inner span until JS moves it (only under html.motion). */
.line { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.line > span { display: inline-block; }
.motion .line > span { transform: translateY(105%); }
.motion [data-reveal] { opacity: 0; transform: translateY(24px); }
/* Hero headline animates in pure CSS so it paints before GSAP arrives (keeps LCP fast). */
.motion .hero__title .line > span { animation: rise 1.3s var(--ease-out) both; }
.motion .hero__title .l2 > span { animation-delay: 0.09s; }
.motion .hero__title .l3 > span { animation-delay: 0.18s; }
.motion .hero__title .l4 > span { animation-delay: 0.27s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: translateY(0); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--espresso); color: var(--bg);
  border: 1px solid var(--espresso); border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; letter-spacing: -0.005em;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.btn:hover { background: var(--ink); }
.btn .arrow { display: inline-block; transition: transform 0.5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--light { background: var(--bg); color: var(--espresso); border-color: var(--bg); }
.btn--light:hover { background: var(--amber); border-color: var(--amber); color: var(--espresso); }
.link {
  font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: text-underline-offset 0.5s var(--ease-out), color 0.3s var(--ease-out);
}
.link:hover { color: var(--espresso); text-underline-offset: 9px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  transition: color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.nav.is-scrolled { background: var(--bg); border-bottom: 1px solid var(--line); }
.nav.on-dark { color: var(--bg); background: var(--espresso); border-bottom-color: rgba(250, 250, 248, 0.14); }
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.logo { font-family: var(--f-display); font-weight: 500; font-size: 1.375rem; letter-spacing: -0.04em; text-decoration: none; color: var(--espresso); font-variation-settings: "opsz" 48; }
.on-dark .logo { color: var(--bg); }
.logo > span:last-child { color: var(--amber); }
/* Logo: the "ab" (A/B) in cabpuccino is marked by colour only. */
.logo, .r-logo { white-space: nowrap; }
.lg-ab { color: var(--amber); }
.nav__links { display: flex; gap: 24px; margin-left: auto; font-size: 0.875rem; }
.nav__links a { text-decoration: none; opacity: 0.78; transition: opacity 0.3s var(--ease-out); }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.on-dark .btn { background: var(--bg); color: var(--espresso); border-color: var(--bg); }
.nav__menu { display: none; margin-left: auto; background: none; border: 1px solid currentColor; border-radius: 999px; min-height: 40px; padding: 0 14px; font-size: 0.875rem; cursor: pointer; }
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; align-items: center; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; font-size: 1.125rem;
  }
  .nav.is-open .nav__links a { padding: 10px 0; opacity: 1; }
}
@media (max-width: 420px) { .nav .wrap { gap: 8px; } .nav .btn, .nav__menu { padding: 0 11px; font-size: 0.8125rem; } }
.btn { white-space: nowrap; }

/* Clock: the page's time, bottom-left */
.clock {
  position: fixed; right: var(--gutter); bottom: 18px; z-index: 40;
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}
.clock .tick { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.clock.on-dark { background: var(--espresso); color: var(--bg); border-color: rgba(250, 250, 248, 0.2); }

/* Sections */
section { position: relative; }
.sec { padding-block: clamp(96px, 14vw, 220px); }
.sec__head { margin-bottom: clamp(48px, 7vw, 112px); }
.sec__head .kicker { margin-bottom: 20px; display: block; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 110px)); padding-bottom: clamp(64px, 8vw, 120px); overflow-x: clip; }
.hero__kicker { margin-bottom: clamp(20px, 3vw, 40px); display: flex; gap: 10px; align-items: center; }
.hero__kicker .dot { width: 7px; height: 7px; }
.hero__title {
  font-family: var(--f-display); font-weight: 360;
  font-variation-settings: "opsz" 144;
  font-size: clamp(52px, 10.6vw, 204px);
  line-height: 0.88; letter-spacing: -0.055em;
  color: var(--ink);
}
.hero__title em { font-style: italic; color: var(--amber); font-variation-settings: "opsz" 144; font-weight: 340; }
.hero__title .l2 { padding-left: 22%; }
.hero__title .l4 { padding-left: 9%; }
.hero__body { margin-top: clamp(40px, 6vw, 88px); align-items: start; }
.hero__copy { grid-column: 1 / span 5; padding-top: 8px; }
.hero__sub { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.hero__trust { margin-top: 28px; font-size: 0.875rem; color: var(--muted); max-width: 36ch; display: flex; gap: 10px; }
.hero__trust::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--amber); margin-top: 0.75em; }
.hero__mock { grid-column: 7 / span 6; margin-right: calc(-1 * var(--gutter) - 6vw); position: relative; }
.hero__mock .report { transform-origin: 0 0; }
.hero__stamp {
  position: absolute; left: -54px; top: 28px; z-index: 2;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
@media (min-width: 1200px) {
  .hero .wrap { position: relative; }
  .hero__mock { position: absolute; top: 0; left: 66%; width: 40vw; margin: 0; }
  .hero__title .l2 { padding-left: 17%; }
  .hero__stamp { writing-mode: horizontal-tb; transform: none; left: 0; top: -30px; }
  .hero__copy { grid-column: 1 / span 5; }
}
@media (max-width: 960px) {
  .hero__title { font-size: clamp(50px, 15vw, 120px); }
  .hero__title .l2 { padding-left: 12%; }
  .hero__title .l4 { padding-left: 0; }
  .hero__copy { grid-column: 1 / -1; }
  .hero__mock { grid-column: 1 / -1; margin-top: 56px; margin-right: 0; }
  .hero__stamp { display: none; }
}

/* ---------- Report component ---------- */
.report {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 2.4vw, 36px);
  font-size: 15px; line-height: 1.5;
  color: var(--ink);
  max-width: 720px;
}
.r-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.r-brand { display: flex; align-items: center; gap: 10px; }
.r-logo { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.04em; color: var(--espresso); font-variation-settings: "opsz" 48; }
.r-logo--wl { font-family: var(--f-body); font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; color: var(--ink); }
.r-tag { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px dashed var(--amber); color: var(--espresso); padding: 2px 6px; border-radius: 2px; }
.r-date { color: var(--muted); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.r-team { margin-top: 22px; font-family: var(--f-display); font-size: 1.625rem; line-height: 1.1; letter-spacing: -0.03em; font-variation-settings: "opsz" 72; }
.r-count { margin-top: 6px; font-size: 0.875rem; color: var(--muted); }
.r-summary { margin-top: 22px; display: grid; gap: 14px; }
.r-summary li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: baseline; font-size: 1rem; line-height: 1.45; }
.r-summary b { font-weight: 600; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; transform: translateY(-1px); }
.dot--ok { background: var(--ok); }
.dot--warn { background: var(--warn); }
.dot--bad { background: var(--bad); }
.dot--pulse { animation: pulse 1.6s var(--ease-io) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }

.r-detail { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.report[data-view="manager"] .r-detail { display: none; }
.r-label { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.r-test-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.r-test-head h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; margin-right: auto; }
.r-test-head .mono { color: var(--muted); font-size: 0.75rem; }
.r-hyp { margin-top: 6px; color: var(--muted); font-size: 0.875rem; }
.r-table-wrap { margin-top: 18px; overflow-x: auto; }
.r-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.875rem; }
.r-table th, .r-table td { text-align: right; padding: 7px 0 7px 12px; font-weight: 400; white-space: nowrap; }
.r-table th[scope="row"] { text-align: left; padding-left: 0; }
.r-table thead th { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.r-table td { font-family: var(--f-mono); font-size: 0.8125rem; }
.r-kpi th, .r-kpi td { padding-top: 12px; font-weight: 500; }
.r-kpi:not(:first-child) th, .r-kpi:not(:first-child) td { border-top: 1px solid var(--line); }
.r-sub th { color: var(--muted); padding-left: 12px !important; font-size: 0.8125rem; }
.r-sub td { color: var(--muted); }
.r-table td.up { color: var(--ink); font-weight: 500; }
.r-table td.up::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--amber); border-radius: 1px; margin-right: 6px; transform: translateY(-1px); }
.r-visitors th, .r-visitors td { border-top: 1px solid var(--ink); color: var(--muted); }
.r-primary { font-family: var(--f-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--espresso); border: 1px solid var(--line); padding: 1px 5px; border-radius: 2px; margin-left: 4px; }
.r-pace { margin-top: 14px; color: var(--ink); }
.r-insight { margin-top: 12px; font-family: var(--f-display); font-style: italic; font-size: 1.0625rem; line-height: 1.45; color: var(--espresso); font-variation-settings: "opsz" 24; padding-left: 14px; border-left: 2px solid var(--amber); }
.r-flag { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 500; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.r-foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.r-foot a { color: var(--espresso); }
.r-alert-title { margin-top: 22px; font-family: var(--f-display); font-weight: 400; font-size: 1.625rem; line-height: 1.12; letter-spacing: -0.03em; font-variation-settings: "opsz" 72; }
.r-alert { margin-top: 18px; display: grid; gap: 12px; }
.r-alert div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.r-alert dt { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }

/* ---------- Signature: the report writes itself ---------- */
.writes { padding-block: clamp(80px, 10vw, 160px); }
.writes__stage { position: relative; }
.writes__intro { margin-bottom: 64px; }
.phase { margin-bottom: 72px; }
.phase__cap { display: flex; gap: 14px; align-items: baseline; margin-bottom: 20px; }
.phase__cap .t { color: var(--espresso); font-family: var(--f-mono); font-size: 0.8125rem; }
.phase__cap p { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -0.03em; line-height: 1.1; font-variation-settings: "opsz" 72; }

.frags { position: relative; height: clamp(320px, 44vw, 560px); overflow: hidden; }
.frag {
  position: absolute; left: var(--x); top: var(--y);
  font-family: var(--f-mono); font-size: clamp(11px, 1.05vw, 16px); line-height: 1.3; white-space: nowrap;
  color: var(--ink); padding: 3px 7px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg);
  will-change: transform;
}
.frag.noise { color: var(--muted); border-style: dashed; }
.frag i { font-style: normal; color: var(--amber); }

.norm { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.norm th, .norm td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.norm thead th { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; border-bottom-color: var(--ink); }
.norm td { font-size: clamp(15px, 1.1vw, 17px); }
.norm td.num { font-family: var(--f-mono); font-size: 0.875rem; }
.norm td .dot { margin-right: 8px; }
.norm .c-cell { display: inline-block; }

.mail { position: relative; isolation: isolate; max-width: 640px; padding: clamp(20px, 2.6vw, 36px); }
.mail__frame { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); z-index: -1; }
.mail > :not(.mail__frame) { position: relative; }
.cap-b { display: none; }
.motion .cap-b { display: block; position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; }
.motion .phase__cap p { position: relative; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.nav__warm { position: absolute; inset: 0; background: var(--cream); opacity: 0; pointer-events: none; z-index: -1; }
.nav { isolation: isolate; }
.nav:not(.is-scrolled) .nav__warm, .nav.on-dark .nav__warm { display: none; }
.mail__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.mail__to { font-size: 0.875rem; color: var(--muted); }
.mail__to b { color: var(--ink); font-weight: 500; }
.mail .r-summary { margin-top: 0; }
.mail .r-summary li { font-size: clamp(16px, 1.55vw, 24px); line-height: 1.4; }
.mail .r-summary { gap: 18px; }
.type { display: block; }

/* Motion mode: pinned stage with overlapping phases. Positioned without transforms so JS can measure offsets. */
.motion .writes { padding-block: 0; }
.motion .writes__stage { height: 100vh; height: 100svh; overflow: hidden; }
.motion .writes__stage > .wrap { height: 100%; position: relative; }
.motion .writes__intro { position: absolute; left: var(--gutter); top: calc(var(--nav-h) + 28px); width: min(30%, 420px); margin: 0; z-index: 3; }
.motion .phase { position: absolute; margin: 0; }
.motion .phase--frags { inset: 0 var(--gutter); }
.motion .phase--frags .phase__cap { display: none; }
.motion .frags { position: absolute; inset: calc(var(--nav-h) + 12px) 0 56px 0; height: auto; }
.motion .phase--norm, .motion .phase--mail {
  top: var(--nav-h); bottom: 56px; left: calc(var(--gutter) + 36%); right: var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
}
.motion .phase--mail .mail { width: min(780px, 100%); max-width: none; }
.motion .phase--norm .phase__cap, .motion .phase--mail .phase__cap, .motion .mail__head, .motion .mail__frame { opacity: 0; }
.motion .norm thead, .motion .norm .c-cell, .motion .norm td .dot { opacity: 0; }
.motion .norm th, .motion .norm td { border-bottom-color: transparent; }
.motion .ch, .motion .mail .dot { opacity: 0; }
.writes__progress { display: none; }
.motion .writes__progress { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; height: 1px; background: var(--line); }
.motion .writes__progress span { display: block; height: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }

@media (max-width: 960px) {
  .norm .hide-sm { display: none; }
  .norm th, .norm td { padding-right: 10px; }
  .norm td { font-size: 0.875rem; }
  .frag.noise:nth-of-type(n + 4) { display: none; }
  .motion .writes__intro { width: auto; right: var(--gutter); top: calc(var(--nav-h) + 16px); }
  .motion .writes__intro .display-m { font-size: clamp(28px, 8vw, 44px); }
  .motion .frags { top: 46%; bottom: 48px; }
  .motion .phase--norm, .motion .phase--mail { left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 150px); bottom: 48px; }
}

/* ---------- Problem ---------- */
.problem__h { grid-column: 1 / span 9; }
.stmts { margin-top: clamp(64px, 9vw, 140px); display: grid; gap: clamp(56px, 8vw, 128px); }
.stmt { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline; }
.stmt__n { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--espresso); grid-column: span 1; }
.stmt p { font-family: var(--f-display); font-weight: 360; letter-spacing: -0.035em; line-height: 1.02; font-variation-settings: "opsz" 144; }
.stmt--1 p { grid-column: 2 / span 9; font-size: clamp(36px, 5.4vw, 96px); }
.stmt--2 .stmt__n { grid-column: 5 / span 1; }
.stmt--2 p { grid-column: 6 / span 7; font-size: clamp(28px, 3.6vw, 60px); }
.stmt--3 .stmt__n { grid-column: 2 / span 1; }
.stmt--3 p { grid-column: 3 / span 8; font-size: clamp(32px, 4.6vw, 80px); }
.strike { position: relative; white-space: nowrap; }
.strike svg { position: absolute; left: -2%; top: 50%; width: 104%; height: 0.5em; transform: translateY(-40%); overflow: visible; }
.strike path { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; }
.strike__note { position: absolute; left: 18%; top: 96%; font-style: italic; color: var(--amber); font-size: 0.42em; letter-spacing: -0.02em; white-space: nowrap; font-variation-settings: "opsz" 48; transform: rotate(-4deg); }
.motion .strike path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion .strike__note { opacity: 0; }
@media (max-width: 960px) {
  .problem__h { grid-column: 1 / -1; }
  .stmt__n, .stmt--2 .stmt__n, .stmt--3 .stmt__n { grid-column: 1 / -1; margin-bottom: 10px; }
  .stmt--1 p, .stmt--2 p, .stmt--3 p { grid-column: 1 / -1; }
  .stmt--2 p { padding-left: 14%; }
}

/* Mail window around the report (macOS Mail feel, kept flat: hairlines, no shadow). */
.mac { max-width: 720px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #F0EFEB; color: var(--ink); }
.mac__bar { position: relative; display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 76px; background: var(--espresso); color: var(--bg); }
.mac__lights { position: absolute; left: 14px; top: 50%; display: flex; gap: 8px; transform: translateY(-50%); }
.mac__lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.mac__lights i:nth-child(2) { background: #FEBC2E; }
.mac__lights i:nth-child(3) { background: #28C840; }
.mac__title { font-size: 0.8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mac__tools { display: flex; gap: 22px; padding: 10px 18px; }
.mac__tools svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.mac__tools svg:nth-child(4) { margin-left: auto; }
.mac__msg { margin: 0 8px 8px; background: #FFFFFF; border-radius: 10px; padding: clamp(18px, 2.2vw, 28px) clamp(18px, 2.4vw, 36px) clamp(20px, 2.4vw, 36px); }
.mac__hdr { padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.mac__subj { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.mac__from { margin-top: 14px; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: start; font-size: 0.8125rem; line-height: 1.45; }
.mac__av { width: 40px; height: 40px; border-radius: 50%; background: var(--espresso); color: var(--bg); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.125rem; }
.mac__who { min-width: 0; }
.mac__who p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mac__who b { font-weight: 600; }
.mac__who span, .mac__time { color: var(--muted); }
.mac__time { white-space: nowrap; }
.mac .report { border: 0; border-radius: 0; padding: 0; max-width: none; background: none; }
@media (max-width: 560px) {
  .mac__tools { gap: 16px; }
  .mac__from { grid-template-columns: 32px 1fr; }
  .mac__av { width: 32px; height: 32px; font-size: 0.9375rem; }
  .mac__time { grid-column: 2; }
  .mac__who span:not(:first-child) { display: none; }
}

/* ---------- Alert (the one espresso cut) ---------- */
.alert-sec { background: var(--espresso); color: var(--bg); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: clamp(96px, 10vw, 160px); }
.alert-sec .kicker { color: rgba(250, 250, 248, 0.72); display: flex; gap: 10px; align-items: center; }
.alert-sec .grid { align-items: center; row-gap: 56px; }
.alert__h { grid-column: 1 / span 7; margin-top: 28px; }
.alert__h em { color: var(--amber); }
.alert__mock { grid-column: 8 / span 5; }
.alert__mock .mac { border-color: rgba(250, 250, 248, 0.24); }
.notif { display: none; }
@media (max-width: 960px) {
  .alert__h, .alert__mock { grid-column: 1 / -1; }
  .alert__mock .mac { display: none; }
  .notif {
    display: grid; grid-template-columns: 36px 1fr; gap: 12px;
    background: var(--bg); color: var(--ink); border-radius: 18px; padding: 14px 16px;
  }
  .notif__icon { width: 36px; height: 36px; border-radius: 9px; background: var(--espresso); color: var(--amber); display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 1.125rem; }
  .notif__top { display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--muted); }
  .notif__top b { color: var(--ink); font-weight: 600; }
  .notif p { font-size: 0.9375rem; line-height: 1.4; margin-top: 2px; }
}

/* ---------- How it works ---------- */
.how__h { grid-column: 1 / span 8; }
.timeline { position: relative; margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); padding-top: 44px; }
.timeline__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: 0 50%; }
.motion .timeline__rule { transform: scaleX(0); }
.step { position: relative; padding-right: 8%; }
.step::before { content: ""; position: absolute; top: -50px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ink); }
.step:last-child::before { background: var(--amber); border-color: var(--amber); }
.step__t { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--espresso); }
.step h3 { margin-top: 18px; font-family: var(--f-display); font-weight: 380; font-size: clamp(30px, 3.2vw, 54px); line-height: 1; letter-spacing: -0.035em; font-variation-settings: "opsz" 144; }
.step p { margin-top: 16px; color: var(--muted); max-width: 30ch; }
.step:nth-child(3) { margin-top: clamp(0px, 4vw, 64px); }
.step:nth-child(4) { margin-top: clamp(0px, 8vw, 128px); }
.step:nth-child(3)::before { top: calc(-50px - clamp(0px, 4vw, 64px)); }
.step:nth-child(4)::before { top: calc(-50px - clamp(0px, 8vw, 128px)); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; row-gap: 48px; padding-top: 0; padding-left: 32px; }
  .timeline__rule { left: 5px; right: auto; top: 6px; bottom: 0; width: 1px; height: auto; transform-origin: 50% 0; }
  .motion .timeline__rule { transform: scaleY(0); }
  .step::before, .step:nth-child(n)::before { top: 4px; left: -32px; }
  .step:nth-child(n) { margin-top: 0; }
}

/* ---------- Full report ---------- */
.full { overflow-x: clip; }
.full__h { grid-column: 1 / span 5; grid-row: 1; }
.full__lede { grid-row: 2; }
.full__controls { grid-row: 3; }
.full__lede { grid-column: 1 / span 4; margin-top: 28px; color: var(--muted); max-width: 34ch; }
.full__controls { grid-column: 1 / span 4; margin-top: 40px; display: grid; gap: 14px; align-content: start; }
.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; padding: 3px; width: max-content; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 8px 16px; font-size: 0.875rem; cursor: pointer; transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out); }
.seg button[aria-pressed="true"] { background: var(--espresso); color: var(--bg); }
.full__mock { grid-column: 6 / span 7; grid-row: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 24px); }
.full .grid { align-items: start; }
.full__mock .mac { max-width: none; }
@media (max-width: 960px) {
  .full__h, .full__lede, .full__controls, .full__mock { grid-column: 1 / -1; grid-row: auto; position: static; }
  .full__mock { margin-top: 40px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding-inline: 8px; }
}

/* ---------- Connectors ---------- */
.conn__list { display: flex; flex-wrap: wrap; gap: 12px; }
.conn__item { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.conn__item img { width: 22px; height: 22px; border-radius: 5px; }
.conn__name { font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; letter-spacing: -0.01em; }
.conn__item .tag { font-family: var(--f-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); }
.conn__item.is-launch { border-color: var(--ink); }
.conn__item.is-launch .tag { color: var(--espresso); }
.conn__item.is-launch .tag::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 8px; }
.conn__item.is-later > * { opacity: 0.5; } /* on children: the reveal animation owns the item's own opacity */
@media (max-width: 560px) {
  .conn__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .conn__item { flex-wrap: wrap; gap: 8px 10px; padding: 12px 14px; }
  .conn__item .tag { flex-basis: 100%; padding-left: 0; border-left: 0; }
}
.conn__note { margin-top: 20px; font-size: 0.875rem; color: var(--muted); }

/* ---------- Audience rows ---------- */
.aud__list { border-top: 1px solid var(--ink); }
.aud__row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: center;
  padding: clamp(24px, 3vw, 44px) 0; border-bottom: 1px solid var(--line);
  text-decoration: none; position: relative;
}
.aud__who { grid-column: 1 / span 2; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.aud__line { grid-column: 3 / span 7; font-family: var(--f-display); font-weight: 360; font-size: clamp(28px, 3.8vw, 64px); line-height: 1.02; letter-spacing: -0.035em; font-variation-settings: "opsz" 144; transition: transform 0.7s var(--ease-out), color 0.4s var(--ease-out); }
.aud__arrow { grid-column: 12 / span 1; justify-self: end; width: 56px; height: 56px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out); }
.aud__peek { grid-column: 3 / span 7; overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease-out); }
.aud__peek > div { min-height: 0; }
.aud__peek .peek { margin-top: 20px; font-family: var(--f-mono); font-size: 0.8125rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.aud__peek .peek span { display: inline-flex; align-items: center; gap: 8px; }
.aud__row:hover .aud__line, .aud__row:focus-visible .aud__line { transform: translateX(clamp(8px, 1.4vw, 24px)); }
.aud__row:hover .aud__peek, .aud__row:focus-visible .aud__peek { grid-template-rows: 1fr; }
.aud__row:hover .aud__arrow, .aud__row:focus-visible .aud__arrow { background: var(--espresso); border-color: var(--espresso); color: var(--bg); }
@media (max-width: 960px) {
  .aud__who { grid-column: 1 / -1; margin-bottom: 10px; }
  .aud__line { grid-column: 1 / span 10; }
  .aud__arrow { grid-column: 11 / span 2; width: 44px; height: 44px; }
  .aud__peek { grid-column: 1 / -1; grid-template-rows: 1fr; }
}

/* ---------- Security spec sheet ---------- */
.spec__h { grid-column: 1 / span 4; }
.spec__h p { margin-top: 20px; color: var(--muted); max-width: 30ch; }
.spec { grid-column: 6 / span 7; border-top: 1px solid var(--ink); font-family: var(--f-mono); font-size: 0.875rem; }
.spec div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-size: 0.75rem; padding-top: 2px; }
.spec dd { color: var(--ink); }
@media (max-width: 960px) {
  .spec__h, .spec { grid-column: 1 / -1; }
  .spec { margin-top: 40px; }
  .spec div { grid-template-columns: 104px 1fr; }
}

/* ---------- Founder letter ---------- */
.letter { grid-column: 2 / span 6; font-family: var(--f-display); font-size: clamp(21px, 1.9vw, 28px); line-height: 1.42; letter-spacing: -0.015em; font-variation-settings: "opsz" 36; }
.letter p + p { margin-top: 0.9em; }
.letter__sign { margin-top: 40px; font-family: var(--f-body); font-size: 0.9375rem; line-height: 1.4; }
.letter__sign b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 2.25rem; letter-spacing: -0.03em; color: var(--espresso); font-variation-settings: "opsz" 72; margin-bottom: 6px; }
.letter__sign span { color: var(--muted); }
.quote-slot { grid-column: 9 / span 4; align-self: end; border: 1px dashed var(--amber); border-radius: 10px; padding: 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.quote-slot .kicker { color: var(--espresso); }
.quote-slot p { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 960px) {
  .letter, .quote-slot { grid-column: 1 / -1; }
  .quote-slot { margin-top: 56px; min-height: 160px; }
}

/* ---------- Pricing: café order tickets ---------- */
.pricing__h { grid-column: 1 / span 6; }
.tickets { margin-top: clamp(56px, 7vw, 104px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; align-items: start; }
.ticket { position: relative; background: var(--bg); border: 1px solid var(--line); border-bottom: 0; padding: 28px 28px 36px; font-family: var(--f-mono); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.ticket--a { grid-column: 2 / span 5; transform: rotate(-1.2deg); }
.ticket--b { grid-column: 7 / span 5; margin-top: 72px; transform: rotate(0.8deg); }
.ticket__edge { position: absolute; left: -1px; right: -1px; bottom: -11px; height: 12px; }
.ticket__edge svg { width: 100%; height: 12px; }
.ticket__top { display: flex; justify-content: space-between; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-size: 0.6875rem; padding-bottom: 14px; border-bottom: 1px dashed var(--ink); }
.ticket h3 { margin: 22px 0 6px; font-family: var(--f-display); font-weight: 380; font-size: clamp(36px, 3.6vw, 56px); letter-spacing: -0.04em; line-height: 1; font-variation-settings: "opsz" 144; }
.ticket__price { font-size: 0.9375rem; color: var(--ink); }
.ticket__price b { font-family: var(--f-display); font-weight: 400; font-size: 2rem; letter-spacing: -0.03em; font-variation-settings: "opsz" 72; margin-right: 4px; }
.ticket ul { margin-top: 20px; border-top: 1px dashed var(--line); }
.ticket li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.ticket li span:first-child { color: var(--muted); }
.ticket li span:last-child { text-align: right; }
.ticket__total { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.ticket__total .lbl { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.6875rem; }
.ticket .btn { font-family: var(--f-body); }
.fine { grid-column: 2 / span 7; margin-top: clamp(64px, 7vw, 104px); font-size: 0.875rem; color: var(--muted); max-width: 64ch; }
.waitlist { grid-column: 2 / span 6; margin-top: 48px; }
.waitlist h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; font-variation-settings: "opsz" 72; }
.waitlist__row { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input[type="email"] { flex: 1 1 240px; min-height: 48px; border: 1px solid var(--ink); border-radius: 999px; background: var(--bg); padding: 0 20px; font: inherit; font-size: 0.9375rem; color: var(--ink); }
.waitlist input[type="email"]::placeholder { color: var(--muted); }
.consent { margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 0.8125rem; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--espresso); width: 16px; height: 16px; flex: none; }
.form-status { margin-top: 12px; font-size: 0.8125rem; color: var(--espresso); min-height: 1.4em; }
@media (max-width: 960px) {
  .pricing__h, .ticket--a, .ticket--b, .fine, .waitlist { grid-column: 1 / -1; }
  .ticket--b { margin-top: 24px; }
  .ticket { padding: 22px 20px 30px; }
}

/* ---------- Footer ---------- */
.foot { padding-top: clamp(80px, 10vw, 160px); overflow: hidden; }
.foot__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 32px; align-items: end; }
.foot__next { grid-column: 1 / span 6; }
.foot__next .kicker { display: block; margin-bottom: 12px; }
.foot__next p { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -0.03em; line-height: 1.1; font-variation-settings: "opsz" 72; }
.foot__next .mono { display: block; margin-top: 10px; color: var(--muted); }
.foot__links { grid-column: 8 / span 5; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; font-size: 0.875rem; }
.foot__links a { text-decoration: none; opacity: 0.78; }
.foot__links a:hover { opacity: 1; }
.foot__meta { margin-top: 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--muted); }
.wordmark {
  display: block; margin-top: 24px; margin-bottom: -0.2em;
  font-family: var(--f-display); font-weight: 400; color: var(--espresso);
  font-size: 19.2vw; line-height: 0.8; letter-spacing: -0.065em; white-space: nowrap;
  font-variation-settings: "opsz" 144;
  margin-left: -0.04em;
}
.wordmark > span:last-child { color: var(--amber); }
@media (max-width: 960px) {
  .foot__next, .foot__links { grid-column: 1 / -1; }
  .foot__links { justify-content: flex-start; }
}

/* ---------- Sub-page stubs ---------- */
.stub-hero { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 128px)); padding-bottom: clamp(64px, 8vw, 120px); }
.stub-hero .display-l { max-width: 14ch; }
.stub-hero .lede { margin-top: 32px; font-size: clamp(17px, 1.35vw, 20px); max-width: 44ch; }
.stub-hero .hero__ctas { margin-top: 36px; }
.stub-mock { margin-top: clamp(56px, 7vw, 104px); }
.stub-mock .mac { max-width: 760px; }
.stub-note { margin-top: 40px; font-size: 0.875rem; color: var(--muted); }
.prose { max-width: 64ch; }
.prose h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.75rem; letter-spacing: -0.03em; margin: 40px 0 12px; }
.prose p + p { margin-top: 1em; }

/* ---------- Reduced motion: everything static and readable ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
