/* Overpass: a typeface modelled on highway signage lettering. SIL Open Font License. */
@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/overpass-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Overpass Mono";
  src: url("assets/fonts/overpass-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

/* Brand tokens from FastLaneV2 frontend/src/theme/brand.ts */
:root {
  --ink: #101010;
  --ink-2: #1a1a1a;
  --ink-line: #2a2a2a;
  --coral: #fa6654;
  --coral-text: #d13c28;
  --indigo: #3c4ba6;
  --indigo-soft: #8a96e6;
  --paper: #f5f5f5;
  --white: #fff;
  --line: #e6e6e6;
  --text-2: #3a3a3a;
  --muted: #666;
  --ok: #177f42;
  --progress: linear-gradient(90deg, var(--coral), var(--indigo));
  /* button gradient from FastLaneV2 frontend/src/index.css (--fl-gradient-button) */
  --btn-grad: linear-gradient(110deg, #fa6654 0%, #e0516a 60%, #cc3366 100%);
  --btn-grad-hover: linear-gradient(110deg, #fb8574 0%, #e9697f 60%, #d6507e 100%);

  --sans: "Overpass", "Segoe UI", Arial, sans-serif;
  --mono: "Overpass Mono", ui-monospace, Menlo, monospace;
  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  /* radius by hierarchy: controls 8, windows 14, stages 28 */
  --r-ctl: 8px;
  --r-win: 14px;
  --r-stage: 28px;
  --lift: 0 1px 2px rgba(16,16,16,.06), 0 24px 48px -24px rgba(16,16,16,.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
code { font-family: var(--mono); font-size: .85em; }
a { color: var(--coral-text); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: var(--white); padding: .5rem 1rem; }

/* Header: the product's dark bar and coral-to-indigo rule, sticky */
.bar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(16,16,16,.92); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 2px solid; border-image: var(--progress) 1;
}
.bar__inner {
  max-width: var(--wrap); margin-inline: auto; padding: .7rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .5rem; color: var(--white); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand b { color: var(--coral); font-weight: 800; }
.bar nav { display: flex; align-items: center; gap: clamp(.75rem, 2.5vw, 1.75rem); }
.bar nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .95rem; }
.bar nav a:hover { color: var(--white); }
.bar nav .bar__cta { background: var(--btn-grad); color: var(--white); font-weight: 800; text-shadow: 0 1px 2px rgba(120,20,40,.35); padding: .45rem .95rem; border-radius: var(--r-ctl); }
@media (max-width: 40rem) { .bar nav a:not(.bar__cta) { display: none; } }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; padding: .85rem 1.4rem; border-radius: var(--r-ctl);
  font-weight: 700; text-decoration: none; color: var(--ink);
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.btn--primary { background: var(--btn-grad); color: var(--white); font-size: 1.1875rem; font-weight: 800; padding-block: .75rem; text-shadow: 0 1px 2px rgba(120,20,40,.35); box-shadow: inset 0 0 0 1px #e5556a, 0 10px 24px -12px rgba(204,51,102,.9); }
.btn--primary:hover { background: var(--btn-grad-hover); }
.bar nav .bar__cta:hover { background: var(--btn-grad-hover); }
.btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(16,16,16,.25); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Stage: rounded dark surfaces inset in the page */
.stage { background: var(--ink); color: var(--white); border-radius: var(--r-stage); }

/* Windows: faithful recreations of portal screens */
.window { background: var(--white); color: var(--ink); border-radius: var(--r-win); box-shadow: var(--lift); overflow: hidden; }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; line-height: 1.5; padding: .05rem .55rem; border-radius: 999px; color: var(--muted); background: #f2f2f2; border: 1px solid var(--line); white-space: nowrap; }
.pill--ok { color: var(--ok); background: #f6ffed; border-color: #b7eb8f; }
.pill--info { color: var(--indigo); background: #eef0fa; border-color: #b9c0e8; }
.pill--warn { color: #946010; background: #fff8e6; border-color: #f0d38a; }
.tag { display: inline-block; font-size: .75rem; line-height: 1.5; padding: .05rem .45rem; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.uibtn { display: inline-block; font-size: .78rem; font-weight: 600; padding: .25rem .65rem; border-radius: 6px; border: 1px solid var(--line); background: var(--white); white-space: nowrap; }
.uibtn--primary { background: var(--btn-grad); border-color: #e5556a; color: var(--white); }
.files { display: flex; flex-wrap: wrap; gap: .35rem; }
.files code { font-size: .72rem; background: #f7f7f7; border: 1px solid var(--line); border-radius: 4px; padding: .1rem .4rem; color: var(--text-2); }

.portal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: var(--r-win) var(--r-win) 0 0;
  height: clamp(30rem, 52vw, 38rem);
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
  font-size: .9rem;
}
.portal__top { display: flex; align-items: center; gap: .4rem; background: var(--ink); padding: .55rem .9rem; border-bottom: 2px solid; border-image: var(--progress) 1; }
.portal__brand { display: flex; align-items: center; gap: .35rem; color: var(--white); font-weight: 800; margin-right: .6rem; }
.portal__brand b { color: var(--coral); }
.navpill { font-size: .78rem; color: rgba(255,255,255,.85); border: 1px solid #333; border-radius: 6px; padding: .15rem .55rem; }
.navpill.is-active { background: var(--btn-grad); border-color: #e5556a; color: var(--white); font-weight: 700; }
.portal__body { display: grid; grid-template-columns: 13rem 1fr; background: var(--paper); height: 100%; }
.portal__side { display: flex; flex-direction: column; gap: .1rem; padding: 1.1rem .8rem; background: var(--white); border-right: 1px solid var(--line); font-size: .82rem; }
.portal__side small { color: #999; font-size: .7rem; margin: .8rem .5rem .25rem; }
.portal__side small:first-child { margin-top: 0; }
.portal__side span { padding: .3rem .5rem; border-radius: 6px; color: var(--text-2); }
.portal__side .is-active { background: #fff1ef; color: var(--coral-text); font-weight: 600; }
.portal__main { padding: 1.25rem 1.5rem; min-width: 0; }
.apphead { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.apphead h3 { font-size: 1.25rem; font-weight: 800; margin-right: .25rem; }
.apphead__btns { margin-left: auto; display: flex; gap: .4rem; }
.portal__title { margin: 1.1rem 0 .7rem; font-weight: 800; font-size: 1.05rem; }

.history { list-style: none; margin: 0; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.ev { position: relative; padding: 0 0 .9rem 1.4rem; }
.ev::before { content: ""; position: absolute; left: 0; top: .35rem; width: .6rem; height: .6rem; border-radius: 50%; border: 2px solid var(--coral); }
.ev--ok::before, .ev--run::before { border-color: var(--ok); }
.ev b { font-weight: 600; }
.ev small { display: block; color: #888; font-size: .75rem; }
.ev .files { margin-top: .35rem; }
.runhead { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.runhead time { color: var(--muted); font-size: .8rem; }
.phases { margin-top: .6rem; display: grid; gap: .6rem; }
.phase h4 { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; }
.phase ul { list-style: none; margin: .25rem 0 0; padding: 0; }
.phase li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .18rem 0; font-size: .85rem; }
.phase li::before { content: ""; flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: var(--ok); box-shadow: inset 0 0 0 2.5px var(--white), 0 0 0 1.5px var(--ok); }
.phase li.reused::before { background: #bbb; box-shadow: inset 0 0 0 2.5px var(--white), 0 0 0 1.5px #bbb; }
.phase li span { flex: 1; }
.phase time { color: #888; font-size: .78rem; font-weight: 400; }
.progress { flex-basis: 100%; display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; padding-left: 1.2rem; }
.progress i { display: block; width: 100%; height: 4px; border-radius: 2px; background: var(--indigo); transform-origin: left; animation: fill 2.6s cubic-bezier(.5,0,.3,1) 1.2s both; }
.progress small { font-size: .7rem; color: #888; }

@media (max-width: 56rem) {
  .portal__body { grid-template-columns: 1fr; }
  .portal__side, .apphead__btns, .portal__top .navpill:not(.is-active) { display: none; }
  .portal__main { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress i { animation: none; }
  .btn { transition: none; }
}

/* Sections */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section + .section { padding-top: clamp(1rem, 3vw, 2.5rem); }
.section h2, .agents h2, .perimeter h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 900; letter-spacing: -.035em; max-width: 20ch; }
.intro { margin-top: 1.25rem; font-size: 1.15rem; color: var(--text-2); max-width: 32rem; }



.panel { font-size: .9rem; }
.panel__head { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); }
.panel__head p { font-weight: 800; }
.panel figcaption { padding: .75rem 1.25rem; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); background: #fafafa; }
.conn { margin: 0; padding: .5rem 1.25rem; }
.conn div { padding: .7rem 0; }
.conn div + div { border-top: 1px solid #f0f0f0; }
.conn dt { font-weight: 700; }
.conn dd { margin: .15rem 0 0; font-family: var(--mono); font-size: .78rem; color: #888; }

.inventory table { width: 100%; border-collapse: collapse; }
.inventory th { text-align: left; font-size: .78rem; font-weight: 600; color: var(--muted); background: #fafafa; padding: .6rem 1.25rem; border-bottom: 1px solid var(--line); }
.inventory td { padding: .7rem 1.25rem; border-bottom: 1px solid #f0f0f0; }
.inventory td:first-child { color: var(--coral-text); font-weight: 600; }
.inventory td:last-child { color: var(--muted); white-space: nowrap; }
.inventory tr:last-child td { border-bottom: 0; }
@media (max-width: 36rem) { .inventory th:last-child, .inventory td:last-child { display: none; } }


.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 56rem) { .split { grid-template-columns: 1fr; } }

.gets { margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; }
.gets dt { font-weight: 800; font-size: 1.1rem; }
.gets dd { margin: .2rem 0 0; color: var(--text-2); font-size: 1.0625rem; line-height: 1.6; }
@media (max-width: 36rem) { .gets { grid-template-columns: 1fr; } }

.features { list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.features li { padding-left: 1rem; border-left: 3px solid var(--indigo); }
.features h3 { font-size: 1.25rem; font-weight: 800; }
.features p { margin-top: .4rem; color: var(--text-2); font-size: 1.0625rem; line-height: 1.6; }
@media (max-width: 64rem) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 36rem) { .features { grid-template-columns: 1fr; } }

/* Zig-zag: window on the left */
.split--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split--flip > .plate { order: -1; }
@media (max-width: 56rem) {
  .split--flip { grid-template-columns: 1fr; }
  .split--flip > .plate { order: 0; }
}

/* Agents */
.agents { padding: clamp(2.5rem, 6vw, 4.5rem); }
.agents__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.agents__grid > div > p { margin-top: 1.25rem; color: rgba(255,255,255,.78); max-width: 34rem; }
.setup { margin: 1.5rem 0 0; padding-left: 1.25rem; color: rgba(255,255,255,.78); }
.setup li + li { margin-top: .5rem; }
.setup strong { color: var(--white); }
.chat { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-win); padding: 1.5rem; }
.chat > * + * { margin-top: 1rem; }
.chat__you { background: #2a2a2a; border-radius: 12px 12px 4px 12px; padding: .8rem 1rem; margin-left: 12%; }
.chat__agent { color: rgba(255,255,255,.9); }
.chat__calls { list-style: none; padding: 0 0 0 1rem; margin-bottom: 0; border-left: 2px solid var(--coral); }
.chat__calls li { padding: .15rem 0; font-size: .95rem; }
.chat__calls li { color: var(--coral); }
.chat__calls span { color: rgba(255,255,255,.55); margin-left: .5rem; }
@media (max-width: 56rem) { .agents__grid { grid-template-columns: 1fr; } }

/* Contact and footer */
.contact h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 16ch; }
.contact > p:not(.actions) { margin-top: 1.25rem; max-width: 36rem; font-size: 1.15rem; color: var(--text-2); }
.foot { border-top: 1px solid #ddd; padding-block: 2rem; }
.foot__inner { display: flex; align-items: center; gap: 1.25rem; color: var(--muted); font-size: .95rem; }

/* Ideas taken from the Inspiration drafts */

/* Dotted workspace plate behind product windows */
.plate {
  padding: clamp(1rem, 3vw, 2rem); border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(circle, #d2d2d2 1px, transparent 1.2px) 0 0 / 16px 16px, #fbfbfb;
}


/* FAQ */
.faq__list { margin-top: 2.5rem; max-width: 52rem; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid #dcdcdc; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-size: 1.15rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--coral-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.25rem; max-width: 44rem; color: var(--text-2); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Second pass: carry the lane through the page */

/* The journey rail: a dashed lane down the left margin that fills as you scroll.
   Geometry: rail sits 2.5rem left of the wrap, so stops sit 5rem left of a heading. */
.journey { position: relative; }
.journey::before, .journey::after, .journey__end { display: none; }
@media (min-width: 84rem) {
  /* a hairline rail; each section branches off it with a short fading line instead of a dot */
  .journey::before, .journey::after {
    content: ""; display: block; position: absolute; top: 4rem; bottom: 1.5rem; width: 2px;
    left: calc((100% - var(--wrap)) / 2 - 2.5rem);
  }
  .journey::before { background: rgba(16,16,16,.1); }
  .journey::after { background: linear-gradient(180deg, var(--coral), var(--indigo)); transform-origin: top; }
  .journey__end {
    display: block; position: absolute; bottom: 1.5rem; width: 1rem; height: 2px; background: var(--indigo);
    left: calc((100% - var(--wrap)) / 2 - 2.5rem - .5rem + 1px);
  }
  .stop { position: relative; }
  .stop::before {
    content: ""; position: absolute; top: .55em; left: -5rem; width: 3.75rem; height: 2px;
    background: linear-gradient(90deg, var(--coral), rgba(250,102,84,0));
  }
  @supports (animation-timeline: view()) {
    .journey { view-timeline: --journey block; }
    .journey::after { animation: drive-down linear both; animation-timeline: --journey; animation-range: entry 60% exit 40%; }
  }
}
@media (prefers-reduced-motion: reduce) { .journey::after { animation: none; } }


.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--white); color: var(--ink); }


/* Rubber-duck pass: calmer textures, roomier reading */


/* plates: a quiet tinted frame instead of dots */
.plate { background: #ebebeb; border: 0; }

/* FAQ in two columns */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__list { margin-top: 0; max-width: none; }
.faq summary { padding: 1.4rem 0; font-size: 1.2rem; }
.faq details p { font-size: 1.0625rem; }
@media (max-width: 56rem) { .faq { grid-template-columns: 1fr; } }

/* Spec builder add-on */
.spec { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.spec__points { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.spec__points li { padding-left: 1rem; border-left: 3px solid #6f58e0; color: var(--text-2); font-size: 1.0625rem; }
.spec__points strong { display: block; color: var(--ink); }
.sb { background: #141414; border: 1px solid #262626; }
.sb__top { display: flex; align-items: center; gap: 1.1rem; padding: .7rem 1rem; border-bottom: 1px solid #262626; font-size: .82rem; color: rgba(255,255,255,.65); overflow: hidden; white-space: nowrap; }
.sb__app { color: var(--white); font-weight: 800; margin-right: .5rem; }
.sb__top .is-active { color: var(--white); box-shadow: 0 2px 0 #6f58e0; padding-bottom: .15rem; }
.sb-canvas { display: block; width: 100%; height: auto; font-family: var(--sans); }
.sb-title { fill: #fff; font-size: 14px; font-weight: 700; }
.sb-field { fill: #ddd; font-size: 12px; }
.sb-type { fill: #888; font-size: 11px; }
.sb-badge { font-size: 9.5px; font-weight: 700; }
.sb-link { fill: none; stroke: #4a4a50; stroke-width: 1.4; }
.sb-link--choice { stroke: #7a5cff; stroke-dasharray: 4 3; }
@media (max-width: 56rem) { .spec { grid-template-columns: 1fr; } }

/* Inspiration pass: dark sky with two light lanes in the brand colours */
.sky {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(55% 60% at 8% 100%, rgba(60,75,166,.5), transparent 70%),
    radial-gradient(45% 55% at 96% 6%, rgba(250,102,84,.16), transparent 70%);
}
.sky::before, .sky::after {
  content: ""; position: absolute; left: -15%; width: 130%; height: 12px; border-radius: 99px;
  transform: rotate(-21deg); animation: streak 1.6s cubic-bezier(.3,0,.2,1) .15s both;
}
.sky::before {
  top: 50%; background: linear-gradient(90deg, transparent 5%, rgba(250,102,84,.9) 45%, rgba(255,196,186,.6) 85%, transparent);
  box-shadow: 0 0 40px 10px rgba(250,102,84,.25);
}
.sky::after {
  top: 59%; animation-delay: .35s;
  background: linear-gradient(90deg, transparent 5%, rgba(138,150,230,.95) 45%, rgba(222,226,255,.55) 85%, transparent);
  box-shadow: 0 0 40px 10px rgba(60,75,166,.45);
}
@keyframes streak { from { transform: rotate(-21deg) scaleX(0); } }

/* Hero: centred headline in the sky, the portal rising into the page */
.hero {
  --tail: clamp(8rem, 16vw, 13rem);
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(var(--ink) calc(100% - var(--tail)), var(--paper) 0);
}
.hero .sky { bottom: var(--tail); }
.hero__copy { position: relative; text-align: center; padding-top: clamp(4.5rem, 11vw, 9rem); }
.hero h1 { font-size: clamp(3.6rem, 12.5vw, 11rem); font-weight: 900; letter-spacing: -.055em; line-height: .9; }
.lead { margin: clamp(1.5rem, 3vw, 2.25rem) auto 0; max-width: 38rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.85); text-shadow: 0 1px 16px rgba(16,16,16,.9); }
.hero .actions { justify-content: center; }
.hero .portal { position: relative; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.btn--ghost-light { font-size: 1.1875rem; padding-block: .75rem; color: var(--white); background: rgba(16,16,16,.4); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--ghost-light:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.hero :focus-visible, .stage :focus-visible, .closing :focus-visible { outline-color: var(--white); }

/* Why now: the case on the left, sourced numbers on the right */
.whynow h2 { max-width: 22ch; }
.whynow__grid { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.whynow__case { background: var(--white); border-radius: var(--r-win); box-shadow: var(--lift); padding: clamp(1.75rem, 4vw, 3rem); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.45; }
.whynow__case p + p { margin-top: 1.25rem; }
.whynow__case strong { font-weight: 800; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.stats li { display: grid; gap: .6rem; background: var(--ink); color: var(--white); border-radius: var(--r-win); padding: 1.6rem clamp(1.25rem, 3vw, 2rem); }
.stats b { font-size: clamp(2.8rem, 5vw, 4.25rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--coral); }
.stats p { color: rgba(255,255,255,.88); }
.stats a { font-family: var(--mono); font-size: .8rem; color: rgba(255,255,255,.6); }
@media (max-width: 56rem) { .whynow__grid { grid-template-columns: 1fr; } }

/* Perimeter: what stays inside your company */
.perimeter { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(1.5rem, 5vw, 4rem); }
.perimeter h2 { max-width: 14ch; }
.perimeter__text > p { margin-top: 1.25rem; font-size: 1.15rem; color: rgba(255,255,255,.78); max-width: 34rem; }
.checks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 2.2rem; font-size: 1.0625rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .1em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: rgba(250,102,84,.2); }
.checks li::after { content: ""; position: absolute; left: .5rem; top: calc(.1em + .28rem); width: .38rem; height: .66rem; border: solid var(--coral); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.fence { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 20px; padding: clamp(1rem, 2.5vw, 1.75rem); }
.fence__zone { border: 1.5px solid var(--coral); border-radius: var(--r-win); padding: clamp(.9rem, 2.5vw, 1.4rem); }
.fence__label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; margin-bottom: 1rem; font-family: var(--mono); font-size: .8rem; color: var(--coral); }
.fence__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.fence__tiles li { background: #262626; border-radius: var(--r-ctl); padding: .9rem 1rem; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.fence__tiles .is-key { background: #282c52; color: #e2e5ff; }
.fence__gate { margin-top: .9rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .25rem 1rem; background: var(--white); color: var(--ink); border-radius: var(--r-ctl); padding: .9rem 1.1rem; }
.fence__gate b { font-weight: 800; }
.fence__gate span { font-family: var(--mono); font-size: .8rem; color: var(--text-2); }
.fence__note { margin: .5rem 0 .5rem 1.5rem; padding-left: .9rem; border-left: 2px dashed #555; color: rgba(255,255,255,.65); font-size: .9rem; line-height: 2.2; }
.fence__out { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; border: 1.5px dashed #4a4a4a; border-radius: var(--r-win); padding: .8rem 1rem; color: rgba(255,255,255,.78); }
.fence__pill { font-size: .85rem; background: #2a2a2a; border-radius: 999px; padding: .25rem .8rem; }
@media (max-width: 64rem) { .perimeter { grid-template-columns: 1fr; } }
@media (max-width: 30rem) { .fence__tiles { grid-template-columns: 1fr 1fr; } }

/* Closing: the same sky, standing still */
.closing { position: relative; overflow: hidden; background: var(--ink); color: var(--white); text-align: center; padding-block: clamp(5rem, 12vw, 9rem); margin-top: clamp(3rem, 6vw, 5rem); }
.closing .sky::before, .closing .sky::after { animation: none; }
.closing__copy { position: relative; }
.closing h2 { font-size: clamp(2.8rem, 7.5vw, 6.5rem); font-weight: 900; letter-spacing: -.05em; line-height: .95; }
.closing p:not(.actions) { margin: 1.5rem auto 0; max-width: 36rem; font-size: 1.15rem; color: rgba(255,255,255,.85); text-shadow: 0 1px 16px rgba(16,16,16,.9); }
.closing .actions { justify-content: center; }
.foot { border-top: 0; }

@media (prefers-reduced-motion: reduce) { .sky::before, .sky::after { animation: none; } }

/* Without / with: a quiet grey list, overlapped by the dark Fast Lane panel */
.versus { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.versus h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 1.4rem; }
.versus__old { background: #e9e9e9; border-radius: var(--r-win) 0 0 var(--r-win); padding: clamp(1.75rem, 4vw, 2.75rem); padding-right: clamp(3rem, 6vw, 4.5rem); color: #5c5c5c; }
.versus__old h3 { color: var(--text-2); }
.versus__old ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.versus__old li { position: relative; padding-left: 2.2rem; font-size: 1.0625rem; }
.versus__old li::before, .versus__old li::after { content: ""; position: absolute; left: .3rem; top: .72em; width: .85rem; height: 2px; background: #9a9a9a; transform: rotate(45deg); }
.versus__old li::after { transform: rotate(-45deg); }
.versus__new { position: relative; margin-left: clamp(-2rem, -2.5vw, -1rem); background: var(--ink); color: var(--white); border-radius: var(--r-stage); padding: clamp(2rem, 4.5vw, 3.25rem); box-shadow: var(--lift); }
.versus__new h3 { color: var(--coral); }
.versus__new .checks { margin: 0; gap: 1.15rem; }
.versus__new .checks li { font-size: 1.125rem; font-weight: 600; }
@media (max-width: 56rem) {
  .versus { grid-template-columns: 1fr; }
  .versus__old { border-radius: var(--r-win) var(--r-win) 0 0; padding-right: clamp(1.75rem, 4vw, 2.75rem); padding-bottom: 3.5rem; }
  .versus__new { margin: -1.5rem 0 0; }
}
.versus li { text-wrap: pretty; }
.versus__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.versus__list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: center; font-size: 1.125rem; font-weight: 600; }
.ico { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 10px; background: rgba(250,102,84,.16); fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }


/* Scroll motion across the page; the comparison section is deliberately left still.
   Only where scroll-driven animation is supported and motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Header rule fills coral to indigo as you read down the page */
    .bar { border-image: none; border-bottom-color: #2a2a2a; }
    .bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--progress); transform-origin: left; animation: grow linear both; animation-timeline: scroll(root); }
    @keyframes grow { from { transform: scaleX(0); } }

    /* Hero: the light lanes drift slower than the page, the headline lifts away */
    .hero .sky { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes drift { to { translate: 0 22%; } }
    .hero__copy { animation: liftaway linear both; animation-timeline: scroll(root); animation-range: 0 75vh; }
    @keyframes liftaway { to { translate: 0 -8vh; opacity: .15; } }

    /* Headings and product pictures rise into place as they arrive */
    .section h2, .perimeter h2, .agents h2,
    .plate, .whynow__case, .stats li, .fence, .chat, .sb,
    .gets > div, .features li, .spec__points li, .checks li, .faq details {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
    @keyframes rise { from { opacity: 0; translate: 0 2.5rem; } }

    /* Perimeter: tiles pop into the fence one column after another */
    .fence__tiles li, .fence__gate { animation: pop linear both; animation-timeline: view(); animation-range: entry 10% entry 80%; }
    .fence__tiles li:nth-child(3n+2) { animation-range: entry 20% entry 90%; }
    .fence__tiles li:nth-child(3n) { animation-range: entry 30% entry 100%; }
    @keyframes pop { from { opacity: 0; scale: .85; } }

    /* Closing: the lanes slide across and the headline grows to full size */
    .closing .sky { animation: sweep linear both; animation-timeline: view(); }
    @keyframes sweep { from { translate: -12% 18%; } to { translate: 12% -18%; } }
    .closing h2 { animation: arrive-big linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes arrive-big { from { scale: .82; opacity: .2; } }
  }
}

