/* ─────────────────────────────────────────────────────────────
   Excavate marketing site · design tokens + layout · v2
   Dark is default. Light mirrors the client portal palette.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg0: #09090b;
  --bg1: #0c0c0f;
  --panel: #141419;
  --panel-solid: #141419;
  --plate: #1c1c22;
  --ink0: #f2f5f9;
  --ink1: #a3acbb;
  --ink2: #69727f;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.16);
  --accent: #4da6ff;
  --accent-ink: #7dbfff;
  --accent-dim: rgba(77, 166, 255, 0.13);
  --amber: #d9a03c;
  --amber-dim: rgba(217, 160, 60, 0.13);
  --red: #e25a5a;
  --red-dim: rgba(226, 90, 90, 0.12);
  --pill-bg: #f2f5f9;
  --pill-ink: #0a0d12;
  --grain-opacity: 0.05;
  --hero-bg: url("img/hero-bg-dark.webp");
  --field-bg: url("img/field-dark.webp");
  --plus-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Cpath d='M22 18.5v7M18.5 22h7' stroke='rgba(255,255,255,0.055)' stroke-width='1'/%3E%3C/svg%3E");
  --sans: "Geist", -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", "SF Mono", Menlo, monospace;
}

[data-theme="light"] {
  --bg0: #ffffff;
  --bg1: #f7f8fa;
  --panel: #eef2f7;
  --panel-solid: #f3f6fa;
  --plate: #e4e9f1;
  --ink0: #0e1218;
  --ink1: #4c5563;
  --ink2: #8a93a1;
  --line: rgba(10, 15, 24, 0.13);
  --line2: rgba(10, 15, 24, 0.24);
  --accent: #0f6fd6;
  --accent-ink: #0f6fd6;
  --accent-dim: rgba(15, 111, 214, 0.09);
  --amber: #b57e17;
  --amber-dim: rgba(181, 126, 23, 0.1);
  --red: #c03a3a;
  --red-dim: rgba(192, 58, 58, 0.09);
  --pill-bg: #0e1218;
  --pill-ink: #ffffff;
  --grain-opacity: 0.035;
  --hero-bg: url("img/hero-bg-light.webp");
  --field-bg: url("img/field-light.webp");
  --plus-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46'%3E%3Cpath d='M22 18.5v7M18.5 22h7' stroke='rgba(14,18,24,0.06)' stroke-width='1'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id], [id="record"], [id="problem"] { scroll-margin-top: 96px; }

body {
  background-color: var(--bg0);
  color: var(--ink0);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.35s ease, color 0.35s ease;
}

/* the field: a slow drift so it reads as weather, not dust */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--field-bg);
  background-size: 700px auto;
  background-repeat: repeat;
  animation: fieldDrift 70s linear infinite;
}
@keyframes fieldDrift {
  from { background-position: 0 0; }
  to { background-position: -700px -700px; }
}

/* film grain over everything, like a printed surface */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent-dim); }

a { color: inherit; text-decoration: none; }

main, header.site, footer.site { position: relative; z-index: 1; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── header ──────────────────────────────────────────────── */

header.site {
  position: fixed;
  top: 14px;
  left: 0; right: 0;
  z-index: 50;
  margin: 0 auto;
  max-width: 1260px;
  width: calc(100% - 40px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg0) 72%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}
[data-theme="light"] header.site { box-shadow: 0 10px 34px rgba(10, 15, 24, 0.08); }
header.site .wrap { padding: 0 20px; }
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  height: 60px;
}
.nav .mark { display: flex; align-items: center; }
.nav .mark img { height: 32px; width: auto; display: block; }
.nav-links {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--ink1);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink0); }
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-right .demo-link {
  font-size: 13.5px;
  color: var(--ink1);
  transition: color 0.15s ease;
}
.nav-right .demo-link:hover { color: var(--ink0); }

.theme-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink1);
  width: 30px; height: 30px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.theme-toggle:hover { color: var(--ink0); border-color: var(--line2); }
.theme-toggle svg { width: 14px; height: 14px; }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }

/* ── mobile menu ─────────────────────────────────────────── */

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  width: 34px; height: 34px;
  border-radius: 9px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 9px;
  width: 16px; height: 1.5px;
  background: var(--ink0);
  transition: transform 0.24s ease, opacity 0.24s ease;
}
.nav-toggle span:first-child { top: 13px; }
.nav-toggle span:last-child { top: 19px; }
.nav-toggle.on span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle.on span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 90px 0 0;
  z-index: 45;
  background: var(--bg0);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.mobile-menu.on { opacity: 1; transform: none; }
.mm-inner { padding: 28px 24px 56px; display: flex; flex-direction: column; }
.mm-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink2);
  margin: 22px 0 6px;
}
.mm-label:first-child { margin-top: 0; }
.mobile-menu a {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink0);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .mm-demo { color: var(--accent-ink); border-bottom: none; margin-top: 22px; }

/* ── buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pill-bg); color: var(--pill-ink); }
.btn-primary:hover { opacity: 0.88; }
.btn-ghost { border-color: var(--line2); color: var(--ink1); background: transparent; }
.btn-ghost:hover { color: var(--ink0); border-color: var(--ink2); }
.btn-sm { font-size: 12.5px; padding: 6px 14px; }

/* ── shared type ─────────────────────────────────────────── */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

h1 {
  font-size: clamp(30px, 6.4vw, 74px);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

/* never strand a single word on a heading's last line */
h1, h2, h3, h4 { text-wrap: balance; }

.lede {
  color: var(--ink1);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

.mono-note {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink2);
  letter-spacing: 0.02em;
}

/* ── hero ────────────────────────────────────────────────── */

.hero {
  position: relative;
  background-color: var(--bg0);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 72px;
  text-align: center;
  overflow: hidden;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center top;
}
/* the live weather canvas replaces the baked sky once it is running */
.hero.live { background-image: none; background-color: var(--bg0); }
#weather {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -220px;
  width: 1100px;
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-dim), transparent 72%);
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}
.hero .wrap { position: relative; }
/* the landing hero names the category, so it carries weight */
.hero:not(.page-hero) .eyebrow {
  display: block;
  font-size: clamp(13px, 1.55vw, 17px);
  letter-spacing: 0.2em;
  line-height: 1.5;
}
@media (max-width: 620px) {
  /* it wraps to two lines on a phone, so it needs room to breathe */
  .hero:not(.page-hero) .eyebrow { font-size: 12px; letter-spacing: 0.13em; line-height: 1.7; }
}
.hero h1 { max-width: 860px; margin: 20px auto 0; }
.hero .lede { max-width: 680px; margin: 22px auto 0; }
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}
.hero .mono-note { display: block; margin-top: 22px; }
.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  opacity: 0.65;
  animation: cueDrift 2.6s ease-in-out infinite;
}
@keyframes cueDrift {
  0%, 100% { opacity: 0.25; transform: translateX(-50%) scaleY(0.75); transform-origin: bottom; }
  50% { opacity: 0.8; transform: translateX(-50%) scaleY(1); transform-origin: bottom; }
}

.hero .eyebrow, .hero h1, .hero .lede, .hero-actions, .hero .mono-note {
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero h1 { animation-delay: 0.06s; }
.hero .lede { animation-delay: 0.14s; }
.hero-actions { animation-delay: 0.22s; }
.hero .mono-note { animation-delay: 0.3s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── live diagram ────────────────────────────────────────── */

.diagram-section {
  padding: 0 0 8px;
  animation: rise 0.8s 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.diagram-panel { overflow: hidden; }
.diagram-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 4px 18px;
}
.diagram-head .left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.diagram-head .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink1);
}
#event-counter {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink1);
  font-variant-numeric: tabular-nums;
}
#event-counter strong {
  color: var(--ink0);
  font-weight: 500;
}
.diagram-scroll { overflow-x: auto; }
#coverage-diagram {
  display: block;
  width: 100%;
  min-width: 900px;
  height: auto;
}

#coverage-diagram text {
  font-family: var(--mono);
  fill: var(--ink1);
}
#coverage-diagram .t-title { font-size: 12px; fill: var(--ink0); letter-spacing: 0.01em; font-family: var(--sans); font-weight: 500; }
#coverage-diagram .t-label { font-size: 10.5px; letter-spacing: 0.14em; fill: var(--ink2); }
#coverage-diagram .t-cause { font-size: 10.5px; fill: var(--ink2); font-family: var(--mono); }
#coverage-diagram .node-box { fill: var(--panel); stroke: var(--line2); }
#coverage-diagram .record-box { fill: transparent; stroke: var(--accent); stroke-opacity: 0.45; }
#coverage-diagram .flow-path { fill: none; stroke: var(--line2); stroke-width: 1; transition: stroke 0.5s ease, stroke-opacity 0.5s ease; }
#coverage-diagram .flow-path.active,
#coverage-diagram .flow-path.active-amber,
#coverage-diagram .flow-path.active-red {
  stroke-dasharray: 3 6;
  animation: dashflow 0.6s linear infinite;
}
#coverage-diagram .flow-path.active { stroke: var(--accent); stroke-opacity: 0.8; }
#coverage-diagram .flow-path.active-amber { stroke: var(--amber); stroke-opacity: 0.9; }
#coverage-diagram .flow-path.active-red { stroke: var(--red); stroke-opacity: 0.9; }
@keyframes dashflow {
  to { stroke-dashoffset: -9; }
}


/* ── nav dropdown ────────────────────────────────────────── */

.nav-drop { position: relative; display: inline-flex; }
.nav-drop-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  transition: color 0.15s ease;
}
.nav-drop-btn::-moz-focus-inner { border: 0; padding: 0; }
.nav-drop-btn:focus { outline: none; }
.nav-drop-btn:focus-visible { outline: 1px solid var(--line2); outline-offset: 6px; border-radius: 4px; }
.nav-caret {
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0.75;
  transition: transform 0.2s ease;
}
.nav-drop:hover .nav-drop-btn, .nav-drop:focus-within .nav-drop-btn { color: var(--ink0); }
.nav-drop:hover .nav-caret, .nav-drop:focus-within .nav-caret { transform: rotate(225deg) translate(-2px, -2px); }
/* hover bridge so the menu survives the gap */
.nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 20px; }
.nav-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  margin-top: 16px;
  min-width: 210px;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-menu a {
  font-size: 13.5px;
  color: var(--ink1);
  padding: 9px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-menu a:hover { color: var(--ink0); background: var(--plate); }

/* ── comparison table ───────────────────────────────────── */

.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;
}

.cmp-table-wrap { margin-top: 56px; }
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.cmp-table th,
.cmp-table td { text-align: center; vertical-align: middle; }

/* the dimension column carries the reading, so it gets the width */
.cmp-table th[scope="row"],
.cmp-rowhead {
  width: 40%;
  text-align: left;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink1);
  padding: 15px 20px 15px 4px;
}

.cmp-table thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink2);
  padding: 0 8px 16px;
  vertical-align: bottom;
  line-height: 1.5;
}
.cmp-table thead th.is-us { color: var(--accent-ink); }

.cmp-table tbody tr th,
.cmp-table tbody tr td { border-top: 1px solid var(--line); }
.cmp-table tbody tr:first-child th,
.cmp-table tbody tr:first-child td { border-top: none; }
.cmp-table tbody td { padding: 15px 8px; }

/* our column reads as one continuous panel down the table */
.cmp-table .is-us {
  background: var(--accent-dim);
  border-left: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}
.cmp-table thead th.is-us {
  border-top: 1px solid var(--accent);
  border-radius: 10px 10px 0 0;
  padding-top: 12px;
}
.cmp-table tbody tr:last-child td.is-us {
  border-bottom: 1px solid var(--accent);
  border-radius: 0 0 10px 10px;
}

/* marks */
.mk {
  display: inline-block;
  position: relative;
  width: 18px; height: 18px;
  border-radius: 50%;
}
.mk-yes { background: var(--accent-dim); }
.mk-yes::after {
  content: "";
  position: absolute;
  left: 6px; top: 4px;
  width: 4px; height: 8px;
  border: solid var(--accent);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}
.is-us .mk-yes { background: transparent; }
.mk-no::before, .mk-no::after {
  content: "";
  position: absolute;
  left: 4px; top: 8.4px;
  width: 10px; height: 1.4px;
  background: var(--ink2);
  opacity: 0.72;
}
.mk-no::before { transform: rotate(45deg); }
.mk-no::after { transform: rotate(-45deg); }
.mk-part::after {
  content: "";
  position: absolute;
  left: 4px; top: 8.4px;
  width: 10px; height: 1.4px;
  background: var(--amber);
  opacity: 0.8;
}

@media (max-width: 760px) {
  .cmp-table-wrap { margin-top: 40px; }
  .cmp-table th[scope="row"],
  .cmp-rowhead { width: 38%; font-size: 12.5px; padding: 13px 8px 13px 2px; line-height: 1.4; }
  /* the column labels have to survive a 52px column without spilling */
  .cmp-table thead th {
    font-size: 8px;
    letter-spacing: 0.02em;
    padding: 0 2px 12px;
    overflow-wrap: anywhere;
  }
  .cmp-table tbody td { padding: 13px 2px; }
  .mk { width: 16px; height: 16px; }
  .mk-yes::after { left: 5px; top: 3px; }
  .mk-no::before, .mk-no::after, .mk-part::after { left: 3px; top: 7.4px; }
}

/* ── use cases ───────────────────────────────────────────── */

.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.uc-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 26px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.uc-card:hover { border-color: var(--line2); }
.uc-card h3 { font-size: 17px; font-weight: 550; letter-spacing: -0.01em; }
.uc-card p { color: var(--ink1); font-size: 14px; line-height: 1.7; margin-top: 12px; }


/* ── use case detail (subpage) ───────────────────────────── */

.uc-detail { border-top: 1px solid var(--line); padding: 76px 0; scroll-margin-top: 80px; }
.uc-detail-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.uc-detail h2 { font-size: clamp(26px, 3vw, 36px); }
.uc-detail .lede { margin-top: 18px; }
.uc-panels { display: flex; flex-direction: column; gap: 14px; }
.uc-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
}
.uc-panel h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.uc-panel p { color: var(--ink1); font-size: 14.5px; line-height: 1.7; margin-top: 10px; }

/* ── about ───────────────────────────────────────────────── */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.about-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 28px;
}
.about-card h3 { font-size: 17px; font-weight: 550; letter-spacing: -0.01em; }
.about-card p { color: var(--ink1); font-size: 14.5px; line-height: 1.75; margin-top: 12px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
}
.contact-card .cl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
}
.contact-card .cv { display: block; font-size: 16px; font-weight: 500; margin-top: 10px; }
.contact-card a.cv { color: var(--accent-ink); }
.contact-card .cn { color: var(--ink1); font-size: 13.5px; line-height: 1.65; margin-top: 8px; }

/* ── act 0 · the pinned problem: panels swap in place ────── */

.prob-track { position: relative; height: 560vh; }
.prob-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prob-frame {
  position: relative;
  width: 100%;
  height: 66vh;
  margin-top: -4vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel {
  position: absolute;
  inset: 0;
  padding: 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
}
.panel.live { pointer-events: auto; }
.panel .eyebrow { display: block; }
.hook-intro {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.25;
  margin-top: 22px;
  max-width: 760px;
}
.hook-pair {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(32px, 6vw, 88px);
  margin-top: 46px;
}
.hook-half { max-width: 320px; }
.hook-div { width: 1px; align-self: stretch; background: var(--line); }
.hook-red { color: var(--red) !important; }
.hook .stat-source, .panel > .stat-source { display: inline-block; margin-top: 34px; padding-top: 0; }

.hook { max-width: 900px; margin-top: 26px; }
.hook-num {
  display: block;
  font-size: clamp(56px, 8.5vw, 120px);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}
.hook-claim {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.5;
  margin-top: 16px;
  color: var(--ink1);
}
.hook .stat-source { display: inline-block; margin-top: 26px; padding-top: 0; }

.panel-lead {
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.032em;
  margin-top: 20px;
  max-width: 1000px;
}
.panel-note {
  max-width: 660px;
  margin: 36px auto 0;
  color: var(--ink1);
  font-size: 16.5px;
  line-height: 1.75;
}
.leak-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
  width: 100%;
  text-align: left;
}
.leak-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 26px 24px;
}
.leak-who {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.leak-what {
  font-size: clamp(16px, 1.9vw, 21px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink0);
  margin-top: 14px;
}

/* documents flying through the frame */
.art-field { position: absolute; inset: -10% -6%; pointer-events: none; }
.art {
  position: absolute;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: color-mix(in srgb, var(--panel-solid) 92%, transparent);
  padding: 13px 17px;
  min-width: 232px;
  opacity: 0;
  will-change: transform, opacity;
}
.art-flag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 3px;
  padding: 1px 5px;
  margin-bottom: 9px;
  opacity: 0.9;
}
.art-name { display: block; font-size: 13px; font-weight: 500; color: var(--ink0); white-space: nowrap; }
.art-meta { display: block; font-family: var(--mono); font-size: 10px; color: var(--ink2); margin-top: 6px; white-space: nowrap; }

/* caught: every one of them gets examined and closed with a written cause */
.art { transition: border-color .5s ease, background .5s ease; }
.art.caught { border-color: color-mix(in srgb, var(--ink2) 45%, transparent); }
.art.caught .art-flag {
  color: var(--ink2);
  border-color: color-mix(in srgb, var(--ink2) 55%, transparent);
  transition: color .5s ease, border-color .5s ease;
}
.art::after {
  content: attr(data-res);
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink2);
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-height .45s ease, opacity .45s ease, margin-top .45s ease;
}
.art.caught::after { max-height: 18px; opacity: 1; margin-top: 7px; }
/* the few that do not close quietly */
.art-esc.caught { border-color: color-mix(in srgb, var(--amber) 42%, transparent); }
.art-esc.caught::after { color: var(--amber); }
.art-esc.caught .art-flag { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 60%, transparent); }

/* stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  text-align: left;
  width: 100%;
}
.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 550;
  letter-spacing: -0.03em;
  color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}
.stat-desc { font-size: 14px; line-height: 1.6; color: var(--ink1); margin-top: 12px; }
.stat-source {
  margin-top: auto;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink1);
  border-bottom: none;
  transition: color 0.15s ease;
}
.stat-source:hover { color: var(--accent-ink); }
/* outside a stat card there is no flex column to push against */
.off-item .stat-source { display: inline-block; margin-top: 16px; padding-top: 0; }

/* the turn panel that overwrites the problem */
.turn-intro {
  display: block;
  font-family: var(--mono);
  font-size: clamp(15px, 1.7vw, 22px);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.panel-turn .turn-logo { height: 58px; width: auto; display: block; margin: 34px auto 0; }
.panel-turn .turn-line {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-top: 34px;
}
.panel-turn .turn-sub {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--ink1);
  font-size: 16.5px;
  line-height: 1.75;
}

.story-static .prob-track { height: auto; }
.story-static .prob-pin { height: auto; display: block; padding: 40px 0; }
.story-static .prob-frame { height: auto; display: block; }
.story-static .panel { position: static; opacity: 1; padding: 60px 0; }
.story-static .art-field { display: none; }

/* ── the story (vertical, scroll-driven) ─────────────────── */

.story-problem { position: relative; }
.story { padding: 0 0 40px; margin-top: -6vh; }
.story .wrap { max-width: 1320px; }
.story-intro { max-width: 720px; }
.story-intro h2 { margin-top: 16px; }
.story-intro .lede { margin-top: 18px; }

.spine-wrap { position: relative; margin-top: 0; }
.spine {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
  transform: translateX(-0.5px);
}
.spine-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--accent), var(--accent) 82%, transparent);
  opacity: 0.7;
}

.beat {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 88px;
  align-items: center;
  padding: 104px 0;
}
.beat:first-child { padding-top: 0; }
.beat:nth-child(even) .beat-copy { order: 2; }
.beat:nth-child(even) .beat-viz { order: 1; }
.beat::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--bg0);
  border: 1.5px solid var(--line2);
  transition: border-color 0.4s ease, background 0.4s ease;
}
.beat.lit::before { border-color: var(--accent); background: var(--accent); }

.beat-head { display: flex; align-items: center; gap: 14px; }
.beat-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink2);
}
.tag-you, .tag-us, .tag-auto {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.tag-you { color: var(--ink0); background: var(--panel); border-color: var(--line2); }
.tag-us { color: var(--accent-ink); background: var(--accent-dim); border-color: transparent; }
.tag-auto { color: var(--ink1); }

.beat-copy h3 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin-top: 18px;
}
.beat-copy p {
  color: var(--ink1);
  font-size: 16.5px;
  line-height: 1.75;
  margin-top: 18px;
  max-width: 480px;
}

/* shared card surface for every drawn visual */
.bsrc, .record-card, .trigger-card, .triage-card, .case-card,
.inv-card, .report-card, .esc-node, .en-src, .en-item {
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* 01 · sources */
.bsrc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bsrc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.splate {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--plate);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.splate svg { width: 17px; height: 17px; }
.splate svg path { fill: var(--ink1); }

/* 02 · the record */
.record-card { overflow: hidden; }
.record-head, .record-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  border-bottom: 1px solid var(--line);
}
.record-head .sdot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s ease infinite;
}
.record-live { margin-left: auto; color: var(--ink1); font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: 0.04em; }
.record-img { padding: 28px 24px; }
.record-clip { overflow: hidden; }
.record-clip img { display: block; width: 100%; }
.record-foot {
  border-bottom: none;
  border-top: 1px solid var(--line);
  color: var(--ink2);
  text-transform: none;
  letter-spacing: 0.04em;
}
.record-foot span:last-child { margin-left: auto; }

/* 03 · trigger */
.trigger-card { padding: 38px 40px; }
.tk-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--amber);
}
.tk-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 1.8s ease infinite;
}
.tk-main { font-size: 30px; font-weight: 550; letter-spacing: -0.02em; margin-top: 16px; }
.tk-sub { font-family: var(--mono); font-size: 11.5px; color: var(--ink2); margin-top: 10px; }
.tk-alts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tk-alts span {
  font-size: 12px;
  color: var(--ink1);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

/* 04 · AI triage */
.triage-card { padding: 28px; }
.tr-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent-ink);
}
.tr-spark {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.tr-meta { margin-left: auto; color: var(--ink2); letter-spacing: 0.08em; }
.tr-rows { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.trow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 8px;
  font-size: 14px;
  background: transparent;
  opacity: 0;
  transform: translateY(6px);
}
.trow.on { opacity: 1; transform: none; transition: opacity 0.35s ease, transform 0.35s ease; }
.tcheck {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1px solid var(--line2);
  flex-shrink: 0;
  position: relative;
}
.trow.done .tcheck { border-color: var(--accent); background: var(--accent-dim); }
.trow.done .tcheck::after {
  content: "";
  position: absolute;
  left: 4px; top: 3px;
  width: 4px; height: 7px;
  border: solid var(--accent);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.tname { color: var(--ink0); }
.tres { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink2); white-space: nowrap; }
.tr-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tr-val { display: block; font-size: 26px; font-weight: 550; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.tr-amber { color: var(--amber); }
.tr-lbl { display: block; font-family: var(--mono); font-size: 10px; color: var(--ink2); letter-spacing: 0.06em; margin-top: 4px; line-height: 1.4; }

/* 05 · escalation */
.esc-lane { display: flex; flex-direction: column; align-items: center; gap: 0; }
.esc-node { width: 100%; padding: 28px 30px; text-align: center; }
.esc-k { display: block; font-size: 36px; font-weight: 550; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.esc-v { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink2); margin-top: 6px; letter-spacing: 0.04em; }
.esc-hot { border-color: var(--amber); }
.esc-hot .esc-k { color: var(--amber); }
.esc-split { position: relative; height: 56px; width: 100%; }
.esc-split span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--line2);
}
.esc-split span:last-child { background: var(--amber); opacity: 0.55; }

/* 06 · case */
.case-card { padding: 32px 34px; }
.cc-head { display: flex; align-items: center; gap: 12px; }
.cc-id { font-family: var(--mono); font-size: 11px; color: var(--ink2); letter-spacing: 0.1em; }
.cc-pill {
  margin-left: auto;
  font-size: 11px;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}
.cc-title { font-size: 26px; font-weight: 550; letter-spacing: -0.02em; margin-top: 14px; }
.cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.cc-k { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--ink2); }
.cc-v { display: block; font-size: 13.5px; color: var(--ink0); margin-top: 5px; }

/* 07 · enrichment */
.enrich-viz { display: flex; flex-direction: column; gap: 0; }
.en-src { display: flex; align-items: center; gap: 14px; padding: 20px 22px; font-size: 15px; font-weight: 500; border-style: dashed; }
.en-flow { position: relative; height: 44px; }
.en-flow i {
  position: absolute;
  left: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: -2px;
  opacity: 0;
}
.en-list { display: flex; flex-direction: column; gap: 8px; }
.en-item {
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--ink1);
  font-family: var(--mono);
  opacity: 0;
  transform: translateX(10px);
}
.en-item.on { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.4s ease; }

/* 08 · investigation */
.inv-card { padding: 32px 34px; }
.inv-head { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.inv-steps { margin-top: 22px; display: flex; flex-direction: column; gap: 0; }
.inv-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink1);
}
.inv-bullet {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line2);
  flex-shrink: 0;
  transition: background 0.4s ease;
}
.inv-step.on .inv-bullet { background: var(--accent); }

/* 09 · report */
.report-card { padding: 32px 34px; }
.rp-head { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.rp-verdict {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 21px;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--red);
}
.rp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.rp-lines { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.rp-lines span { height: 8px; border-radius: 3px; background: var(--line); }
.rp-lines span:nth-child(1) { width: 92%; }
.rp-lines span:nth-child(2) { width: 78%; }
.rp-lines span:nth-child(3) { width: 85%; }
.rp-lines span:nth-child(4) { width: 54%; }
.rp-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink2);
  letter-spacing: 0.04em;
}

/* reveal state driven by story.js */
.beat .beat-copy, .beat .beat-viz { opacity: 0; transform: translateY(26px); }
.story-static .beat .beat-copy,
.story-static .beat .beat-viz { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .spine { display: none; }
  .beat { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .beat::before { display: none; }
  .beat:nth-child(even) .beat-copy { order: 1; }
  .beat:nth-child(even) .beat-viz { order: 2; }
  .bsrc-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .art-field { display: none; }
}

/* ── connector marquee ───────────────────────────────────── */

.marquee-section {
  padding: 44px 0 10px;
  text-align: center;
}
.marquee-section .mono-note { display: block; margin-bottom: 22px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  padding-right: 56px;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink1);
  white-space: nowrap;
}
.mq-item svg { width: 16px; height: 16px; opacity: 0.75; }
.mq-item svg path { fill: var(--ink1); }

/* ── sections ────────────────────────────────────────────── */

section.block {
  border-top: 1px solid var(--line);
  padding: 104px 0;
}
.section-head { max-width: 680px; }
.section-head h2 { margin-top: 16px; }
.section-head .lede { margin-top: 18px; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ── how it works ────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.step {
  padding: 26px 26px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.step .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent-ink);
}
.step h3 {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.step p {
  color: var(--ink1);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
}
.step-viz {
  margin-top: 20px;
  height: 54px;
}
.step-viz svg { display: block; height: 100%; width: auto; }

/* step glyph animations */
.viz-link-dot { animation: linkpulse 2.6s ease infinite; }
@keyframes linkpulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
.viz-bar { transform-origin: bottom; animation: bargrow 3.2s ease infinite; }
.viz-bar:nth-child(2) { animation-delay: 0.4s; }
.viz-bar:nth-child(3) { animation-delay: 0.8s; }
.viz-bar:nth-child(4) { animation-delay: 1.2s; }
.viz-bar:nth-child(5) { animation-delay: 1.6s; }
@keyframes bargrow {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}
.viz-scan { animation: scanx 2.8s ease-in-out infinite; }
@keyframes scanx {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(64px); }
}
.viz-check { stroke-dasharray: 26; animation: drawcheck 3s ease infinite; }
@keyframes drawcheck {
  0%, 15% { stroke-dashoffset: 26; }
  45%, 80% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -26; }
}

/* who does what */
.division {
  margin-top: 72px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.division-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 26px;
}
.division-row + .division-row { border-top: 1px solid var(--line); }
.division-row .who {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  flex: 0 0 96px;
}
.division-row:first-child .who { color: var(--accent-ink); }
.division-row:last-child .who { color: var(--ink2); }
.division-row .what {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.division-row .chip {
  font-size: 12.5px;
  color: var(--ink1);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 13px;
  white-space: nowrap;
}
.division-row:last-child .chip {
  border-style: dashed;
}

/* ── portal showcase ─────────────────────────────────────── */

.shot-xl { margin-top: 64px; }
.shot-img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}
.shot-xl .shot-caption {
  border-top: none;
  max-width: 900px;
  padding: 18px 22px 20px;
}

.shot {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-solid);
  overflow: hidden;
}
.shot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.shot-bar .name {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink2);
}
.shot-body { padding: 18px; }
.shot-caption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink1);
  line-height: 1.6;
}
.shot-caption strong { color: var(--ink0); font-weight: 500; }

/* ── portal bento ────────────────────────────────────────── */

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}
.bento-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-solid);
  padding: 30px 30px 0;
  overflow: hidden;
  transition: border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.bento-card:hover { border-color: var(--line2); }
.bento-card .eyebrow { font-size: 10.5px; }
.bento-card h3 {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.015em;
  margin-top: 12px;
}
.bento-card p {
  color: var(--ink1);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
  max-width: 560px;
}
.bento-peek {
  position: relative;
  margin-top: auto;
  padding-top: 24px;
  height: auto;
  max-height: 300px;
}
.bento-peek img {
  display: block;
  width: 112%;
  border: 1px solid var(--line);
  border-radius: 10px 0 0 0;
  border-bottom: none;
  border-right: none;
}
.bento-peek::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--panel-solid));
  pointer-events: none;
}
.bento-card.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 36px;
  align-items: center;
  padding: 40px 0 40px 36px;
}
.bento-card.wide .bento-copy { padding-bottom: 0; }
.bento-card.wide .bento-peek {
  margin-top: 0;
  height: 380px;
}
.bento-card.wide .bento-peek img {
  width: 118%;
  border-radius: 12px 0 0 12px;
  border-right: none;
}
.bento-card.wide .bento-peek::after {
  inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--panel-solid));
  height: auto;
}

/* ── subpage hero ────────────────────────────────────────── */

.page-hero { min-height: 0; padding: 140px 0 52px; display: block; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); max-width: 760px; margin: 18px auto 0; }
.page-hero .lede { max-width: 620px; margin: 18px auto 0; }

/* ── pricing plan ────────────────────────────────────────── */

.plan-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}
.plan-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-solid);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.plan-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -220px;
  width: 700px;
  height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-dim), transparent 72%);
  pointer-events: none;
}
.plan-card > * { position: relative; }
.plan-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.plan-name h2 { font-size: 26px; }
.plan-price {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-ink);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan-card .plan-note { color: var(--ink1); font-size: 14.5px; line-height: 1.7; margin-top: 14px; max-width: 560px; }
.plan-features {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  list-style: none;
}
.plan-features li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--ink1);
  line-height: 1.55;
}
.plan-features li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
  transform: translateY(-1px);
}
.plan-card .btn { margin-top: 30px; }
.plan-aside {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 32px;
}
.plan-aside h3 { font-size: 15px; font-weight: 550; }
.plan-aside .pp { margin-top: 6px; }
.plan-aside .price-point { padding: 16px 0; }

/* ── modern FAQ ──────────────────────────────────────────── */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  align-items: start;
}
details.faq-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 0 22px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
details.faq-card:hover { border-color: var(--line2); }
details.faq-card[open] { background: var(--panel-solid); border-color: var(--line2); }
details.faq-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
details.faq-card summary::-webkit-details-marker { display: none; }
details.faq-card summary .plus {
  font-family: var(--mono);
  color: var(--ink2);
  font-size: 15px;
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
}
details.faq-card[open] summary .plus { transform: rotate(45deg); color: var(--accent-ink); }
details.faq-card .answer {
  padding: 0 0 20px;
  color: var(--ink1);
  font-size: 14px;
  line-height: 1.75;
}

/* ── trust control cards ─────────────────────────────────── */

.ctrl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.ctrl-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 26px;
  transition: border-color 0.2s ease;
}
.ctrl-card:hover { border-color: var(--line2); }
.ctrl-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ctrl-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  flex-shrink: 0;
}
.ctrl-icon svg { width: 15px; height: 15px; }
.ctrl-head h3 { font-size: 15.5px; font-weight: 550; letter-spacing: -0.005em; }
.ctrl-head .ctrl-num {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink2);
  letter-spacing: 0.12em;
}
.ctrl-card p {
  color: var(--ink1);
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 14px;
}

/* ── trust center ────────────────────────────────────────── */

.trust-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.trust-tile {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 22px 24px;
}
.trust-tile .tt-val { font-size: 17px; font-weight: 550; letter-spacing: -0.01em; }
.trust-tile .tt-lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ── offboarding band ────────────────────────────────────── */

.departure {
  position: relative;
  overflow: hidden;
}
.departure .wrap { position: relative; }
#weather-off {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.off-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.off-item {
  padding: 28px 30px 8px 0;
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.off-item:first-child { border-left: none; padding-left: 0; }
.off-item h3 { font-size: 16px; font-weight: 550; letter-spacing: -0.01em; }
.off-item p { color: var(--ink1); font-size: 14px; line-height: 1.7; margin-top: 10px; }

/* exit review timeline */
.exit-timeline {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-solid);
  padding: 34px;
  overflow-x: auto;
}
.exit-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  min-width: 780px;
}
.exit-steps::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 4px;
  height: 1px;
  background: var(--line);
}
.exit-fill {
  position: absolute;
  left: 0; right: 0;
  top: 3.5px;
  height: 1.5px;
  background: var(--accent);
  opacity: 0.6;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.exit-timeline.in .exit-fill { transform: scaleX(1); }
.exit-step { position: relative; }
.exit-step .dot {
  display: block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg0);
  border: 1.5px solid var(--ink2);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.exit-step.major .dot { border-color: var(--accent); background: var(--accent); }
.exit-step .t {
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.exit-step .s {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink2);
  letter-spacing: 0.03em;
  margin-top: 6px;
  line-height: 1.6;
}
.exit-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink2);
  letter-spacing: 0.02em;
}
.exit-note b { color: var(--accent-ink); font-weight: 500; }

/* ── who it's for ────────────────────────────────────────── */

.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.who-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: var(--panel);
  transition: border-color 0.2s ease;
}
.who-card:hover { border-color: var(--line2); }
.who-card .tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.who-card h3 { font-size: 17px; font-weight: 550; margin-top: 12px; letter-spacing: -0.01em; }
.who-card p { color: var(--ink1); font-size: 14px; line-height: 1.7; margin-top: 10px; }

/* ── pricing ─────────────────────────────────────────────── */

.pricing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.price-points { margin-top: 8px; border-top: 1px solid var(--line); }
.price-point {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.price-point .pp-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-ink);
  letter-spacing: 0.12em;
}
.price-point div h4 { font-size: 15px; font-weight: 550; }
.price-point div p { color: var(--ink1); font-size: 13.5px; margin-top: 4px; line-height: 1.65; }
.pricing .btn { margin-top: 28px; }

/* ── security spec table ─────────────────────────────────── */

.sec-table {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.sec-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.sec-cell-title {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.005em;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.sec-idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-ink);
  letter-spacing: 0.12em;
}
.sec-row p {
  color: var(--ink1);
  font-size: 14px;
  line-height: 1.7;
  max-width: 720px;
}
.sec-note {
  margin-top: 48px;
  font-size: 13px;
  color: var(--ink2);
}
.sec-note a { color: var(--ink1); border-bottom: 1px solid var(--line2); }

/* ── FAQ ─────────────────────────────────────────────────── */

.faq-list { margin-top: 56px; border-top: 1px solid var(--line); max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.15s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent-ink); }
.faq-list summary .plus {
  font-family: var(--mono);
  color: var(--ink2);
  font-size: 15px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-list details[open] summary .plus { transform: rotate(45deg); }
.faq-list .answer {
  padding: 0 4px 24px;
  color: var(--ink1);
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 700px;
}

/* ── demo / CTA panel ────────────────────────────────────── */

.cta-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background-color: var(--panel-solid);
  background-image: var(--plus-pattern);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -300px;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-dim), transparent 72%);
  pointer-events: none;
}
.cta-panel > * { position: relative; }
#weather-cta {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.demo-tabs {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-top: 40px;
}
.demo-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink1);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.demo-tab.on {
  background: var(--pill-bg);
  color: var(--pill-ink);
}
.demo-panel { display: none; margin-top: 36px; }
.demo-panel.on { display: block; }

.demo-card {
  max-width: 620px;
  text-align: center;
  margin: 0 auto;
}
.demo-card .eyebrow { display: block; }
.demo-card h3 { font-size: 22px; font-weight: 550; letter-spacing: -0.015em; margin-top: 14px; }
.demo-card p { color: var(--ink1); font-size: 14.5px; line-height: 1.7; margin-top: 12px; }
.demo-card .btn { margin-top: 24px; }
.demo-card .mono-note { display: block; margin-top: 16px; }

#cal-inline {
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg0);
}

/* ── footer ──────────────────────────────────────────────── */

footer.site {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
}
.foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.foot .mark img { height: 20px; width: auto; display: block; }
.foot .copyright {
  font-size: 12.5px;
  color: var(--ink2);
}
.foot-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.foot-links a {
  font-size: 12.5px;
  color: var(--ink2);
  transition: color 0.15s ease;
}
.foot-links a:hover { color: var(--ink0); }

/* ── responsive ──────────────────────────────────────────── */

@media (max-width: 1080px) {
}

@media (max-width: 960px) {
  .wrap { padding: 0 22px; }
  .nav-links { display: none; }
  .nav-right .demo-link { display: none; }
  .nav-toggle { display: block; }
  header.site { top: 10px; width: calc(100% - 20px); border-radius: 12px; }
  header.site .wrap { padding: 0 14px; }
  .mobile-menu { inset: 78px 10px 10px; border: 1px solid var(--line); border-radius: 14px; }
  .nav .mark img { height: 27px; }
  .story .wrap { max-width: 100%; }

  .steps { grid-template-columns: 1fr 1fr; gap: 14px; }
  .portal-grid, .bento { grid-template-columns: 1fr; }
  .bento-card.wide { grid-template-columns: 1fr; padding: 26px 24px 0; }
  .bento-card.wide .bento-peek { height: 260px; margin-top: 22px; }
  .bento-card.wide .bento-peek img { width: 108%; border-radius: 10px 0 0 0; }
  .bento-card.wide .bento-peek::after { inset: auto 0 0 0; height: 80px; background: linear-gradient(to bottom, transparent, var(--panel-solid)); }
  .trio, .who-grid, .uc-grid, .about-grid, .contact-grid, .ctrl-grid { grid-template-columns: 1fr; }
  .pricing-inner { grid-template-columns: 1fr; gap: 36px; }
  .plan-wrap { grid-template-columns: 1fr; gap: 16px; }
  /* triage rows: mark and name on one line, cause beneath it */
  .triage-card { padding: 22px 18px; }
  .tr-rows { margin-top: 14px; gap: 0; }
  .trow {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr);
    column-gap: 11px;
    row-gap: 3px;
    align-items: center;
    padding: 11px 8px;
    border-radius: 0;
  }
  .trow + .trow { border-top: 1px solid var(--line); }
  .tcheck { grid-column: 1; grid-row: 1; }
  .tname { grid-column: 2; grid-row: 1; font-size: 13.5px; }
  .tres {
    grid-column: 2; grid-row: 2;
    margin-left: 0;
    white-space: normal;
    font-size: 10px;
    line-height: 1.5;
  }
  .sec-row { grid-template-columns: 1fr; gap: 8px; }
  .off-grid { grid-template-columns: 1fr; }
  .off-item { border-left: none; padding-left: 0; border-top: 1px solid var(--line); }
  .off-item:first-child { border-top: none; }
  .division-row { flex-direction: column; gap: 12px; }
  .cta-panel { padding: 44px 24px; }
  .faq-grid { grid-template-columns: 1fr; }
  .trust-tiles { grid-template-columns: 1fr 1fr; }
  .plan-features { grid-template-columns: 1fr; }

  /* the story goes single column */
  .spine { display: none; }
  .beat { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 56px 0; }
  .beat::before { display: none; }
  .beat:nth-child(even) .beat-copy { order: 1; }
  .beat:nth-child(even) .beat-viz { order: 2; }
  .beat-copy p { max-width: none; }
  .bsrc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .bsrc { padding: 15px 14px; font-size: 13px; gap: 10px; }
  .splate { width: 28px; height: 28px; }
  .splate svg { width: 14px; height: 14px; }

  /* comparison stacks into labelled blocks */

}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .hero:not(.page-hero) { min-height: 92vh; padding: 76px 0 72px; }
  .page-hero { padding: 116px 0 36px; }
  .hero .br-lg { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero .lede { font-size: 15px; }
  section.block { padding: 60px 0; }

  /* the pinned problem, sized for a phone */
  .prob-track { height: 450vh; }
  .prob-frame { height: 74vh; margin-top: 0; }
  .panel-lead { font-size: clamp(24px, 7.4vw, 34px); }
  .hook-intro { font-size: clamp(18px, 5.2vw, 24px); }
  .hook-pair { flex-direction: column; gap: 26px; align-items: center; }
  .hook-div { width: 46px; height: 1px; align-self: center; }
  .hook-num { font-size: clamp(52px, 17vw, 76px); }
  .hook-claim { font-size: 14.5px; margin-top: 8px; }
  .leak-lines span { font-size: clamp(17px, 4.8vw, 22px); }
  .panel-note { font-size: 14.5px; margin-top: 24px; }
  .panel { padding: 0 20px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
  .stat-card { padding: 18px 16px 16px; }
  .leak-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .leak-card { padding: 18px 18px; }
  .leak-what { font-size: 16px; margin-top: 10px; }
  .stat-val { font-size: clamp(22px, 6.4vw, 28px); }
  .stat-desc { font-size: 12px; line-height: 1.45; margin-top: 8px; }
  .stat-source { font-size: 9.5px; padding-top: 12px; }
  .turn-intro { font-size: 13px; letter-spacing: 0.28em; }
  .panel-turn .turn-logo { height: 34px; margin-top: 22px; }
  .panel-turn .turn-line { font-size: clamp(24px, 7vw, 32px); margin-top: 22px; }
  .panel-turn .turn-sub { font-size: 14.5px; margin-top: 16px; }

  .steps { grid-template-columns: 1fr; gap: 12px; }
  .trust-tiles { grid-template-columns: 1fr; }
  .beat { padding: 44px 0; }
  .beat-copy h3 { font-size: clamp(25px, 7.2vw, 32px); }
  .beat-copy p { font-size: 15px; }
  .bsrc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .bsrc { padding: 12px 10px; font-size: 12px; gap: 8px; }
  .bsrc .splate { width: 24px; height: 24px; }
  .bsrc .splate svg { width: 12px; height: 12px; }
  /* the timeline turns on its side and keeps its rail */
  .exit-timeline { padding: 24px 20px; overflow-x: visible; }
  .exit-steps { grid-template-columns: minmax(0, 1fr); gap: 0; min-width: 0; padding-left: 26px; }
  .exit-steps::before {
    left: 5.5px; right: auto;
    top: 6px; bottom: 32px;
    width: 1px; height: auto;
  }
  .exit-fill {
    left: 5px; right: auto;
    top: 6px; bottom: 32px;
    width: 1.5px; height: auto;
    transform-origin: top;
    transform: scaleY(0);
  }
  .exit-timeline.in .exit-fill { transform: scaleY(1); }
  .exit-step { padding: 0 0 22px; }
  .exit-step:last-child { padding-bottom: 0; }
  .exit-step .dot { position: absolute; left: -26px; top: 3px; margin: 0; }
  .exit-note { margin-top: 22px; padding-top: 16px; line-height: 1.7; }
  .departure .statement { font-size: clamp(24px, 6.6vw, 32px); }
  .tr-stats { grid-template-columns: 1fr; gap: 0; margin-top: 14px; padding-top: 0; border-top: none; }
  .tr-stats > div {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--line);
  }
  .tr-stats > div:last-child { padding-bottom: 2px; }
  .tr-val { font-size: 21px; min-width: 62px; }
  .tr-lbl { margin-top: 0; }
  .cc-grid { grid-template-columns: 1fr; }
  .demo-tabs { width: 100%; justify-content: center; }
  .foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-links { margin-left: 0; gap: 12px 18px; }
  .plan-card { padding: 28px 22px; }
  .plan-name h2 { font-size: 22px; }
  #cal-inline { min-height: 480px; }
  .mobile-menu a { font-size: 17.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  body::before { animation: none; }
  .shot .mock-hist span { height: var(--h, 40%); }
  .chat .q, .chat .a { opacity: 1; transform: none; }
  .exit-track .fill { transform: scaleX(1); }
}
