/* TandemFlow AI, v2 design system.
   No framework, no build step. Motion is progressive: hidden start states only
   apply under html.motion, which site.js adds when motion is allowed. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/sora-latin.woff2") format("woff2");
}

:root {
  --ink: #04070b;
  --ink-2: #060b11;
  --panel: #0b131c;
  --text: #eef4f7;
  --muted: #a9b7c3;
  --quiet: #8e9dac;
  --line: rgba(140, 170, 195, .14);
  --line-strong: rgba(140, 170, 195, .28);
  --control: #3c5163;
  --cyan: #45e3df;
  --cyan-bright: #8cfff8;
  --blue: #3d82ed;
  --blue-soft: #84b4ff;
  --amber: #f6c980;
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-lg: 26px;
  --shell: 1200px;
  --gutter: 24px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--cyan); color: #032628; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: break-word; }
h2 { font-size: clamp(2.3rem, 5vw, 4.25rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--cyan-bright); outline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--cyan);
  color: #032628;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

.shell { width: min(calc(100% - 2 * var(--gutter)), var(--shell)); margin-inline: auto; }

/* Atmosphere */
.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 82% -8%, rgba(61, 130, 237, .15), transparent 62%),
    radial-gradient(48rem 34rem at -6% 18%, rgba(69, 227, 223, .08), transparent 60%),
    linear-gradient(180deg, #060c14 0%, var(--ink) 38%);
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Type helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.4rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: none; width: 1.75rem; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.section { position: relative; padding: clamp(88px, 11vw, 150px) 0; }
.section-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-sub { max-width: 40rem; margin: 1.4rem 0 0; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); }

/* ---------- Buttons ---------- */
.button {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 52px;
  padding: 0 1.5rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(140, 255, 248, .6);
  border-radius: 999px;
  background: linear-gradient(135deg, #5cf0ea, var(--cyan) 45%, #2fc4d4);
  box-shadow: 0 14px 34px -14px rgba(69, 227, 223, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
  color: #032628;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform .6s var(--ease-out), box-shadow .35s ease, border-color .35s ease, background-color .35s ease, color .35s ease;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform .9s var(--ease-out);
}
.button:hover::before { transform: translateX(130%); }
.button:hover { box-shadow: 0 18px 44px -14px rgba(69, 227, 223, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.button:focus-visible { outline-offset: 4px; }
.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .02);
  box-shadow: none;
  color: var(--text);
}
.button-ghost::before { background: linear-gradient(105deg, transparent 35%, rgba(140, 255, 248, .16) 50%, transparent 65%); }
.button-ghost:hover { border-color: rgba(69, 227, 223, .6); box-shadow: none; }
.button-sm { min-height: 44px; padding: 0 1.15rem; font-size: .875rem; gap: .6rem; }

/* Text roll: the second copy is aria-hidden in the markup. */
.roll { position: relative; display: inline-flex; flex-direction: column; height: 1.25em; overflow: hidden; line-height: 1.25; }
.roll-in { display: block; transition: transform .6s var(--ease-out); }
.button:hover .roll-in, .button:focus-visible .roll-in { transform: translateY(-100%); }

.btn-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: -.85rem;
  border-radius: 50%;
  background: #052e31;
  color: var(--cyan-bright);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  transition: transform .6s var(--ease-out);
}
.button-sm .btn-icon { width: 26px; height: 26px; margin-right: -.6rem; font-size: .85rem; }
.button:hover .btn-icon { transform: rotate(-45deg); }

.text-link { color: var(--cyan); font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .25s ease; }
.text-link:hover { color: var(--cyan-bright); }
.text-button {
  width: fit-content;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 500;
  transition: border-color .25s ease;
}
.text-button:hover { border-color: rgba(69, 227, 223, .6); }

/* ---------- Header: floating pill ---------- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 14px 14px 0;
  pointer-events: none;
  transition: transform .6s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-130%); }
/* Without JavaScript the header sits in the page flow and keeps a solid backing. */
.no-js .site-header { position: relative; }
.no-js .nav { border-color: var(--line); background: rgba(7, 12, 18, .85); }
.no-js .hero { padding-top: 32px; }
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100%, var(--shell));
  min-height: 62px;
  padding: 8px 8px 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: auto;
  transition: width .7s var(--ease-out), background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.site-header.is-scrolled .nav {
  width: min(100%, 880px);
  border-color: var(--line);
  background: rgba(7, 12, 18, .74);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.025em;
  text-decoration: none;
}
.brand picture { display: block; }
.brand img {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(69, 227, 223, .2);
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 24px -4px rgba(69, 227, 223, .35);
}
.brand-word span { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  padding: .6rem .85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease;
}
.nav-links a:hover, .nav-links a.is-current { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-links.has-highlight { position: relative; isolation: isolate; }
.nav-links.has-highlight a { position: relative; z-index: 1; }
.nav-links.has-highlight a:hover, .nav-links.has-highlight a.is-current { background: transparent; }
.nav-highlight {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  border: 1px solid rgba(69, 227, 223, .18);
  border-radius: 999px;
  background: linear-gradient(140deg, rgba(69, 227, 223, .13), rgba(61, 130, 237, .08));
  box-shadow: inset 0 1px 0 rgba(140, 255, 248, .06);
  opacity: 0;
  transition: transform .38s var(--ease-out), width .38s var(--ease-out), height .38s var(--ease-out), opacity .2s ease;
}
.nav-cta { flex: none; }
.nav-toggle {
  position: relative;
  display: none;
  flex: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(10, 18, 27, .85);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  right: 13px;
  left: 13px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  overflow-y: auto;
  background: rgba(4, 7, 11, .97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.mobile-menu-inner { display: grid; align-content: center; gap: 2rem; min-height: 100%; padding: 110px 28px 48px; }
.mobile-menu ol { display: grid; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.mm-link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .45rem 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 10vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.04em;
  text-decoration: none;
}
.mm-link span { color: var(--cyan); font-size: .75rem; letter-spacing: .12em; }
.mobile-menu .button { justify-self: start; }
.mm-mail { margin: 0; color: var(--quiet); font-size: .9rem; }
.mm-mail a { color: var(--cyan); }
.motion .mobile-menu li, .motion .mobile-menu .button, .motion .mm-mail { animation: mm-in .8s var(--ease-out) both; }
.motion .mobile-menu li:nth-child(2) { animation-delay: .06s; }
.motion .mobile-menu li:nth-child(3) { animation-delay: .12s; }
.motion .mobile-menu li:nth-child(4) { animation-delay: .18s; }
.motion .mobile-menu .button { animation-delay: .24s; }
.motion .mm-mail { animation-delay: .3s; }
@keyframes mm-in { from { opacity: 0; transform: translateY(26px); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(118px, 15vh, 160px); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 164, 185, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 164, 185, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 22%, #000, transparent 78%);
}
.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: end;
  gap: clamp(28px, 4vw, 64px);
}
.hero h1 {
  font-size: clamp(3.25rem, 7.1vw, 6.75rem);
  line-height: .97;
  letter-spacing: -.058em;
  text-wrap: wrap;
}
.flow-word {
  display: inline-block;
  padding-right: .04em;
  background: linear-gradient(100deg, var(--cyan-bright) 0%, var(--cyan) 35%, #5aa0ff 70%, var(--cyan-bright) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.motion .flow-word { animation: flow-shimmer 9s ease-in-out infinite alternate; }
@keyframes flow-shimmer { to { background-position: 100% 0; } }
.hero-pitch { padding-bottom: .55rem; }
.hero-lead { margin: 0 0 1.6rem; color: var(--muted); font-size: clamp(1.04rem, 1.25vw, 1.15rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.4rem; }
.trust-line { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; padding: 0; color: var(--quiet); font-size: .875rem; list-style: none; }
.trust-line li { position: relative; padding-left: 15px; }
.trust-line li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(69, 227, 223, .8);
}

/* The TandemFlow Effect: full-bleed canvas */
.engine { position: relative; margin: clamp(26px, 4.5vh, 52px) 0 0; }
.engine canvas { display: block; width: 100%; height: clamp(440px, 54vh, 560px); }
.engine-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.engine-text p { margin: 0; color: var(--muted); font-size: .9rem; }
.engine-text strong { color: var(--text); font-weight: 600; }
.engine-hint { display: none; margin-top: 2px; color: var(--quiet); font-size: .8125rem; }
.motion .engine-hint { display: block; }
.engine-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--quiet); font-size: .8125rem; }
.engine-tag { display: inline-flex; align-items: center; gap: 8px; }
.engine-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(69, 227, 223, .7); }
.engine.is-playing .engine-tag i { animation: pulse-dot 2.6s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: .35; } }
#triageStats { font-variant-numeric: tabular-nums; }
.engine-controls { display: flex; gap: 8px; }
.engine-controls button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 500;
  transition: border-color .25s ease, background-color .25s ease;
}
.engine-controls button:hover { border-color: rgba(69, 227, 223, .6); background: rgba(69, 227, 223, .06); }
.engine-fallback { padding: 8px 0 28px; }
.engine-fallback > p { margin-bottom: 14px; color: var(--muted); }
.engine-fallback ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.engine-fallback li { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); color: var(--muted); font-size: .9rem; }
.fb-auto b { color: var(--cyan); }
.fb-review b { color: var(--amber); }
.fb-human b { color: var(--blue-soft); }

/* ---------- Tools marquee ---------- */
.tools { padding: clamp(64px, 8vw, 104px) 0 0; }
.tools-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.tools-head h2 { margin: 0; color: var(--quiet); font-size: .75rem; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.tools-head p { margin: 0; color: var(--quiet); font-size: .8125rem; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); }
.motion .marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
/* Single row from the start under motion, so cloning never shifts the layout. */
.motion .marquee-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; }
.marquee.is-looping .marquee-track { animation: marquee var(--marquee-duration, 40s) linear infinite; }
.marquee.is-looping:hover .marquee-track { animation-play-state: paused; }
.marquee-reverse.is-looping .marquee-track { animation-direction: reverse; }
.marquee-label { margin-top: 26px; margin-bottom: 10px; color: var(--quiet); font-size: .72rem; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.tools-head + .marquee-label { margin-top: 6px; }
.marquee-track li {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(22px, 3vw, 34px) clamp(14px, 2vw, 28px);
  color: rgba(238, 244, 247, .5);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
  transition: color .3s ease;
}
.marquee-track li::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); opacity: .7; transform: rotate(45deg); }
.marquee-track li:hover { color: var(--text); }
@keyframes marquee { to { transform: translate3d(calc(-1 * var(--marquee-shift, 50%)), 0, 0); } }

/* ---------- Statement ---------- */
.statement { padding: clamp(110px, 15vw, 200px) 0 clamp(90px, 12vw, 160px); }
.statement-text {
  max-width: 1080px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.7vw, 4.1rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.statement-text .sw { transition: opacity .35s ease; }
.motion .statement-text .sw { opacity: .16; }
.motion .statement-text .sw.is-lit { opacity: 1; }
.statement-kicker {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: clamp(28px, 4vw, 44px) 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}
.statement-kicker::before { content: ""; flex: none; width: 2rem; height: 1px; background: var(--cyan); }

/* ---------- Calculator ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.calc-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(17, 28, 41, .92), rgba(7, 12, 18, .92));
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.calc-results {
  container-type: inline-size;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 44px) clamp(22px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 140% at 0% 0%, rgba(69, 227, 223, .1), transparent 55%);
}
.calc-label { display: block; color: var(--quiet); font-family: var(--font-display); font-size: .72rem; font-weight: 600; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.calc-total {
  display: block;
  margin: .5rem 0 .9rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-size: clamp(2.4rem, 13cqi, 5.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--cyan-bright), var(--cyan) 45%, #6aa8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.calc-sub { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: .95rem; }
.calc-sub strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-controls { display: grid; gap: 22px; min-width: 0; margin: 0; padding: clamp(24px, 3.5vw, 36px) clamp(24px, 4vw, 44px); border: 0; }
.calc-field label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.calc-field output { color: var(--cyan-bright); font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-note { margin: 0; padding: 18px clamp(24px, 4vw, 44px) 22px; border-top: 1px solid var(--line); color: var(--quiet); font-size: .8125rem; line-height: 1.6; }
.calc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 0 clamp(24px, 4vw, 44px) clamp(22px, 3vw, 28px); }
.calc-cta-note { margin: 0; color: var(--quiet); font-size: .8125rem; }
input[type="range"] { width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
input[type="range"]:disabled { cursor: default; opacity: .6; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--cyan) var(--fill, 14%), rgba(140, 170, 195, .22) var(--fill, 14%)); }
input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 4px solid #062227;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 0 1px rgba(140, 255, 248, .7), 0 0 18px rgba(69, 227, 223, .55);
  -webkit-appearance: none;
  appearance: none;
  transition: transform .25s var(--ease-out);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(140, 170, 195, .22); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--cyan); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 4px solid #062227; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 0 1px rgba(140, 255, 248, .7); }

/* ---------- How it works ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; gap: clamp(40px, 7vw, 110px); }
.how-aside { align-self: stretch; }
.how-sticky { position: sticky; top: 112px; }
.how-index { display: flex; gap: 22px; margin-top: clamp(32px, 4vw, 48px); }
.how-progress { position: relative; flex: none; width: 2px; overflow: hidden; border-radius: 2px; background: var(--line-strong); }
.how-progress-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cyan), var(--blue)); transform: scaleY(var(--p, 0)); transform-origin: top; transition: transform .2s linear; }
.how-index ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.how-index li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  color: var(--quiet);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
  transition: color .4s ease, transform .5s var(--ease-out);
}
.how-index li span { font-size: .72rem; letter-spacing: .12em; opacity: .8; }
.how-index li.is-active { color: var(--text); transform: translateX(6px); }
.how-index li.is-active span { color: var(--cyan); opacity: 1; }
.steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 3.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(16, 26, 38, .78), rgba(7, 12, 18, .6));
  transition: border-color .5s ease;
}
.step.is-active { border-color: rgba(69, 227, 223, .32); }
.step-ghost {
  position: absolute;
  top: -.16em;
  right: -.02em;
  z-index: -1;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(7rem, 13vw, 11rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.06em;
  pointer-events: none;
  user-select: none;
  -webkit-text-stroke: 1px rgba(140, 170, 195, .12);
  transition: -webkit-text-stroke-color .5s ease;
}
.step.is-active .step-ghost { -webkit-text-stroke-color: rgba(69, 227, 223, .3); }
.step-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.step-num { color: var(--cyan); font-family: var(--font-display); font-size: .75rem; font-weight: 600; line-height: 1; letter-spacing: .14em; text-transform: uppercase; }
.step-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.step h3 { margin: 1.6rem 0 .8rem; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.step > p { max-width: 36rem; color: var(--muted); }
.step > p:last-child { margin-bottom: 0; }
.step-list { margin: 1.6rem 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.step-list li { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr); gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.step-list b { font-family: var(--font-display); font-size: .95rem; font-weight: 600; line-height: 1.4; }
.step-list span { color: var(--quiet); font-size: .9rem; }
.step .step-note { margin: 1.4rem 0 0; color: var(--text); font-size: .95rem; }
.step-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.step-subhead { margin: 0 0 10px; color: var(--cyan); font-family: var(--font-display); font-size: .72rem; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.tick-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tick-list li { position: relative; padding-left: 22px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.tick-list li::before { content: ""; position: absolute; top: .5em; left: 1px; width: 10px; height: 5px; border-bottom: 1.5px solid var(--cyan); border-left: 1.5px solid var(--cyan); transform: rotate(-45deg); }

/* ---------- Leave it alone ---------- */
.leave { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 11vw, 140px); }
.leave-title { max-width: 16ch; font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -.045em; }
.leave-copy { max-width: 40rem; margin: 1.6rem 0 1.2rem; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.leave-link { display: inline-flex; gap: .4rem; }

/* ---------- Example pilots ---------- */
.pilot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pilot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(16, 26, 38, .85), rgba(7, 12, 18, .7));
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid rgba(69, 227, 223, .3);
  border-radius: 999px;
  background: rgba(69, 227, 223, .07);
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pilot h3 { margin: 16px 0 10px; font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.pilot > p { color: var(--muted); }
.pilot dl { margin: 22px 0 0; }
.pilot dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.pilot dt { padding-top: 2px; color: var(--quiet); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pilot dd { margin: 0; font-size: .92rem; }
.pilot-visual {
  position: relative;
  height: 150px;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: radial-gradient(100% 120% at 0% 0%, rgba(69, 227, 223, .08), transparent 60%), rgba(4, 7, 11, .55);
}

/* Mini visual: inbox triage */
.mv-bin { position: absolute; right: 24px; width: 72px; height: 12px; border: 1px solid; border-radius: 6px; }
.mv-bin-auto { top: 33px; border-color: rgba(69, 227, 223, .55); background: rgba(69, 227, 223, .12); }
.mv-bin-review { top: 69px; border-color: rgba(246, 201, 128, .55); background: rgba(246, 201, 128, .12); }
.mv-bin-human { top: 105px; border-color: rgba(132, 180, 255, .55); background: rgba(132, 180, 255, .12); }
.mv-msg { position: absolute; left: 24px; width: 96px; height: 12px; border-radius: 6px; background-color: #2a3d4d; opacity: .85; }
.mv-msg:nth-child(1) { top: 33px; }
.mv-msg:nth-child(2) { top: 69px; }
.mv-msg:nth-child(3) { top: 105px; }
.motion .mv-msg { animation: mv-auto 4.5s var(--ease-in-out) infinite both; }
.motion .mv-msg:nth-child(2) { animation-name: mv-review; animation-delay: 1.5s; }
.motion .mv-msg:nth-child(3) { animation-name: mv-human; animation-delay: 3s; }
@keyframes mv-auto {
  0% { top: 69px; left: 24px; width: 96px; opacity: 0; background-color: #2a3d4d; }
  12% { opacity: 1; }
  55% { top: 33px; left: calc(100% - 96px); width: 72px; opacity: 1; background-color: rgba(69, 227, 223, .9); }
  70%, 100% { top: 33px; left: calc(100% - 96px); width: 72px; opacity: 0; background-color: rgba(69, 227, 223, .9); }
}
@keyframes mv-review {
  0% { top: 69px; left: 24px; width: 96px; opacity: 0; background-color: #2a3d4d; }
  12% { opacity: 1; }
  55% { top: 69px; left: calc(100% - 96px); width: 72px; opacity: 1; background-color: rgba(246, 201, 128, .9); }
  70%, 100% { top: 69px; left: calc(100% - 96px); width: 72px; opacity: 0; background-color: rgba(246, 201, 128, .9); }
}
@keyframes mv-human {
  0% { top: 69px; left: 24px; width: 96px; opacity: 0; background-color: #2a3d4d; }
  12% { opacity: 1; }
  55% { top: 105px; left: calc(100% - 96px); width: 72px; opacity: 1; background-color: rgba(132, 180, 255, .9); }
  70%, 100% { top: 105px; left: calc(100% - 96px); width: 72px; opacity: 0; background-color: rgba(132, 180, 255, .9); }
}

/* Mini visual: follow-up cadence */
.mv-line { position: absolute; top: 74px; right: 24px; left: 24px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(140, 170, 195, .3), rgba(140, 170, 195, .1)); }
.mv-dot { position: absolute; top: 69px; width: 12px; height: 12px; margin-left: -6px; border: 1px solid rgba(69, 227, 223, .45); border-radius: 50%; background: #1d2c38; }
.mv-dot:nth-child(2) { left: 18%; }
.mv-dot:nth-child(3) { left: 38%; }
.mv-dot:nth-child(4) { left: 58%; }
.mv-dot:nth-child(5) { left: 78%; }
.mv-stop { position: absolute; top: 67px; right: 24px; width: 16px; height: 16px; margin-right: -8px; border: 1px solid rgba(246, 201, 128, .6); border-radius: 4px; background: rgba(246, 201, 128, .15); }
.mv-pulse { position: absolute; top: 70px; left: 24px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 16px 4px rgba(69, 227, 223, .6); opacity: 0; }
.motion .mv-pulse { animation: mv-pulse 5s linear infinite; }
.motion .mv-dot { animation: mv-dot 5s ease-out infinite both; }
.motion .mv-dot:nth-child(2) { animation-delay: .65s; }
.motion .mv-dot:nth-child(3) { animation-delay: 1.73s; }
.motion .mv-dot:nth-child(4) { animation-delay: 2.75s; }
.motion .mv-dot:nth-child(5) { animation-delay: 3.8s; }
.motion .mv-stop { animation: mv-stop 5s ease-out 4.8s infinite both; }
@keyframes mv-pulse {
  0% { left: 24px; opacity: 0; }
  6%, 90% { opacity: 1; }
  96%, 100% { left: calc(100% - 24px); opacity: 0; }
}
@keyframes mv-dot {
  0% { background-color: var(--cyan); box-shadow: 0 0 14px rgba(69, 227, 223, .9); }
  35% { background-color: rgba(69, 227, 223, .45); box-shadow: none; }
  100% { background-color: #1d2c38; box-shadow: none; }
}
@keyframes mv-stop {
  0% { background-color: var(--amber); box-shadow: 0 0 16px rgba(246, 201, 128, .8); }
  40%, 100% { background-color: rgba(246, 201, 128, .15); box-shadow: none; }
}

/* ---------- Guardrails ---------- */
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.lane {
  --lane: var(--cyan);
  --lane-rgb: 69, 227, 223;
  position: relative;
  overflow: hidden;
  padding: 30px 28px 28px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(var(--lane-rgb), .07), rgba(7, 12, 18, .55) 46%);
}
.lane-review { --lane: var(--amber); --lane-rgb: 246, 201, 128; }
.lane-human { --lane: var(--blue-soft); --lane-rgb: 132, 180, 255; }
.lane::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--lane), transparent); }
.lane-track { position: absolute; top: 30px; bottom: 30px; left: 16px; width: 1px; background: rgba(var(--lane-rgb), .22); }
.lane-track i { position: absolute; top: 0; left: -2.5px; width: 6px; height: 6px; border-radius: 50%; background: var(--lane); box-shadow: 0 0 10px var(--lane); }
.motion .lane.is-in .lane-track i { animation: lane-run 3.4s var(--ease-in-out) infinite both; }
.motion .lane-review.is-in .lane-track i { animation-delay: .55s; }
.motion .lane-human.is-in .lane-track i { animation-delay: 1.1s; }
@keyframes lane-run {
  0% { top: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.lane-kicker { color: var(--lane); font-family: var(--font-display); font-size: .72rem; font-weight: 600; line-height: 1; letter-spacing: .16em; text-transform: uppercase; }
.lane h3 { margin: 18px 0 10px; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.lane p { margin: 0; color: var(--muted); }
.lane .lane-eg { margin-top: 22px; padding-top: 16px; border-top: 1px dashed rgba(var(--lane-rgb), .3); color: var(--text); font-size: .9rem; }
.lane-eg span { display: block; margin-bottom: 4px; color: var(--quiet); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.access {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  margin-top: 16px;
  padding: clamp(26px, 3.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(16, 26, 38, .85), rgba(7, 12, 18, .7));
}
.access-kicker { color: var(--amber); font-family: var(--font-display); font-size: .72rem; font-weight: 600; line-height: 1; letter-spacing: .16em; text-transform: uppercase; }
.access h3 { margin: 14px 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.access-copy p { margin: 0; color: var(--quiet); font-size: .875rem; }
.access ul { display: grid; align-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.access li { position: relative; padding-left: 32px; color: var(--muted); }
.access li::before {
  content: "";
  position: absolute;
  top: .2em;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(69, 227, 223, .4);
  border-radius: 50%;
  background: rgba(69, 227, 223, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' fill='none' stroke='%2345e3df' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(36px, 7vw, 110px); }
.portrait { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); }
.portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.portrait figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(5, 9, 14, .66);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.portrait figcaption span:first-child { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; line-height: 1.2; }
.portrait figcaption span:last-child { color: var(--muted); font-size: .82rem; }
.about-copy h2 { margin-bottom: 1.6rem; font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.about-copy p { color: var(--muted); }
.career-path { margin: 30px 0 0; padding: 0; list-style: none; }
.career-path li { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 0 0 25px; }
.career-path li:not(:last-child)::after { content: ''; position: absolute; left: 20px; top: 42px; bottom: 0; width: 1px; background: linear-gradient(var(--cyan-dim, #257a80), #193440); }
.career-number { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #37616a; border-radius: 50%; background: #102129; color: var(--cyan); font-size: .72rem; font-weight: 600; }
.career-path h3 { margin: 0 0 4px; font-size: 1.05rem; letter-spacing: -.025em; }
.career-context { display: block; color: #8fcad0; font-size: .77rem; }
.career-path p { margin: 7px 0 0; font-size: .88rem; line-height: 1.65; }
.about-copy .about-outlook { margin-top: 24px; }
.about-proof { margin-top: 24px; padding: 20px; border: 1px solid #2a4650; border-radius: 14px; background: #0c1c24; font-size: .93rem; line-height: 1.7; }
.about-proof .text-link { display: inline-flex; margin-top: 10px; font-size: .82rem; }
.specialist-tools { margin-top: 22px; }
.specialist-tools > summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; list-style: none; cursor: pointer; color: #a9c5cf; font-size: .85rem; }
.specialist-tools > summary::-webkit-details-marker { display: none; }
.specialist-tools > summary > span { color: var(--cyan); font-size: 1.3rem; transition: transform .2s; }
.specialist-tools[open] > summary > span { transform: rotate(45deg); }
.about-copy .about-quote {
  margin: 30px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--cyan);
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(40px, 7vw, 110px); }
.faq-head { position: sticky; top: 112px; }
.faq-head h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.015em;
  list-style: none;
  transition: color .25s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--cyan-bright); }
.faq-icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .5s var(--ease-out), background-color .3s ease, border-color .3s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; border-radius: 2px; background: var(--cyan); }
.faq-icon::after { transform: rotate(90deg); }
.faq-list details[open] .faq-icon { border-color: rgba(69, 227, 223, .5); background: rgba(69, 227, 223, .1); transform: rotate(135deg); }
.faq-list details p { margin: 0; padding: 0 56px 24px 0; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease-out), content-visibility .5s allow-discrete; }
  .faq-list details[open]::details-content { height: auto; }
}

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; padding: clamp(100px, 13vw, 170px) 0; border-top: 1px solid var(--line); }
.contact-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 78% 30%, rgba(69, 227, 223, .12), transparent 70%),
    radial-gradient(40% 50% at 8% 92%, rgba(61, 130, 237, .13), transparent 70%);
}
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: clamp(40px, 7vw, 100px); }
.contact-copy h2 { margin-bottom: 26px; font-size: clamp(2.5rem, 5.4vw, 4.8rem); }
.contact-copy p { max-width: 34rem; color: var(--muted); }
.contact-direct { display: grid; gap: 4px; margin-top: 34px; }
.contact-direct > span { color: var(--quiet); font-family: var(--font-display); font-size: .72rem; font-weight: 600; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.contact-direct a { width: fit-content; color: var(--cyan); font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; line-height: 1.3; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contact-card {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 3.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(16, 26, 38, .92), rgba(7, 12, 18, .88));
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .95);
}
.contact-card form, .form-fields { display: grid; gap: 18px; }
.form-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-required { margin: 0; color: var(--quiet); font-size: .85rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-card label { display: grid; gap: 8px; color: var(--muted); font-size: .875rem; font-weight: 500; }
.contact-card input, .contact-card textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--control);
  border-radius: 14px;
  background: rgba(3, 6, 10, .7);
  color: var(--text);
  font-size: 1rem;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.contact-card input { min-height: 50px; }
.contact-card textarea { min-height: 130px; resize: vertical; }
.contact-card input:hover, .contact-card textarea:hover { border-color: #5b7488; }
.contact-card input:focus, .contact-card textarea:focus { outline: none; border-color: var(--cyan); background: rgba(3, 6, 10, .9); box-shadow: 0 0 0 4px rgba(69, 227, 223, .2); }
.contact-card ::placeholder { color: #7f8f9e; }
.form-note { margin: 0; color: var(--quiet); font-size: .85rem; }
.contact-card a { color: var(--cyan); text-underline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.copy-status { min-height: 1.2em; margin: 14px 0 0; color: var(--cyan); font-size: .875rem; }
#manualCopy { display: grid; gap: 8px; margin-top: 14px; }

/* What happens next + optional booking */
.next-block { margin-top: 30px; }
.contact-copy .next-title { margin: 0 0 14px; color: var(--quiet); font-family: var(--font-display); font-size: .72rem; font-weight: 600; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.next-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: next; }
.next-steps li { position: relative; display: grid; gap: 2px; padding-left: 46px; counter-increment: next; }
.next-steps li::before {
  content: counter(next, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(69, 227, 223, .35);
  border-radius: 50%;
  background: var(--ink);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 600;
}
.next-steps li:not(:last-child)::after { content: ""; position: absolute; top: 34px; bottom: -12px; left: 15px; width: 1px; background: var(--line-strong); }
.next-steps b { font-family: var(--font-display); font-size: .98rem; font-weight: 600; }
.next-steps span { color: var(--quiet); font-size: .9rem; }
.book-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: 26px; padding: 16px 18px; border: 1px solid rgba(69, 227, 223, .28); border-radius: 18px; background: rgba(69, 227, 223, .05); }
.book-card p { margin: 0; }
.book-card b { color: var(--text); }
.thanks-steps { margin: 8px 0 26px; }
.utility-card .book-card { margin: 0 0 24px; }
.legal-wrap .thanks-sign { color: var(--text); }

/* Bottleneck intake: three steps with JavaScript, one long form without it */
.intake-top { display: grid; gap: 12px; }
.intake-progress-wrap { display: grid; gap: 8px; }
.intake-journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.intake-journey li { position: relative; display: grid; justify-items: center; gap: 7px; color: var(--quiet); font-size: .72rem; line-height: 1.4; text-align: center; transition: color .25s ease; }
.intake-journey li:not(:last-child)::after { content: ""; position: absolute; top: 16px; left: calc(50% + 23px); width: calc(100% - 38px); height: 1px; background: var(--line-strong); transition: background-color .3s ease; }
.intake-stop-icon { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--panel); font-family: var(--font-display); font-size: .68rem; transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.intake-stop-icon svg { position: absolute; width: 16px; height: 16px; opacity: 0; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.intake-stop-icon path { stroke-dasharray: 18; stroke-dashoffset: 18; transition: stroke-dashoffset .4s var(--ease-out); }
.intake-journey .is-current { color: var(--text); }
.intake-journey .is-current .intake-stop-icon { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(69, 227, 223, .08); color: var(--cyan-bright); }
.intake-journey .is-complete { color: var(--cyan); }
.intake-journey .is-complete::after { background: rgba(69, 227, 223, .5); }
.intake-journey .is-complete .intake-stop-icon { border-color: rgba(69, 227, 223, .45); background: rgba(69, 227, 223, .1); }
.intake-journey .is-complete .intake-stop-icon > span { visibility: hidden; }
.intake-journey .is-complete svg { opacity: 1; }
.intake-journey .is-complete path { stroke-dashoffset: 0; }
.intake-stage { min-width: 0; display: flow-root; }
.intake-stage.is-transitioning { overflow: clip; overflow-clip-margin: 6px; }
.intake-progress { margin: 0; color: var(--text); font-family: var(--font-display); font-size: .9rem; font-weight: 600; }
.intake-bar { height: 4px; overflow: hidden; border-radius: 4px; background: var(--line-strong); }
.intake-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); transform: scaleX(var(--intake, .34)); transform-origin: left; transition: transform .5s var(--ease-out); }
.intake-step { display: grid; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
.intake-form:not(.is-stepped) .intake-step + .intake-step { margin-top: 10px; }
.intake-form:not(.is-stepped) .intake-step + .intake-step > .intake-legend { width: 100%; padding-top: 28px; border-top: 1px solid var(--line); }
.intake-legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 18px; padding: 0; color: var(--text); font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.intake-legend span { color: var(--cyan); font-size: .72rem; letter-spacing: .14em; }
.intake-legend small { color: var(--quiet); font-family: var(--font-body); font-size: .8125rem; font-weight: 400; letter-spacing: 0; }
.intake-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 14px; margin-top: 4px; }
.intake-nav .text-button { margin: 0 auto 0 0; }
.field-hint { color: var(--quiet); font-size: .8125rem; font-weight: 400; line-height: 1.5; }
.contact-card select {
  width: 100%;
  min-height: 50px;
  padding: 12px 42px 12px 15px;
  border: 1px solid var(--control);
  border-radius: 14px;
  background: rgba(3, 6, 10, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238cfff8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px 8px no-repeat;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-card select:hover { border-color: #5b7488; }
.contact-card select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(69, 227, 223, .2); }
.contact-card option { background: #0b131c; color: var(--text); }
.check-group { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.check-group > legend { margin: 0 0 10px; padding: 0; color: var(--muted); font-size: .875rem; font-weight: 500; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.check-grid-wide { grid-template-columns: 1fr; }
.contact-card .check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--control);
  border-radius: 12px;
  background: rgba(3, 6, 10, .5);
  color: var(--text);
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.contact-card .check:hover { border-color: #5b7488; }
.contact-card .check:has(input:checked) { border-color: rgba(69, 227, 223, .6); background: rgba(69, 227, 223, .08); }
.contact-card .check input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; accent-color: var(--cyan); cursor: pointer; }
.contact-card .check input:focus { box-shadow: none; }
.contact-card .check input:focus-visible { outline: 2px solid var(--cyan-bright); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: 70px 0 28px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(3, 5, 8, .9)); }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px 48px; }
.footer-brand p { margin: 14px 0 0; color: var(--quiet); font-size: .9rem; }
.footer-brand img { width: 32px; height: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { color: var(--muted); font-size: .92rem; text-decoration: none; transition: color .25s ease; }
.footer-links a:hover { color: var(--cyan); }
.footer-word {
  position: relative;
  margin: clamp(40px, 6vw, 72px) 0 clamp(18px, 3vw, 30px);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 15.5vw, 15rem);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.075em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  background: linear-gradient(180deg, rgba(238, 244, 247, .2) 10%, rgba(238, 244, 247, .02) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-word::after {
  content: attr(data-word);
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 250px 180px at var(--footer-x, 50%) var(--footer-y, 50%), var(--cyan-bright) 0%, var(--cyan) 22%, var(--blue) 55%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transition: opacity .65s ease;
}
.footer-word.is-inked::after { opacity: 1; transition-duration: .15s; }
.footer-word.is-sweeping::after {
  background-image: linear-gradient(100deg, transparent 30%, var(--blue) 44%, var(--cyan-bright) 50%, var(--cyan) 54%, transparent 70%);
  background-size: 300% 100%;
  animation: footer-light-pass 2.4s ease-in-out both;
}
@keyframes footer-light-pass {
  0% { background-position: 100% 50%; opacity: 0; }
  18%, 82% { opacity: 1; }
  100% { background-position: 0% 50%; opacity: 0; }
}
.is-paused .footer-word::after { animation-play-state: paused; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--quiet); font-size: .8rem; }

/* ---------- Spotlight cards (fine pointers only; site.js feeds --sx/--sy) ---------- */
.spot::before, .spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.spot::before { z-index: -1; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, -200px), rgba(69, 227, 223, .075), transparent 65%); }
.spot::after {
  z-index: 2;
  padding: 1px;
  background: radial-gradient(240px circle at var(--sx, 50%) var(--sy, -200px), rgba(140, 255, 248, .6), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.has-spot .spot:hover::before, .has-spot .spot:hover::after { opacity: 1; }

/* ---------- Motion states (only when site.js adds html.motion) ---------- */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.w { display: inline-block; margin: 0 -.04em -.12em; padding: 0 .04em .12em; overflow: hidden; vertical-align: top; }
.wi { display: inline-block; }
.motion [data-split] .wi { transform: translate3d(0, 112%, 0); transition: transform 1.15s var(--ease-out); transition-delay: var(--d, 0ms); }
.motion [data-split].is-in .wi { transform: none; }
.motion .portrait[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(14% 10% 14% 10% round 28px); transition: clip-path 1.5s var(--ease-out); }
.motion .portrait[data-reveal="clip"] img { transform: scale(1.18); transition: transform 1.8s var(--ease-out); }
.motion .portrait[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 28px); }
.motion .portrait[data-reveal="clip"].is-in img { transform: none; }

/* ---------- Legal and utility pages ---------- */
.legal-page .site-header { position: absolute; }
.legal-page .nav .button { margin-left: auto; }
.legal-wrap .button { margin-top: 10px; }
.legal-main { padding: 150px 0 100px; }
.legal-wrap { width: min(calc(100% - 48px), 820px); margin-inline: auto; }
.legal-wrap h1 { margin-bottom: 18px; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.legal-wrap h2 { margin: 48px 0 14px; font-size: 1.5rem; }
.legal-wrap p, .legal-wrap li { color: var(--muted); }
.legal-wrap a:not(.button) { color: var(--cyan); }
.legal-meta { margin-bottom: 38px; padding-bottom: 28px; border-bottom: 1px solid var(--line); color: var(--quiet); font-size: .8rem; }
.utility-card { padding: clamp(28px, 5vw, 54px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }

/* ---------- Solutions teaser (homepage) ---------- */
.ideas-teaser {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 40px;
  border: 1px solid rgba(69, 227, 223, .35);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(69, 227, 223, .14), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(61, 130, 237, .14), transparent 60%),
    linear-gradient(160deg, #0b1a24, #070d14);
  box-shadow: 0 40px 100px -60px #000;
}
.it-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px clamp(24px, 4vw, 48px); padding: clamp(26px, 4vw, 44px) clamp(24px, 4vw, 44px) 24px; }
.it-count {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 10vw, 7.5rem);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--cyan-bright), var(--cyan) 45%, #6aa8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.it-copy .eyebrow { margin-bottom: .7rem; }
.it-copy h3 { margin: 0 0 8px; font-size: clamp(1.45rem, 2.6vw, 2.2rem); }
.it-infinity { display: inline-block; color: var(--cyan-bright); white-space: nowrap; font-size: 1.15em; letter-spacing: -.03em; text-shadow: 0 0 24px rgba(69, 227, 223, .2); }
.it-copy p:last-child { max-width: 36rem; margin: 0; color: var(--muted); }
.it-rows { display: grid; gap: 10px; padding: 4px 0 30px; }
.marquee.it-row { border: 0; }
.it-row .marquee-track li {
  gap: 0;
  margin-right: 10px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0;
}
.it-row .marquee-track li::after { content: none; }
.it-row .marquee-track li::before { content: ""; flex: none; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--cyan); }
.it-row .marquee-track li:nth-child(3n + 2)::before { background: var(--amber); }
.it-row .marquee-track li:nth-child(3n + 3)::before { background: var(--blue-soft); }
.it-row .marquee-track li:hover { color: var(--text); }

/* ---------- Phone story layer (v2.6): chapter island, flow thread, swipe and stack ---------- */
main#main { position: relative; }
.haptic-switch { display: none; }
.nav-chapter, .nav-progress, .flow-thread, .swipe-dots { display: none; }
.step-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 1.3rem;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
}
.step-more-icon { position: relative; flex: none; width: 12px; height: 12px; }
.step-more-icon::before, .step-more-icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 12px; height: 1.5px; margin-top: -.75px; border-radius: 2px; background: var(--cyan); transition: transform .35s var(--ease-out); }
.step-more-icon::after { transform: rotate(90deg); }
.step-more[aria-expanded="true"] .step-more-icon::after { transform: rotate(0deg); }
.brand-word { transition: opacity .3s ease, transform .45s var(--ease-out); }
@keyframes chapter-in-a { from { opacity: 0; transform: translateY(calc(-50% + 12px)); } }
@keyframes chapter-in-b { from { opacity: 0; transform: translateY(calc(-50% + 12px)); } }

@media (hover: none) {
  .button:active { scale: .97; transition: scale .12s ease; }
  /* No hover spotlight on touch screens, so a line of light traces each card once as it arrives. */
  .motion .spot.is-in::after {
    background: linear-gradient(105deg, transparent 38%, rgba(140, 255, 248, .9) 50%, transparent 62%) 0 0 / 260% 100% no-repeat;
    animation: spot-sweep 1.7s ease .35s both;
  }
  @keyframes spot-sweep {
    0% { opacity: 0; background-position: 120% 0; }
    15%, 80% { opacity: 1; }
    100% { opacity: 0; background-position: -60% 0; }
  }
}

/* AI guidance is a complete service, including when no automation is planned. */
.hero-learning-link { margin: 1.15rem 0; font-size: .94rem; }
.ai-guidance { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 15% 35%, rgba(35, 179, 178, .07), transparent 65%); }
.guidance-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.guidance-copy h2 { max-width: 12ch; font-size: clamp(2.1rem, 4vw, 3.8rem); line-height: 1.06; letter-spacing: -.045em; }
.guidance-copy h2 span { color: var(--cyan); }
.guidance-copy > p:not(.eyebrow):not(.guidance-promise) { max-width: 39rem; color: var(--muted); }
.guidance-promise { margin-block: 1.3rem .65rem; color: var(--cyan-bright); font-weight: 600; }
.guidance-copy .button { margin-top: 1.2rem; }
.guidance-copy .guidance-fee { margin-top: 14px; font-size: .82rem; }
.guidance-lessons { display: grid; gap: 14px; }
.guidance-lesson { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(130deg, #112332, #0b131d); }
.guidance-num { color: var(--cyan); font: 600 1.1rem var(--font-display); }
.guidance-lesson h3 { margin: 0 0 9px; font-size: 1.18rem; }
.guidance-lesson p { margin: 0; color: var(--muted); font-size: .96rem; }
.guidance-outcome { margin: 6px 4px 0; color: var(--muted); font-size: .94rem; }
.workflow-details { display: grid; gap: 16px; min-width: 0; margin: 0; padding: 0; border: 0; }
.workflow-details[hidden] { display: none; }
@media (max-width: 900px) { .guidance-grid { grid-template-columns: 1fr; } .guidance-copy h2 { max-width: 18ch; } }
@media (max-width: 480px) { .guidance-lesson { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; border-radius: 17px; } .guidance-copy .button { width: 100%; } }

@media (max-width: 760px) {
  /* Tighter rhythm, so the story keeps moving */
  .section { padding: 76px 0; }
  .tools { padding-top: 52px; }
  .hero { padding-top: 102px; }
  .hero-lead { margin-bottom: 1.3rem; font-size: 1rem; }
  .engine { margin-top: 22px; }
  .about-outlook { display: none; }

  /* Header island: the chapter you're in, and how far through the page you are */
  .nav-chapter {
    position: absolute;
    top: 50%;
    right: 66px;
    left: 64px;
    display: flex;
    align-items: baseline;
    gap: .55rem;
    overflow: hidden;
    color: var(--text);
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.02em;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(-50% + 10px));
    transition: opacity .35s ease, transform .5s var(--ease-out);
  }
  .nav-chapter-num { flex: none; color: var(--cyan); font-size: .7rem; letter-spacing: .12em; }
  .nav-chapter-name { overflow: hidden; text-overflow: ellipsis; }
  .site-header.has-chapter .nav-chapter { opacity: 1; transform: translateY(-50%); }
  .site-header.has-chapter .nav-chapter.swap-a { animation: chapter-in-a .55s var(--ease-out) both; }
  .site-header.has-chapter .nav-chapter.swap-b { animation: chapter-in-b .55s var(--ease-out) both; }
  .site-header.has-chapter .brand-word { opacity: 0; transform: translateY(-8px); }
  .nav-progress { position: absolute; right: 24px; bottom: 6px; left: 24px; display: block; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(140, 170, 195, .14); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
  .nav-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--blue)); transform: scaleX(var(--read, 0)); transform-origin: left; }
  .site-header.is-scrolled .nav-progress { opacity: 1; }
  .site-header.is-peek { transform: none; }

  /* The flow thread: a line that draws down the page as the story moves */
  .js .flow-thread { position: absolute; z-index: 1; left: 6px; display: block; width: 2px; border-radius: 2px; background: rgba(140, 170, 195, .12); pointer-events: none; }
  .flow-thread-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, var(--cyan), var(--blue)); box-shadow: 0 0 10px rgba(69, 227, 223, .5); transform: scaleY(var(--ft-p, 0)); transform-origin: top; }
  .flow-node { position: absolute; left: -3.5px; width: 9px; height: 9px; margin-top: -4.5px; border: 1px solid rgba(140, 170, 195, .4); border-radius: 50%; background: var(--ink); transform: scale(.75); transition: transform .45s var(--ease-out), background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
  .flow-node.is-lit { border-color: var(--cyan-bright); background: var(--cyan); box-shadow: 0 0 12px rgba(69, 227, 223, .85); transform: none; }

  /* Swipe instead of scroll: pilots and lanes become cards you flick through */
  .js [data-swipe] {
    position: relative;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 10px;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .js [data-swipe]::-webkit-scrollbar { display: none; }
  .js [data-swipe] > * {
    flex: 0 0 86%;
    min-width: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    /* Keep the reveal fade (opacity, transform) alongside the swipe focus effect (scale, filter). */
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), scale .5s var(--ease-out), filter .5s ease;
    transition-delay: var(--rd, 0ms), var(--rd, 0ms), 0s, 0s;
  }
  .js [data-swipe].is-swipe > :not(.is-current) { scale: .95; filter: brightness(.7) saturate(.8); }
  .swipe-dots { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
  .swipe-dots button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; }
  .swipe-dots span { width: 7px; height: 7px; border-radius: 99px; background: rgba(140, 170, 195, .35); transition: width .4s var(--ease-out), background-color .3s ease; }
  .swipe-dots button[aria-current="true"] span { width: 22px; background: var(--cyan); }

  /* Stacking cards: each step slides over the last */
  .js [data-stack] > * { position: sticky; top: calc(78px + var(--si, 0) * 12px); transform-origin: 50% 0; scale: calc(1 - var(--cover, 0) * .06); }
  .js [data-stack] > :nth-child(2) { --si: 1; }
  .js [data-stack] > :nth-child(3) { --si: 2; }
  .js [data-stack] > :nth-child(4) { --si: 3; }
  .js [data-stack] > :nth-child(5) { --si: 4; }
  .js [data-stack] > :nth-child(6) { --si: 5; }
  .js [data-stack] > * > * { opacity: calc(1 - var(--cover, 0) * .55); }
  .js .steps[data-stack] { gap: 14px; }
  .js .steps[data-stack] > .step { background: linear-gradient(160deg, #111c29, #080d13); }
  .js [data-stack] > .is-open { position: relative; top: auto; scale: 1; }

  /* The problem statement pins while its words light up */
  .motion .statement { min-height: 160vh; min-height: 160svh; padding-block: 0; }
  .motion .statement > .shell { position: sticky; top: 14vh; top: 14svh; padding-block: 56px 40px; }

  /* Ideas teaser */
  .ideas-teaser { margin-top: 32px; }
  .ideas-teaser .it-head { grid-template-columns: 1fr; gap: 12px; padding: 26px 22px 20px; }
  .ideas-teaser .it-head .button { grid-column: auto; width: 100%; }
  .it-count { font-size: 5rem; }
  .it-row .marquee-track li { padding: 8px 14px; font-size: .84rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: .6rem .65rem; }
}

@media (max-width: 1000px) {
  .hero-head { grid-template-columns: 1fr; align-items: start; }
  .hero-pitch { max-width: 640px; }
  .it-head { grid-template-columns: auto minmax(0, 1fr); }
  .it-head .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 900px) {
  .js .nav-links, .js .nav-cta { display: none; }
  .js .nav-toggle { display: block; }
  .no-js .nav { flex-wrap: wrap; border-radius: 24px; }
  .no-js .nav-links { flex-wrap: wrap; width: 100%; margin: 0; }
  .calc-grid, .how-grid, .faq-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .how-sticky, .faq-head { position: static; }
  .how-index { display: none; }
  .access { grid-template-columns: 1fr; }
  .portrait { max-width: 520px; }
}

@media (max-width: 760px) {
  .about-grid { gap: 30px; }
  .about.section { padding-block: 60px; }
  .about .portrait { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 18px; max-width: none; padding: 14px; border-radius: 18px; }
  .about .portrait img { width: 96px; height: 120px; aspect-ratio: auto; max-height: none; border-radius: 11px; object-position: 50% 25%; }
  .about .portrait figcaption { position: static; min-width: 0; padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .about .portrait figcaption span:first-child { font-size: 1rem; }
  .about .portrait figcaption span:last-child { font-size: .76rem; }
  .career-path li { gap: 14px; padding-bottom: 23px; }
  .career-path p { font-size: .94rem; }
  :root { --gutter: 18px; }
  .lanes, .pilot-grid { grid-template-columns: 1fr; }
  .engine canvas { height: 560px; }
  .engine-fallback ul { grid-template-columns: 1fr; }
  .step-list li { grid-template-columns: 1fr; gap: 2px; }
  .step-cols { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .faq-list details p { padding-right: 0; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  :root { --gutter: 15px; }
  .site-header { padding: 10px 10px 0; }
  .hero h1 { font-size: clamp(2.6rem, 12.4vw, 3.6rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button, .form-actions .button, .intake-nav .button, .calc-cta .button { width: 100%; }
  .intake-nav .text-button { order: 2; margin: 0 auto; }
  .check-grid:not(.check-grid-wide) { grid-template-columns: 1fr 1fr; }
  .engine-meta { justify-content: space-between; width: 100%; }
  .pilot dl > div { grid-template-columns: 70px minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .check-grid:not(.check-grid-wide) { grid-template-columns: 1fr; }
}

/* The hero's Pause button pauses every looping animation on the page. */
.is-paused .marquee-track,
.is-paused .mv-msg,
.is-paused .mv-dot,
.is-paused .mv-stop,
.is-paused .mv-pulse,
.is-paused .lane-track i,
.is-paused .flow-word,
.is-paused .engine-tag i { animation-play-state: paused !important; }

@media (hover: none) {
  .motion .engine-hint { display: none; }
  .button:hover .roll-in { transform: none; }
  .button:hover .btn-icon { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-word::after { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .footer-word::after { display: none; }
  .nav-highlight { border-color: Highlight; background: none; }
  .intake-stop-icon { border-color: CanvasText; }
  .button, .nav-toggle, .step, .pilot, .lane, .access, .calc-card, .contact-card, .portrait { border: 1px solid CanvasText; }
  .flow-word, .calc-total, .footer-word { background: none; color: CanvasText; }
  .grain, .page-glow, .spot::before, .spot::after { display: none; }
  .contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus { outline: 2px solid CanvasText; }
  .contact-card .check, .book-card { border: 1px solid CanvasText; }
}

@media print {
  body { background: #fff; color: #111; }
  .grain, .page-glow, .site-header, .mobile-menu, .skip-link, .engine canvas, .engine-controls, .engine-hint, .marquee, .footer-word, .contact-card, .pilot-visual, .how-index, .lane-track { display: none !important; }
  .motion [data-reveal], .motion [data-split] .wi, .motion .portrait[data-reveal="clip"], .motion .portrait[data-reveal="clip"] img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .motion .statement-text .sw { opacity: 1 !important; }
  .flow-word, .calc-total { background: none; color: #111; }
  .section, .contact, .statement, .tools, .site-footer { padding-block: 24px; background: #fff; }
  h1, h2, h3, p, li, dt, dd, span, strong, b, summary, .statement-text { color: #111 !important; }
  .step, .pilot, .lane, .access, .calc-card { background: #fff; box-shadow: none; break-inside: avoid; }
  a { color: #0645ad; }
}
