/* Ladder: site styles. Mobile first. Motion hooks live at the end. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/archivo-latin-wght.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0b1320;
  --navy-2: #131e30;
  --navy-3: #1c2a42;
  --ink: #0f172a;
  --body: #334155;
  --muted: #536074;
  --on-dark: #ffffff;
  --on-dark-muted: #b3bed0;
  --accent: #ff7a1a;        /* safety orange: fills and text on dark only */
  --accent-hover: #ff8f3d;
  --accent-text: #a54300;   /* orange for text on white, passes AA */
  --paper: #ffffff;
  --paper-2: #f3f5f8;
  --line: #e2e7ee;
  --line-dark: #25344d;
  --radius: 16px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --gutter: 20px;
  --header-h: 64px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --sticky-h: 0px;
}

/* Room the floating dock takes at the bottom of the screen */
:root, .js.sticky-on { --sticky-h: 96px; }
.js:not(.sticky-on) { --sticky-h: 0px; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }

/* Clip sideways overflow from off-screen animation start positions (clip keeps position: sticky working) */
main, .site-footer { overflow-x: clip; }

h1, h2, h3 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  font-weight: 850;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 10.5vw, 5.6rem); font-weight: 900; letter-spacing: -0.04em; line-height: 0.98; }
h2 { font-size: clamp(2.1rem, 7.4vw, 4rem); font-weight: 900; letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; font-weight: 800; }

p { margin: 0 0 1em; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { position: relative; padding: 72px 0; }
.section--soft { background: var(--paper-2); }
.section--dark { background: var(--navy); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 2px;
  background: currentColor;
}
.section--dark .eyebrow, .hero .eyebrow, .offer .eyebrow { color: var(--accent); }

.lede { font-size: 1.1875rem; color: var(--body); max-width: 40rem; }
.section--dark .lede { color: var(--on-dark-muted); }

.section-head { margin-bottom: 40px; max-width: 50rem; }
.accent { color: var(--accent); }
.accent-ink { color: var(--accent-text); }

/* Buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .3s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn .num { white-space: nowrap; }

.btn--primary {
  background: var(--accent);
  color: var(--navy);
  box-shadow: 0 10px 30px -10px rgba(255,122,26,.65);
}
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 16px 40px -10px rgba(255,122,26,.8); }

/* Light sweep across primary buttons */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sweep 4.5s var(--ease-out) 2s infinite;
}
@keyframes sweep { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }

.btn--ghost { background: rgba(255,255,255,.04); color: var(--on-dark); border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { border-color: var(--on-dark); background: rgba(255,255,255,.08); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

.btn--dark { background: var(--navy); color: var(--on-dark); }
.btn--dark:hover { background: var(--navy-3); }

.btn--xl { min-height: 64px; font-size: 1.1875rem; padding: 16px 26px; }
.btn--block { width: 100%; }

/* Pulsing "live" dot inside call buttons */
.live {
  position: relative;
  width: 36px; height: 36px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--accent);
}
.live svg { width: 18px; height: 18px; }
.live::before, .live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--navy);
  opacity: 0;
  animation: ring 2.2s ease-out infinite;
}
.live::after { animation-delay: 1.1s; }
.btn--dark .live { background: var(--accent); color: var(--navy); }
.btn--dark .live::before, .btn--dark .live::after { border-color: var(--accent); }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }

.btn-label { display: flex; flex-direction: column; align-items: flex-start; text-align: left; line-height: 1.15; }
.btn-label small { font-size: 0.8125rem; font-weight: 700; opacity: .8; letter-spacing: .01em; }

/* Scroll progress */

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 70;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* Header */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: rgba(11, 19, 32, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}
.brand-mark { width: 36px; height: 36px; }
.brand-mark .wave { transform-box: fill-box; transform-origin: 0% 50%; }
.brand:hover .brand-mark .wave { animation: wave 1s ease-in-out 2; }
.brand:hover .brand-mark .wave--2 { animation-delay: .12s; }
@keyframes wave { 50% { opacity: .2; } }

.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav a {
  position: relative;
  color: var(--on-dark-muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.96875rem;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .35s var(--ease-out);
}
.nav a:hover { color: var(--on-dark); }
.nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta {
  font-size: 0.9375rem;
  min-height: 44px;
  padding: 8px 16px;
}
.header-call { display: none; }

/* Hero */

.hero {
  position: relative;
  background:
    radial-gradient(700px 520px at 88% 8%, rgba(255,122,26,.22), transparent 62%),
    radial-gradient(600px 500px at -10% 110%, rgba(56,97,160,.25), transparent 60%),
    var(--navy);
  color: var(--on-dark-muted);
  padding: 26px 0 0;
  overflow: hidden;
  isolation: isolate;
}

/* A giant ladder leaning in the background, climbing slowly */
.hero-ladder {
  position: absolute;
  z-index: -1;
  top: -20%;
  right: -14%;
  width: 420px;
  height: 150%;
  transform: rotate(14deg);
  opacity: .045;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
}
.hero-ladder::before, .hero-ladder::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 18px;
  background: #fff;
  border-radius: 9px;
}
.hero-ladder::before { left: 0; }
.hero-ladder::after { right: 0; }
.hero-ladder span {
  position: absolute;
  inset: 0 18px;
  background: repeating-linear-gradient(180deg, transparent 0 96px, #fff 96px 112px);
  animation: climb 6s linear infinite;
}
@keyframes climb { to { background-position: 0 -112px; } }

.hero h1 { color: var(--on-dark); margin-bottom: 18px; }
.hero .lede { color: #d0d8e4; margin-bottom: 26px; font-size: 1.1875rem; max-width: 34rem; }

.hero-actions { display: grid; gap: 12px; }
.hero-ticks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #d0d8e4;
}
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-ticks svg { width: 18px; height: 18px; color: var(--accent); }

.hero-grid { display: grid; gap: 48px; align-items: center; padding-bottom: 56px; }

/* Hero scene: an example call, played out */

.scene {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 380px;
}
.scene-glow {
  position: absolute;
  inset: 10% -10% -5%;
  background: radial-gradient(closest-side, rgba(255,122,26,.35), transparent);
  filter: blur(30px);
  z-index: -1;
}
.phone {
  position: relative;
  background: linear-gradient(180deg, #16223a, #111b2d);
  border: 1px solid #2c3d5a;
  border-radius: 36px;
  padding: 16px 14px 18px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 14px;
  border-bottom: 1px solid var(--line-dark);
}
.avatar {
  position: relative;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
}
.avatar svg { width: 40px; height: 40px; border-radius: 50%; }
.avatar::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
}
.scene.is-ringing .avatar::after { animation: ring 1.2s ease-out infinite; }
.phone-top strong { color: var(--on-dark); display: block; font-size: 1rem; line-height: 1.2; }
.phone-top .status { color: var(--on-dark-muted); font-size: 0.8125rem; display: flex; align-items: center; gap: 6px; }
.phone-top .status i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #33d17a;
  box-shadow: 0 0 0 3px rgba(51,209,122,.2);
}
.wavebars {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}
.wavebars b {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleY(.2);
}
.scene.is-talking .wavebars b { animation: bar .9s ease-in-out infinite; }
.wavebars b:nth-child(2) { animation-delay: -.2s !important; }
.wavebars b:nth-child(3) { animation-delay: -.45s !important; }
.wavebars b:nth-child(4) { animation-delay: -.1s !important; }
.wavebars b:nth-child(5) { animation-delay: -.6s !important; }
@keyframes bar { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

.screen {
  position: relative;
  height: 340px;
  overflow: hidden;
  margin-top: 12px;
}
.chat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 6px 2px;
}
.bubble {
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 18px;
  font-size: 0.90625rem;
  line-height: 1.38;
}
.bubble--them { align-self: flex-start; background: var(--navy-3); color: #e6ebf2; border-bottom-left-radius: 6px; }
.bubble--ai { align-self: flex-end; background: var(--accent); color: var(--navy); font-weight: 600; border-bottom-right-radius: 6px; }

.summary {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2px;
}
.sms {
  background: #22324d;
  color: #e6ebf2;
  border-radius: 18px 18px 18px 6px;
  padding: 14px 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
  border: 1px solid #2f4263;
}
.sms-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sms-head span { font-size: 0.75rem; color: var(--on-dark-muted); }
.sms b { color: var(--on-dark); }
.sms dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; }
.sms dt { color: var(--on-dark-muted); }
.sms dd { margin: 0; color: var(--on-dark); font-weight: 650; }
.booked {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  background: var(--accent);
  color: var(--navy);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 800;
}
.booked svg { width: 16px; height: 16px; }
.scene-caption {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
  margin: 16px 0 0;
}

.incoming {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  color: var(--on-dark-muted);
}
.incoming-icon {
  position: relative;
  width: 76px; height: 76px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--navy);
}
.incoming-icon svg { width: 34px; height: 34px; }
.incoming-icon::before, .incoming-icon::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ring 1.4s ease-out infinite;
}
.incoming-icon::after { animation-delay: .7s; }
.incoming strong { color: var(--on-dark); font-size: 1.375rem; font-weight: 850; letter-spacing: -0.02em; }
.incoming em { font-style: normal; font-size: 0.8125rem; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); }

/* No-JS / reduced motion: show the finished summary, hide the chat */
.chat { display: none; }
.motion .chat { display: flex; }
.motion .incoming { display: flex; }

/* Trades marquee */

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-group { display: flex; flex: none; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  color: #d0d8e4;
}
.marquee-item svg { width: 14px; height: 14px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.motion .marquee-track { animation: none; }

/* Problem */

.statement {
  font-size: clamp(1.9rem, 6.6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 48px;
  max-width: 60rem;
  text-wrap: balance;
}
.statement .accent-ink { color: var(--accent-text); }
.statement--small { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 28px 0 0; }

.problem-grid { display: grid; gap: 36px; }
.missed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 380px;
}
.missed li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -18px rgba(15,23,42,.5);
  font-size: 0.9375rem;
}
.missed .dot {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: #fdecea; color: #b42318;
  flex: none;
}
.missed .dot svg { width: 18px; height: 18px; }
.missed strong { color: var(--ink); display: block; line-height: 1.2; }
.missed span { color: var(--muted); font-size: 0.8125rem; }
.missed .gone {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 800;
  color: #b42318;
  background: #fdecea;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.point {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.point h3 { margin-bottom: 6px; }
.point p { margin: 0; }

.icon-tile {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--accent);
}
.icon-tile svg { width: 26px; height: 26px; }

/* How it works */

.how-grid { display: grid; gap: 24px; }
.steps { position: relative; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps-rail {
  position: absolute;
  left: 23px; top: 24px; bottom: 24px;
  width: 4px;
  border-radius: 2px;
  background: var(--line-dark);
  overflow: hidden;
}
.steps-rail i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: 50% 0;
  transform: scaleY(1);
}
.motion .steps-rail i { transform: scaleY(0); }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
}
.step-num {
  position: relative;
  z-index: 1;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-weight: 900;
  font-size: 1.25rem;
  border: 4px solid var(--navy);
  transition: background-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.motion .step:not(.is-on) .step-num { background: var(--navy-3); color: var(--on-dark-muted); }
.step.is-on .step-num { box-shadow: 0 0 0 6px rgba(255,122,26,.18); }
.step-body {
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  transition: border-color .4s ease, transform .5s var(--ease-out);
}
.step.is-on .step-body { border-color: rgba(255,122,26,.5); }
.step-body h3 { font-size: 1.375rem; margin-bottom: 8px; }
.step-body p { margin: 0; color: var(--on-dark-muted); }
.step-art {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-dark);
  font-size: 0.875rem;
  font-weight: 700;
  color: #d0d8e4;
}
.step-art svg { width: 18px; height: 18px; color: var(--accent); }

/* Features */

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature {
  --mx: 50%; --my: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s ease;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255,122,26,.12), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(15,23,42,.35); border-color: #cfd7e2; }
.feature:hover::before { opacity: 1; }
.feature:hover .icon-tile svg { animation: nudge .6s var(--ease-out); }
@keyframes nudge { 30% { transform: rotate(-12deg) scale(1.1); } 60% { transform: rotate(8deg); } }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; }

/* Demo band */

.demo {
  position: relative;
  background: var(--accent);
  color: var(--navy);
  padding: 0 0 64px;
  overflow: hidden;
}
.demo h2 { color: var(--navy); }
.demo .eyebrow { color: var(--navy); }
.demo p { color: var(--navy); font-size: 1.1875rem; max-width: 34rem; }
.demo .small { font-size: 0.9375rem; margin: 14px 0 0; font-weight: 700; }
.demo-inner { display: grid; gap: 24px; align-items: center; }
.demo-marquee {
  overflow: hidden;
  padding: 26px 0 30px;
  margin-bottom: 36px;
  border-bottom: 2px solid rgba(11,19,32,.12);
}
.demo-marquee .marquee-track { animation-duration: 28s; }
.demo-marquee .marquee-item {
  font-size: clamp(2.6rem, 11vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--navy);
  gap: 36px;
  padding-right: 36px;
}
.demo-marquee .marquee-item:nth-child(even) { color: var(--navy); -webkit-text-stroke: 0; }
.demo-marquee .marquee-item svg { width: .5em; height: .5em; color: var(--navy); }

.eq {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 56px;
  margin-bottom: 16px;
}
.eq b {
  width: 6px;
  height: 100%;
  border-radius: 3px;
  background: var(--navy);
  transform: scaleY(.3);
  animation: bar 1.1s ease-in-out infinite;
}
.eq b:nth-child(3n) { animation-delay: -.3s; animation-duration: .9s; }
.eq b:nth-child(3n+1) { animation-delay: -.6s; animation-duration: 1.3s; }
.eq b:nth-child(4n) { animation-delay: -.15s; }

/* Pricing */

.plans { display: grid; gap: 22px; isolation: isolate; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(15,23,42,.4); }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan-for { color: var(--muted); margin: 0 0 18px; font-size: 0.96875rem; min-height: 3em; }
.price { margin: 0 0 22px; color: var(--ink); line-height: 1; }
.price .from { display: block; font-size: 0.875rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; min-height: 1.1em; }
.price .amount { font-size: 3.25rem; font-weight: 900; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price .per { font-size: 1rem; font-weight: 650; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; line-height: 1.45; }
.plan li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--accent-text); }
.plan .btn { margin-top: auto; }

/* Popular plan: an orange edge that sweeps round the card */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan--popular {
  color: var(--on-dark-muted);
  border: 2px solid transparent;
  background:
    linear-gradient(var(--navy), var(--navy)) padding-box,
    conic-gradient(from var(--angle), var(--accent), #ffd0a8 8%, var(--navy-3) 30%, var(--navy-3) 60%, var(--accent)) border-box;
  box-shadow: 0 30px 60px -30px rgba(11,19,32,.8);
  animation: spin 5s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }
.plan--popular h3, .plan--popular .price { color: var(--on-dark); }
.plan--popular .plan-for, .plan--popular .price .from, .plan--popular .price .per { color: var(--on-dark-muted); }
.plan--popular li svg { color: var(--accent); }
.plan--popular li { color: #dbe2ec; }
.badge {
  position: absolute;
  top: -14px; left: 24px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 900;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(255,122,26,.8);
}

.terms {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.terms li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 750;
  color: var(--ink);
}
.terms svg { width: 24px; height: 24px; flex: none; color: var(--accent-text); }
.terms-note { margin: 16px 0 0; font-size: 0.9375rem; color: var(--muted); }

/* Founding offer */

.offer {
  position: relative;
  display: grid;
  gap: 32px;
  align-items: center;
  border-radius: 24px;
  background:
    radial-gradient(500px 360px at 100% 0%, rgba(255,122,26,.2), transparent 60%),
    var(--navy);
  color: var(--on-dark-muted);
  padding: 36px 24px;
  overflow: hidden;
}
.offer h2 { color: var(--on-dark); }
.offer p { max-width: 34rem; }
.offer .btn { margin-top: 8px; }
.offer strong { color: var(--on-dark); }

.places { display: flex; justify-content: center; }
.places svg { width: 100%; max-width: 260px; height: auto; overflow: visible; }
.places .rail { stroke: #3a4c6b; }
.places .rung { stroke: var(--accent); }
.places .num { fill: var(--navy); font: 900 15px var(--font); }
.places .label { fill: var(--on-dark-muted); font: 700 12px var(--font); letter-spacing: .12em; }

.cases { margin-top: 48px; }
.cases h3 { margin-bottom: 10px; font-size: 1.5rem; }
.case-grid { display: grid; gap: 14px; margin-top: 18px; }
.case-placeholder {
  border: 2px dashed #b6c0cd;
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper);
  min-height: 130px;
}
.case-placeholder .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #eef1f5;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.case-placeholder p { margin: 0; color: var(--muted); }

/* FAQ */

.faq-grid { display: grid; gap: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-weight: 800;
  font-size: 1.1875rem;
  color: var(--ink);
  line-height: 1.3;
  transition: color .2s ease;
}
.faq summary:hover { color: var(--accent-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus {
  width: 36px; height: 36px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper-2);
  color: var(--ink);
  transition: transform .4s var(--ease-out), background-color .3s ease, color .3s ease;
}
.faq .plus svg { width: 18px; height: 18px; }
.faq details.is-closing .plus { transform: none; background: var(--paper-2); color: var(--ink); }
.faq details[open]:not(.is-closing) .plus { transform: rotate(135deg); background: var(--accent); color: var(--navy); }
.faq .answer { padding: 0 0 22px; max-width: 42rem; overflow: hidden; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Final CTA + form */

.final {
  --gx: 30%; --gy: 20%;
  overflow: hidden;
  isolation: isolate;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(600px circle at var(--gx) var(--gy), rgba(255,122,26,.18), transparent 60%);
}
.final-grid { display: grid; gap: 44px; }
.final-call h2 { font-size: clamp(2.4rem, 9vw, 4.6rem); }
.final-call p { max-width: 30rem; }
.final-call .btn { margin-top: 8px; }

.card {
  background: var(--paper);
  color: var(--body);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.card h3, .section--dark .card h3 { font-size: 1.625rem; margin-bottom: 6px; color: var(--ink); letter-spacing: -0.02em; }
.card > p { margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 0.96875rem;
}
.field input, .field select {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1.0625rem; /* 17px stops iOS zooming on focus */
  color: var(--ink);
  background: var(--paper);
  border: 2px solid #c3ccd8;
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 44px;
}
.field input:hover, .field select:hover { border-color: #97a3b4; }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255,122,26,.45);
}
.field input:user-invalid, .field select:user-invalid { border-color: #b42318; }
.form-legal { font-size: 0.875rem; color: var(--muted); margin: 14px 0 0; }
.form-legal a { color: var(--ink); }
.form-status { margin: 14px 0 0; font-weight: 650; border-radius: var(--radius-sm); }
.form-status:not(:empty) { padding: 12px 14px; }
.form-status.is-ok { background: #e7f6ec; color: #14532d; }
.form-status.is-error { background: #fdecea; color: #8a1c12; }

/* Footer */

.site-footer {
  position: relative;
  background: #070c15;
  color: var(--on-dark-muted);
  padding: 52px 0 36px;
  font-size: 0.9375rem;
  overflow: hidden;
}
.footer-grid { display: grid; gap: 26px; }
.site-footer .brand { margin-bottom: 10px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--on-dark); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.placeholder {
  background: rgba(255,122,26,.14);
  color: #ffc49b;
  border-radius: 4px;
  padding: 0 4px;
}
.footer-word {
  margin: 40px 0 0;
  font-size: clamp(5rem, 27vw, 20rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: .8;
  color: transparent;
  background: linear-gradient(180deg, #1d2b46, #070c15 92%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  white-space: nowrap;
}

/* Floating dock: section tabs with a "meniscus" bead, plus the demo call button.
   The bar outline is an SVG path redrawn in main.js so it dips around the bead. */

.dock {
  position: fixed;
  z-index: 50;
  left: 0; right: 0;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  margin-inline: auto;
  width: min(100% - 20px, 600px);
  display: flex;
  align-items: stretch;
  gap: 8px;
  transition: transform .6s var(--ease-out), opacity .4s ease;
}
.js:not(.sticky-on) .dock { transform: translateY(160%); opacity: 0; pointer-events: none; }

.dock-bar {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 64px;
  border-radius: 22px;
  background: #111b2d;
  border: 1px solid rgba(255,255,255,.14);
  touch-action: none;
}
.js .dock-bar { background: none; border: 0; }
.dock-shape {
  position: absolute;
  left: 0; top: -34px;
  width: 100%;
  height: calc(100% + 34px);
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.45));
}
.dock-shape path { fill: #111b2d; stroke: rgba(255,255,255,.16); stroke-width: 1; }

.dock-tabs {
  position: absolute;
  inset: 0;
  padding-inline: 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.dock-tab {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--on-dark-muted);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: 16px;
}
.dock-tab svg { width: 22px; height: 22px; transition: color .2s ease; }
.dock-tab:hover svg { color: var(--on-dark); }
.dock-tab:focus-visible { outline-offset: -4px; }
.dock-label {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translate(-50%, 4px);
  white-space: nowrap;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--accent);
  opacity: 0;
  transition: opacity .3s ease, transform .4s var(--ease-out);
  pointer-events: none;
}
.dock-tab.is-active .dock-label { opacity: 1; transform: translate(-50%, 0); }

.dock-bead {
  display: none;
  position: absolute;
  left: 0; top: -23px;
  width: 46px; height: 46px;
  border-radius: 50%;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffb27a, var(--accent) 55%, #f06400);
  color: var(--navy);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 8px 24px -4px rgba(255,122,26,.75), 0 0 40px rgba(255,122,26,.35);
  cursor: grab;
  touch-action: none;
  will-change: transform;
}
.js .dock-bead { display: grid; }
.dock-bead:active { cursor: grabbing; }
.dock-bead svg { width: 22px; height: 22px; }
.dock-bead.is-pop svg { animation: bead-pop .35s var(--ease-out); }
@keyframes bead-pop { from { transform: scale(.5) rotate(-20deg); opacity: .2; } }

.dock-call {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 16px 0 12px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 850;
  font-size: 0.9375rem;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.55);
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.dock-call:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(0,0,0,.6); }
.dock-call .live { width: 32px; height: 32px; }
@media (max-width: 400px) {
  .dock { gap: 6px; }
  .dock-call { gap: 8px; padding: 0 14px 0 10px; font-size: 0.875rem; }
  .dock-call .live { width: 30px; height: 30px; }
}
.dock-call-long { display: none; }

/* Cookie notice: slim so it never hides the hero demo button */

.cookie {
  position: fixed;
  left: 10px; right: 10px;
  bottom: calc(10px + var(--sticky-h));
  z-index: 60;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  color: var(--body);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 32px -12px rgba(11,19,32,.5);
  padding: 8px 8px 8px 14px;
  font-size: 0.875rem;
  line-height: 1.4;
  transition: bottom .45s var(--ease-out);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1; }
.cookie a { color: var(--ink); font-weight: 650; }
.cookie .btn { min-height: 44px; padding: 8px 16px; font-size: 0.9375rem; flex: none; }

/* Legal page */

.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal .placeholder { background: #fff1e6; color: var(--accent-text); }
.notice {
  border: 2px dashed #b6c0cd;
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--paper-2);
  margin: 0 0 28px;
}

/* Larger screens */

@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .hero-actions { grid-template-columns: auto auto; justify-content: start; }
  .dock-tab svg { width: 24px; height: 24px; }
  .dock-label { font-size: 0.75rem; }
  .features { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr 1fr; }
  .card { padding: 34px 32px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .cookie { left: 20px; right: auto; }
  .btn--xl { white-space: nowrap; }
}

@media (min-width: 900px) {
  :root { --header-h: 72px; }
  body { font-size: 1.125rem; }
  .section { padding: 120px 0; }
  .nav { display: block; }
  .header-call { display: inline-flex; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; padding-bottom: 88px; min-height: calc(88vh - var(--header-h)); }
  .hero-ladder { right: 2%; width: 520px; opacity: .07; }
  .scene { max-width: 400px; }
  .problem-grid { grid-template-columns: 1.6fr 1fr; align-items: start; gap: 56px; }
  .how-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
  .how-grid .section-head { position: sticky; top: calc(var(--header-h) + 48px); }
  .steps-list { gap: 28px; }
  .step-body { padding: 28px 28px 30px; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .feature { grid-template-columns: 1fr; padding: 30px 28px; }
  .demo { padding-bottom: 100px; }
  .demo-inner { grid-template-columns: 1.3fr auto; gap: 56px; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plan--popular { transform: translateY(-14px); }
  .plan--popular:hover { transform: translateY(-20px); }
  .terms { grid-template-columns: repeat(3, auto); justify-content: start; gap: 36px; }
  .offer { grid-template-columns: 1.4fr 1fr; padding: 64px; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .final-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .dock-bar { height: 68px; }
  .dock-call { height: 68px; padding-inline: 14px 20px; font-size: 1rem; }
  .dock-call-short { display: none; }
  .dock-call-long { display: inline; }
  .dock { width: min(100% - 40px, 720px); }
}

/* Small phones: keep the demo button above the fold */
@media (max-width: 380px), (max-height: 600px) and (max-width: 899.98px) {
  .hero { padding-top: 18px; }
  .hero .eyebrow { margin-bottom: 10px; font-size: 0.75rem; }
  .hero h1 { font-size: 2.35rem; margin-bottom: 12px; }
  .hero .lede { font-size: 1.0625rem; line-height: 1.5; margin-bottom: 18px; }
  .btn--xl { min-height: 60px; font-size: 1.0625rem; padding: 12px 20px; }
}

/* Room for the floating dock under the footer */
.site-footer { padding-bottom: 128px; }

/* Motion: hero pieces wait for the intro. A safety timer in the page head removes .motion if scripts fail. */
.motion [data-intro] { visibility: hidden; }
.motion .brand-mark .rail, .motion .brand-mark .rung, .motion .places .rung { stroke-dasharray: 1; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.motion .scene .summary { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
