/* ============================================================
   NEXT STEP AI — site stylesheet (redesign 2026)
   Brand: the whitepaper look. Sora for display, Figtree for text,
   deep navy, one blue accent, amber only for a few key numbers.
   Fonts are self-hosted (no requests to Google: GDPR).
   ============================================================ */

/* Fonts: see fonts.css (Sora + Figtree, self-hosted). */

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  /* dark surfaces */
  --night:   #0A0F1C;
  --night-2: #111A2E;
  --night-3: #1A2540;
  --on-dark:   #EEF2F8;
  --on-dark-2: rgba(238,242,248,0.74);
  --on-dark-3: rgba(238,242,248,0.50);
  --line-dark: rgba(255,255,255,0.10);

  /* light surfaces */
  --paper: #F3F6FA;
  --white: #FFFFFF;
  --ink:   #0B1426;
  --ink-2: #44526A;
  --ink-3: #77849A;
  --rule:  #D8DFE9;
  --tint:  #EAEFF6;

  /* accents */
  --blue:      #0099FF;
  --blue-deep: #0070E0;
  --blue-soft: #E2F1FF;
  --blue-glow: rgba(0,153,255,0.35);
  --amber: #FFB020;
  --green: #1FB97A;
  --red:   #E5484D;

  /* type */
  --f-display: 'Sora', system-ui, sans-serif;
  --f-body:    'Figtree', system-ui, sans-serif;

  /* layout */
  --nav-h: 76px;
  --container: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --sec-y: clamp(96px, 11vw, 152px);
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--night);
  overflow-x: hidden;
}
[hidden] { display: none !important; }   /* components set display, which would otherwise beat the attribute */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 3000;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

/* ── Type ──────────────────────────────────────────────────── */
.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2-xl { font-size: clamp(48px, 7vw, 104px); letter-spacing: -0.045em; line-height: 0.98; }
.h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; }
.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 18px;
}

/* ── Buttons & links ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1AA5FF; box-shadow: 0 10px 30px var(--blue-glow); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--night-3); transform: translateY(-1px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--blue-deep);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.25s var(--ease);
}
.link-arrow::after { content: '\2192'; transition: transform 0.25s var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover::after { transform: translateX(3px); }
.s-dark .link-arrow, .link-light { color: #7CC8FF; }

/* ── Sections ──────────────────────────────────────────────── */
.sec { padding: var(--sec-y) 0; position: relative; }
.s-dark  { background: var(--night); color: var(--on-dark); }
.s-light { background: var(--paper); color: var(--ink); }
.s-white { background: var(--white); color: var(--ink); }
.s-dark .kicker { color: #4DB8FF; }
.s-dark .lead, .s-dark p { color: var(--on-dark-2); }
.s-light .lead, .s-white .lead { color: var(--ink-2); }

.sec-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .lead { margin-top: 22px; }
.sec-head-wide { max-width: 900px; }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ── Reveal on scroll ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 0.12s); }
.reveal.in { opacity: 1; transform: none; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(10,15,28,0.95);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links > a, .nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; color: var(--on-dark-2);
  padding: 6px 0; transition: color 0.2s;
}
.nav-links > a:hover, .nav-drop-toggle:hover, .nav-drop:focus-within .nav-drop-toggle { color: #fff; }
.nav-drop { position: relative; }
.nav-drop-toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: -18px; width: 290px;
  background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 8px; box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.nav-drop-menu::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop-menu a { display: block; padding: 12px 14px; border-radius: 8px; transition: background 0.2s; }
.nav-drop-menu a:hover { background: var(--night-3); }
.nav-drop-menu strong { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.nav-drop-menu span { font-size: 13px; color: var(--on-dark-3); }
.nav-cta { margin-left: 4px; }
.nav-burger { display: none; width: 40px; height: 40px; margin-left: auto; position: relative; }
.nav-burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-burger span:first-child { top: 15px; }
.nav-burger span:last-child { top: 24px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

.nav-sheet {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 999;
  background: rgba(10,15,28,0.97); backdrop-filter: blur(12px);
  padding: 32px var(--pad);
  display: flex; flex-direction: column; gap: 32px;
}
.nav-sheet[hidden] { display: none; }
.nav-sheet nav { display: flex; flex-direction: column; }
.nav-sheet nav a {
  font-family: var(--f-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: #fff;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark);
}


/* ============================================================
   1 · HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  background: var(--night); color: var(--on-dark);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 52% 40% at 50% 70%, rgba(0,153,255,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(26,37,64,0.9) 0%, transparent 70%);
}
#flow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 30px); text-align: center; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-dark-2);
  padding: 8px 16px 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px;
  background: rgba(17,26,46,0.6);
  margin-bottom: 26px;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 var(--blue-glow); animation: live 2.4s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(0,153,255,0.55); } 70% { box-shadow: 0 0 0 9px rgba(0,153,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,153,255,0); } }

.hero-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.035em;
  color: #fff; max-width: 1040px; margin: 0 auto 22px;
}
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: var(--on-dark-2); max-width: 760px; margin: 0 auto; }

/* Flow stage (shared with brain.js) */
.flow-stage {
  display: grid;
  grid-template-columns: minmax(230px, 290px) 1fr minmax(230px, 290px);
  align-items: center;
  max-width: 1160px; margin: 24px auto 0;
}
.flow-col { display: flex; flex-direction: column; gap: 8px; }
.flow-col-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-3); text-align: left; margin-bottom: 4px;
}
.flow-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 13px 9px 9px;
  border-radius: 12px;
  background: rgba(17,26,46,0.78);
  border: 1px solid var(--line-dark);
  text-align: left;
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s, transform 0.3s var(--ease);
}
.flow-out .flow-chip:hover { transform: translateX(-3px); }
.chip-icon {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(0,153,255,0.12); color: #4DB8FF;
}
.chip-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chip-text { min-width: 0; }
.chip-label { display: block; font-size: 14.5px; font-weight: 600; color: #fff; line-height: 1.3; }
.chip-detail {
  display: block; font-size: 12.5px; line-height: 1.4; color: var(--on-dark-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity 0.18s, transform 0.18s;
}
.chip-detail.swap { opacity: 0; transform: translateY(3px); }
.flow-out .chip-detail { color: #8CD2FF; }
.flow-in .flow-chip.ping { border-color: rgba(110,200,255,0.32); }
.flow-out .flow-chip.hit {
  border-color: rgba(0,153,255,0.7); background: rgba(0,48,90,0.7);
  box-shadow: 0 0 0 1px rgba(0,153,255,0.2), 0 10px 30px rgba(0,153,255,0.25);
}
.flow-out .flow-chip.spot { border-color: rgba(110,200,255,0.6); background: rgba(0,48,90,0.6); }
.flow-more { font-size: 12.5px; line-height: 1.5; color: var(--on-dark-3); text-align: left; margin-top: 2px; }
.flow-core { position: relative; height: var(--stage-h, 400px); }
.flow-core-label { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.flow-core-label strong { display: block; font-family: var(--f-display); font-size: 16px; font-weight: 700; letter-spacing: 0.12em; color: #fff; }
.flow-core-label span { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #8CD2FF; }
.hero-cta { margin: 18px 0 0; padding-bottom: 36px; display: flex; justify-content: center; }


/* ============================================================
   2 · THREE LEVELS (staircase)
   ============================================================ */
/* Cards stretch to the row and the top margins cut them down, so the heights always rise 1 → 2 → 3,
   whatever the text length; the meters sit at the bottom and line up across the three cards */
.stairs {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch;
}
#levels .sec-head { margin-bottom: clamp(44px, 4.5vw, 64px); }
.stairs-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.stairs-line path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 0.1 9; stroke-linecap: round; opacity: 0.65; }
.stair {
  position: relative; z-index: 1;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  display: flex; flex-direction: column;
}
.stair-1 { margin-top: 128px; }
.stair-2 { margin-top: 64px; }
.stair-3 {
  background: var(--night); border-color: var(--night);
  color: var(--on-dark);
  box-shadow: 0 30px 60px -20px rgba(10,15,28,0.45), 0 0 0 1px rgba(0,153,255,0.25);
}
.stair-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.stair-num {
  font-family: var(--f-display); font-weight: 300; font-size: 56px; line-height: 0.8; letter-spacing: -0.04em;
  color: var(--ink-3);
}
.stair-3 .stair-num { color: var(--blue); }
.stair-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2); background: var(--tint); padding: 6px 11px; border-radius: 999px;
}
.stair-tag-hot { color: #fff; background: var(--blue); }
.stair-name { font-family: var(--f-display); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; text-wrap: balance; }
.stair-head { font-weight: 600; margin: 10px 0 8px; color: var(--ink); }
.stair-3 .stair-head { color: #fff; }
.stair-text { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); flex-grow: 1; }
.stair-3 .stair-text { color: var(--on-dark-2); }
/* One grid per card (label | bar | value), so bars and values line up across rows */
.meters {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr 52px auto; align-items: center; gap: 11px 14px;
  font-size: 13.5px;
}
.stair-3 .meters { border-color: var(--line-dark); }
.meters > div, .meters dd { display: contents; }
.meters dt { color: var(--ink-3); }
.stair-3 .meters dt { color: var(--on-dark-3); }
.meters dd span { font-weight: 600; color: var(--ink); }
.stair-3 .meters dd span { color: #fff; }
.meter {
  display: block; width: 52px; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue) calc(var(--fill) * 100%), var(--rule) 0);
}
.stair-3 .meter { background: linear-gradient(90deg, var(--blue) calc(var(--fill) * 100%), rgba(255,255,255,0.12) 0); }
.meters dd[data-level="1"] { --fill: 0.33; }
.meters dd[data-level="2"] { --fill: 0.66; }
.meters dd[data-level="3"] { --fill: 1; }
.stairs-foot {
  margin-top: 40px; text-align: right;
  font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 22px); font-weight: 400; letter-spacing: -0.01em; color: var(--ink-2);
}


/* ============================================================
   3 · STORY (sticky scroll with product views)
   ============================================================ */
.story-sec { padding-bottom: clamp(64px, 8vw, 110px); }
.story-sec .sec-head { margin-bottom: 0; }
/* The panel pins just under the nav and is only as tall as its content, so there's no empty band before or
   after it. The ::after spacer is the scroll range while it's pinned: one --story-step per ability (with a
   mouse, site.js moves exactly one ability per wheel notch). */
.story { --story-step: 120px; position: relative; }
.story::after { content: ''; display: block; height: calc(5 * var(--story-step)); }
.story-sticky { position: sticky; top: var(--nav-h); padding-top: clamp(32px, 5vh, 56px); }
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }

.story-steps { counter-reset: s; }
.story-step { border-top: 1px solid var(--line-dark); }
.story-step:last-child { border-bottom: 1px solid var(--line-dark); }
.story-btn {
  width: 100%; display: flex; align-items: baseline; gap: 18px; text-align: left;
  padding: 18px 0;
  color: var(--on-dark-3);
  transition: color 0.3s;
}
.story-btn:hover { color: var(--on-dark-2); }
.story-num { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: inherit; min-width: 22px; }
.story-title { font-family: var(--f-display); font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -0.015em; }
.story-step.is-active .story-btn { color: #fff; }
.story-step.is-active .story-num { color: var(--blue); }
.story-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease), opacity 0.4s;
  opacity: 0; padding-left: 40px;
}
.story-body > * { overflow: hidden; }
.story-step.is-active .story-body { grid-template-rows: 1fr; opacity: 1; }
.story-body-inner { min-height: 0; }
.story-lede { color: var(--on-dark) !important; font-size: 17px; line-height: 1.55; margin-bottom: 12px; }
.story-list { display: grid; gap: 8px; padding-bottom: 20px; }
.story-list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--on-dark-2); }
.story-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.story-slot { display: none; }

.story-stage { position: relative; height: min(560px, 74vh); display: grid; place-items: center; }
.story-glow {
  position: absolute; inset: 8% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,153,255,0.22), transparent 75%);
  filter: blur(10px); pointer-events: none;
}
.mock-note {
  position: absolute; right: 6px; bottom: 0;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-3) !important;
}
.story-foot {
  margin-top: 56px; text-align: center;
  font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 22px); color: var(--on-dark-2);
}

/* What changes: today sits in the dark, the AI OS brings light.
   Dim "today" panel → glowing connector → bright white card. Rows, lines and cards arrive in sequence. */
.shift { position: relative; margin-top: clamp(64px, 7vw, 96px); }
.shift::before {
  content: ''; position: absolute; inset: -12% -8% -10% 30%; pointer-events: none;
  background: radial-gradient(ellipse 55% 50% at 70% 50%, rgba(0,153,255,0.16), transparent 70%);
}
.shift > * { position: relative; }
.shift .shift-title { color: #fff; }
.shift .shift-lead { margin-top: 16px; max-width: 640px; font-size: clamp(17px, 1.4vw, 19px); color: var(--on-dark-2); }
.shift-head, .shift-row { display: grid; grid-template-columns: 1fr clamp(56px, 7vw, 104px) 1.12fr; align-items: center; }
.shift-head { margin-top: clamp(36px, 4vw, 52px); padding-bottom: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); }
.shift-head span:last-child { color: #4DB8FF; }
.shift-rows { display: grid; gap: 14px; }

.shift .shift-today {
  height: 100%; display: flex; align-items: center;
  padding: 20px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,0.03); border: 1px dashed rgba(255,255,255,0.16);
  font-size: 16.5px; line-height: 1.5; color: rgba(238,242,248,0.62);
}
.shift-k { display: none; }

/* The connector: a line that draws itself, then a pulse of light keeps travelling along it */
.shift-line { position: relative; height: 2px; margin: 0 10px; }
.shift-line::before {
  content: ''; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, rgba(255,255,255,0.10), var(--blue));
  border-radius: 2px; transition: transform 0.7s var(--ease); transition-delay: calc(0.35s + var(--i) * 0.14s);
}
.shift-line::after {
  content: ''; position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 3px rgba(0,153,255,0.9); opacity: 0;
}
.shift.in .shift-line::before { transform: scaleX(1); }
.shift.in .shift-line::after { animation: pulse-run 2.8s ease-in-out infinite; animation-delay: calc(1.2s + var(--i) * 0.45s); }
@keyframes pulse-run { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

.shift-with {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center;
  padding: 18px 22px; border-radius: var(--radius); background: var(--white); color: var(--ink);
  box-shadow: 0 22px 50px -22px rgba(0,153,255,0.55), 0 0 0 1px rgba(0,153,255,0.25);
  opacity: 0; transform: translateX(-14px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease), box-shadow 0.3s;
  transition-delay: calc(0.75s + var(--i) * 0.14s);
}
.shift.in .shift-with { opacity: 1; transform: none; }
.shift-row:hover .shift-with { box-shadow: 0 26px 60px -20px rgba(0,153,255,0.75), 0 0 0 1px rgba(0,153,255,0.5); }
.shift-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep); }
.shift-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.shift-with .shift-ab { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 3px; }
.shift .shift-with p { font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--ink); }

.shift .shift-foot {
  margin-top: clamp(40px, 5vw, 64px); text-align: center;
  font-family: var(--f-display); font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -0.025em; color: #fff;
}
.shift .shift-foot span { background: linear-gradient(90deg, #4DB8FF, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 860px) {
  .shift-head { display: none; }
  .shift-rows { gap: 22px; }
  .shift-row { grid-template-columns: 1fr; }
  .shift-k { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 4px; }
  .shift .shift-today { display: block; }
  .shift-line { width: 2px; height: 26px; margin: 0 0 0 32px; }
  .shift-line::before { background: linear-gradient(180deg, rgba(255,255,255,0.10), var(--blue)); transform-origin: top; transform: scaleY(0); }
  .shift.in .shift-line::before { transform: scaleY(1); }
  .shift-line::after { display: none; }
  .shift-with { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .shift-line::before, .shift-with { transition: none; }
  .shift-line::before { transform: none; }
  .shift-with { opacity: 1; transform: none; }
  .shift.in .shift-line::after { animation: none; }
}

/* "Two ways to start": the conversation card's agenda */
.offer-agenda { background: var(--paper); border-radius: var(--radius); padding: 20px 24px 22px; margin-bottom: 28px; }
.offer-agenda ol { counter-reset: ag; display: grid; gap: 10px; margin-top: 12px; }
.offer-agenda li { counter-increment: ag; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--ink); }
.offer-agenda li::before {
  content: counter(ag); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 13px; font-weight: 600; color: var(--blue-deep); background: var(--blue-soft);
}

/* Product view cards */
.mock {
  position: absolute; width: min(560px, 100%);
  background: var(--white); color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
  font-family: var(--f-body);
  opacity: 0; transform: translateY(24px) scale(0.98);
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.mock.is-active { opacity: 1; transform: none; pointer-events: auto; }
.mock p { color: inherit; }
.mock-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--tint);
  font-size: 13px; color: var(--ink-3);
}
.mock-app { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.mock-app i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.mock-crumb::before { content: '/'; margin-right: 12px; color: var(--rule); }
.mock-body { padding: 20px 22px 22px; }
.mock svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.m-search {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border: 1px solid var(--rule); border-radius: 12px;
  font-size: 15.5px; font-weight: 500; color: var(--ink);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.m-search svg { width: 18px; height: 18px; color: var(--blue-deep); flex-shrink: 0; }
.m-answer { margin-top: 18px; padding: 16px 18px; background: var(--paper); border-radius: 12px; }
.m-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 8px; }
.m-spark { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--blue), #7CC8FF); }
.m-text { font-size: 15px; line-height: 1.6; color: var(--ink) !important; }
.m-text b { font-weight: 700; }
.m-small { font-size: 14px; color: var(--ink-2) !important; margin-top: 12px; }
.m-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.m-src {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 11px 5px 9px;
}
.m-src svg { width: 14px; height: 14px; color: var(--blue-deep); }
.m-related { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; font-size: 13px; }
.m-related span { color: var(--ink-3); }
.m-related a { color: var(--blue-deep); font-weight: 600; }

.m-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--green); }
.m-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-tile { padding: 14px; border-radius: 12px; background: var(--paper); }
.m-tile b { display: block; font-family: var(--f-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.m-tile span { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.3; }
.m-tile-warn { background: #FDECEC; }
.m-tile-warn b { color: var(--red); }
.m-rows { margin-top: 14px; }
.m-rows li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 11px 2px; border-bottom: 1px solid var(--tint); font-size: 14px; }
.m-rows li:last-child { border-bottom: 0; }
.m-task { font-weight: 600; }
.m-who { color: var(--ink-3); font-size: 13px; }
.m-pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.m-red { color: var(--red); background: #FDECEC; }
.m-amber { color: #A86A00; background: #FFF3DA; }
.m-green { color: #11845A; background: #E3F7EE; }
.m-foot { margin-top: 12px; font-size: 12.5px; color: var(--ink-3) !important; }

.m-ask {
  margin-left: auto; width: fit-content; max-width: 85%;
  background: var(--ink); color: #fff !important; font-weight: 500;
  padding: 11px 16px; border-radius: 16px 16px 4px 16px; font-size: 15px;
}
.m-reply { margin-top: 14px; padding: 16px 18px; background: var(--paper); border-radius: 16px 16px 16px 4px; }
.m-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0 4px; align-items: end; }
.m-bars > div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.m-bars span { width: 100%; height: var(--h); border-radius: 8px 8px 3px 3px; background: var(--ink-3); }
.m-bars .m-bar-down { background: var(--red); }
.m-bars .m-bar-up { background: var(--blue); }
.m-bars em { font-style: normal; font-weight: 700; font-size: 14px; margin-top: 6px; }
.m-bars small { font-size: 12px; color: var(--ink-3); }
.m-cite { font-size: 12px; color: var(--ink-3) !important; margin-top: 10px; }

.m-mail { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.m-mail-row { display: flex; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--tint); font-size: 14px; font-weight: 500; }
.m-mail-row span { width: 58px; color: var(--ink-3); font-weight: 400; }
.m-mail-text { padding: 14px 16px; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.m-mail-text p + p { margin-top: 8px; }
.m-mail-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; background: var(--paper); border-top: 1px solid var(--tint); }
.m-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.m-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.m-btns { display: flex; gap: 8px; }
.m-btns a { font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--rule); background: var(--white); }
.m-btns .m-go { background: var(--blue); border-color: var(--blue); color: #fff; }
.m-deck { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--paper); }
.m-deck b { display: block; font-size: 14px; }
.m-deck small { font-size: 12.5px; color: var(--ink-3); }
.m-deck-thumb {
  width: 84px; height: 50px; border-radius: 6px; background: var(--night); flex-shrink: 0;
  display: flex; align-items: flex-end; gap: 4px; padding: 8px 10px;
}
.m-deck-thumb span { flex: 1; background: var(--blue); border-radius: 2px 2px 0 0; }
.m-deck-thumb span:nth-child(1) { height: 30%; opacity: 0.55; }
.m-deck-thumb span:nth-child(2) { height: 55%; opacity: 0.7; }
.m-deck-thumb span:nth-child(3) { height: 45%; opacity: 0.85; }
.m-deck-thumb span:nth-child(4) { height: 85%; }

.m-rules { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.m-rule { font-size: 12.5px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 6px 10px; }
.m-rule b { color: var(--ink); }
.m-log { position: relative; display: grid; gap: 4px; }
.m-log::before { content: ''; position: absolute; left: 10px; top: 14px; bottom: 14px; width: 2px; background: var(--tint); }
.m-log li { position: relative; display: grid; grid-template-columns: 22px 78px 1fr; align-items: baseline; gap: 10px; padding: 10px 0; font-size: 14.5px; }
.m-log li::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%; align-self: center;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.m-log li.m-wait::before {
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.m-log time { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.m-log span { color: var(--ink); }
.m-log .m-wait span { font-weight: 600; }


/* ============================================================
   4 · OPTIMIZE FIRST (stats + route)
   ============================================================ */
.stats {
  display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-bottom: clamp(56px, 7vw, 88px); margin-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--rule);
}
.stat-num {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(72px, 9vw, 128px); line-height: 0.85; letter-spacing: -0.06em; color: var(--ink);
}
.stat-num span { font-weight: 400; margin-left: 2px; }
.stat-text { margin-top: 18px; font-size: 16.5px; line-height: 1.5; color: var(--ink); max-width: 330px; }
.stat-src { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.stats-bridge {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink-2);
  padding-left: clamp(20px, 2.5vw, 36px); border-left: 2px solid var(--blue);
  align-self: center;
}
.approach-head { max-width: 820px; }

.route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 44px; }
.route::before, .route::after {
  content: ''; position: absolute; top: 9px; left: 10px; height: 2px;
}
.route::before { right: 10px; background-image: radial-gradient(circle, var(--rule) 1.4px, transparent 1.6px); background-size: 10px 2px; background-repeat: repeat-x; }
.route::after {
  width: 0; background-image: radial-gradient(circle, var(--blue) 1.5px, transparent 1.7px); background-size: 10px 2px; background-repeat: repeat-x;
  transition: width 2.2s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}
.route.in::after { width: calc(100% - 20px); }
.stop { position: relative; }
.stop-dot {
  position: absolute; top: -44px; left: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink-3);
  transition: border-color 0.4s, background 0.4s;
  transition-delay: calc(0.3s + var(--i) * 0.55s);
}
.route.in .stop-dot { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px var(--paper); }
.stop-num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.stop-title { font-family: var(--f-display); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 12px;  text-wrap: balance; }
.stop-text { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.stop-out { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; font-weight: 600; color: var(--ink); }
.stop-out::before { content: 'Outcome'; display: block; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }

.stop-next {
  margin: -24px -20px -24px 0; padding: 24px 24px 26px;
  background: var(--night); color: var(--on-dark); border-radius: var(--radius);
  box-shadow: 0 30px 60px -24px rgba(10,15,28,0.5), 0 0 0 1px rgba(0,153,255,0.25);
}
.stop-next .stop-dot { top: -22px; left: 24px; width: 24px; height: 24px; border: 0; background: var(--blue) !important; box-shadow: 0 0 0 6px rgba(0,153,255,0.2), 0 0 24px 6px rgba(0,153,255,0.45) !important; }
.route.in .stop-next .stop-dot { animation: beacon 2.4s 2.2s infinite; }
@keyframes beacon { 0%, 100% { box-shadow: 0 0 0 6px rgba(0,153,255,0.2), 0 0 24px 6px rgba(0,153,255,0.45); } 50% { box-shadow: 0 0 0 12px rgba(0,153,255,0.08), 0 0 36px 10px rgba(0,153,255,0.55); } }
.stop-next .stop-num { color: #4DB8FF; }
.stop-next .stop-title { color: #fff; font-size: 26px; }
.stop-next .stop-text { color: var(--on-dark-2); }
.stop-next .stop-out { color: #fff; border-color: var(--line-dark); }
.stop-next .stop-out::before { color: var(--on-dark-3); }
.route-foot {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--rule);
}
.route-foot span { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }


/* ============================================================
   5 · BUILT, NOT INSTALLED
   ============================================================ */
.build { margin-bottom: clamp(72px, 9vw, 120px); }
.build-track { display: grid; grid-template-columns: repeat(4, 1fr) 1.25fr; gap: 0; }
.build-track li {
  position: relative; padding: 22px 22px 24px; border-top: 2px solid var(--night-3);
  display: flex; flex-direction: column; gap: 4px;
}
.build-track li:not(.build-loop)::after {
  content: ''; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--blue);
  transition: width 0.7s var(--ease); transition-delay: calc(var(--n, 0) * 0.25s);
}
.build.in .build-track li:not(.build-loop)::after { width: 100%; }
.build-track li:nth-child(1) { --n: 0; } .build-track li:nth-child(2) { --n: 1; } .build-track li:nth-child(3) { --n: 2; } .build-track li:nth-child(4) { --n: 3; }
.build-n { font-family: var(--f-display); font-size: 14px; font-weight: 600; color: #4DB8FF; margin-bottom: 8px; }
.build-track b { font-family: var(--f-display); font-size: 19px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.build-track small { font-size: 14px; color: var(--on-dark-3); }
.build-loop {
  border-top-color: transparent !important;
  background: var(--night-2); border-radius: var(--radius); margin-left: 16px;
  border: 1px dashed rgba(0,153,255,0.45) !important;
}
.build-loop svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.build-note { margin-top: 28px; max-width: 760px; font-size: 16px; line-height: 1.65; }
.build-note b { color: #fff; }

.autonomy { margin-bottom: clamp(72px, 9vw, 120px); }
.autonomy .h3, .security .h3 { color: #fff; margin-bottom: 28px; }
.auto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.auto { padding: 26px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line-dark); }
.auto-stage { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-3) !important; }
.auto-name { font-family: var(--f-display); font-size: 19px; font-weight: 600; color: #fff !important; margin: 8px 0 18px; line-height: 1.3; min-height: 2.6em;  text-wrap: balance; }
.auto-bar { height: 6px; border-radius: 3px; background: var(--night-3); overflow: hidden; margin-bottom: 18px; }
.auto-bar span { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, #0070E0, var(--blue)); transition: width 1.2s var(--ease) 0.3s; }
.autonomy.in .auto-bar span { width: var(--w); }
.auto dl { display: grid; gap: 8px; }
.auto dl > div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; font-size: 15px; }
.auto dt { color: var(--on-dark-3); }
.auto dd { color: #fff; font-weight: 600; }

.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.sec-grid li {
  display: grid; grid-template-columns: 28px 1fr; gap: 4px 16px; align-items: start;
  padding: 22px 0; border-top: 1px solid var(--line-dark);
}
.sec-grid svg { grid-row: span 2; width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.sec-grid b { color: #fff; font-weight: 600; font-size: 16px; }
.sec-grid span { font-size: 15px; line-height: 1.55; color: var(--on-dark-2); }


/* ============================================================
   6 · TWO WAYS TO START
   ============================================================ */
.offers { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: stretch; }
.offer { border-radius: 18px; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.offer-talk { background: var(--white); border: 1px solid var(--rule); }
.offer-audit {
  background: var(--night); color: var(--on-dark);
  box-shadow: 0 40px 80px -30px rgba(10,15,28,0.55), 0 0 0 1px rgba(0,153,255,0.3);
}
.offer-tag { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 14px; }
.offer-audit .offer-tag { color: #4DB8FF; }
.offer-title { font-family: var(--f-display); font-size: clamp(23px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;  text-wrap: balance; }
.offer-audit .offer-title { color: #fff; }
.offer-text { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.offer-audit .offer-text { color: var(--on-dark-2); }
.offer-list { margin: 20px 0 22px; display: grid; gap: 10px; }
.offer-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.offer-list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230070E0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.offer-audit .offer-list li { color: var(--on-dark); }
.offer-audit .offer-list li::before { background-color: rgba(0,153,255,0.18); }
.offer-fit { margin-top: auto; padding: 14px 0 22px; font-size: 15px; color: var(--ink-2); border-top: 1px solid var(--rule); }
.offer-audit .offer-fit { border-color: var(--line-dark); color: var(--on-dark-2); }
.offer-fit b { color: var(--ink); }
.offer-audit .offer-fit b { color: #fff; }
.offer .btn { align-self: flex-start; }
.offer-report {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 8px;
  background: var(--paper); border-radius: var(--radius); padding: 14px 22px 14px 8px; margin-bottom: 28px;
}
.offer-report svg { width: 100%; height: auto; overflow: visible; }
.report-side { display: grid; gap: 12px; }
.report-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.report-score { font-size: 14px; color: var(--ink-2); }
.report-score b { font-family: var(--f-display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); margin-right: 4px; }
.report-row { display: grid; font-size: 14.5px; font-weight: 600; color: var(--ink); padding-top: 10px; border-top: 1px solid var(--rule); }
.report-row small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.radar-grid { fill: none; stroke: var(--rule); stroke-width: 1; }
.radar-axis { stroke: var(--rule); stroke-width: 1; }
.radar-area { fill: rgba(0,153,255,0.18); stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; transition: transform 1.2s var(--ease); transform-origin: 160px 150px; transform: scale(0.2); }
.reveal.in .radar-area { transform: scale(1); }
.radar-dot { fill: var(--blue); }
.radar-label { font-family: var(--f-body); font-size: 15px; font-weight: 600; fill: var(--ink-2); }
.start-foot { margin-top: 36px; text-align: center; color: var(--ink-2); }


/* ============================================================
   7 · ABOUT FRANK
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--night-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; filter: saturate(0.9) contrast(1.02); }
.about-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10,15,28,0.55) 100%), linear-gradient(90deg, rgba(10,15,28,0.35), transparent 45%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.about-text .h2 { color: #fff; margin-bottom: 24px; }
.about-text .lead { color: var(--on-dark); margin-bottom: 16px; }
.about-quote { margin-top: 32px; padding: 26px 0 0; border-top: 1px solid var(--line-dark); }
.about-quote p { font-family: var(--f-display); font-weight: 300; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; letter-spacing: -0.01em; color: #fff !important; }
.about-quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--on-dark-3); }
.facts {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  margin-top: clamp(56px, 7vw, 96px); padding-top: 40px; border-top: 1px solid var(--line-dark);
}
.facts dt { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -0.03em; line-height: 1; color: var(--amber); }
.facts dd { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--on-dark-2); }


/* ============================================================
   8 · RESOURCES
   ============================================================ */
.res-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.res {
  border-radius: 18px; background: var(--white); border: 1px solid var(--rule); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.res-wp:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(10,15,28,0.35); }
.res-wp img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.res-body { padding: 26px 30px 30px; }
.res-tag { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 10px; }
.res-title { font-family: var(--f-display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.res p:not(.res-tag) { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin-bottom: 18px; }
.res-pod { position: relative; padding: 32px 30px; display: flex; flex-direction: column; background: var(--night); color: var(--on-dark); border-color: var(--night); }
.res-pod::before {
  content: ''; position: absolute; inset: 40% 0 0; pointer-events: none;
  background-image: radial-gradient(rgba(0,153,255,0.45) 1px, transparent 1.4px); background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 55%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 55%, #000, transparent 75%);
  opacity: 0.55;
}
.res-pod > * { position: relative; }
.res-pod .res-tag { color: #4DB8FF; }
.res-pod .res-title { color: #fff; }
.res-pod p:not(.res-tag) { color: var(--on-dark-2); }
/* Chapters: click to jump; the one playing is highlighted */
.res-pod p.pod-chapters-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); margin: 0 0 6px; }
.pod-chapters { list-style: none; margin-bottom: 20px; border-top: 1px solid var(--line-dark); }
.pod-chapters li { border-bottom: 1px solid var(--line-dark); }
.pod-chapters button {
  width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 7px 2px; text-align: left;
  font-size: 14.5px; line-height: 1.4; color: var(--on-dark-2); transition: color 0.2s;
}
.pod-chapters button:hover { color: #fff; }
.pod-t { min-width: 40px; font-size: 13px; font-weight: 600; color: #4DB8FF; font-variant-numeric: tabular-nums; }
.pod-chapters li.on button { color: #fff; }
.pod-chapters li.on .pod-t::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px -12px; border-radius: 50%; background: var(--blue); }
.player { margin-top: auto; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; background: var(--night-2); border: 1px solid var(--line-dark); }
.player-btn { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; flex-shrink: 0; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.player-btn:hover { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(0,153,255,0.15); }
.player-btn svg { width: 22px; height: 22px; fill: #fff; }
.player .i-pause, .player.playing .i-play { display: none; }
.player.playing .i-pause { display: block; }
.player-wave { flex: 1; height: 40px; display: flex; align-items: center; gap: 3px; cursor: pointer; }
.player-wave i { flex: 1; border-radius: 2px; background: var(--night-3); transition: background 0.2s; }
.player-wave i.on { background: var(--blue); }
.player-time { font-size: 13px; font-weight: 600; color: var(--on-dark-3); font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }


/* ============================================================
   9 · FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-head p { margin-top: 20px; color: var(--ink-2); }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--f-display); font-size: 18.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ''; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1426' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--blue-soft); }
.faq-list summary:hover { color: var(--blue-deep); }
.faq-list details p { padding: 0 48px 18px 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.faq-list details p:last-child { padding-bottom: 24px; }


/* ============================================================
   10 · CONTACT + FOOTER
   ============================================================ */
.contact { overflow: hidden; }
.contact-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(0,153,255,0.35) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 15% 30%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 70% at 15% 30%, #000 0%, transparent 70%);
  opacity: 0.6;
}
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-text .h2 { color: #fff; }
.contact-text .lead { margin-top: 22px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.contact-lines { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: grid; gap: 6px; font-size: 15.5px; color: var(--on-dark-2); }
.contact-lines a:hover { color: #fff; }

.form { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 18px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.form-title { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form label span { font-size: 13.5px; font-weight: 600; color: var(--on-dark-2); }
.form label i { font-style: normal; color: #4DB8FF; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff;
  background: var(--night); border: 1px solid var(--night-3); border-radius: 10px;
  padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,153,255,0.15); }
.form .invalid { border-color: var(--red); }
.form-hp { position: absolute !important; left: -9999px; }
.form .btn { justify-self: start; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--on-dark-3) !important; }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-note.ok { color: var(--green) !important; }
.form-note.err { color: #FF8A8E !important; }

.footer { background: var(--night); color: var(--on-dark-3); border-top: 1px solid var(--line-dark); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-family: var(--f-display); font-size: 16px; color: var(--on-dark-2); max-width: 260px; }
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-col p { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 4px; }
.footer-col a:hover, .footer-legal a:hover { color: #fff; }
.footer-legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; font-size: 13.5px; }
.footer-legal::before { content: ''; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: var(--line-dark); }
.footer-legal nav { display: flex; gap: 24px; }


/* ============================================================
   SUBPAGES (audit.html first; shared by the step-3 pages)
   ============================================================ */
.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; }

/* Page hero: text left, a product-style visual right, the dot motif behind */
.page-hero { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(72px, 9vw, 120px); }
.page-hero .contact-dots { -webkit-mask-image: radial-gradient(ellipse 55% 70% at 85% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 55% 70% at 85% 40%, #000 0%, transparent 70%); }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.page-hero .kicker { color: #4DB8FF; }
.page-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.035em; color: #fff; text-wrap: balance; }
.page-hero .lead { margin-top: 22px; color: var(--on-dark-2); }
.page-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.page-hero-cta small { font-size: 14px; color: var(--on-dark-3); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero-facts li { font-size: 13.5px; font-weight: 600; color: var(--on-dark-2); padding: 7px 13px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(17,26,46,0.6); }

/* A product view that sits in the page flow (the homepage ones are stacked in the story stage) */
.mock.mock-static { position: relative; width: 100%; opacity: 1; transform: none; pointer-events: auto; }
.mock-caption { margin-top: 14px; text-align: right; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-3); }

/* Roadmap preview */
.rm { width: 100%; border-collapse: collapse; font-size: 14px; }
.rm th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 0 8px 10px 0; border-bottom: 1px solid var(--tint); }
.rm td { padding: 11px 8px 11px 0; border-bottom: 1px solid var(--tint); vertical-align: middle; }
.rm tr:last-child td { border-bottom: 0; }
.rm-n { width: 26px; font-family: var(--f-display); font-weight: 600; color: var(--ink-3); }
.rm-task { font-weight: 600; color: var(--ink); line-height: 1.35; }
.rm-lvl { white-space: nowrap; color: var(--ink-2); }
.rm-lvl i { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: var(--rule); vertical-align: 1px; }
.rm-lvl i.on { background: var(--blue-deep); }
.rm-tag { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.rm-fix { color: var(--ink); background: var(--tint); }
.rm-ai { color: #fff; background: var(--blue-deep); }
.rm-wait { color: var(--ink-3); background: var(--paper); border: 1px dashed var(--rule); }

/* Problem cards */
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.issue { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--rule); }
.issue svg { width: 26px; height: 26px; fill: none; stroke: var(--blue-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.issue h3 { font-family: var(--f-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.issue p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.prose { max-width: 760px; }
.prose p + p { margin-top: 16px; }
.s-light .prose p { color: var(--ink-2); }

/* Three-stop route (the homepage route has four) */
.route-3 { grid-template-columns: repeat(3, 1fr); }

/* Deliverables: list + perception-gap chart */
.deliver-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.deliver-grid .offer-list { margin: 0; gap: 14px; }
.deliver-grid .offer-list li { font-size: 16.5px; color: var(--ink); }
.gap-card { padding: clamp(22px, 2.6vw, 32px); border-radius: 18px; background: var(--white); border: 1px solid var(--rule); box-shadow: 0 30px 60px -36px rgba(10,15,28,0.35); }
.gap-card h3 { font-family: var(--f-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.gap-sub { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
.gap-legend { display: flex; gap: 18px; margin: 16px 0 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.gap-legend span { display: inline-flex; align-items: center; gap: 7px; }
.gap-legend i { width: 10px; height: 10px; border-radius: 50%; }
.gap-chart { --lead: #0070E0; --team: #C77700; }
.gap-axis, .gap-row { display: grid; grid-template-columns: 168px 1fr 54px; align-items: center; gap: 12px; }
.gap-axis { padding: 6px 0 2px; font-size: 11.5px; color: var(--ink-3); }
.gap-axis .gap-track { height: 14px; }
.gap-axis .gap-track span { position: absolute; left: var(--x); transform: translateX(-50%); }
.gap-row { position: relative; padding: 9px 0; border-top: 1px solid var(--tint); font-size: 14px; outline: none; }
.gap-name { font-weight: 600; color: var(--ink); line-height: 1.25; }
.gap-track { position: relative; height: 22px; }
.gap-track::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--tint); }
.gap-bar { position: absolute; top: 50%; height: 2px; margin-top: -1px; left: var(--a); right: calc(100% - var(--b)); background: var(--rule); }
.gap-dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; left: var(--x); box-shadow: 0 0 0 2px var(--white); }
.gap-dot.lead { background: var(--lead); }
.gap-dot.team { background: var(--team); }
.gap-val { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.gap-tip {
  position: absolute; z-index: 2; right: 0; bottom: calc(100% - 4px);
  padding: 7px 11px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12.5px; white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: opacity 0.15s, transform 0.15s; pointer-events: none;
}
.gap-row:hover .gap-tip, .gap-row:focus .gap-tip { opacity: 1; transform: none; }
.gap-row:hover, .gap-row:focus { background: var(--paper); }
.gap-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }

/* If nothing changes / after the audit */
.then-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.then { padding: clamp(26px, 3vw, 40px); border-radius: 18px; background: var(--night-2); border: 1px solid var(--line-dark); }
.then-after { background: linear-gradient(160deg, rgba(0,112,224,0.22), rgba(0,153,255,0.06) 60%), var(--night-2); border-color: rgba(0,153,255,0.35); }
.then h3 { font-family: var(--f-display); font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 18px; }
.then p { font-size: 16px; line-height: 1.65; }
.then p + p { margin-top: 14px; }

/* The engagement */
.engage { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: var(--white); border: 1px solid var(--rule); }
.engage .h3 { margin-bottom: 14px; }
.engage p:not(.kicker) { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.engage-price { padding-left: clamp(24px, 3vw, 44px); border-left: 1px solid var(--rule); }
.engage-price b { display: block; white-space: nowrap; font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.h2-md { font-size: clamp(30px, 3.2vw, 44px); }
.engage-price small { display: block; margin: 6px 0 22px; font-size: 14px; color: var(--ink-3); }
.engage-next { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.engage-next > div { padding: 24px 28px; border-radius: var(--radius); border: 1px solid var(--rule); }
.engage-next h3 { font-family: var(--f-display); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.engage-next p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin-bottom: 12px; }

@media (max-width: 1100px) {
  .route.route-3 { grid-template-columns: repeat(3, 1fr); }
  .gap-axis, .gap-row { grid-template-columns: 140px 1fr 48px; }
}
@media (max-width: 960px) {
  .page-hero-grid, .deliver-grid, .then-grid, .engage, .engage-next { grid-template-columns: 1fr; }
  .issue-grid { grid-template-columns: 1fr; }
  .route.route-3 { grid-template-columns: 1fr; gap: 40px; }
  .route-3 .stop-next { margin: 0; }
  .engage-price { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 640px) {
  .rm th:nth-child(4), .rm td:nth-child(4) { display: none; }   /* phones: drop the effort column */
  .gap-axis, .gap-row { grid-template-columns: 1fr 44px; }
  .gap-name { grid-column: 1 / -1; }
  .gap-axis > span:first-child { display: none; }
}


/* ============================================================
   AI OS CHECK (check.html + check.js)
   ============================================================ */
/* The quiet third way under "Two ways to start" on the homepage */
.offers-alt { margin-top: 36px; text-align: center; font-size: 17px; color: var(--ink-2); }
.offers-alt .link-arrow { margin-left: 6px; }

/* Profile parts, shared by the hero preview and the result */
.ck-icon { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 8px 22px -8px rgba(0,153,255,0.7); }
.ck-icon svg, .ck-mini svg, .ck-note svg, .ck-again svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ck-icon svg { width: 22px; height: 22px; }
.ck-top { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--blue-soft); }
.ck-top small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); }
.ck-top b { font-family: var(--f-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.ck-mock-head { margin-top: 16px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3) !important; }
.ck-abil { margin-top: 6px; }
.ck-abil li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--tint); font-size: 14.5px; }
.ck-abil li:last-child { border-bottom: 0; }
.ck-mini { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-deep); }
.ck-mini svg { width: 16px; height: 16px; }
.ck-abil-name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.ck-abil-name small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--ink-3); }
.ck-abil .is-top .ck-mini { background: var(--blue); color: #fff; }
/* How much an AI OS would help: words in a pill. One blue, more fill = more help (ramp validated as ordinal:
   #0058B0 / #3D8FE6 / #8DB4E2). Deliberately not a bar meter: a full bar reads as "you're doing well". */
.ck-help { justify-self: end; white-space: nowrap; padding: 5px 12px; border-radius: 999px; border: 1.5px solid transparent; font-size: 13px; font-weight: 700; line-height: 1.2; }
.ck-help[data-v="3"] { background: #0058B0; border-color: #0058B0; color: #fff; }
.ck-help[data-v="2"] { background: #E3EFFC; border-color: #3D8FE6; color: var(--ink); }
.ck-help[data-v="1"] { background: var(--white); border-color: #8DB4E2; color: var(--ink-2); }
.ck-help[data-v="0"] { background: var(--white); border: 1.5px dashed var(--rule); color: var(--ink-3); font-weight: 600; }
.ck-level { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--tint); font-size: 13px; color: var(--ink-3) !important; }
.ck-level b { color: var(--ink); }

/* The question card */
.ck-hero { overflow: clip; }   /* .page-hero's overflow:hidden would stop the phone footer from sticking */
.ck-hero.is-quiz { min-height: 100vh; min-height: 100svh; }
.ck-quiz {
  max-width: 860px; margin: 0 auto; overflow: clip;   /* clip, not hidden: keeps the phone footer's sticky working */
  background: var(--white); color: var(--ink); border-radius: 20px;
  box-shadow: 0 40px 90px -24px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.08), 0 0 140px -30px rgba(0,153,255,0.35);
}
.ck-progress { height: 5px; background: var(--tint); }
.ck-progress span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--blue-deep), var(--blue)); transition: width 0.5s var(--ease); }
.ck-quiz-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px clamp(22px, 3.6vw, 44px) 0; }
.ck-part { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); }
.ck-count { font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.ck-q { border: 0; min-width: 0; padding: 14px clamp(22px, 3.6vw, 44px) 0; }
.ck-q legend { float: left; width: 100%; font-family: var(--f-display); font-size: clamp(22px, 2.3vw, 29px); font-weight: 600; line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; outline: none; }
.ck-hint { clear: both; padding-top: 8px; font-size: 15px; color: var(--ink-3); }
.ck-opts { clear: both; display: grid; gap: 10px; padding-top: 22px; }
.ck-cols { grid-template-columns: repeat(3, 1fr); }
.ck-opt {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--white);
  font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--ink); cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.ck-cols .ck-opt { padding: 13px 14px; font-size: 15px; gap: 11px; }
.ck-opt:hover { border-color: #8CC8FF; background: #F6FAFF; }
.ck-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ck-box { width: 22px; height: 22px; flex-shrink: 0; border: 1.5px solid #B9C4D4; border-radius: 50%; transition: background-color 0.2s, border-color 0.2s; }
.ck-opt input[type="checkbox"] + .ck-box { border-radius: 6px; }
.ck-opt input:checked + .ck-box {
  border-color: var(--blue);
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ck-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 3px rgba(0,153,255,0.12); }
.ck-opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.ck-opt:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }
.ck-opt:has(input:disabled):hover { border-color: var(--rule); background: var(--white); }
.ck-quiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 18px clamp(22px, 3.6vw, 44px); background: var(--paper); border-top: 1px solid var(--tint); }
.ck-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; font-weight: 600; color: var(--ink-2); }
.ck-back:hover { color: var(--ink); }
.ck-next:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

/* Result: where it pays off first + all five abilities */
.ck-result-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.ck-result .page-title { outline: none; }
.ck-again { display: inline-flex; align-items: center; gap: 8px; padding: 8px 2px; font-size: 14.5px; font-weight: 600; color: #7CC8FF; white-space: nowrap; }
.ck-again svg { width: 17px; height: 17px; }
.ck-again:hover { color: #fff; }
.ck-result-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(20px, 2.6vw, 32px); margin-top: clamp(28px, 3.4vw, 44px); align-items: stretch; }
.ck-first {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;   /* no empty band when the list beside it is taller */
  padding: clamp(26px, 3.2vw, 44px); border-radius: 20px; border: 1px solid rgba(0,153,255,0.45);
  background: radial-gradient(ellipse 70% 60% at 0% 0%, rgba(0,153,255,0.28), transparent 70%),
              linear-gradient(160deg, rgba(0,112,224,0.22), rgba(0,153,255,0.05) 60%), var(--night-2);
  box-shadow: 0 30px 80px -30px rgba(0,153,255,0.45);
}
.ck-first .ck-icon { width: 56px; height: 56px; border-radius: 15px; }
.ck-first .ck-icon svg { width: 28px; height: 28px; }
.ck-first-label { margin-top: 26px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #7CC8FF; }
.ck-first-name { margin-top: 8px; font-family: var(--f-display); font-size: clamp(30px, 3.1vw, 42px); font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.ck-first-text { margin-top: 18px; font-size: 17px; line-height: 1.65; color: var(--on-dark-2); }
.ck-start { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.ck-start[hidden] { display: none; }
.ck-start span { margin-right: 4px; font-size: 13.5px; font-weight: 700; color: var(--on-dark); }
.ck-start b { padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(0,153,255,0.18); border: 1px solid rgba(0,153,255,0.45); }
.ck-all { padding: clamp(22px, 2.8vw, 34px); border-radius: 20px; background: var(--white); color: var(--ink); }
.ck-all h3 { font-family: var(--f-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.ck-abil-lg li { grid-template-columns: 34px 1fr auto; padding: 12px 2px; font-size: 15.5px; }
.ck-abil-lg .ck-mini { width: 34px; height: 34px; border-radius: 10px; }
.ck-abil-lg .ck-mini svg { width: 18px; height: 18px; }

/* Result: the three levels, the visitor's level highlighted. Same method as the homepage staircase: the cards
   stretch to the row and the top margins cut them down, so heights always rise; the meters sit at the bottom */
.ck-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.ck-lvl { position: relative; display: flex; flex-direction: column; padding: 26px 26px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--rule); }
.ck-lvl:nth-child(1) { margin-top: 56px; }
.ck-lvl:nth-child(2) { margin-top: 28px; }
.ck-lvl-num { font-family: var(--f-display); font-weight: 300; font-size: 52px; line-height: 0.8; letter-spacing: -0.04em; color: var(--ink-3); }
.ck-lvl h3 { margin: 22px 0 8px; font-family: var(--f-display); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.ck-lvl p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.ck-lvl .meters { margin-top: auto; }
.ck-lvl > p { margin-bottom: 22px; }
.ck-lvl.is-you { background: var(--night); border-color: var(--night); color: var(--on-dark); box-shadow: 0 30px 60px -20px rgba(10,15,28,0.45), 0 0 0 1px rgba(0,153,255,0.35); }
.ck-lvl.is-you .ck-lvl-num { color: var(--blue); }
.ck-lvl.is-you h3 { color: #fff; }
.ck-lvl.is-you p { color: var(--on-dark-2); }
.ck-lvl.is-you .meters { border-color: var(--line-dark); }
.ck-lvl.is-you .meters dt { color: var(--on-dark-3); }
.ck-lvl.is-you .meters dd span { color: #fff; }
.ck-lvl.is-you .meter { background: linear-gradient(90deg, var(--blue) calc(var(--fill) * 100%), rgba(255,255,255,0.12) 0); }
.ck-you { position: absolute; top: 22px; right: 22px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--blue); }
.ck-you[hidden] { display: none; }

/* Result: readiness notes */
.ck-notes-title { margin: clamp(48px, 6vw, 72px) 0 18px; font-family: var(--f-display); font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.ck-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.ck-note { display: flex; gap: 16px; padding: 24px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--rule); }
.ck-note svg { width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px; color: var(--blue-deep); }
.ck-note h4 { margin-bottom: 6px; font-family: var(--f-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.ck-note p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.ck-note .link-arrow { margin-top: 12px; }

/* Result: "First: your core processes" (amber, above the profile) when processes depend on who does them */
.ck-optimize {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 22px;
  margin-top: clamp(24px, 3vw, 36px); padding: 22px 26px; border-radius: 18px;
  background: linear-gradient(100deg, rgba(255,176,32,0.16), rgba(255,176,32,0.05) 70%), var(--night-2);
  border: 1px solid rgba(255,176,32,0.55);
}
.ck-optimize > svg { width: 30px; height: 30px; fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ck-optimize h2 { font-family: var(--f-display); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; color: #fff; margin-bottom: 4px; }
.ck-optimize p { font-size: 15.5px; line-height: 1.6; color: var(--on-dark-2); }
.ck-broad { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--on-dark); }

/* "I don't know": always last, set apart */
.ck-opt.ck-dk { margin-top: 4px; border-style: dashed; color: var(--ink-2); }
/* An ability with no answer to go on */
.ck-abil .is-unclear .ck-mini { opacity: 0.5; }

/* Result: next step and the optional form */
.ck-small { font-size: 14px; color: var(--on-dark-3); }
.ck-form-sub { margin-top: -8px; font-size: 14.5px; }
.form select {
  width: 100%; font: inherit; font-size: 16px; color: #fff; cursor: pointer;
  background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23A9B4C6' stroke-width='1.6'%3E%3Cpath d='M3 4.5 6 7.5l3-3'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
  border: 1px solid var(--night-3); border-radius: 10px; padding: 12px 38px 12px 14px;
  -webkit-appearance: none; appearance: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,153,255,0.15); }
.form select option { color: var(--ink); background: #fff; }
.form .ck-tick { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.form .ck-tick input { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; padding: 0; accent-color: var(--blue); }
.form .ck-tick span { font-size: 15px; font-weight: 500; color: var(--on-dark); }
.form input:disabled, .form select:disabled { opacity: 0.55; }
.form .btn:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }

@media (max-width: 960px) {
  .ck-result-grid, .ck-levels { grid-template-columns: 1fr; }
  .ck-lvl:nth-child(n) { margin-top: 0; }
  .ck-optimize { grid-template-columns: auto 1fr; }
  .ck-optimize .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 860px) {
  .ck-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ck-hero.is-quiz { padding-top: calc(var(--nav-h) + 20px); }
  .ck-quiz-head { flex-direction: column; gap: 4px; }
  .ck-part { font-size: 11px; letter-spacing: 0.07em; }
  /* Long questions: Back / Next stay in reach at the bottom of the screen */
  .ck-quiz-foot { position: sticky; bottom: 0; z-index: 2; margin-top: 20px; padding: 12px 20px; box-shadow: 0 -10px 24px -12px rgba(10,15,28,0.25); }
  .ck-cols { grid-template-columns: 1fr; }
  .ck-opts { gap: 8px; padding-top: 18px; }
  .ck-opt, .ck-cols .ck-opt { padding: 12px 14px; font-size: 15px; gap: 12px; }
  .ck-result-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ck-abil li, .ck-abil-lg li { grid-template-columns: 28px 1fr auto; gap: 10px; font-size: 14px; }
  .ck-abil-lg .ck-mini { width: 28px; height: 28px; }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-height: 820px) and (min-width: 861px) {
  .hero-inner { padding-top: calc(var(--nav-h) + 12px); }
  .hero-tag { margin-bottom: 16px; padding: 6px 14px 6px 12px; }
  .hero-title { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 14px; }
  .hero-sub { font-size: 16px; }
  .hero-cta .btn { padding-top: 13px; padding-bottom: 13px; }
}

@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats-bridge { grid-column: 1 / -1; }
  .route { grid-template-columns: repeat(2, 1fr); gap: 56px 28px; }
  .route::before, .route::after { display: none; }
  .stop-dot { position: static; display: block; margin-bottom: 18px; }
  .stop-next { margin: 0; }
  .stop-next .stop-dot { margin: 0 0 18px; }
  .build-track { grid-template-columns: repeat(2, 1fr); }
  .build-loop { grid-column: 1 / -1; margin: 16px 0 0; }
  .offers { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }

  .stairs { grid-template-columns: 1fr; }
  .stair-1, .stair-2 { margin-top: 0; }
  .stairs-line { display: none; }
  .stairs-foot { text-align: left; }

  /* Story: no sticky; each ability shows its own product view */
  .story { height: auto; }
  .story::after { display: none; }
  .story-sticky { position: static; height: auto; display: block; }
  .story-grid { grid-template-columns: 1fr; }
  .story-stage { display: none; }
  .story-body { grid-template-rows: 1fr; opacity: 1; padding-left: 0; }
  .story-btn { color: #fff; cursor: default; }
  .story-num { color: var(--blue); }
  .story-slot { display: block; padding: 4px 0 32px; }
  .story-slot .mock { position: relative; opacity: 1; transform: none; pointer-events: auto; width: 100%; }

  .sec-grid { grid-template-columns: 1fr 1fr; }
  .auto-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; aspect-ratio: 1; }
  .res-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  /* Hero stage stacks: inputs, brain, abilities. Tighter rhythm so the whole brain fits on the first screen. */
  .hero-inner { padding-top: calc(var(--nav-h) + 18px); }
  .hero-tag { margin-bottom: 18px; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { font-size: 15.5px; line-height: 1.55; }
  .flow-stage { grid-template-columns: 1fr; margin-top: 22px; }
  .flow-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .flow-col-label, .flow-more { grid-column: 1 / -1; text-align: center; }
  .flow-core { height: 280px; }
  .flow-out { margin-top: 18px; }
  .chip-detail { display: none; }
  .flow-chip { padding: 8px 10px 8px 8px; gap: 9px; }
  .chip-icon { width: 30px; height: 30px; }
  .chip-label { font-size: 13px; }
  /* Inputs: one row of four compact tiles, icon above label, equal heights */
  .flow-in { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .flow-in .flow-chip { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 9px 4px 8px; text-align: center; }
  .flow-in .chip-icon { width: 28px; height: 28px; }
  .flow-in .chip-label { font-size: 12px; line-height: 1.25; text-wrap: balance; }
  /* Abilities: the fifth chip takes the full row instead of sitting alone in half of it */
  .flow-out .flow-chip:last-of-type { grid-column: 1 / -1; justify-content: center; }
  .hero-cta { margin-top: 28px; padding-bottom: 48px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .offer-report { grid-template-columns: 1fr; padding: 12px 18px 18px; }
  .stats { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; }
  .build-track { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .m-tiles { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .m-tile b { font-size: 22px; }
  .m-rows li { grid-template-columns: 1fr auto; }
  .m-who { display: none; }
  .m-mail-bar { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-dot, .build-loop svg, .route.in .stop-next .stop-dot { animation: none; }
  .route::after { transition: none; }
  .mock { transition: opacity 0.2s; }
}

/* "Cookie settings" in the footer reopens the consent banner (assets/js/consent.js) */
.footer-legal button { font-size: inherit; color: inherit; }
.footer-legal button:hover { color: #fff; }
.contact-region { margin-left: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-3); }
