/* ==========================================================================
   TransportAssistant — landing page
   Palette: asphalt charcoal + sodium amber. One accent, used sparingly.
   Type:    Archivo (display) / IBM Plex Sans (body) / IBM Plex Mono (data)
   ========================================================================== */

:root {
  --ink:        #08090b;
  --ink-2:      #0b0d11;
  --surface:    #0f1319;
  --surface-2:  #141a22;
  --surface-3:  #1a212b;
  --line:       #1d242f;
  --line-2:     #2a3441;

  /* Four steps of emphasis. The bottom two carry real copy — the mono example
     lines, alert kinds, tier verdicts — so both clear 4.5:1 on the panel
     backgrounds rather than sitting at the edge of legibility. */
  --text:       #eef1f5;
  --text-2:     #a7b1bf;
  --muted:      #8792a1;
  --faint:      #7a8492;

  --amber:      #ffb020;
  --amber-2:    #ffc85c;
  --amber-deep: #a86e0d;
  --amber-glow: rgba(255, 176, 32, 0.14);

  --ember:      #ff6a45;
  --mint:       #6fe3b0;
  --sky:        #7ec8ff;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gut: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --sec: clamp(96px, 13vw, 184px);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;

  /* Shadows carry the ground's hue rather than pure black — black on a
     blue-black ground reads as a hole rather than a cast shadow. */
  --shadow-1: 0 1px 2px rgba(3, 5, 9, 0.5), 0 2px 10px -4px rgba(3, 5, 9, 0.7);
  --shadow-2: 0 8px 20px -12px rgba(3, 5, 9, 0.85), 0 24px 48px -28px rgba(3, 5, 9, 0.9);
  --shadow-3: 0 40px 90px -50px rgba(3, 5, 9, 0.95), 0 8px 24px -16px rgba(3, 5, 9, 0.8);
  --inset-hair: inset 0 1px 0 rgba(255, 255, 255, 0.035);

  /* One curve everywhere: weighted, slight overshoot on the way out. */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-quick: cubic-bezier(0.32, 0.72, 0, 1);

  --z-grain: 300;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
/* The nav is fixed, so an anchor jump would otherwise land under it. */
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--amber); color: #12100a; }

/* ---------- page texture ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 20%, transparent 78%);
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); position: relative; z-index: 2; }
section { position: relative; z-index: 2; }
.sec { padding-block: var(--sec) calc(var(--sec) * 1.06); }
.rule { height: 1px; background: linear-gradient(to right, transparent, var(--line) 15%, var(--line) 85%, transparent); }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--amber-deep); }
.eyebrow.plain { color: var(--muted); }
.eyebrow.plain::before { background: var(--line-2); }

.h2 { font-size: clamp(32px, 5.1vw, 60px); max-width: 17ch; }
.h3 { font-size: clamp(23px, 2.5vw, 30px); }
.lede { font-size: clamp(16px, 1.45vw, 19px); color: var(--text-2); max-width: 62ch; line-height: 1.62; }
.amber { color: var(--amber); }
.mono { font-family: var(--mono); }

.sec-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(44px, 6vw, 76px); }
.sec-head .lede { margin-top: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), background 0.22s, border-color 0.22s, box-shadow 0.22s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: #14100a;
  box-shadow: 0 0 0 1px rgba(255,176,32,0.5), 0 12px 40px -14px rgba(255,176,32,0.85);
}
.btn-primary:hover { background: var(--amber-2); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,200,92,0.6), 0 18px 46px -14px rgba(255,176,32,0.95); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--faint); background: rgba(255,255,255,0.035); transform: translateY(-2px); }
.btn svg { transition: transform 0.22s; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.stuck { background: rgba(8,9,11,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.025em; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-size: 14.5px; color: var(--text-2); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 11px 20px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { padding-top: 148px; padding-bottom: clamp(80px, 10vw, 130px); position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -260px; left: 50%;
  width: 1100px; height: 780px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255,176,32,0.10), transparent 62%);
  pointer-events: none;
  filter: blur(20px);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-size: clamp(42px, 6.4vw, 78px);
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 26px 0 0;
  max-width: 13ch;
}
.hero h1 .hl { color: var(--amber); }
.hero .lede { margin-top: 26px; font-size: clamp(16.5px, 1.5vw, 19.5px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta li { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.hero-meta b { color: var(--text); font-weight: 500; }

/* ---------- console panel ---------- */
.console {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--surface-2), var(--surface) 55%, var(--ink-2));
  box-shadow: var(--shadow-3), var(--inset-hair);
  overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.016);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.console-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.live { margin-left: auto; display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--mint); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111,227,176,0.5); } 70% { box-shadow: 0 0 0 7px rgba(111,227,176,0); } 100% { box-shadow: 0 0 0 0 rgba(111,227,176,0); } }

.console-sum { display: flex; border-bottom: 1px solid var(--line); }
.console-sum div { flex: 1; padding: 15px 18px; border-right: 1px solid var(--line); }
.console-sum div:last-child { border-right: 0; }
.console-sum b { display: block; font-family: var(--display); font-size: 25px; font-weight: 600; letter-spacing: -0.02em; }
.console-sum span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.rows { padding: 6px 0; }
.row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(29,36,47,0.6);
  transition: background 0.2s;
}
.row:last-child { border-bottom: 0; }
.row:hover { background: rgba(255,255,255,0.022); }
.row .unit { font-family: var(--mono); font-size: 12.5px; color: var(--text-2); letter-spacing: 0.02em; }
.row .what { font-size: 14px; line-height: 1.35; }
.row .sub { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 4px; letter-spacing: 0.03em; }
.chip {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 5px;
  border: 1px solid;
  white-space: nowrap;
}
.chip.crit { color: var(--ember); border-color: rgba(255,106,69,0.35); background: rgba(255,106,69,0.09); }
.chip.warn { color: var(--amber); border-color: rgba(255,176,32,0.32); background: rgba(255,176,32,0.08); }
.chip.ok   { color: var(--mint);  border-color: rgba(111,227,176,0.3); background: rgba(111,227,176,0.07); }
.chip.info { color: var(--muted); border-color: var(--line-2); }
.console-foot {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.04em;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- integration strip ---------- */
.strip { padding-block: 46px; border-block: 1px solid var(--line); background: rgba(255,255,255,0.012); overflow: hidden; }
.strip-label { text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-bottom: 26px; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; padding-right: 56px; animation: slide 46s linear infinite; flex-shrink: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
.logo-mark {
  font-family: var(--display);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s;
  display: flex; align-items: baseline; gap: 8px;
}
.logo-mark:hover { color: var(--text); }
.logo-mark span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

/* ---------- night section ---------- */
.night { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--ink), #0a0c10 40%, var(--ink)); }
.night::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 62%;
  background:
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(255,176,32,0.09), transparent 68%),
    linear-gradient(to top, rgba(255,176,32,0.04), transparent);
  pointer-events: none;
}
.night-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.clock { font-family: var(--display); font-size: clamp(72px, 12vw, 144px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.86; }
.clock small { font-size: 0.26em; letter-spacing: 0.06em; color: var(--muted); margin-left: 0.16em; font-weight: 500; }
.night p + p { margin-top: 20px; }
.night .story { font-size: clamp(17px, 1.6vw, 20.5px); line-height: 1.58; color: var(--text-2); max-width: 46ch; margin-top: 30px; }
.night .story b { color: var(--text); font-weight: 500; }
.answer { margin-top: 34px; padding: 22px 24px; border-left: 2px solid var(--amber); background: linear-gradient(to right, var(--amber-glow), transparent 80%); border-radius: 0 var(--r) var(--r) 0; }
.answer p { font-size: 16px; color: var(--text); line-height: 1.6; }

.pack-line { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid rgba(29,36,47,0.75); }
.pack-line:last-child { border-bottom: 0; }
.pack-tick { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(255,176,32,0.4); background: rgba(255,176,32,0.1); display: grid; place-items: center; margin-top: 2px; color: var(--amber); }
.pack-line b { font-size: 14.5px; font-weight: 600; display: block; }
.pack-line span { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.03em; }

/* ---------- alert taxonomy grid ---------- */
.watch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.watch-cell { background: var(--surface); padding: 26px 24px 24px; transition: background 0.25s; position: relative; }
.watch-cell:hover { background: var(--surface-2); }
.watch-cell .chip { position: absolute; top: 22px; right: 22px; }
.watch-cell .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--faint); }
.watch-cell h3 { font-size: 17.5px; margin: 14px 0 9px; letter-spacing: -0.015em; padding-right: 74px; line-height: 1.2; }
.watch-cell p { font-size: 14px; color: var(--text-2); line-height: 1.55; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card .ico { width: 32px; height: 32px; color: var(--amber); margin-bottom: 20px; }
.card .num { font-family: var(--display); font-size: 42px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--line-2); margin-bottom: 16px; }
.card h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-2); line-height: 1.58; }
.card .ex { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--faint); line-height: 1.75; letter-spacing: 0.02em; }
.card .ex b { color: var(--amber); font-weight: 400; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }

/* ---------- money ledger ---------- */
.ledger { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.ledger-row {
  display: grid;
  grid-template-columns: 92px 1.05fr 1.5fr;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  transition: background 0.24s, padding-left 0.24s;
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-row:hover { background: var(--surface-2); padding-left: 32px; }
/* Which of the buyer's own systems powers the board — the one thing a fleet
   actually needs to know to tell whether a row applies to them. */
.ledger-row .src {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 5px 7px;
  text-align: center;
  white-space: nowrap;
}
.ledger-row h3 { font-size: 17.5px; letter-spacing: -0.015em; transition: color 0.24s; }
.ledger-row p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.ledger-row:hover h3 { color: var(--amber); }

/* ---------- integrations ---------- */
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.int {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.28s, background 0.28s, transform 0.28s;
}
.int:hover { border-color: rgba(255,176,32,0.32); background: var(--surface-2); transform: translateY(-3px); }
.int-top { display: flex; align-items: center; gap: 13px; }
.int-tile {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, var(--surface-3), var(--surface));
  display: grid; place-items: center;
  font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: -0.03em;
  color: var(--amber);
}
.int h3 { font-size: 15.5px; letter-spacing: -0.015em; }
.int .kind { font-family: var(--mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }
.int p { font-size: 14px; color: var(--text-2); line-height: 1.58; }
.int ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.int li { font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 4px 7px; }

/* ---------- tiers ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.tier::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.tier.t0::before { background: linear-gradient(to right, var(--mint), transparent); }
.tier.t1::before { background: linear-gradient(to right, var(--sky), transparent); }
.tier.t2::before { background: linear-gradient(to right, var(--amber), transparent); }
.tier.t3::before { background: linear-gradient(to right, var(--ember), transparent); }
.tier .num { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--line-2); }
.tier h3 { font-size: 17.5px; margin: 14px 0 8px; letter-spacing: -0.015em; }
.tier p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.tier .verdict { margin-top: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 64px; }
.trust h3 { font-size: 15.5px; margin-bottom: 9px; letter-spacing: -0.015em; }
.trust p { font-size: 14px; color: var(--text-2); line-height: 1.58; }
.trust .bar { width: 26px; height: 2px; background: var(--amber); margin-bottom: 16px; }

/* ---------- closing cta ---------- */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(255,176,32,0.13), transparent 65%);
  pointer-events: none;
}
.cta h2 { font-size: clamp(34px, 5.6vw, 64px); letter-spacing: -0.035em; max-width: 18ch; margin-inline: auto; line-height: 1.02; }
.cta .lede { margin: 26px auto 0; text-align: center; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.cta-note { margin-top: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--faint); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 52px 44px; }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.foot-nav a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.foot-nav a:hover { color: var(--text); }
.foot-legal { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.05em; line-height: 1.9; }

/* ---------- reveal ----------
   Hidden only when JS is running and has claimed responsibility for revealing
   it. Without that guard a blocked script leaves the whole page blank. */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1), transform 0.85s cubic-bezier(0.16,1,0.3,1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
/* Above the fold is never animated in — it has to be the first paint. */
.js .hero .rv { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .live i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .span-3, .span-4 { grid-column: span 4; }
  .span-2 { grid-column: span 2; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .night-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 116px; }
  .ledger-row { grid-template-columns: 92px 1fr; gap: 6px 16px; }
  .ledger-row p { grid-column: 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .tier-grid, .trust-grid { grid-template-columns: 1fr; }
  .console-sum { flex-wrap: wrap; }
  .console-sum div { flex: 1 1 50%; border-bottom: 1px solid var(--line); }
  .row { grid-template-columns: 1fr auto; }
  .row .unit { grid-column: 1 / -1; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   Growth ladder — the ceiling a fleet hits, and where it moves to
   ========================================================================== */
.growth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.ladder { position: relative; padding-left: 34px; }
.ladder::before {
  content: "";
  position: absolute; left: 9px; top: 14px; bottom: 14px;
  width: 1px;
  background: linear-gradient(to bottom, var(--line-2), var(--amber));
}
.ladder-step { position: relative; padding: 20px 0; }
.ladder-step::before {
  content: "";
  position: absolute; left: -30px; top: 27px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); border: 1.5px solid var(--line-2);
}
.ladder-step.now::before { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 4px rgba(255,176,32,0.14); }
.ladder-step .size { font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); }
.ladder-step h3 { font-size: 17.5px; margin: 8px 0 7px; letter-spacing: -0.015em; }
.ladder-step p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.ladder-step.now h3 { color: var(--amber); }

/* ==========================================================================
   AI — a live-call transcript and the roadmap rail
   ========================================================================== */
.talk { padding: 6px 0; }
.talk-line { display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 12px 20px; align-items: baseline; }
.talk-who { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.talk-line.ai .talk-who { color: var(--amber); }
.talk-line p { font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.talk-line.ai p { color: var(--text); }
.talk-note {
  margin: 4px 20px 14px;
  padding: 11px 14px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.03em;
  line-height: 1.7;
}

.road { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.road-item {
  background: var(--surface);
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 20px 24px;
  transition: background 0.24s;
}
.road-item:hover { background: var(--surface-2); }
.road-item h3 { font-size: 15.5px; letter-spacing: -0.015em; }
.road-item p { font-size: 14px; color: var(--text-2); line-height: 1.55; margin-top: 5px; }
.road-when { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

/* ==========================================================================
   How you run it — hosted, on-premise, phone
   ========================================================================== */
/* The hosted option is the one we steer people to, so it gets the width. */
.run-grid { display: grid; grid-template-columns: 1.22fr 1fr 1fr; gap: 16px; align-items: stretch; }
.run {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: border-color 0.28s, transform 0.28s;
}
.run:hover { transform: translateY(-3px); border-color: var(--line-2); }
.run.feature { border-color: rgba(255,176,32,0.38); background: linear-gradient(165deg, rgba(255,176,32,0.06), var(--surface) 55%); }
.run.feature:hover { border-color: rgba(255,176,32,0.55); }
.run-tag {
  position: absolute; top: -1px; right: 22px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.13em; text-transform: uppercase;
  color: #14100a; background: var(--amber);
  padding: 4px 10px; border-radius: 0 0 5px 5px;
}
.run .ico { width: 30px; height: 30px; color: var(--text-2); }
.run.feature .ico { color: var(--amber); }
.run h3 { font-size: 20px; letter-spacing: -0.02em; }
.run p { font-size: 14.5px; color: var(--text-2); line-height: 1.58; }
.run ul { display: flex; flex-direction: column; gap: 9px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.run li { font-size: 13.5px; color: var(--text-2); display: flex; gap: 9px; align-items: flex-start; line-height: 1.5; }
.run li::before { content: ""; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); margin-top: 8px; }
.run.feature li::before { background: var(--amber-deep); }

/* ==========================================================================
   Customization knobs
   ========================================================================== */
.knobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.knob { background: var(--surface); padding: 22px 22px 20px; transition: background 0.24s; }
.knob:hover { background: var(--surface-2); }
.knob h3 { font-size: 15.5px; letter-spacing: -0.015em; margin-bottom: 7px; }
.knob p { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--display); font-size: 17.5px; font-weight: 600; letter-spacing: -0.015em;
  transition: color 0.2s, background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--amber); background: var(--surface-2); }
.faq-sign { flex-shrink: 0; width: 15px; height: 15px; position: relative; }
.faq-sign::before, .faq-sign::after {
  content: ""; position: absolute; background: var(--amber); border-radius: 1px;
  transition: transform 0.28s cubic-bezier(0.2,0.7,0.3,1);
}
.faq-sign::before { left: 0; top: 6.5px; width: 15px; height: 2px; }
.faq-sign::after { left: 6.5px; top: 0; width: 2px; height: 15px; }
.faq-item[open] .faq-sign::after { transform: rotate(90deg); }
.faq-item .a { padding: 0 26px 26px; }
.faq-item .a p { font-size: 15px; color: var(--text-2); line-height: 1.65; max-width: 74ch; }
.faq-item .a p + p { margin-top: 14px; }

/* ==========================================================================
   Focus visibility — every interactive target
   ========================================================================== */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- responsive: components added above ---------- */
@media (max-width: 1080px) {
  .run-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .growth-grid { grid-template-columns: 1fr; }
  /* Grid blockifies children: without justify-self the severity chip becomes a
     full-width bar across the row. */
  .road-item { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .road-item .chip { justify-self: start; }
}
@media (max-width: 620px) {
  .talk-line { grid-template-columns: 1fr; gap: 4px; }
  .faq-item summary { font-size: 16px; padding: 20px; }
  .faq-item .a { padding: 0 20px 22px; }
}

/* ---------- skip link + visually-hidden headings ----------
   The night section and the logo strip are carried visually by a clock and a
   marquee; both need a real heading so the document outline is not full of
   unnamed regions. */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber); color: #14100a;
  padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600; font-size: 14px;
}
.skip:focus { left: 0; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* The strip label is an h2 now; keep it looking like a label. */
h2.strip-label { font-family: var(--mono); font-weight: 400; letter-spacing: 0.18em; line-height: 1.6; }

/* ---------- narrow-viewport nav ----------
   The nav is position:fixed, so body{overflow-x:hidden} does not clip it — an
   over-wide nav bar scrolls the whole document sideways on a phone. Shorten the
   CTA label rather than letting the bar overflow. */
.cta-short { display: none; }
@media (max-width: 600px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav .btn { padding: 10px 16px; font-size: 13.5px; }
  .brand-name { font-size: 15.5px; }
  .nav-in { height: 66px; }
}
@media (max-width: 360px) {
  .brand-name { display: none; }
}

/* ---------- tap targets ----------
   WCAG 2.2 target size (2.5.8) wants 24x24 CSS px minimum. The footer and nav
   link rows sat at 22px; padding lifts them without changing the visual rhythm. */
.foot-nav { gap: 4px 30px; }
.foot-nav a { padding: 11px 0; display: inline-block; }
.nav-links a { padding: 11px 0; display: inline-block; }

/* ==========================================================================
   Walkthrough request form
   ========================================================================== */
.book {
  max-width: 620px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.book-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field > span em { font-style: normal; color: var(--faint); text-transform: none; letter-spacing: 0.04em; }
.field input {
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  transition: border-color 0.2s, background 0.2s;
  min-width: 0;
}
.field input::placeholder { color: var(--faint); }
.field input:hover { border-color: var(--faint); }
.field input:focus { outline: none; border-color: var(--amber); background: var(--surface-2); }
.field input:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.field.invalid input { border-color: var(--ember); }
.field .err { font-family: var(--mono); font-size: 11px; color: var(--ember); letter-spacing: 0.03em; }

.book > .btn { justify-content: center; margin-top: 8px; }
.book-alt { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 4px; }
.book-alt a { color: var(--text-2); border-bottom: 1px solid var(--line-2); display: inline-block; padding: 3px 0; }
.book-alt a:hover { color: var(--amber); border-bottom-color: var(--amber); }

.book-done {
  border: 1px solid rgba(111,227,176,0.35);
  background: rgba(111,227,176,0.07);
  border-radius: var(--r);
  padding: 26px 28px;
  text-align: center;
  max-width: 620px;
  margin: 40px auto 0;
}
.book-done h3 { font-size: 20px; margin-bottom: 8px; }
.book-done p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; }

@media (max-width: 560px) {
  .book-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PREMIUM PASS
   Texture, depth, physical feedback and figure alignment. Nothing here
   changes layout logic — it changes how the surfaces read.
   ========================================================================== */

/* ---------- film grain ----------
   A flat vector ground reads as sterile at this scale. A fixed, tiled noise
   layer at very low opacity breaks the flatness without becoming visible
   texture. Sits above everything, takes no pointer events. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  /* No blend mode: overlay/soft-light both collapse to nothing against a
     ground this dark, so the layer would cost a composite for no effect.
     Straight alpha over near-black is what actually reads as film grain. */
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ---------- figures line up ----------
   Alert counts, clocks, tiers, roadmap labels and unit numbers all sit in
   columns or stacks; proportional digits make them wobble. */
.mono,
.console-sum b,
.console-sum span,
.clock,
.row .unit,
.row .sub,
.hero-meta li,
.ladder-step .size,
.tier .num,
.card .num,
.ledger-row .src,
.road-when,
.watch-cell .k,
.int .kind,
.talk-who,
.talk-note,
.console-foot,
.field > span {
  font-variant-numeric: tabular-nums;
}

/* ---------- cursor spotlight ----------
   Card borders and surfaces illuminate under the pointer. --mx/--my are set
   by main.js; the fallback keeps a neutral top-centre highlight for touch. */
.card, .int, .run, .tier, .faq-item { position: relative; }
.card::after, .int::after, .run::after, .tier::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 176, 32, 0.075),
    transparent 46%
  );
}
.card:hover::after, .int:hover::after, .run:hover::after, .tier:hover::after { opacity: 1; }
.run::after { border-radius: var(--r); }

/* ---------- surfaces gain weight ---------- */
.card, .int, .run, .tier, .ledger, .watch-grid, .knobs, .road, .faq { box-shadow: var(--shadow-1); }
.card:hover, .int:hover, .run:hover { box-shadow: var(--shadow-2); }

/* ---------- glass nav ----------
   backdrop-filter alone reads as a grey wash. The hairline and inner shadow
   are what make it read as a pane of glass over the page. */
.nav.stuck {
  background: rgba(8, 9, 11, 0.72);
  box-shadow: var(--inset-hair), 0 1px 24px -12px rgba(3, 5, 9, 0.9);
}
.nav-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(to right, var(--amber-deep), var(--amber));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.nav.stuck .nav-progress { opacity: 1; }

/* ---------- current section ---------- */
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.34s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.here { color: var(--text); }
.nav-links a.here::after { transform: scaleX(1); }

/* ---------- physical feedback ----------
   Every interactive surface answers the press, not just the hover. */
.btn { will-change: transform; }
.btn:active { transform: translateY(1px) scale(0.985); transition-duration: 0.08s; }
.card:active, .int:active, .run:active { transform: translateY(-1px); transition-duration: 0.1s; }
.faq-item summary:active { background: var(--surface-3); }
.field input:active { border-color: var(--amber); }
.foot-nav a, .nav-links a, .book-alt a { transition: color 0.2s var(--ease); }

/* ---------- one easing curve across the board ---------- */
.btn, .card, .int, .run, .tier, .row, .ledger-row, .watch-cell, .knob, .road-item,
.faq-item summary, .field input, .logo-mark, .ladder-step {
  transition-timing-function: var(--ease);
}

/* ---------- FAQ opens instead of snapping ----------
   ::details-content is the only way to transition a <details> open without
   JS. Guarded, so browsers without it keep the instant open. */
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.42s var(--ease), content-visibility 0.42s allow-discrete;
    transition-behavior: allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}
.faq-item[open] summary { color: var(--amber); }
.faq-item[open] { background: var(--surface-2); }

/* ---------- ambient depth in the flat sections ----------
   Sections that are only type on a flat ground read as unfinished. A wide,
   very low radial keeps them from going dead without adding an image. */
#growth, #ai, #control, #fit {
  background-image: radial-gradient(
    1200px 620px at 82% 0%,
    rgba(255, 176, 32, 0.035),
    transparent 62%
  );
}
#does, #money, #integrations, #delivery {
  background-image: radial-gradient(
    1100px 600px at 12% 4%,
    rgba(126, 200, 255, 0.022),
    transparent 60%
  );
}

/* ---------- trust grid gets structure ---------- */
.trust-grid { position: relative; }
.trust { padding-left: 22px; border-left: 1px solid var(--line); }
.trust .bar { margin-left: 0; }

/* ---------- hero panel sits forward ---------- */
.hero .console { box-shadow: var(--shadow-3), var(--inset-hair), 0 0 80px -40px rgba(255, 176, 32, 0.35); }

/* ---------- footer ---------- */
.foot-legal a { color: var(--muted); border-bottom: 1px solid transparent; display: inline-block; padding: 4px 0; }
.foot-legal a:hover { color: var(--text); border-bottom-color: var(--line-2); }
.foot-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }

@media (max-width: 1080px) {
  .run-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .trust { padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .card::after, .int::after, .run::after, .tier::after { display: none; }
  .nav-progress { display: none; }
  .faq-item::details-content { transition: none; }
}

/* ==========================================================================
   Proof band + direct contact
   ========================================================================== */
.proof { border-bottom: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px); background: linear-gradient(180deg, rgba(255,255,255,0.012), transparent); }
.proof-in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.proof-title { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.025em; line-height: 1.1; margin-top: 18px; max-width: 20ch; }
.proof-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pf { background: var(--surface); padding: 24px 22px; }
.pf b { display: block; font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; color: var(--amber); line-height: 1; font-variant-numeric: tabular-nums; }
.pf span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--text-2); }

.direct { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin-top: 30px; }
.direct-label { font-size: 14px; color: var(--muted); }
.direct-line {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--text);
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.direct-line svg { color: var(--amber); }
.direct-line:hover { border-color: rgba(255,176,32,0.5); color: var(--amber); transform: translateY(-1px); }

@media (max-width: 900px) {
  .proof-in { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .proof-facts { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PHONE — the primary surface. Most visitors arrive here from a message or
   an email on their phone, so everything below 900px is designed, not
   inherited.
   ========================================================================== */
html { -webkit-tap-highlight-color: transparent; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
  position: relative;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.menu-btn span {
  position: absolute; left: 13px; right: 13px; height: 1.8px; border-radius: 2px;
  background: var(--text);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8,9,11,0.97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: calc(88px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
  overflow-y: auto;
}
.menu-open .sheet { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease), visibility 0s; }
.sheet-links { display: flex; flex-direction: column; }
.sheet-links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.2s;
}
.sheet-links a span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--faint); font-weight: 400; }
.sheet-links a:active { color: var(--amber); }
.menu-open .sheet-links a { opacity: 1; transform: none; }
.menu-open .sheet-links a:nth-child(1) { transition-delay: 0.050s; }
.menu-open .sheet-links a:nth-child(2) { transition-delay: 0.085s; }
.menu-open .sheet-links a:nth-child(3) { transition-delay: 0.120s; }
.menu-open .sheet-links a:nth-child(4) { transition-delay: 0.155s; }
.menu-open .sheet-links a:nth-child(5) { transition-delay: 0.190s; }
.menu-open .sheet-links a:nth-child(6) { transition-delay: 0.225s; }
.menu-open .sheet-links a:nth-child(7) { transition-delay: 0.260s; }
.menu-open .sheet-links a:nth-child(8) { transition-delay: 0.295s; }
.menu-open .sheet-links a:nth-child(9) { transition-delay: 0.330s; }
.sheet-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease) 0.3s, transform 0.5s var(--ease) 0.3s; }
.menu-open .sheet-foot { opacity: 1; transform: none; }
.sheet-foot .btn { justify-content: center; padding: 16px; font-size: 16px; }
.sheet-contact { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px; color: var(--text-2); font-size: 15px; font-variant-numeric: tabular-nums; }
.sheet-contact svg { color: var(--amber); }
html.menu-lock, html.menu-lock body { overflow: hidden; }

.actionbar {
  display: none;
  position: fixed; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(15,19,25,0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-3), var(--inset-hair);
  transform: translateY(calc(100% + 30px));
  transition: transform 0.5s var(--ease);
}
.actionbar.up { transform: none; }
.menu-open .actionbar { transform: translateY(calc(100% + 30px)); }
.ab-call, .ab-book {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; border-radius: 12px; font-weight: 600; font-size: 15px;
  transition: transform 0.12s var(--ease), background 0.2s;
}
.ab-call { flex: 0 0 auto; padding: 0 18px; color: var(--text); background: var(--surface-3); border: 1px solid var(--line-2); }
.ab-call svg { color: var(--amber); }
.ab-book { flex: 1; color: #14100a; background: var(--amber); }
.ab-call:active, .ab-book:active { transform: scale(0.97); }

.more-btn { display: none; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .actionbar { display: flex; }
  /* the page must end above the floating bar, not under it */
  footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

@media (max-width: 620px) {
  :root { --sec: 76px; --gut: 18px; }
  .nav .nav-cta { display: none; }
  .nav-in { height: 64px; }

  /* iOS zooms the whole page when a focused input is under 16px */
  .field input { font-size: 16px; padding: 14px; }

  .hero { padding-top: 104px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(38px, 11.5vw, 48px); max-width: none; }
  .hero .lede { font-size: 17px; margin-top: 20px; }
  .hero-cta { margin-top: 28px; }
  .hero-meta { margin-top: 28px; gap: 10px 18px; }
  .hero-meta li { font-size: 10.5px; }
  /* the console is proof, not reading: keep it to its top four rows */
  .hero .row:nth-child(n+5) { display: none; }

  .sec-head { margin-bottom: 32px; }
  .h2 { font-size: clamp(29px, 8.4vw, 36px); }
  .lede { font-size: 16px; }
  .clock { font-size: clamp(64px, 20vw, 88px); }

  /* 19 alerts is a long scroll on a phone: six, then the rest on request */
  .watch-grid .watch-cell:nth-child(n+7) { display: none; }
  .watch-grid.all .watch-cell:nth-child(n+7) { display: block; animation: cellIn 0.5s var(--ease) both; }
  .more-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 12px; padding: 15px;
    border: 1px solid var(--line-2); border-radius: var(--r);
    color: var(--text); font-weight: 600; font-size: 15px;
    background: var(--surface);
  }
  .more-btn svg { transition: transform 0.3s var(--ease); color: var(--amber); }
  .more-btn .more-close { display: none; }
  .more-btn[aria-expanded="true"] .more-open { display: none; }
  .more-btn[aria-expanded="true"] .more-close { display: inline; }
  .more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .watch-cell { padding: 22px 20px 20px; }
  .watch-cell h3 { font-size: 16.5px; }

  /* integrations and the delivery options swipe sideways instead of
     stacking twelve cards into one long column */
  .int-grid, .run-grid, .tier-grid {
    display: flex; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 14px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .int-grid::-webkit-scrollbar, .run-grid::-webkit-scrollbar, .tier-grid::-webkit-scrollbar { display: none; }
  .int-grid > *, .run-grid > *, .tier-grid > * { flex: 0 0 82%; scroll-snap-align: center; }
  .tier-grid > * { flex-basis: 72%; }
  .swipe-hint { display: flex; }

  .card { padding: 24px 20px; }
  .card:active, .int:active, .run:active, .watch-cell:active, .ledger-row:active { transform: scale(0.985); transition-duration: 0.12s; }
  .ledger-row { padding: 18px; }
  .faq-item summary { padding: 18px; }

  .proof { padding-block: 52px; }
  .pf { padding: 20px 18px; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline; }
  .pf span { margin-top: 0; }

  .direct { flex-direction: column; gap: 10px; }
  .direct-line { width: 100%; justify-content: center; padding: 14px; }

  /* reveals: shorter travel, quicker settle — a thumb scrolls faster than a wheel */
  .js .rv { transform: translateY(14px); transition-duration: 0.6s; }
}
@keyframes cellIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.swipe-hint {
  display: none; align-items: center; gap: 8px;
  margin-top: 4px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint);
}
.swipe-hint i { display: flex; gap: 5px; }
.swipe-hint i b { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background 0.25s, width 0.25s var(--ease); }
.swipe-hint i b.on { background: var(--amber); width: 16px; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet-links a, .sheet-foot, .actionbar, .menu-btn span { transition: none !important; }
  .watch-grid.all .watch-cell { animation: none !important; }
}

/* ==========================================================================
   No sideways scroll, ever.
   The hero's 1100px glow made the document 738px wide on a 375px phone, and
   every fixed element (the nav, the menu, the call/book bar) stretched to
   that width with its right half off-screen. body { overflow-x: hidden }
   hid it on desktop Chrome, but iOS Safari does not apply it to the page.
   The glow is now clipped by the hero itself; this is the guard for the
   next decorative element that grows past the edge. `clip`, not `hidden`:
   hidden on body makes body its own scroller and the window's scroll
   events (progress bar, active section) stop.
   ========================================================================== */
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
