/* =====================================================================
   VoiceFlow AI — landing page
   ===================================================================== */

:root {
  --ink: #2a1114;
  --ink-2: #4a2c2f;
  --ink-soft: rgba(42, 17, 20, 0.72);
  --muted: #7b6567;
  --paper: #f7f2ee;
  --paper-2: #efe7e1;
  --card-light: #fbf8f5;
  --line: rgba(42, 17, 20, 0.16);
  --accent: #e2361f;
  --accent-2: #ff6b2c;
  --dark: #1c1a1a;
  --dark-2: #262222;
  --ok: #3fb950;

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --frame: 1440px;
  --guide: 6.6%;
  --pad: calc(var(--guide) + clamp(12px, 2.4vw, 34px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--mono); font-weight: 400; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* Blueprint guides ---------------------------------------------------- */
.guides {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  max-width: var(--frame);
  margin: 0 auto;
}
.guides span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-image: linear-gradient(to bottom, var(--line) 50%, transparent 50%);
  background-size: 1px 8px;
}
.guides span:first-child { left: var(--guide); }
.guides span:last-child { right: var(--guide); }

/* Buttons ------------------------------------------------------------- */
.btn {
  --bh: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--bh);
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font: 500 14px/1 var(--sans);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--dark {
  background: linear-gradient(180deg, #4a242b 0%, #2b1216 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 1px #2b1216, 0 10px 24px -12px rgba(42, 17, 20, 0.8);
}
.btn--dark:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 1px #2b1216, 0 16px 32px -12px rgba(42, 17, 20, 0.85); }
.btn--sm { --bh: 38px; padding: 0 16px; font-size: 13px; text-transform: none; letter-spacing: 0; border-radius: 7px; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(42, 17, 20, 0.25); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--ghost {
  --bh: 40px;
  padding: 0 16px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #efe7e4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.btn--ghost svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.link-arrow span { transition: transform 0.4s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* Nav ----------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 7px 7px 7px 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.06), 0 10px 30px -14px rgba(42, 17, 20, 0.35);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  transform: translateX(-50%);
  transition: box-shadow 0.4s var(--ease), background 0.4s, transform 0.6s var(--ease);
  animation: navIn 1s var(--ease) 0.1s both;
}
@keyframes navIn { from { opacity: 0; transform: translate(-50%, -24px); } }
.nav.is-scrolled { background: rgba(255, 255, 255, 0.96); box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.08), 0 16px 40px -16px rgba(42, 17, 20, 0.45); }
.nav.is-hidden { transform: translate(-50%, -110px); }
.nav__logo svg { width: 26px; height: 26px; fill: var(--ink); }
.nav__logo rect { transform-box: fill-box; transform-origin: center; }
.nav__logo:hover rect { animation: eq 0.9s var(--ease-in-out) infinite alternate; }
.nav__logo:hover rect:nth-child(2) { animation-delay: -0.3s; }
.nav__logo:hover rect:nth-child(3) { animation-delay: -0.6s; }
.nav__logo:hover rect:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { to { transform: scaleY(0.45); } }
.nav__div { width: 1px; height: 20px; background: rgba(42, 17, 20, 0.18); margin-left: -4px; }
.nav__links { display: flex; gap: 22px; }
.nav__links a { position: relative; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { margin-left: 18px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  height: clamp(780px, 100svh, 1080px);
  overflow: hidden;
  isolation: isolate;
}
.sky {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 70% at 4% 22%, rgba(248, 230, 216, 0.95) 0%, rgba(248, 230, 216, 0) 62%),
    radial-gradient(60% 80% at 100% 8%, #9fc1e6 0%, rgba(159, 193, 230, 0) 72%),
    radial-gradient(80% 60% at 70% 100%, rgba(198, 217, 237, 0.9) 0%, rgba(198, 217, 237, 0) 70%),
    linear-gradient(180deg, #dfe7ef 0%, #cfdeec 40%, #dde3ea 72%, #ece6e3 100%);
}
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .45  0 0 0 0 .45  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero__hline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 1;
  background-image: linear-gradient(to right, var(--line) 50%, transparent 50%);
  background-size: 8px 1px;
  pointer-events: none;
}
.hero__hline--1 { top: 86px; }
.hero__hline--2 { top: var(--hline2, 47%); }

/* Clouds (SVG turbulence displacement on soft ellipses) */
.clouds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cloud-bank {
  position: absolute;
  will-change: transform;
}
.cl { position: absolute; border-radius: 50%; }
.cl-back {
  inset: 0;
  background: radial-gradient(closest-side, #fff 0%, rgba(255, 255, 255, 0.96) 45%, rgba(255, 255, 255, 0) 100%);
  filter: url(#cloud-a);
}
.cl-mid {
  left: 12%; right: 6%; top: 34%; bottom: -6%;
  background: radial-gradient(closest-side, rgba(152, 160, 182, 0.42), rgba(152, 160, 182, 0) 100%);
  filter: url(#cloud-b);
}
.cl-front {
  left: 4%; right: 30%; top: 2%; bottom: 40%;
  background: radial-gradient(closest-side, rgba(255, 238, 224, 0.95), rgba(255, 238, 224, 0) 100%);
  filter: url(#cloud-c);
}
.cb-1 { width: 760px; height: 380px; left: -120px; bottom: 15%; animation: drift 70s linear infinite alternate; }
.cb-2 { width: 520px; height: 210px; right: -160px; bottom: 25%; opacity: 0.85; animation: drift 90s linear infinite alternate-reverse; }
.cb-3 { width: 420px; height: 150px; left: 34%; top: 9%; opacity: 0.45; animation: drift 110s linear infinite alternate; }
.cb-4 { width: 820px; height: 360px; left: -180px; top: 22%; opacity: 0.9; animation: drift 80s linear infinite alternate; }
@keyframes drift { from { translate: -30px 0; } to { translate: 60px 0; } }

.hero__inner {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  padding: clamp(124px, calc(80svh - 584px), 290px) var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 4vw;
}
.hero__copy { display: flex; flex-direction: column; padding-top: 12px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.status__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--ok); animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

.hero__title {
  margin-top: clamp(64px, 11vh, 120px);
  font-size: clamp(42px, 4.6vw, 76px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 11.5ch;
}
.hero__lede {
  margin-top: clamp(56px, 8vh, 88px);
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}
.hero__cta { display: flex; align-items: center; gap: 28px; margin-top: 30px; }

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

/* Stepper */
.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 18px; }
.stepper__btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px -12px rgba(42, 17, 20, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: background 0.3s, transform 0.4s var(--ease);
}
.stepper__btn:hover { background: rgba(255, 255, 255, 0.7); transform: scale(1.06); }
.stepper__btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stepper__line { width: clamp(28px, 4vw, 60px); height: 1px; background: rgba(42, 17, 20, 0.22); }
.stepper__num {
  position: relative;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.38), 0 10px 30px -10px rgba(42, 17, 20, 0.35);
  font-size: 19px; font-weight: 500; letter-spacing: -0.02em;
}
.stepper__ring { position: absolute; inset: 1px; width: 60px; height: 60px; transform: rotate(-90deg); }
.stepper__ring circle { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; }
.stepper__digits { display: inline-block; transition: transform 0.5s var(--ease), opacity 0.3s; }
.stepper__digits.is-out { transform: translateY(-10px); opacity: 0; }

/* Dark device card */
.device {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 520 / 560;
  border-radius: 28px;
  background: var(--dark);
  overflow: hidden;
  container-type: inline-size;
  box-shadow: 0 50px 90px -40px rgba(42, 17, 20, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.device::before, .dark .dotgrid {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.8px, transparent 1.2px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 90%);
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 90%);
  opacity: 0.55;
}
.device__glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.device__glow i {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  mix-blend-mode: screen;
  opacity: 0.55;
}
.device__glow i:nth-child(1) { width: 46%; height: 26%; left: -12%; top: -10%; background: #c2401f; animation: glow1 14s var(--ease-in-out) infinite alternate; }
.device__glow i:nth-child(2) { width: 40%; height: 30%; right: -8%; top: 30%; background: #6e2a17; animation: glow2 18s var(--ease-in-out) infinite alternate; }
.device__glow i:nth-child(3) { width: 30%; height: 22%; left: 30%; bottom: -6%; background: #8a2416; animation: glow1 16s var(--ease-in-out) infinite alternate-reverse; }
@keyframes glow1 { to { transform: translate(30%, 25%) scale(1.2); } }
@keyframes glow2 { to { transform: translate(-25%, -20%) scale(0.85); } }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease), visibility 0s 0.7s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition: opacity 0.7s var(--ease) 0.15s, transform 0.9s var(--ease) 0.15s, filter 0.7s var(--ease) 0.15s, visibility 0s;
}

/* Glass tiles */
.tile {
  position: absolute;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: linear-gradient(165deg, #5d5756 0%, #403b3a 55%, #302b2b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(196, 80, 62, 0.42),
    0 14px 28px -12px rgba(0, 0, 0, 0.7);
}
.tile--lg { left: 36.92%; top: 11.8%; width: 26.15%; border-radius: 4.3cqw; }
.tile__inner {
  width: 67%;
  aspect-ratio: 1;
  border-radius: 3.2cqw;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, #1b1818, #060505);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #fff;
}
.tile__inner svg { width: 46%; height: 46%; animation: ring 4s var(--ease-in-out) infinite; transform-origin: 50% 60%; }
@keyframes ring {
  0%, 62%, 100% { transform: rotate(0); }
  66% { transform: rotate(-14deg); } 70% { transform: rotate(12deg); } 74% { transform: rotate(-10deg); } 78% { transform: rotate(8deg); } 82% { transform: rotate(0); }
}
.tile__ping { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.tile__ping::before, .tile__ping::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(226, 54, 31, 0.6);
  animation: tilePing 4s var(--ease) infinite;
}
.tile__ping::after { animation-delay: 0.35s; }
@keyframes tilePing { 0%, 62% { transform: scale(1); opacity: 0; } 66% { opacity: 0.9; } 100% { transform: scale(1.45); opacity: 0; } }

.route-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-lines path { fill: none; stroke: url(#routeGrad); stroke-width: 1.1; stroke-dasharray: 240; stroke-dashoffset: 240; }
.slide.is-active .route-lines path { animation: draw 1.4s var(--ease) 0.4s forwards; }
.slide.is-active .route-lines path:nth-of-type(2) { animation-delay: 0.55s; }
.slide.is-active .route-lines path:nth-of-type(3) { animation-delay: 0.7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.route-dot { fill: #ff8a5c; filter: drop-shadow(0 0 4px rgba(255, 120, 70, 0.9)); }

.node {
  position: absolute;
  left: calc(var(--x) / 520 * 100%);
  top: 64.4%;
  width: 13.1%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.node .tile { position: relative; width: 100%; border-radius: 2.8cqw; }
.node .tile svg { width: 44%; height: 44%; fill: none; stroke: #f2eeec; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.node span {
  margin-top: 3.4cqw;
  font-size: 2.95cqw;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #ebe5e2;
  white-space: nowrap;
}
.slide.is-active .node { animation: nodeIn 0.9s var(--ease) both; }
.slide.is-active .node:nth-of-type(2) { animation-delay: 0.9s; }
.slide.is-active .node:nth-of-type(3) { animation-delay: 1.05s; }
.slide.is-active .node:nth-of-type(4) { animation-delay: 1.2s; }
@keyframes nodeIn { from { opacity: 0; transform: translate(-50%, 14px); } }
.node .tile { transition: box-shadow 0.4s; }
.node.is-lit .tile { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 0 1px rgba(255, 120, 80, 0.9), 0 0 24px rgba(255, 90, 50, 0.45); }

/* Slide 2 — live call */
.live { position: absolute; inset: 0; padding: 8% 7% 0; display: flex; flex-direction: column; align-items: center; }
.live__chip {
  display: inline-flex; align-items: center; gap: 2cqw;
  padding: 1.6cqw 2.8cqw;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #d8d0cd;
  font-size: 2.5cqw;
  text-transform: uppercase;
}
.live__chip b { color: #fff; font-weight: 500; }
.live__rec { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #ff4b2b; box-shadow: 0 0 10px #ff4b2b; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.wave { display: flex; align-items: center; justify-content: center; gap: 0.9cqw; height: 18cqw; margin: 5cqw 0 3cqw; width: 100%; }
.wave i { width: 0.9cqw; border-radius: 9px; background: linear-gradient(180deg, #ff8a5c, #c4402a); height: 10%; transition: height 0.12s linear; }
.chat { width: 100%; display: flex; flex-direction: column; gap: 2.2cqw; }
.msg {
  max-width: 80%;
  padding: 2.4cqw 3.2cqw;
  border-radius: 3.4cqw;
  font-size: 2.85cqw;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.msg.is-in { opacity: 1; transform: none; }
.msg--caller { align-self: flex-start; background: rgba(255, 255, 255, 0.09); color: #efe9e6; border-bottom-left-radius: 1cqw; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.msg--ai { align-self: flex-end; background: linear-gradient(160deg, #e2472b, #b82f1d); color: #fff; border-bottom-right-radius: 1cqw; }
.msg--typing { align-self: flex-end; display: flex; gap: 1cqw; background: rgba(226, 71, 43, 0.25); }
.msg--typing i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #ffb39c; animation: typing 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-40%); opacity: 1; } }

/* Slide 3 — booked */
.booked { position: absolute; inset: 0; padding: 9% 8% 0; color: #efe9e6; }
.booked__head { display: flex; justify-content: space-between; align-items: center; font-size: 2.8cqw; text-transform: uppercase; color: #d3cac6; }
.booked__badge { padding: 1cqw 2.2cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.07); font-size: 2.3cqw; }
.slots { margin-top: 5cqw; display: flex; flex-direction: column; gap: 2cqw; }
.slot {
  position: relative;
  display: grid;
  grid-template-columns: 13cqw 1fr auto;
  align-items: center;
  padding: 3cqw 3.4cqw;
  border-radius: 3cqw;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  font-size: 2.9cqw;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), background 0.6s, box-shadow 0.6s;
}
.slide.is-active .slot { opacity: 1; transform: none; }
.slide.is-active .slot:nth-child(2) { transition-delay: 0.1s; }
.slide.is-active .slot:nth-child(3) { transition-delay: 0.2s; }
.slide.is-active .slot:nth-child(4) { transition-delay: 0.3s; }
.slot time { font-family: var(--mono); color: #b8aca8; }
.slot--taken span { color: #8f8481; }
.slot--new span { color: transparent; transition: color 0.4s 1.1s; }
.slot--new.is-booked { background: linear-gradient(120deg, rgba(226, 71, 43, 0.35), rgba(226, 71, 43, 0.12)); box-shadow: inset 0 0 0 1px rgba(255, 120, 80, 0.6), 0 10px 30px -10px rgba(226, 71, 43, 0.6); }
.slot--new.is-booked span { color: #fff; }
.check { width: 4.4cqw; height: 4.4cqw; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.check path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.6s var(--ease) 1.3s; }
.slot--new.is-booked .check path { stroke-dashoffset: 0; }
.booked__toast {
  margin-top: 5cqw;
  display: inline-flex; align-items: center; gap: 1.8cqw;
  padding: 2.2cqw 3.2cqw;
  border-radius: 99px;
  background: rgba(63, 185, 80, 0.14);
  color: #b6f0bf;
  font-size: 2.45cqw;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease) 1.8s, transform 0.6s var(--ease) 1.8s;
}
.booked__toast svg { width: 3.4cqw; height: 3.4cqw; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.slide.is-active .booked__toast.is-in { opacity: 1; transform: none; }

/* Grass canvas */
.grass { position: absolute; left: 0; bottom: 0; width: 100%; z-index: 4; pointer-events: none; }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 22px 0;
  background: var(--paper);
  border-bottom: 1px dashed var(--line);
}
.marquee__track { display: flex; width: max-content; gap: 28px; font-size: 13px; text-transform: uppercase; color: var(--ink-2); animation: marquee 40s linear infinite; }
.marquee__track i { font-style: normal; color: var(--accent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { position: relative; padding-block: clamp(88px, 11vw, 168px); border-bottom: 1px dashed var(--line); }
.section--tight { padding-block: clamp(64px, 8vw, 120px); }
.section::before, .section::after {
  content: "+";
  position: absolute;
  top: -11px;
  z-index: 3;
  font: 300 18px/1 var(--mono);
  color: rgba(42, 17, 20, 0.45);
}
.section { --gx: calc((100% - min(100%, var(--frame))) / 2 + min(100%, var(--frame)) * 0.066); }
.section::before { left: calc(var(--gx) - 5px); }
.section::after { right: calc(var(--gx) - 5px); }

.sec-label { display: flex; gap: 10px; align-items: center; font-size: 13px; text-transform: uppercase; color: var(--ink-2); margin-bottom: 26px; }
.sec-label span { color: var(--accent); }
.sec-label--light { color: #cfc5c2; }

.h2 {
  font-size: clamp(36px, 4.8vw, 74px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  max-width: 13ch;
}
.h2--wide { max-width: 18ch; }
.h2--xl { font-size: clamp(42px, 6vw, 96px); max-width: 12ch; }
.h2--light { color: #f5efec; max-width: 20ch; font-size: clamp(30px, 3.6vw, 54px); }

/* Word-reveal animation */
[data-anim="words"] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-anim="words"] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
[data-anim="words"].is-in .w > span { transform: none; }
.js [data-anim="fade"] { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
[data-anim="fade"].is-in { opacity: 1; transform: none; }
.js [data-anim="rise"] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
[data-anim="rise"].is-in { opacity: 1; transform: none; }


/* Problem */
.statement {
  font-size: clamp(26px, 3.5vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 26ch;
}
.statement .sw { opacity: 0.16; transition: opacity 0.3s linear; }
.statement .sw.is-on { opacity: 1; }
.pain-grid { margin-top: clamp(56px, 7vw, 100px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: 20px;
  background: var(--card-light);
  box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.07), 0 20px 40px -30px rgba(42, 17, 20, 0.35);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.pain:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.09), 0 30px 50px -30px rgba(42, 17, 20, 0.45); }
.pain__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(165deg, #5d5756, #302b2b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(196, 80, 62, 0.4);
  margin-bottom: 26px;
}
.pain__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pain h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 10px; }
.pain p { font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr minmax(0, 1fr); gap: 6vw; align-items: center; }
.calc__copy .h2 { margin-bottom: 22px; }
.calc__copy p { max-width: 40ch; font-size: 14px; line-height: 1.6; }
.dark { position: relative; background: var(--dark); color: #efe9e6; overflow: hidden; isolation: isolate; }
.dark > :not(.dotgrid):not(.device__glow) { position: relative; z-index: 1; }
.calc__card { border-radius: 28px; padding: clamp(26px, 3vw, 40px); box-shadow: 0 50px 90px -50px rgba(42, 17, 20, 0.7); }
.range { display: block; margin-bottom: 26px; }
.range__top { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; color: #cfc5c2; margin-bottom: 12px; text-transform: uppercase; }
.range__top output { color: #fff; font-weight: 500; }
input[type="range"] {
  --p: 50%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent)) 0 / var(--p) 100% no-repeat, rgba(255, 255, 255, 0.12);
  outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(226, 54, 31, 0.25), 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.3s;
}
input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(226, 54, 31, 0.3), 0 4px 10px rgba(0, 0, 0, 0.4); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(226, 54, 31, 0.25); }
.calc__result { margin-top: 34px; padding-top: 28px; border-top: 1px dashed rgba(255, 255, 255, 0.16); display: flex; flex-direction: column; gap: 6px; }
.calc__result > span:first-child { font-size: 12.5px; text-transform: uppercase; color: #cfc5c2; }
.calc__result strong { font-size: clamp(48px, 6vw, 84px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(180deg, #fff 30%, #ffb59c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc__year { font-size: 13px; color: #ff9a78; }

/* How it works */
.steps { position: relative; margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.steps__line { position: absolute; left: 0; right: 0; top: 2px; width: 100%; height: 40px; overflow: visible; pointer-events: none; }
.steps__line path { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: var(--draw, 1000); }
.step__num {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  margin-bottom: 22px;
}
.step__art { aspect-ratio: 16 / 10; border-radius: 22px; margin-bottom: 26px; display: grid; place-items: center; }
.step h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 10px; }
.step p { font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 36ch; }
.fwd { display: flex; align-items: center; gap: 22px; }
.fwd__phone, .fwd__ai {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(165deg, #5d5756, #302b2b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(196, 80, 62, 0.42);
}
.fwd__phone svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }
.fwd__ai { color: #fff; font-size: 16px; background: linear-gradient(160deg, #e2472b, #a92a1a); }
.fwd__arrow { display: flex; gap: 6px; }
.fwd__arrow i { width: 8px; height: 8px; border-top: 2px solid #ff8a5c; border-right: 2px solid #ff8a5c; transform: rotate(45deg); opacity: 0.2; animation: chev 1.4s infinite; }
.fwd__arrow i:nth-child(2) { animation-delay: 0.2s; }
.fwd__arrow i:nth-child(3) { animation-delay: 0.4s; }
@keyframes chev { 40% { opacity: 1; } }
.mini-wave { display: flex; align-items: center; gap: 4px; height: 70px; }
.mini-wave i { width: 4px; border-radius: 4px; background: linear-gradient(180deg, #ff8a5c, #c4402a); animation: mw 1.1s var(--ease-in-out) infinite alternate; }
@keyframes mw { from { height: 12%; } to { height: var(--h, 80%); } }
.mini-cal { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.mini-cal__grid { display: grid; grid-template-columns: repeat(7, 18px); gap: 6px; }
.mini-cal__grid i { height: 18px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); }
.mini-cal__grid i.on { background: var(--accent); box-shadow: 0 0 16px rgba(226, 54, 31, 0.8); animation: calPop 2.4s var(--ease) infinite; }
@keyframes calPop { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.35); } 30% { transform: scale(1); } }

/* Live demo call */
.demo-call { border-bottom: 0; }
.demo-call__panel { border-radius: 34px; padding: clamp(26px, 4vw, 56px); box-shadow: 0 60px 120px -60px rgba(42, 17, 20, 0.8); }
.demo-call__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.demo-call__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 270px; gap: clamp(20px, 3vw, 44px); align-items: start; }
.phone { padding: 10px; border-radius: 38px; background: linear-gradient(160deg, #3a3434, #141212); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -30px #000; }
.phone__screen { position: relative; border-radius: 30px; padding: 22px 18px 26px; min-height: 420px; background: radial-gradient(120% 70% at 50% 0%, #3b1a16 0%, #141010 70%); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.phone__top { width: 100%; display: flex; justify-content: space-between; font-size: 11px; color: #b9aeaa; text-transform: uppercase; }
.phone__avatar { position: relative; margin-top: 54px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #5d5756, #302b2b); box-shadow: 0 0 0 1px rgba(196, 80, 62, 0.5); }
.phone__avatar svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }
.phone__avatar span { position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(255, 110, 70, 0.5); animation: ping 2s var(--ease) infinite; }
.phone__who { margin-top: 20px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.phone__state { margin-top: 6px; font-size: 12px; color: #ff9a78; text-transform: uppercase; }
.phone__wave { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 3px; height: 60px; width: 100%; }
.phone__wave i { width: 3px; border-radius: 3px; background: #ff8a5c; height: 8%; transition: height 0.1s linear; }
.transcript { display: flex; flex-direction: column; gap: 14px; min-height: 420px; }
.t-line { max-width: 88%; padding: 14px 18px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.t-line.is-in { opacity: 1; transform: none; }
.t-line[data-who="ai"] { align-self: flex-start; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); border-top-left-radius: 6px; }
.t-line[data-who="caller"] { align-self: flex-end; background: linear-gradient(160deg, #e2472b, #b82f1d); color: #fff; border-top-right-radius: 6px; }
.t-line::before { display: block; font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 7px; opacity: 0.65; }
.t-line[data-who="ai"]::before { content: "Ava · AI receptionist"; }
.t-line[data-who="caller"]::before { content: "Caller"; }
.actions { padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.actions__title { font-size: 12px; text-transform: uppercase; color: #b9aeaa; margin-bottom: 18px; }
.actions__list { display: flex; flex-direction: column; gap: 14px; counter-reset: a; }
.actions__list li { position: relative; padding-left: 26px; font-size: 12.5px; line-height: 1.5; color: #8d817e; transition: color 0.5s; }
.actions__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); transition: all 0.5s var(--ease); }
.actions__list li b { display: block; color: #cfc5c2; font-weight: 500; text-transform: uppercase; font-size: 11px; }
.actions__list li.is-on { color: #f1ebe8; }
.actions__list li.is-on::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(63, 185, 80, 0.18); }
.actions__list li.is-on b { color: #b6f0bf; }

/* Features bento */
.bento { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  position: relative;
  border-radius: 26px;
  padding: 30px;
  background: var(--card-light);
  box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.07), 0 24px 50px -40px rgba(42, 17, 20, 0.4);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.card.dark { background: var(--dark); box-shadow: 0 40px 80px -50px rgba(42, 17, 20, 0.8); }
.card h3 { font-size: clamp(21px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 10px; max-width: 18ch; }
.card p { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 40ch; }
.card.dark p { color: #a89c99; }
.tag { display: inline-block; align-self: flex-start; font-size: 11.5px; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: rgba(42, 17, 20, 0.06); color: var(--ink-2); margin-bottom: 22px; }
.dark .tag, .tag--light { background: rgba(255, 255, 255, 0.08); color: #e6dedb; }
.card--a { grid-column: span 7; min-height: 400px; display: grid; grid-template-columns: 1fr 210px; grid-template-rows: auto 1fr; gap: 0 24px; }
.card--a .card__text { grid-column: 1; }
.card--a .clock { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.card--a .feed { grid-column: 1; align-self: end; }
.card--b { grid-column: span 5; }
.card--c, .card--d, .card--e { grid-column: span 4; }
.card--f { grid-column: span 7; }
.card--g { grid-column: span 5; }

.clock { position: relative; width: 210px; height: 210px; }
.clock svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.clock__track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 10; }
.clock__arc { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 540; stroke-dashoffset: 540; transition: stroke-dashoffset 2.4s var(--ease) 0.3s; filter: drop-shadow(0 0 8px rgba(226, 54, 31, 0.6)); }
.card.is-in .clock__arc { stroke-dashoffset: 0; }
.clock__ticks line { stroke: rgba(255, 255, 255, 0.25); stroke-width: 1.4; }
.clock__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.clock__center b { font-size: 40px; font-weight: 600; letter-spacing: -0.05em; color: #fff; line-height: 1; }
.clock__center span { font-size: 11px; text-transform: uppercase; color: #a89c99; margin-top: 6px; }
.feed { height: 112px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); font-size: 12.5px; color: #cfc5c2; margin-top: 26px; }
.feed li { display: flex; gap: 14px; padding: 6px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.08); animation: feed 10s linear infinite; }
.feed li span { color: #ff9a78; }
.feed li em { margin-left: auto; font-style: normal; color: #b6f0bf; }
@keyframes feed { to { transform: translateY(-500%); } }

.qa { margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.qa > div { padding: 11px 14px; border-radius: 14px; font-size: 14px; max-width: 86%; opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.card.is-in .qa > div { opacity: 1; transform: none; }
.card.is-in .qa > div:nth-child(2) { transition-delay: 0.5s; }
.card.is-in .qa > div:nth-child(3) { transition-delay: 1s; }
.card.is-in .qa > div:nth-child(4) { transition-delay: 1.5s; }
.qa__q { align-self: flex-start; background: rgba(42, 17, 20, 0.06); border-bottom-left-radius: 4px; }
.qa__a { align-self: flex-end; background: linear-gradient(160deg, #e2472b, #b82f1d); color: #fff; border-bottom-right-radius: 4px; }

.svc { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.svc li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 11px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.07); }
.svc li span:nth-child(2) { color: var(--muted); }
.svc li.is-edit { box-shadow: 0 0 0 1.5px var(--accent), 0 8px 20px -10px rgba(226, 54, 31, 0.5); }
.svc li.is-edit b { position: relative; }
.svc li.is-edit b::after { content: ""; position: absolute; right: -4px; top: 1px; bottom: 1px; width: 1.5px; background: var(--accent); animation: blink 1s steps(1) infinite; }

.calls { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; font-size: 12.5px; }
.calls li { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px dashed var(--line); opacity: 0; transform: translateX(-12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.card.is-in .calls li { opacity: 1; transform: none; }
.card.is-in .calls li:nth-child(2) { transition-delay: 0.12s; }
.card.is-in .calls li:nth-child(3) { transition-delay: 0.24s; }
.card.is-in .calls li:nth-child(4) { transition-delay: 0.36s; }
.calls i { width: 8px; height: 8px; border-radius: 50%; }
.calls i.ok { background: var(--ok); }
.calls i.msg { background: #f0a020; }
.calls em { font-style: normal; padding: 3px 8px; border-radius: 99px; background: rgba(42, 17, 20, 0.06); font-size: 11px; }
.calls time { color: var(--muted); }

.bars { margin-top: auto; height: 120px; display: flex; align-items: flex-end; gap: 10px; padding-top: 16px; }
.bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); transform: scaleY(0); transform-origin: bottom; transition: transform 1.2s var(--ease); }
.bars i:nth-child(6) { box-shadow: 0 0 20px rgba(226, 54, 31, 0.5); }
.card.is-in .bars i { transform: none; }
.card.is-in .bars i:nth-child(2) { transition-delay: 0.08s; } .card.is-in .bars i:nth-child(3) { transition-delay: 0.16s; } .card.is-in .bars i:nth-child(4) { transition-delay: 0.24s; } .card.is-in .bars i:nth-child(5) { transition-delay: 0.32s; } .card.is-in .bars i:nth-child(6) { transition-delay: 0.4s; } .card.is-in .bars i:nth-child(7) { transition-delay: 0.48s; }
.bars__legend { display: flex; gap: 10px; margin-top: 8px; font-size: 11px; color: var(--muted); }
.bars__legend span { flex: 1; text-align: center; }

.unq { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.unq__item { position: relative; display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.07); font-size: 15px; overflow: hidden; transition: background 0.6s, box-shadow 0.6s; }
.unq__mark { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(240, 160, 32, 0.16); color: #b26b00; font: 600 13px/1 var(--mono); transition: all 0.5s var(--ease); }
.unq__count { margin-left: auto; color: var(--muted); font-size: 12px; transition: opacity 0.4s; }
.unq__done { position: absolute; right: 16px; font-size: 12px; color: #1f7a2e; opacity: 0; transform: translateY(8px); transition: all 0.5s var(--ease); }
.unq__item--solve.is-solved { background: #eefaf0; box-shadow: 0 0 0 1px rgba(63, 185, 80, 0.4); }
.unq__item--solve.is-solved .unq__mark { background: var(--ok); color: #fff; }
.unq__item--solve.is-solved .unq__count { opacity: 0; }
.unq__item--solve.is-solved .unq__done { opacity: 1; transform: none; }

.teach { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.teach__row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.teach__row span { flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: #ff9a78; font-size: 11px; }
.teach__row p { font-family: var(--mono); color: #efe9e6; font-size: 13px; min-height: 1.6em; }
.teach__a::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #ff9a78; animation: blink 1s steps(1) infinite; }
.teach__saved { align-self: flex-start; padding: 7px 12px; border-radius: 99px; background: rgba(63, 185, 80, 0.15); color: #b6f0bf; font-size: 12px; opacity: 0; transform: translateY(8px); transition: all 0.5s var(--ease); }
.teach__saved.is-in { opacity: 1; transform: none; }

/* Dashboard preview */
.section--dash { overflow: hidden; }
.dash-stage { margin-top: clamp(48px, 6vw, 88px); perspective: 1600px; }
.dash {
  --tilt: 1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.08), 0 80px 120px -60px rgba(42, 17, 20, 0.55);
  overflow: hidden;
  transform-origin: 50% 0%;
  transform: rotateX(calc(var(--tilt) * 22deg)) scale(calc(1 - var(--tilt) * 0.06)) translateY(calc(var(--tilt) * 40px));
  will-change: transform;
}
.dash__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f4eeea; border-bottom: 1px solid rgba(42, 17, 20, 0.07); }
.dash__bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcd1cb; }
.dash__bar span { margin-left: 14px; font-size: 11.5px; color: var(--muted); }
.dash__body { display: grid; grid-template-columns: 200px 1fr; min-height: 480px; }
.dash__side { display: flex; flex-direction: column; gap: 4px; padding: 20px 14px; border-right: 1px solid rgba(42, 17, 20, 0.07); font-size: 12.5px; color: var(--ink-2); background: #fcfaf8; }
.dash__side b { font-family: var(--sans); font-size: 16px; letter-spacing: -0.03em; padding: 0 10px 16px; }
.dash__side span { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 8px; }
.dash__side span.on { background: var(--ink); color: #fff; }
.dash__side em { font-style: normal; padding: 0 7px; border-radius: 99px; background: #ffe9d0; color: #a35a00; font-size: 11px; }
.dash__main { padding: 22px; display: flex; flex-direction: column; gap: 16px; background: #faf7f5; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.07); }
.kpi span { display: block; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.kpi b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.04em; margin: 8px 0 4px; }
.kpi em { font-style: normal; font-size: 11px; color: #1f7a2e; }
.dash__row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.panel { padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.07); }
.panel__title { font-size: 11px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.spark { width: 100%; height: 140px; }
.spark__fill { fill: url(#sparkFill); }
.spark__line { fill: none; stroke: var(--accent); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.2s var(--ease); }
.dash.is-in .spark__line { stroke-dashoffset: 0; }
.panel__list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.panel__list em { font-style: normal; color: var(--muted); font-size: 12px; }
.dash__table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dash__table td { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.dash__table td:last-child { text-align: right; color: var(--muted); }
.pill { display: inline-block; padding: 3px 9px; border-radius: 99px; background: rgba(42, 17, 20, 0.06); font-size: 11px; }
.pill--ok { background: #e3f6e6; color: #1f7a2e; }
.pill--msg { background: #fff1db; color: #a35a00; }

/* Industries */
.inds { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border-radius: 22px;
  background: var(--card-light);
  box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: default;
  transition: background 0.6s var(--ease), color 0.6s, transform 0.6s var(--ease), box-shadow 0.6s;
}
.ind__n { font-size: 12px; color: var(--accent); }
.ind h3 { margin-top: auto; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; transition: transform 0.6s var(--ease); }
.ind__q { margin-top: 10px; font-size: 13px; color: var(--muted); transition: transform 0.6s var(--ease), color 0.6s; }
.ind__a { position: absolute; left: 24px; right: 24px; bottom: 24px; font-size: 15px; line-height: 1.4; color: #fff; opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.ind:hover, .ind:focus-visible { background: var(--dark); color: #fff; transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(42, 17, 20, 0.8); }
.ind:hover h3, .ind:focus-visible h3 { transform: translateY(-96px); }
.ind:hover .ind__q, .ind:focus-visible .ind__q { transform: translateY(-96px); color: #ff9a78; }
.ind:hover .ind__a, .ind:focus-visible .ind__a { opacity: 1; transform: none; transition-delay: 0.1s; }

/* Pricing */
.pricing__sub { margin-top: 20px; font-size: 14px; }
.plans { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 30px; border-radius: 26px; background: var(--card-light); box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.08); transition: transform 0.6s var(--ease); }
.plan:hover { transform: translateY(-6px); }
.plan--hot { background: var(--dark); color: #efe9e6; box-shadow: 0 50px 100px -50px rgba(42, 17, 20, 0.9); transform: translateY(-14px); }
.plan--hot:hover { transform: translateY(-20px); }
.plan__name { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; text-transform: uppercase; }
.plan__badge { padding: 5px 10px; border-radius: 99px; background: linear-gradient(160deg, #e2472b, #b82f1d); color: #fff; font-size: 10.5px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: 26px 0 12px; }
.plan__price .cur { font-size: 20px; font-weight: 500; }
.plan__price b { font-size: clamp(46px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.plan__price .mono { margin-left: 8px; font-size: 12px; color: var(--muted); text-transform: uppercase; }
.plan--hot .plan__price .mono { color: #a89c99; }
.plan__for { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--muted); min-height: 3.2em; }
.plan--hot .plan__for { color: #a89c99; }
.plan__list { margin: 26px 0 32px; padding-top: 22px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan--hot .plan__list { border-color: rgba(255, 255, 255, 0.15); }
.plan__list li { position: relative; padding-left: 28px; font-size: 15px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: rgba(226, 54, 31, 0.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4L18 8' fill='none' stroke='%23e2361f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 11px no-repeat; }
.pricing__fine { margin-top: 34px; font-size: 12px; color: var(--muted); text-align: center; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 6vw; align-items: start; }
.faq__list { border-top: 1px dashed var(--line); }
.qa-item { border-bottom: 1px dashed var(--line); }
.qa-item summary { position: relative; list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -0.02em; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary i { position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.5s var(--ease), background 0.3s; }
.qa-item summary i::before, .qa-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: var(--ink); transition: transform 0.5s var(--ease), background 0.3s; }
.qa-item summary i::after { transform: rotate(90deg); }
.qa-item[open] summary i { background: var(--ink); transform: rotate(180deg); }
.qa-item[open] summary i::before, .qa-item[open] summary i::after { background: #fff; }
.qa-item[open] summary i::after { transform: rotate(0); }
.qa-item > div { overflow: hidden; }
.qa-item p { padding: 0 48px 26px 0; font-family: var(--mono); font-size: 14px; line-height: 1.65; color: var(--ink-soft); max-width: 62ch; }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(100px, 12vw, 170px) 0 clamp(200px, 22vw, 290px); }
.sky--cta {
  background:
    radial-gradient(60% 70% at 100% 20%, rgba(248, 228, 212, 0.95) 0%, rgba(248, 228, 212, 0) 60%),
    radial-gradient(60% 80% at 0% 0%, #a5c4e6 0%, rgba(165, 196, 230, 0) 70%),
    linear-gradient(180deg, #d7e4f0 0%, #d4e1ee 50%, #e9e4e2 100%);
}
.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 5vw; align-items: center; }
.cta__copy p { margin-top: 26px; max-width: 42ch; font-size: 14px; line-height: 1.65; }
.form {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8), 0 40px 80px -40px rgba(42, 17, 20, 0.45);
  display: flex; flex-direction: column; gap: 14px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 7px; }
.form label > span { font-size: 11.5px; text-transform: uppercase; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(42, 17, 20, 0.12);
  font: 400 15px/1.3 var(--sans);
  color: var(--ink);
  transition: box-shadow 0.25s;
}
.form textarea { resize: vertical; min-height: 84px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px rgba(226, 54, 31, 0.12); }
.form .is-invalid { box-shadow: inset 0 0 0 1.5px #c62828; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { min-height: 1.2em; font-size: 12.5px; color: var(--ink-2); }
.form__note.is-ok { color: #1f7a2e; }
.form__note.is-err { color: #c62828; }
.btn.is-loading .btn__label { opacity: 0.5; }
.grass--cta { z-index: 2; }

/* Footer */
.footer { position: relative; z-index: 3; background: #2a1114; color: #cdbdbb; padding: 34px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.footer__brand svg { width: 24px; height: 24px; fill: #ff6b2c; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a:hover { color: #fff; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .card--a { grid-column: span 12; }
  .card--b { grid-column: span 6; }
  .card--c, .card--d { grid-column: span 6; }
  .card--e { grid-column: span 12; }
  .card--f, .card--g { grid-column: span 6; }
  .inds { grid-template-columns: repeat(2, 1fr); }
  .demo-call__grid { grid-template-columns: 230px minmax(0, 1fr); }
  .actions { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --guide: 14px; --pad: 24px; }
  .section { --gx: 14px; }
  .hero { height: auto; min-height: 100svh; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 118px; padding-bottom: 72px; gap: 48px; }
  .hero__title { margin-top: 48px; max-width: 12ch; }
  .hero__lede { margin-top: 44px; }
  .hero__hline--2 { display: none; }
  .hero__visual { padding-bottom: 0; }
  .device { max-width: 480px; }
  .calc, .faq, .cta__inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps__line { display: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan--hot { transform: none; }
  .plan--hot:hover { transform: translateY(-6px); }
  .demo-call__head { flex-direction: column; align-items: flex-start; }
  .demo-call__grid { grid-template-columns: 1fr; }
  .phone { max-width: 300px; width: 100%; margin: 0 auto; }
  .phone__screen { min-height: 340px; }
  .transcript { min-height: 0; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash__row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --guide: 10px; --pad: 18px; }
  .section { --gx: 10px; }
  .nav { gap: 12px; padding-left: 12px; top: 12px; }
  .nav__links { display: none; }
  .nav__div { display: none; }
  .nav .btn { margin-left: 0; }
  .hero__cta { flex-wrap: wrap; gap: 18px; }
  .stepper__btn { width: 42px; height: 42px; }
  .stepper__num { width: 54px; height: 54px; }
  .stepper__ring { width: 52px; height: 52px; }
  .card--a, .card--b, .card--c, .card--d, .card--e, .card--f, .card--g { grid-column: span 12; }
  .card--a { grid-template-columns: 1fr; }
  .card--a .clock { grid-column: 1; grid-row: auto; width: 170px; height: 170px; margin: 18px auto 0; }
  .card { padding: 24px; min-height: 0; }
  .inds { grid-template-columns: 1fr; }
  .ind { min-height: 0; }
  .ind h3 { margin-top: 18px; }
  .ind__a { position: static; opacity: 1; transform: none; color: var(--ink-2); margin-top: 12px; font-size: 14px; }
  .ind:hover, .ind:focus-visible { background: var(--card-light); color: var(--ink); transform: none; box-shadow: 0 0 0 1px rgba(42, 17, 20, 0.07); }
  .ind:hover h3, .ind:focus-visible h3, .ind:hover .ind__q, .ind:focus-visible .ind__q { transform: none; }
  .ind:hover .ind__q { color: var(--muted); }
  .ind:hover .ind__a { color: var(--ink-2); }
  .form__row { grid-template-columns: 1fr; }
  .kpi b { font-size: 24px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; }
  [data-anim="words"] .w > span { transform: none !important; }
}

/* When the Sign in button is hidden, the page links fit on phones too */
.nav.nav--no-signin { gap: 18px; padding-right: 16px; }
@media (max-width: 640px) {
  .nav.nav--no-signin .nav__links { display: flex; gap: 14px; }
  .nav.nav--no-signin .nav__links a { font-size: 13px; }
  .nav.nav--no-signin .nav__div { display: block; }
}
.nav__links a { white-space: nowrap; }
@media (max-width: 360px) {
  .nav.nav--no-signin { gap: 10px; padding-right: 12px; }
  .nav.nav--no-signin .nav__links { gap: 10px; }
  .nav.nav--no-signin .nav__div { display: none; }
}
