/* ============================================================
   Yanthric AI Voice Agent — landing page (/voice-agent), v1
   Quiet, tidy system: one grid, one spacing scale, two grounds
   (night and paper, with mist for emphasis). The hero call
   replay is the one animated centrepiece.
   ============================================================ */

:root {
  --night: #0A0720;
  --night-2: #140E36;
  --night-line: rgba(210, 202, 255, 0.13);
  --paper: #FFFFFF;
  --mist: #F7F6FB;
  --line: #E8E5F0;
  --line-strong: #D9D4EA;
  --ink: #1A1A1A;
  --muted: #5B5968;
  --faint: #8D8B99;
  --on-night: #F3F2F8;
  --on-night-muted: #ABA9C0;

  --violet: #6E2DA5;
  --violet-b: #B073E8;
  --cyan: #56A5BE;
  --cyan-b: #86D2E8;
  --grad: linear-gradient(90deg, #56A5BE 0%, #4780BE 30%, #6E2DA5 62%, #2D4C8A 100%);
  --grad-b: linear-gradient(90deg, #86D2E8 0%, #7AAEEC 30%, #B073E8 65%, #7C93D6 100%);

  --sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bar-h: 68px;

  --s-sec: 128px;   /* section rhythm */
  --s-head: 56px;   /* heading block to content */
  --r-lg: 28px;     /* showcase, large panels */
  --r-md: 18px;     /* cards, inputs groups */
  --r-sm: 12px;     /* inputs */
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 20px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.sec { padding: var(--s-sec) 0; }

/* ---------- Type scale (1.25, set on 17px) ---------- */
h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 650; font-stretch: 108%;
  line-height: 1.08; letter-spacing: -0.022em;
  text-wrap: balance;
}
h3 { font-size: 19px; font-weight: 650; line-height: 1.3; letter-spacing: -0.005em; }
.lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 58ch; }
.sec-head { max-width: 760px; margin-bottom: var(--s-head); }
.sec-head h2 + .lede { margin-top: 18px; }

/* One label style: a quiet pill with a live dot. Used three times, never decoratively. */
.tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 11px; margin-bottom: 26px;
  border: 1px solid var(--night-line); border-radius: 100px;
  font-size: 13.5px; font-weight: 600; color: var(--on-night);
}
.tag .ic { width: 16px; height: 16px; color: var(--cyan-b); }
/* The hero label is the page's "this is for you" cue: a touch larger and brighter than other labels. */
.hero-tag {
  gap: 10px; padding: 8px 17px 8px 13px;
  font-size: 15px;
  border-color: rgba(210, 202, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
.hero-tag .ic { width: 19px; height: 19px; stroke-width: 1.7; }
.tag.light { border-color: var(--line-strong); color: var(--violet); background: var(--paper); }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-b);
  animation: live 2.6s ease-out infinite;
}
.tag.light .live-dot { background: var(--violet); animation-name: live-v; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(134, 210, 232, 0.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(134, 210, 232, 0); } }
@keyframes live-v { 0% { box-shadow: 0 0 0 0 rgba(110, 45, 165, 0.4); } 70%, 100% { box-shadow: 0 0 0 7px rgba(110, 45, 165, 0); } }

.text-link {
  font-weight: 600; color: var(--violet);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: rgba(110, 45, 165, 0.35);
  transition: text-decoration-color 0.2s ease, text-underline-offset 0.25s var(--ease);
}
.text-link:hover { text-decoration-color: currentColor; text-underline-offset: 6px; }

/* ============================== Header ============================== */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  background: rgba(10, 7, 32, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--night-line);
  color: var(--on-night);
}
.bar-in {
  height: 100%; max-width: 1264px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark { width: 28px; height: auto; filter: brightness(2.1) saturate(1.15) drop-shadow(0 0 6px rgba(134, 210, 232, 0.35)); }
.brand-name {
  font-family: 'Montserrat', var(--sans); font-size: 19px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  /* The logo's own hues, lifted so the wordmark reads clearly on the night bar. */
  background: linear-gradient(90deg, #8FE0F5 0%, #93B8F2 30%, #C79BF2 60%, #A0AEF0 85%, #7CCBF0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bar-nav { display: flex; gap: 2px; }
.bar-nav a {
  padding: 8px 14px; border-radius: 100px; text-decoration: none;
  font-size: 14.5px; font-weight: 500; color: var(--on-night-muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.bar-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.bar-actions { display: flex; align-items: center; gap: 20px; }
.bar-link { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--on-night); }
.bar-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.bar-call {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px; text-decoration: none;
  font-size: 14.5px; font-weight: 650;
}
.bar-call .ic { width: 16px; height: 16px; }

/* ============================== Buttons ==============================
   Phone buttons: white jelly; on hover only the phone disc glows.
   Action buttons: glass that takes on the brand colour on hover. */
.call-btn, .big-num, .bar-call, .solid-btn, .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-btn {
  position: relative; isolation: isolate; cursor: pointer;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.45s var(--ease);
}
.bar-call::before, .solid-btn::before, .submit-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--grad); opacity: 0;
  transition: opacity 0.5s var(--ease);
}

/* White jelly (hero, header) */
.call-btn, .bar-call {
  color: var(--night);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -10px 18px -10px rgba(68, 39, 130, 0.26),
    0 16px 40px -18px rgba(134, 210, 232, 0.45);
}
.call-btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 10px 28px 10px 10px; border-radius: 100px; text-decoration: none;
}
.call-btn-icon, .big-num-icon {
  position: relative; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad); color: #fff;
  --icon-glow: 0 0 10px 1px rgba(134, 210, 232, 0.34), 0 0 26px 6px rgba(176, 115, 232, 0.17);
  box-shadow: 0 0 0 0 rgba(134, 210, 232, 0), 0 0 0 0 rgba(176, 115, 232, 0);
  transition: box-shadow 0.6s var(--ease);
}
.call-btn-icon .ic { width: 21px; height: 21px; animation: jiggle 4.5s ease-in-out infinite; }
.call-btn-text { display: flex; flex-direction: column; line-height: 1.2; }
.call-btn-label { font-size: 13.5px; font-weight: 600; opacity: 0.7; }
.call-btn-num { font-size: 20px; font-weight: 750; font-stretch: 106%; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--violet-b); opacity: 0;
  animation: ring 4.5s var(--ease) infinite;
}
.ring.r2 { animation-delay: 0.25s; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.7; } 28%, 100% { transform: scale(1.65); opacity: 0; } }
@keyframes jiggle {
  0%, 26%, 100% { transform: rotate(0); }
  4% { transform: rotate(-13deg); } 8% { transform: rotate(11deg); }
  12% { transform: rotate(-9deg); } 16% { transform: rotate(7deg); } 20% { transform: rotate(0); }
}

/* Milky glass on light grounds (demo, form) */
.big-num, .submit-btn {
  color: var(--night);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(110, 45, 165, 0.18);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -10px 18px -12px rgba(68, 39, 130, 0.16),
    0 16px 36px -20px rgba(68, 39, 130, 0.5);
}
/* Clear glass on night (pilot) */
.solid-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px; border-radius: 100px; text-decoration: none;
  font-size: 16px; font-weight: 650; color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 16px 36px -20px rgba(0, 0, 0, 0.7);
}

.ghost-btn {
  display: inline-flex; align-items: center; padding: 15px 24px; border-radius: 100px;
  font-size: 15.5px; font-weight: 600; text-decoration: none; color: var(--on-night);
  border: 1px solid rgba(255, 255, 255, 0.26);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.ghost-btn:hover { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.05); }

@media (hover: hover) {
  .call-btn:hover .call-btn-icon, .big-num:hover .big-num-icon { box-shadow: var(--icon-glow); }
  body .bar-call:hover, .solid-btn:hover, .submit-btn:not(:disabled):hover {
    color: #fff; border-color: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 18px 40px -16px rgba(110, 45, 165, 0.75);
  }
  .bar-call:hover { background: rgba(255, 255, 255, 0.08); }
  .bar-call:hover::before { opacity: 0.62; }
  .solid-btn:hover::before { opacity: 0.62; }
  .submit-btn:not(:disabled):hover::before { opacity: 0.8; }
}
.call-btn:active .call-btn-icon, .big-num:active .big-num-icon { box-shadow: var(--icon-glow); }
.solid-btn:active::before, .submit-btn:active::before, .bar-call:active::before { opacity: 0.7; }

/* ============================== Hero ============================== */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--bar-h) + 80px) 0 0;
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(110, 45, 165, 0.26), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(86, 165, 190, 0.12), transparent 70%),
    var(--night);
  color: var(--on-night);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px; align-items: center;
}
.hero-h1 {
  font-size: clamp(42px, 5.2vw, 70px);
  font-weight: 650; font-stretch: 110%;
  line-height: 1.02; letter-spacing: -0.03em;
  text-wrap: balance; margin-bottom: 26px;
}
.hero-sub { font-size: 19.5px; line-height: 1.6; color: var(--on-night-muted); max-width: 50ch; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 40px 0 14px; }
.cta-note { font-size: 14px; color: var(--on-night-muted); margin-bottom: 32px; padding-left: 4px; }
.checks { list-style: none; margin: 0; padding: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid var(--night-line); }
.checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--on-night); }
.checks .ic { width: 17px; height: 17px; color: var(--cyan-b); stroke-width: 2; }

/* ---------- The call trace ---------- */
.trace { margin: 0; position: relative; }
.trace-card {
  padding: 24px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(28, 21, 68, 0.75), rgba(16, 11, 44, 0.85));
  border: 1px solid rgba(210, 202, 255, 0.14);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.trace-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; }
.trace-when { color: var(--on-night-muted); }
.trace-status { font-weight: 600; color: var(--cyan-b); }
.st { display: none; }
.trace[data-step="0"] .st-ring { display: inline; }
.trace:not([data-step="0"]):not([data-step="6"]):not([data-step="7"]) .st-live { display: inline; }
.trace[data-step="6"] .st-done, .trace[data-step="7"] .st-done { display: inline; }
.trace-timer { font-variant-numeric: tabular-nums; }

.trace-caller { display: flex; align-items: center; gap: 14px; margin: 20px 0 14px; padding-bottom: 16px; border-bottom: 1px solid var(--night-line); }
.trace-phone {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--cyan-b); color: var(--cyan-b);
  transition: background-color 0.4s ease, color 0.4s ease;
}
.trace-phone .ic { width: 18px; height: 18px; }
.pring { position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--cyan-b); opacity: 0; }
.trace[data-step="0"] .pring { animation: ring 1.1s var(--ease) infinite; }
.trace[data-step="0"] .pring.p2 { animation-delay: 0.2s; }
.trace[data-step="0"] .trace-phone .ic { animation: jiggle 1.1s ease-in-out infinite; }
.trace:not([data-step="0"]) .trace-phone { background: var(--cyan-b); color: var(--night); }
.trace-who { display: flex; flex-direction: column; line-height: 1.35; font-size: 14px; }
.trace-who b { font-weight: 600; }
.trace-who span { color: var(--on-night-muted); font-variant-numeric: tabular-nums; }
.trace-pick {
  margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--cyan-b);
  opacity: 0; transition: opacity 0.4s ease;
}
.trace:not([data-step="0"]) .trace-pick { opacity: 1; }

.wave { display: flex; align-items: center; gap: 3px; height: 30px; margin-bottom: 14px; }
.wave i { flex: 1; height: 3px; border-radius: 2px; background: rgba(210, 202, 255, 0.2); transition: height 0.18s ease, background-color 0.3s ease; }
.trace.speaking-a .wave i { background: var(--violet-b); }
.trace.speaking-c .wave i { background: var(--cyan-b); }

.trace-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-height: 232px; }
.tl {
  max-width: 86%; padding: 10px 14px; border-radius: 14px;
  font-size: 15px; line-height: 1.45;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.tl.on { opacity: 1; transform: none; }
.tl q { quotes: none; font-family: var(--serif); font-style: italic; font-size: 16.5px; }
.tl-who { display: block; font-size: 11.5px; font-weight: 600; margin-bottom: 2px; }
.tl-c { align-self: flex-start; background: rgba(134, 210, 232, 0.07); border: 1px solid rgba(134, 210, 232, 0.2); border-bottom-left-radius: 4px; }
.tl-c .tl-who { color: var(--cyan-b); }
.tl-a { align-self: flex-end; background: rgba(176, 115, 232, 0.1); border: 1px solid rgba(176, 115, 232, 0.26); border-bottom-right-radius: 4px; }
.tl-a .tl-who { color: var(--violet-b); }
.caret::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: blink 0.8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.outlets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.out {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 8px; border-radius: 10px; text-align: center; line-height: 1.25;
  font-size: 12.5px; font-weight: 600;
  border: 1px dashed rgba(210, 202, 255, 0.2); color: rgba(243, 242, 248, 0.36);
  transition: color 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}
.out .ic { width: 15px; height: 15px; }
.trace[data-step="6"] .out, .trace[data-step="7"] .out {
  border-style: solid; border-color: rgba(176, 115, 232, 0.45);
  background: rgba(176, 115, 232, 0.1); color: var(--on-night);
}
.trace[data-step="6"] .o2, .trace[data-step="7"] .o2 { transition-delay: 0.3s; }
.trace[data-step="6"] .o3, .trace[data-step="7"] .o3 { transition-delay: 0.6s; }
.trace-replay {
  display: flex; align-items: center; gap: 6px; margin: 14px auto 0;
  padding: 6px 12px; border: 0; border-radius: 100px; background: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--on-night-muted);
  opacity: 0; transition: opacity 0.4s ease, color 0.2s ease;
}
.trace-replay .ic { width: 13px; height: 13px; }
.trace[data-step="7"] .trace-replay { opacity: 1; }
.trace-replay:hover { color: #fff; }

/* ---------- Trust strip ---------- */
.trust {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 40px;
  margin-top: 96px; padding-top: 28px; padding-bottom: 34px;
  border-top: 1px solid var(--night-line);
}
.trust p { font-size: 13.5px; color: var(--on-night-muted); }
.trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 36px; }
.trust li { font-size: 16px; font-weight: 650; font-stretch: 108%; color: rgba(243, 242, 248, 0.72); }

/* ============================== Problem + calculator ============================== */
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.problem-copy .lede { margin-top: 20px; }
.pains { list-style: none; margin: 44px 0 0; padding: 0; }
.pains li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.pains li:last-child { border-bottom: 1px solid var(--line); }
.pains .ic {
  width: 44px; height: 44px; padding: 11px; border-radius: 12px;
  background: var(--mist); color: var(--violet); stroke-width: 1.5;
}
.pains h3 { margin-bottom: 4px; font-size: 17.5px; }
.pains p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }

.calc {
  position: sticky; top: calc(var(--bar-h) + 32px);
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -48px rgba(40, 20, 90, 0.35);
}
.calc-inputs { padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 26px; background: var(--paper); }
.calc-title { font-size: 21px; font-stretch: 104%; }
.calc-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: baseline; }
.calc-row label { font-size: 15px; color: var(--muted); }
.calc-row output { font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.calc-row input[type="range"] { grid-column: 1 / -1; }
.calc-row-money { grid-template-columns: 1fr; }
.money {
  display: flex; align-items: center; gap: 6px; max-width: 220px;
  padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.money:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(110, 45, 165, 0.1); }
.money span { font-weight: 600; color: var(--muted); }
.money input { width: 100%; padding: 11px 0; border: 0; outline: 0; background: none; font: 700 19px var(--sans); color: var(--ink); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 0; background: none; cursor: pointer; --fill: 10%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--violet) var(--fill), var(--line) var(--fill)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--violet); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--violet); box-shadow: 0 2px 8px rgba(68, 39, 130, 0.22);
  transition: transform 0.2s var(--ease);
}
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--violet); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(86, 165, 190, 0.4); }

.calc-out { padding: 32px 36px 36px; background: var(--night); color: var(--on-night); display: flex; flex-direction: column; gap: 10px; }
.calc-out-label { font-size: 14.5px; color: var(--on-night-muted); }
.calc-out-num {
  font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; font-stretch: 112%;
  line-height: 1; letter-spacing: -0.025em; font-variant-numeric: tabular-nums;
  background: var(--grad-b); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.calc-out-sub { font-size: 15px; color: var(--on-night-muted); }
.calc-out-sub b { color: var(--on-night); font-variant-numeric: tabular-nums; }
.calc-link { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--on-night); text-underline-offset: 4px; text-decoration-color: rgba(243, 242, 248, 0.4); }
.calc-link:hover { text-decoration-color: currentColor; }

/* ============================== Live demo ============================== */
.demo { padding-top: 0; }
.showcase {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center;
  padding: 64px; border-radius: var(--r-lg);
  background: var(--mist); border: 1px solid var(--line);
}
.showcase h2 { font-size: clamp(34px, 4.2vw, 54px); letter-spacing: -0.028em; margin-bottom: 18px; }
.demo-body { font-size: 18px; color: var(--muted); max-width: 50ch; }
.big-num {
  display: inline-flex; align-items: center; gap: 18px;
  margin: 36px 0 28px; padding: 12px 32px 12px 12px; border-radius: 100px; text-decoration: none;
}
.big-num-icon { width: 58px; height: 58px; }
.big-num-icon .ic { width: 25px; height: 25px; animation: jiggle 4.5s ease-in-out 1s infinite; }
.big-num-text { font-size: clamp(24px, 2.8vw, 34px); font-weight: 750; font-stretch: 108%; font-variant-numeric: tabular-nums; }
.demo-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.demo-alt > span { font-size: 14.5px; color: var(--muted); margin-right: 4px; }
.alt-btn {
  position: relative; overflow: hidden; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 100px;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 600;
  transition: border-color 0.2s ease;
}
.alt-btn:hover { border-color: var(--violet); }
.alt-btn .ic { width: 16px; height: 16px; color: var(--violet); }
.alt-btn .ic-pause { display: none; }
.alt-btn[aria-pressed="true"] .ic-play { display: none; }
.alt-btn[aria-pressed="true"] .ic-pause { display: block; }
.rec-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.rec-bar i { display: block; height: 100%; width: var(--prog, 0%); background: var(--grad); }

.demo-try { display: flex; flex-direction: column; align-items: center; }
.phone {
  width: 290px; max-width: 100%; padding: 9px; border-radius: 36px;
  background: var(--paper); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 70px -40px rgba(68, 39, 130, 0.5);
}
.phone-screen {
  height: 400px; padding: 26px 16px 18px; border-radius: 28px;
  background: var(--night); color: var(--on-night);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.phone-name { font-weight: 650; font-size: 15.5px; }
.phone-state { font-size: 12.5px; color: var(--on-night-muted); margin-top: 2px; }
.phone-wave { display: flex; align-items: center; gap: 4px; height: 32px; margin: 12px 0 14px; }
.phone-wave i { width: 3px; height: 4px; border-radius: 2px; background: rgba(210, 202, 255, 0.28); }
.phone.talking .phone-wave i { background: var(--cyan-b); animation: bar 0.9s ease-in-out infinite; }
.phone.talking .phone-wave i:nth-child(2n) { animation-delay: -0.3s; }
.phone.talking .phone-wave i:nth-child(3n) { animation-delay: -0.55s; }
@keyframes bar { 0%, 100% { height: 4px; } 50% { height: 28px; } }
.phone-chat { width: 100%; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.pc {
  max-width: 92%; padding: 9px 12px; border-radius: 14px;
  font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.4;
  animation: pc-in 0.35s var(--ease);
}
@keyframes pc-in { from { opacity: 0; transform: translateY(6px); } }
.pc q { quotes: none; }
.pc-who { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.pc-q { align-self: flex-start; background: rgba(134, 210, 232, 0.08); border: 1px solid rgba(134, 210, 232, 0.22); border-bottom-left-radius: 4px; }
.pc-q .pc-who { color: var(--cyan-b); }
.pc-a { align-self: flex-end; background: rgba(176, 115, 232, 0.12); border: 1px solid rgba(176, 115, 232, 0.3); border-bottom-right-radius: 4px; }
.pc-a .pc-who { color: var(--violet-b); }
.try-note { margin-top: 14px; font-size: 13px; color: var(--faint); text-align: center; max-width: 36ch; }
.try-label { margin: 26px 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 420px; }
.chip {
  cursor: pointer; padding: 8px 14px; border-radius: 100px;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-family: var(--serif); font-style: italic; font-size: 15.5px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--violet); }
.chip[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--on-night); }
.after-demo { margin: 28px auto 0; max-width: 760px; text-align: center; font-size: 16px; color: var(--muted); }

/* ============================== How it works ============================== */
.how { background: var(--mist); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 20px; left: 20px; right: 0; height: 1px;
  background: var(--line-strong);
}
.steps li { position: relative; }
.step-n {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 26px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-size: 15px; font-weight: 700; color: var(--violet);
}
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 16px; }
.no-list { list-style: none; margin: 56px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; gap: 12px 40px; }
.no-list li { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.no-list .ic { color: var(--violet); stroke-width: 2; }

/* ============================== Industries ============================== */
.ind-ui { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 4px; }
.tabs button {
  position: relative; cursor: pointer; text-align: left;
  padding: 15px 18px 15px 20px; border: 0; border-radius: 14px; background: none;
  font-size: 17px; font-weight: 650; color: var(--faint);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.tabs button small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 500; }
.tabs button::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleY(0); transition: transform 0.35s var(--ease);
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); background: var(--mist); }
.tabs button[aria-selected="true"] small { color: var(--muted); }
.tabs button[aria-selected="true"]::before { transform: scaleY(1); }

.panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 40px; border-radius: var(--r-lg); border: 1px solid var(--line);
  animation: panel-in 0.4s var(--ease);
}
@keyframes panel-in { from { opacity: 0; } }
.panel h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 650; line-height: 1.18; letter-spacing: -0.015em; margin-bottom: 22px; }
.does { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.does li { position: relative; padding-left: 28px; font-size: 16px; color: var(--muted); }
.does li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: var(--violet);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.seg-link {
  display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 100px;
  font-size: 14.5px; font-weight: 650; text-decoration: none; color: var(--violet);
  border: 1px solid rgba(110, 45, 165, 0.3);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.seg-link:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.say { margin: 0; padding: 26px 28px; border-radius: 22px 22px 22px 6px; background: var(--night); color: var(--on-night); }
.say-who { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--violet-b); margin-bottom: 8px; }
.say-who::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-b); }
.say p { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.45; min-height: 2.9em; }
.ind-more { margin-top: 36px; font-size: 15.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* ============================== Capabilities ============================== */
.caps { padding-top: 0; }
.cap-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.cap { padding: 32px 28px 34px; background: var(--paper); }
.cap .ic { width: 26px; height: 26px; color: var(--violet); stroke-width: 1.5; }
.cap h3 { margin: 20px 0 8px; font-size: 18px; }
.cap p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.cap-cta {
  text-decoration: none; background: var(--night); color: var(--on-night);
  display: flex; flex-direction: column;
  transition: background-color 0.3s ease;
}
.cap-cta .ic { color: var(--cyan-b); }
.cap-cta p { margin-top: auto; padding-top: 12px; font-size: 20px; font-weight: 700; color: var(--on-night); font-variant-numeric: tabular-nums; }
.cap-cta:hover { background: var(--night-2); }

/* ============================== Outcomes ============================== */
.outcomes { background: var(--mist); }
.outs { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.outs li { padding-top: 22px; border-top: 2px solid var(--ink); }
.outs h3 { margin-bottom: 8px; font-size: 18.5px; }
.outs p { font-size: 15.5px; color: var(--muted); }
.compare { margin: 0; padding: 36px 40px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.cmp-row { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; padding: 16px 0; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-who b { display: block; font-size: 16.5px; font-weight: 650; margin-bottom: 2px; }
.cmp-who span { display: block; font-size: 14.5px; color: var(--muted); }
.cmp-track { position: relative; height: 12px; border-radius: 8px; background: var(--mist); }
.cmp-fill {
  position: absolute; top: 0; bottom: 0; left: 37.5%; width: 37.5%; border-radius: 8px;
  background: #C3BED6; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease);
}
.cmp-lunch { position: absolute; top: -2px; bottom: -2px; left: 54.2%; width: 4.2%; background: var(--paper); opacity: 0; transition: opacity 0.4s ease 1.2s; }
.cmp-track.ai { height: 28px; background: none; }
.cmp-track.ai .cmp-fill { left: 0; width: 100%; height: 7px; background: var(--grad); transition-duration: 1.8s; transition-delay: 0.3s; }
.cmp-track.ai .l2 { top: 10.5px; opacity: 0.55; transition-delay: 0.5s; }
.cmp-track.ai .l3 { top: 21px; opacity: 0.3; transition-delay: 0.7s; }
.compare.in .cmp-fill { transform: scaleX(1); }
.compare.in .cmp-lunch { opacity: 1; }
.cmp-axis { display: flex; justify-content: space-between; margin-left: 312px; padding-top: 6px; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.compare figcaption { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: clamp(19px, 2vw, 23px); font-weight: 650; letter-spacing: -0.01em; }

/* ============================== Free pilot ============================== */
.pilot {
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(110, 45, 165, 0.28), transparent 70%),
    var(--night);
  color: var(--on-night);
}
.pilot-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 80px; align-items: center; }
.pilot h2 { margin-bottom: 22px; }
.pilot-promise { font-size: 19px; line-height: 1.6; color: var(--on-night); max-width: 54ch; margin-bottom: 36px; }
.pilot-cta-note { margin-top: 12px; font-size: 14px; color: var(--on-night-muted); }
.pilot-price { margin-top: 28px; font-size: 15px; color: var(--on-night-muted); max-width: 54ch; }
.path { list-style: none; margin: 0; padding: 0; position: relative; }
.path::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 1px; background: var(--night-line); }
.path li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding: 18px 0; }
.path-n {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--night); border: 1px solid rgba(176, 115, 232, 0.55); color: var(--violet-b);
  font-size: 15px; font-weight: 700;
}
.path h3 { font-size: 18px; margin: 7px 0 4px; }
.path p { font-size: 15.5px; color: var(--on-night-muted); }

/* ============================== FAQ ============================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--bar-h) + 32px); }
.faq-head .lede { margin-top: 18px; font-size: 17px; }
.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 18px; font-weight: 600;
  transition: color 0.2s ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--violet); }
.pm { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color 0.3s ease, border-color 0.3s ease; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.35s var(--ease); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .pm { background: var(--night); border-color: var(--night); color: var(--on-night); }
.qa[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa-a { padding: 0 48px 24px 0; }
.qa-a p { color: var(--muted); }

/* ============================== Final CTA + form ============================== */
.final {
  padding: var(--s-sec) 0;
  background:
    radial-gradient(50% 70% at 0% 100%, rgba(86, 165, 190, 0.14), transparent 70%),
    radial-gradient(50% 70% at 100% 0%, rgba(110, 45, 165, 0.3), transparent 70%),
    var(--night);
  color: var(--on-night);
}
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.final h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 20px; }
.final .lede { color: var(--on-night-muted); }
.next-h { margin: 44px 0 18px; font-size: 15px; font-weight: 600; color: var(--on-night-muted); }
.next { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.next li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; font-size: 16px; }
.next-note { margin-top: 18px; padding-left: 46px; font-size: 14.5px; color: var(--on-night-muted); }
.next span {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(176, 115, 232, 0.5); color: var(--violet-b); font-size: 13.5px; font-weight: 700;
}

.form-card { padding: 40px; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.8); }
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.form-title { font-size: 21px; font-weight: 650; letter-spacing: -0.01em; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .tel-wrap {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font: 500 16px var(--sans); color: var(--ink); background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 36px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B5968' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 10px center / 20px no-repeat;
}
.field select:invalid { color: var(--faint); }
.tel-wrap { display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.tel-wrap span { font-weight: 600; color: var(--muted); padding-right: 10px; border-right: 1px solid var(--line); }
.tel-wrap input { border: 0; padding: 13px 0; outline: none; box-shadow: none; }
.field input:focus, .field select:focus, .tel-wrap:focus-within { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(110, 45, 165, 0.1); }
.tel-wrap input:focus { box-shadow: none; }
.err { display: none; font-size: 13.5px; color: #A1235A; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select, .field.bad .tel-wrap { border-color: #A1235A; }
.submit-btn { margin-top: 6px; padding: 17px 24px; border-radius: 100px; font-size: 17px; font-weight: 700; }
.submit-btn span { position: relative; }
.submit-btn.sending { color: #fff; }
.submit-btn.sending::before { opacity: 1; animation: sending 1s linear infinite; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--violet)); background-size: 200% 100%; }
@keyframes sending { to { background-position: -200% 0; } }
.form-safe { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.form-safe .ic { width: 16px; height: 16px; color: var(--violet); }
.form-alt { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); text-align: center; }
.form-alt a { color: var(--violet); font-weight: 600; }

.thanks { text-align: center; padding: 28px 8px; outline: none; }
.thanks-check { display: block; width: 68px; height: 68px; margin: 0 auto 20px; }
.thanks-check circle, .thanks-check path { fill: none; stroke: var(--violet); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.thanks:not([hidden]) .thanks-check circle { animation: draw 0.7s var(--ease) forwards; }
.thanks:not([hidden]) .thanks-check path { animation: draw 0.5s var(--ease) 0.55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks h3 { font-size: 26px; margin-bottom: 10px; }
.thanks p { color: var(--muted); max-width: 40ch; margin: 0 auto; }
.thanks a { color: var(--violet); font-weight: 700; }

/* ============================== Footer ============================== */
.foot { padding: 32px 0; background: var(--night); color: var(--on-night-muted); border-top: 1px solid var(--night-line); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 30px; filter: brightness(2.1) saturate(1.15) drop-shadow(0 0 6px rgba(134, 210, 232, 0.35)); }
.foot-brand b { display: block; color: var(--on-night); font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--on-night); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--on-night); font-weight: 600; }
.back .ic { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.back:hover .ic { transform: translateX(-3px); }

/* ============================== Mobile bar + toast ============================== */
.mbar { display: none; }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80; max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 100px; text-align: center;
  background: var(--night); color: var(--on-night); font-size: 15px; font-weight: 600;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ============================== Responsive ============================== */
@media (max-width: 1100px) {
  .bar-nav { display: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .outs { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
  .panel { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --s-sec: 96px; --s-head: 44px; }
  .hero { padding-top: calc(var(--bar-h) + 56px); }
  .hero-grid, .problem-grid, .showcase, .pilot-grid, .faq-grid, .final-grid, .ind-ui { grid-template-columns: 1fr; gap: 48px; }
  .trace { max-width: 540px; width: 100%; margin: 0 auto; }
  .calc, .faq-head { position: static; }
  .showcase { padding: 48px 36px; }
  .steps { grid-template-columns: 1fr; gap: 36px; padding-left: 64px; }
  .steps::before { top: 0; bottom: 0; left: 20px; right: auto; width: 1px; height: auto; }
  .step-n { position: absolute; left: -64px; top: -6px; margin: 0; }
  .tabs { flex-direction: row; overflow-x: auto; gap: 8px; margin: 0 -32px; padding: 0 32px 4px; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: 32px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; scroll-snap-align: start; padding: 11px 16px; font-size: 15.5px; border: 1px solid var(--line-strong); border-radius: 100px; }
  .tabs button small, .tabs button::before { display: none; }
  .tabs button[aria-selected="true"] { background: var(--night); color: var(--on-night); border-color: var(--night); }
  .cmp-row { grid-template-columns: 1fr; gap: 12px; }
  .cmp-axis { margin-left: 0; }
}

@media (max-width: 720px) {
  :root { --s-sec: 76px; --s-head: 36px; --bar-h: 60px; --r-lg: 22px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap, .bar-in { padding: 0 16px; }
  .bar-link, .bar-call { display: none; }
  .brand-name { font-size: 17px; }
  .lede, .hero-sub { font-size: 17px; }
  .hero-ctas { flex-direction: column; align-items: stretch; margin-top: 32px; }
  .call-btn { padding-right: 20px; }
  .ghost-btn { justify-content: center; }
  .cta-note { text-align: center; }
  .checks { flex-direction: column; gap: 10px; }
  .trace-card { padding: 18px 16px; }
  .trace-pick { display: none; }
  .tl { max-width: 94%; font-size: 14px; }
  .tl q { font-size: 15.5px; }
  .trace-lines { min-height: 250px; }
  .out { flex-direction: column; gap: 4px; padding: 8px 4px; font-size: 11.5px; }
  .trust { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 64px; }
  .trust ul { gap: 6px 22px; }
  .trust li { font-size: 15px; }
  .calc-inputs, .calc-out { padding: 26px 22px; }
  .showcase { padding: 32px 20px; }
  .big-num { width: 100%; gap: 14px; padding-right: 20px; }
  .big-num-icon { width: 50px; height: 50px; }
  .tabs { margin: 0 -16px; padding: 0 16px 4px; scroll-padding-inline: 16px; }
  .panel { padding: 24px 20px; gap: 28px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap { padding: 24px 22px 26px; }
  .outs { grid-template-columns: 1fr; gap: 24px; }
  .compare { padding: 24px 20px; }
  .form-card { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 18px; }
  .qa summary { font-size: 16.5px; padding: 20px 0; }
  .qa-a { padding-right: 0; }
  .foot-in { flex-direction: column; align-items: flex-start; }

  .mbar {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 7, 32, 0.92);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--night-line);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 100px; text-decoration: none; font-size: 15.5px; font-weight: 650; }
  .mbar .ic { width: 18px; height: 18px; }
  .mbar-call { background: var(--on-night); color: var(--night); }
  .mbar-call .ic { animation: jiggle 4.5s ease-in-out infinite; }
  .mbar-wa { border: 1px solid rgba(243, 242, 248, 0.28); color: var(--on-night); }
  .toast { bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
