/* Omni site v2 prototype. Mobile first: 390, then 768, then 1024 and up.
   Motion rule: every transition and keyframe here moves transform or opacity only.
   Hidden starting states apply only under html.motion-ok (added in <head> when
   reduced motion is off). Without it, every element renders in its final state. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: auto;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
/* Smooth only for in-page link clicks (the link holds focus), never for the jump on arrival at a #hash. */
@media (prefers-reduced-motion: no-preference) {
  html:focus-within { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--action);
}
main { overflow-x: clip; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--haze); color: var(--ink); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 6px; }
* { scrollbar-color: var(--hairline) transparent; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg:not(.logo-mark):not(.sprite) { width: 1em; height: 1em; fill: currentColor; flex: none; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 0.92em; letter-spacing: -0.01em; font-weight: 450; }

.display-1 {
  font-size: clamp(2.75rem, 1.2rem + 3.9vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.display-2 {
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.lead { font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.body { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.fine { font-size: 15px; line-height: 1.5; color: var(--ink-3); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 14px; border-radius: 10px;
  background: var(--ink); color: var(--canvas); text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

/* ---------- Primary CTA (one label site wide: "Book a call") ---------- */
.cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 var(--cta-highlight), var(--cta-shadow);
  transition: transform var(--dur-press) var(--ease-out-strong);
  -webkit-tap-highlight-color: transparent;
}
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: var(--deep);
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-out-strong);
}
.cta-icon {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--cta-icon-fill);
  font-size: 15px;
  transition: transform var(--dur-quick) var(--ease-out-strong);
}
.cta--lg { min-height: 52px; padding: 8px 8px 8px 24px; font-size: 17px; }
.cta--lg .cta-icon { width: 36px; height: 36px; font-size: 17px; }
.cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .cta:hover::before { opacity: 1; }
  .cta:hover .cta-icon { transform: translate(2px, -1px); }
}

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 4px 8px 4px 4px;
  font-weight: 500; font-size: 17px; color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklch, var(--ink) 25%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  border-radius: 999px;
  transition: transform var(--dur-press) var(--ease-out-strong);
}
.text-link:active { transform: scale(0.97); }
.text-link-icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--canvas); color: var(--action);
  box-shadow: var(--elev-1);
  font-size: 13px;
}
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { text-decoration-color: var(--action); color: var(--action); }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 92px 0 56px; }
/* The live site's painted main street, behind everything. A morning haze keeps the copy readable,
   and the bottom fades into the page. */
.hero-scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero-haze {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--scrim-1) 0%, var(--scrim-2) 42%, var(--scrim-3) 100%);
}
@media (max-width: 1023.98px) {
  /* Lighter than the scrim tokens: strong only behind the copy (top 300 px; measured 4.5:1 or better for the lead at
     390 and 768), thin where the phone sits, so the photo reads. */
  .hero-haze { background: linear-gradient(180deg, color-mix(in srgb, var(--page) 70%, transparent) 0, color-mix(in srgb, var(--page) 62%, transparent) 300px, color-mix(in srgb, var(--page) 30%, transparent) 600px, color-mix(in srgb, var(--page) 30%, transparent) calc(100% - 200px), color-mix(in srgb, var(--page) 70%, transparent) 100%); }
}
/* A veil under the transparent nav bar, so its links never sit on the bare photo (Log in, Sign up at 1440). */
.hero-haze::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 160px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--page) 90%, transparent) 0, color-mix(in srgb, var(--page) 78%, transparent) 72px, transparent 100%);
}
.hero-grid { display: grid; gap: 36px; }
.hero-copy { max-width: 640px; }
.hero-line { display: block; }
.hero-sub { margin-top: 20px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }

@media (min-width: 1100px) {
  .hero { padding: 88px 0 40px; min-height: min(100svh, 1000px); display: flex; align-items: center; }
  .hero > .container { max-width: 1320px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
}

/* First paint: the headline only rises (never opacity 0). Subhead and CTA fade up after. */
@keyframes arrive-rise { from { transform: translateY(14px); } to { transform: none; } }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.motion-ok .hero-title { animation: arrive-rise var(--dur-story) var(--ease-out-expo) both; }
.motion-ok .hero-sub { animation: arrive var(--dur-story) var(--ease-out-expo) 80ms both; }
.motion-ok .hero-actions { animation: arrive var(--dur-story) var(--ease-out-expo) 160ms both; }

.hero-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stage-row { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
@media (min-width: 700px) {
  .stage-row { flex-direction: row; justify-content: center; align-items: flex-start; }
}
/* Until js/motion.js has set the stage to its first frame, the stage holds still and hidden. */
.motion-ok .hero-stage:not(.is-ready) .stage-row { opacity: 0; }

.replay {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: var(--canvas); color: var(--ink);
  font-size: 15px; font-weight: 500;
  box-shadow: var(--elev-1);
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out-strong);
}
.replay:active { transform: scale(0.97); }
.replay svg { color: var(--action); }

/* ---------- Phone (code drawn, same proportions as src/components/phone/iphone.tsx) ---------- */
.phone {
  --phone-w: min(84vw, 330px);
  position: relative;
  flex: none;
  width: var(--phone-w);
  aspect-ratio: 300 / 600;
}
@media (min-width: 1100px) {
  .phone { --phone-w: min(clamp(300px, 14vw + 150px, 370px), calc((100svh - 180px) / 2)); }
}
.phone-btn { position: absolute; width: 3px; border-radius: 2px; background: var(--phone-btn); }
.phone-btn--a { left: -2px; top: 17%; height: 4.5%; }
.phone-btn--b { left: -2px; top: 25%; height: 8.5%; }
.phone-btn--c { right: -2px; top: 28%; height: 13%; }
.phone-frame {
  position: absolute; inset: 0;
  border-radius: calc(var(--phone-w) * 0.17);
  background: linear-gradient(145deg, var(--metal-1) 0%, var(--metal-2) 18%, var(--metal-3) 38%, var(--metal-4) 58%, var(--metal-5) 78%, var(--metal-6) 100%);
  box-shadow:
    inset 0 0 0 1px var(--phone-ring),
    0 2px 6px var(--phone-shadow-1),
    0 40px 80px -30px var(--phone-shadow-2),
    0 80px 120px -60px var(--phone-shadow-3);
}
.phone-frame::before {
  content: ""; position: absolute;
  inset: calc(var(--phone-w) * 0.012);
  border-radius: calc(var(--phone-w) * 0.16);
  background: var(--phone-screen);
}
.phone-screen {
  position: absolute;
  inset: calc(var(--phone-w) * 0.043);
  border-radius: calc(var(--phone-w) * 0.135);
  overflow: hidden;
  background: var(--canvas);
  container-type: inline-size;
}
/* Sizes inside a phone or a screen card are in container units. */
.phone-screen, .screen {
  /* Legibility floor: a screen share at 1440 reads chips at 15px and labels at 13px or more.
     The px floors hold when the phone shrinks (short laptop screens, stacked cards). */
  --say: max(5.1cqw, 16px); --who: max(4.4cqw, 14px); --chip: max(4.8cqw, 15px); --chip-gap: 1.6cqw;
  --chip-pad: 1.7cqw 3.2cqw 1.7cqw 2.6cqw; --chip-icon: max(5cqw, 15px); --gap: 2.8cqw;
  --small: max(4.4cqw, 15px); --tiny: max(4.4cqw, 14px);
}
.status {
  position: absolute; inset: 0 0 auto; z-index: 30;
  display: flex; justify-content: space-between; align-items: flex-start;
  height: 15cqw; padding: 5cqw 8.5cqw 0;
  font-size: 4.8cqw; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
  pointer-events: none;
}
.status-time { width: 22cqw; text-align: center; }
.status-icons { display: flex; align-items: center; gap: 1.2cqw; padding-top: 0.8cqw; }
.status-icons i { display: block; height: 3.4cqw; }
.status-icons i:nth-child(1) {
  width: 5cqw;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 18% 35% no-repeat,
    linear-gradient(currentColor, currentColor) 27% 100% / 18% 58% no-repeat,
    linear-gradient(currentColor, currentColor) 55% 100% / 18% 80% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 18% 100% no-repeat;
}
.status-icons i:nth-child(2) { width: 3.4cqw; border-radius: 999px 999px 0 0; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.status-icons i:nth-child(3) { width: 7cqw; border-radius: 1.2cqw; box-shadow: inset 0 0 0 0.3cqw color-mix(in oklch, currentColor 45%, transparent), inset 0 0 0 0.9cqw var(--canvas), inset 0 0 0 4cqw currentColor; }
.island { position: absolute; top: 3.3cqw; left: 50%; z-index: 40; width: 31cqw; height: 9.5cqw; margin-left: -15.5cqw; border-radius: 999px; background: var(--phone-island); }
.home-bar { position: absolute; bottom: 2.4cqw; left: 50%; z-index: 30; width: 36cqw; height: 1.4cqw; margin-left: -18cqw; border-radius: 999px; background: color-mix(in oklch, var(--ink) 80%, transparent); }

.poster, .call, .incoming, .screen {
  background:
    radial-gradient(120% 60% at 50% 0%, var(--accent-soft) 0%, transparent 62%),
    linear-gradient(180deg, color-mix(in oklch, var(--haze) 70%, var(--canvas)) 0%, var(--mist) 30%, var(--canvas) 72%);
}

/* The call screen */
.call { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 16cqw 4.6cqw 7cqw; }
.call-head { display: flex; align-items: center; gap: 3cqw; padding: 1.5cqw 1cqw 0; }
.avatar {
  position: relative; flex: none;
  display: grid; place-items: center;
  border-radius: 999px;
  font-weight: 500; line-height: 1;
}
.avatar--jules { width: 11cqw; height: 11cqw; font-size: 4.8cqw; background: linear-gradient(150deg, var(--mist), var(--haze)); color: var(--deep); box-shadow: inset 0 0 0 1px var(--hairline); }
.avatar--caller { background: color-mix(in oklch, var(--canvas) 70%, transparent); color: var(--action); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--ink) 70%, transparent); }
.avatar--person { background: linear-gradient(150deg, var(--canvas), var(--haze)); color: var(--deep); box-shadow: inset 0 0 0 1px var(--hairline); }
.avatar--sm { width: 36px; height: 36px; font-size: 15px; }
.screen .avatar--sm, .phone-screen .avatar--sm { width: max(28px, 9cqw); height: max(28px, 9cqw); font-size: max(12px, 3.8cqw); }
.avatar--xs { width: 28px; height: 28px; font-size: 13px; }
.ring { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--sky-deep); opacity: 0; pointer-events: none; }
.call-who { min-width: 0; }
.call-name { font-size: 4.8cqw; font-weight: 600; line-height: 1.2; }
.call-sub { font-size: max(4.6cqw, 13.5px); color: var(--ink-2); line-height: 1.3; }
.call-sub span { white-space: nowrap; }
.call-state { margin-left: auto; display: grid; justify-items: end; gap: 0.4cqw; font-size: var(--tiny); color: var(--ink-2); font-weight: 500; }
.call-timer { font-size: var(--tiny); color: var(--ink); }

.wave { display: flex; align-items: center; justify-content: center; gap: 1.2cqw; height: 6cqw; margin: 2cqw 0 1.5cqw; }
.wave i { display: block; width: 1.3cqw; height: 100%; border-radius: 999px; background: var(--sky-deep); transform: scaleY(0.18); opacity: 0.45; }

.feed {
  position: relative; flex: 1; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, var(--mask-solid) 7cqw);
  mask-image: linear-gradient(to bottom, transparent 0, var(--mask-solid) 7cqw);
}
.feed-list, .screen-feed { display: flex; flex-direction: column; gap: var(--gap, 10px); }
.feed-list { padding: 6cqw 0.6cqw 1cqw; }

/* Shared call lines */
.msg-who { font-size: var(--who, 13.5px); font-weight: 600; line-height: 1.3; color: var(--ink-3); margin-bottom: 0.25em; }
.msg-say { font-size: var(--say, 16px); line-height: 1.38; color: var(--ink); }
.msg--agent .msg-who { color: var(--action); }
.msg--caller {
  align-self: flex-start;
  max-width: 92%;
  padding: 0.55em 0.8em;
  border-radius: 1.05em;
  background: color-mix(in oklch, var(--canvas) 86%, transparent);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.msg--caller .msg-who, .msg--caller .msg-say { font-size: inherit; }
.msg--caller { font-size: var(--say, 16px); }
.msg--caller .msg-who { font-size: var(--who, 13.5px); }

.chips { display: flex; flex-wrap: wrap; gap: var(--chip-gap, 6px); }
.chip {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: var(--chip-gap, 6px);
  padding: var(--chip-pad, 6px 12px 6px 9px);
  border-radius: 999px;
  overflow: hidden;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--deep);
  font-size: var(--chip, 14px);
  font-weight: 500;
  line-height: 1.25;
  transform-origin: 12% 0;
}
.chip--fact { background: var(--mist); box-shadow: none; }
.chip-icon { width: var(--chip-icon, 16px); height: var(--chip-icon, 16px); color: var(--action); }
.chip-icon-swap { display: inline-grid; }
.chip-icon-swap > * { grid-area: 1 / 1; }
.chip-fill { position: absolute; inset: 0; z-index: -1; background: var(--booked-soft); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--booked) 30%, transparent); border-radius: inherit; }
.chip--book .swap-b, .chip--book .chip-icon.swap-b { color: color-mix(in oklab, var(--booked) 62%, var(--ink)); }
.sweep { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; opacity: 0; }
.sweep > span { display: block; height: 100%; background: var(--sky-deep); transform: translateX(-100%); }

/* Label swap: two stacked labels; the final one shows by default. */
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.swap-a { opacity: 0; }

.sms { align-self: flex-end; max-width: 90%; display: grid; gap: 0.8cqw; }
.sms-meta { display: flex; align-items: center; justify-content: flex-end; gap: 1.2cqw; font-size: var(--tiny); color: var(--ink-3); }
.sms-meta svg { color: var(--action); }
.sms-bubble { padding: 2.4cqw 3.4cqw; border-radius: 4.6cqw 4.6cqw 1.2cqw 4.6cqw; background: var(--haze); color: var(--ink); font-size: var(--small); line-height: 1.36; }
.sms-status { text-align: right; font-size: var(--tiny); color: var(--ink-3); font-weight: 500; }

.token, .row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--page);
}
.row--new, .token, .summary-token {
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--elev-1);
}
.row-dot { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 999px; background: var(--action); }
.row-dot--booked { background: var(--booked); }
.row-dot--sky { background: var(--sky-deep); }
.row-name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.row-need { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.token {
  position: absolute; left: 50%; bottom: 8cqw; z-index: 6;
  display: block;
  width: calc(100% - 9cqw);
  transform: translateX(-50%);
  opacity: 0;
}

/* Incoming call layer */
.incoming {
  position: absolute; inset: 0; z-index: 8;
  display: flex; flex-direction: column; align-items: center;
  padding: 32cqw 8cqw 10cqw;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}
.incoming .avatar { width: 24cqw; height: 24cqw; font-size: 9cqw; }
.incoming-label { margin-top: 6cqw; font-size: 4.4cqw; color: var(--ink-2); font-weight: 500; }
.incoming-num { margin-top: 1.5cqw; font-size: 7cqw; color: var(--ink); }
.incoming-sub { margin-top: 1.5cqw; font-size: 4.4cqw; color: var(--ink-2); }
.incoming-hint { margin-top: auto; padding: 2.2cqw 4.4cqw; border-radius: 999px; background: var(--ink); color: var(--canvas); font-size: 4.4cqw; font-weight: 500; }

/* Today panel, beside the phone on desktop and below it on mobile */
.today {
  width: min(100%, 340px);
  padding: 16px;
  border-radius: 18px;
  background: var(--canvas);
  box-shadow: var(--elev-2);
}
@media (min-width: 700px) { .today { width: 280px; margin-top: 120px; } }
@media (min-width: 1100px) { .today { width: 272px; margin-top: 150px; margin-left: -6px; } }
.today-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.today-title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.today-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.tile { padding: 10px 12px; border-radius: 12px; background: var(--page); }
.tile-label { font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.tile-num { margin-top: 4px; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tile-line { margin-top: 2px; font-size: 14.5px; line-height: 1.35; color: var(--ink-2); }
.today-sub { margin: 14px 0 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.today-list { display: grid; gap: 8px; }

/* ---------- Section rhythm ---------- */
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head .lead { margin-top: 16px; max-width: 56ch; }
@media (min-width: 1024px) { .section-head { margin-bottom: 56px; } }

/* Reveals: play once, and vary by section */
[data-reveal="rise"] { transition: opacity var(--dur-story) var(--ease-out-expo), transform var(--dur-story) var(--ease-out-expo), filter var(--dur-story) var(--ease-out-expo); }
.motion-ok [data-reveal="rise"]:not(.is-in) { opacity: 0; transform: translateY(16px); filter: blur(12px); }
[data-reveal="scale"] { transition: opacity var(--dur-story) var(--ease-out-expo), transform var(--dur-story) var(--ease-out-expo); }
.motion-ok [data-reveal="scale"]:not(.is-in) { opacity: 0; transform: scale(0.97); }
[data-reveal="mask"] { overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
[data-reveal="mask"] > span { display: block; transition: transform var(--dur-story) var(--ease-out-expo), filter var(--dur-story) var(--ease-out-expo); }
.motion-ok [data-reveal="mask"]:not(.is-in) > span { transform: translateY(110%); filter: blur(12px); }
[data-reveal="blur"] { transition: opacity var(--dur-story) var(--ease-out-expo), filter var(--dur-story) var(--ease-out-expo), transform var(--dur-story) var(--ease-out-expo); }
.motion-ok [data-reveal="blur"]:not(.is-in) { opacity: 0; filter: blur(12px); transform: translateY(8px); }
[data-reveal="stagger"] > * { transition: opacity var(--dur-base) var(--ease-out-strong), transform var(--dur-base) var(--ease-out-strong); }
[data-reveal="stagger"] > :nth-child(2) { transition-delay: 50ms; }
[data-reveal="stagger"] > :nth-child(3) { transition-delay: 100ms; }
[data-reveal="stagger"] > :nth-child(4) { transition-delay: 150ms; }
.motion-ok [data-reveal="stagger"]:not(.is-in) > * { opacity: 0; transform: translateY(10px); }

/* ---------- Contrast strip ---------- */
.contrast { padding: 64px 0 104px; }
.contrast-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .contrast-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; } }
.contrast-copy .lead { margin-top: 18px; max-width: 44ch; }
.did-list { display: grid; gap: 14px; margin-top: 28px; }
.did-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.did-list svg { width: 22px; height: 22px; margin-top: 1px; color: var(--action); }
.contrast-stage { display: grid; justify-items: stretch; }
/* The message slip and the booking it loses to, overlapped: the slip top left, the booking landing over it. */
.slip, .booked-card { width: min(100%, 480px); padding: 26px 28px; border-radius: 20px; background: var(--canvas); }
.slip { justify-self: start; padding-bottom: 64px; box-shadow: inset 0 0 0 1px var(--hairline); transform-origin: 0 0; }
.slip-tag { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.slip-body { margin-top: 10px; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.slip-meta { margin-top: 14px; display: flex; gap: 14px; font-size: 15px; color: var(--ink-3); }
.booked-card { position: relative; z-index: 1; justify-self: end; margin-top: -36px; box-shadow: var(--elev-3); }
@media (min-width: 1024px) { .slip, .booked-card { width: 88%; } .booked-card { margin-top: -36px; } }
.booked-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--booked-soft);
  color: color-mix(in oklab, var(--booked) 62%, var(--ink));
  font-size: 16px; font-weight: 600;
}
.booked-tag svg { width: 20px; height: 20px; }
.booked-body { margin-top: 14px; font-size: 22px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.booked-meta { margin-top: 8px; font-size: 16px; color: var(--ink-2); }

/* ---------- During the call (the one pinned story) ---------- */
.story { padding: 96px 0 80px; }
.story-device { display: none; }
.story-steps { display: grid; gap: 20px; }
@media (min-width: 768px) { .story-steps { grid-template-columns: 1fr 1fr; } }
/* Stacked layout: each step is its title over one screen card (no card around the card). */
.step { display: grid; gap: 16px; align-content: start; }
.step-title { font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.step-text { margin-top: 8px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.screen {
  position: relative;
  container-type: inline-size;
  padding: 5cqw 5cqw 6cqw;
  border-radius: 24px;
  box-shadow: var(--elev-2);
}
.screen-head { display: flex; align-items: center; gap: 2.6cqw; padding-bottom: 3.4cqw; margin-bottom: 3cqw; border-bottom: 1px solid color-mix(in oklch, var(--hairline) 70%, transparent); }
.screen-head p { font-size: var(--small); font-weight: 600; }
.screen-head .mono { margin-left: auto; font-size: var(--tiny); color: var(--ink-2); }
.card-ctx, .fail-path {
  padding: 2.6cqw 3.2cqw;
  border-radius: 3.4cqw;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--elev-1);
}
.ctx-label { font-size: var(--tiny); font-weight: 600; color: var(--action); }
.ctx-name { font-size: calc(var(--small) * 1.05); font-weight: 600; }
.ctx-name .mono { font-weight: 400; color: var(--ink-2); margin-left: 1.4cqw; font-size: var(--tiny); }
.ctx-line { font-size: var(--small); color: var(--ink-2); line-height: 1.35; }
.fail-path { background: transparent; box-shadow: none; border: 1.5px dashed color-mix(in oklch, var(--ink-3) 45%, transparent); }
.fail-path p:last-child { font-size: var(--small); color: var(--ink-2); line-height: 1.35; }
.handoff { display: flex; align-items: center; gap: 3cqw; padding: 2cqw 0; }
.handoff-avatars { display: flex; }
.handoff-avatars .avatar + .avatar { margin-left: -2.4cqw; }
.handoff-label { font-size: calc(var(--small) * 1.05); font-weight: 600; color: var(--deep); }
.day-divider { display: flex; justify-content: center; }
.day-divider span { padding: 0.8cqw 3cqw; border-radius: 999px; background: color-mix(in oklch, var(--canvas) 70%, transparent); font-size: var(--tiny); color: var(--ink-3); font-weight: 500; }
.wa { display: grid; gap: 1cqw; max-width: 92%; }
.wa-meta { display: flex; align-items: center; gap: 1.4cqw; font-size: var(--tiny); font-weight: 600; color: var(--ink-2); }
.wa-meta svg { color: var(--booked); }
.wa-bubble { padding: 2.4cqw 3.4cqw; border-radius: 4.6cqw 4.6cqw 4.6cqw 1.2cqw; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--hairline); font-size: var(--small); line-height: 1.36; }

.story-rail { width: 180px; height: 3px; border-radius: 999px; background: var(--hairline); overflow: hidden; }
.story-rail-fill { display: block; height: 100%; background: var(--action); transform: translateX(-75%); transition: transform var(--dur-sheet) var(--ease-in-out-strong); }
.story[data-step="1"] .story-rail-fill { transform: translateX(-50%); }
.story[data-step="2"] .story-rail-fill { transform: translateX(-25%); }
.story[data-step="3"] .story-rail-fill { transform: translateX(0); }

/* Pinned layout: 1024 and up, motion on. Stacked cards everywhere else. */
@media (min-width: 1024px) {
  .motion-ok .story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; timeline-scope: --story; }
  .motion-ok .story-device { display: block; }
  .motion-ok .story-steps { display: block; view-timeline-name: --story; }
  .motion-ok .step { min-height: 70vh; display: flex; align-items: center; padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .motion-ok .step .screen { display: none; }
  .motion-ok .step-copy { max-width: 440px; }
  .motion-ok .step-title { font-size: clamp(36px, 2.9vw, 46px); letter-spacing: -0.028em; line-height: 1.08; color: var(--ink-3); transition: color var(--dur-base) var(--ease-out-strong); }
  .motion-ok .step.is-active .step-title { color: var(--ink); }
  .motion-ok .step-text { font-size: 20px; margin-top: 16px; color: var(--ink-3); transition: color var(--dur-base) var(--ease-out-strong); }
  .motion-ok .step.is-active .step-text { color: var(--ink-2); }
  /* The sticky phone clears the nav (72px) and uses the height a short laptop screen has,
     so the legibility floors still fit the longest step. */
  .story-sticky { position: sticky; top: max(72px, calc(50vh - var(--phone-h, 640px) / 2 - 16px)); display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .phone--story { --phone-w: min(clamp(300px, 14vw + 150px, 370px), calc((100svh - 144px) / 2)); }
  .story-screens { position: absolute; inset: 0; }
  /* Sizes scale with the phone, so the longest step (the restock one) fits at any height.
     At 1440 they give 15px chips and 13px labels or more. */
  .story-screens .screen { --say: 5.7cqw; --who: 4.6cqw; --chip: 5.2cqw; --chip-icon: 5.4cqw; --gap: 3.6cqw; --small: 5cqw; --tiny: 4.6cqw; }
  .motion-ok .story-steps { padding-bottom: 16vh; }
  .story-screens .screen {
    position: absolute; inset: 0;
    padding: 16cqw 4.6cqw 7cqw;
    border-radius: 0; box-shadow: none;
    opacity: 0; transform: translateY(8px);
    transition: opacity calc(var(--dur-base) * 0.65) var(--ease-out-strong), transform calc(var(--dur-base) * 0.65) var(--ease-out-strong);
  }
  .story-screens .screen.is-active { opacity: 1; transform: none; transition-duration: var(--dur-base); }
}
/* Tall enough for floors: one-line labels and chips never drop below 13px and 14px. */
@media (min-width: 1024px) and (min-height: 760px) {
  .story-screens .screen { --who: max(4.6cqw, 13px); --chip: max(5.2cqw, 14px); --chip-icon: max(5.4cqw, 15px); --tiny: max(4.6cqw, 13px); }
}
@supports (animation-timeline: view()) {
  @media (min-width: 1024px) {
    .motion-ok .story-rail-fill {
      transition: none;
      animation: rail-fill linear both;
      animation-timeline: --story;
      animation-range: contain 0% contain 100%;
    }
  }
}
@keyframes rail-fill { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* ---------- After the call ---------- */
.after { padding: 80px 0; }
.after-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .after-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; } }
.panel {
  container-type: inline-size;
  display: flex; flex-direction: column; gap: 18px;
  padding: 22px;
  border-radius: 20px;
  background: var(--canvas);
  box-shadow: var(--elev-1);
}
.panel-title { font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.thread { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: var(--page); }
.thread-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.thread-head .mono { color: var(--ink-3); font-weight: 400; }
.thread-time { align-self: center; margin-top: 6px; font-size: 14.5px; color: var(--ink-3); font-weight: 500; }
.bubble-out, .bubble-in { max-width: 88%; padding: 10px 14px; font-size: 16px; line-height: 1.42; }
.bubble-out { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--haze); color: var(--ink); transform-origin: 100% 100%; }
.bubble-in { align-self: flex-start; border-radius: 18px 18px 18px 6px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--hairline); transform-origin: 0 100%; }
.bubble-status { align-self: flex-end; font-size: 14.5px; color: var(--ink-3); font-weight: 500; }

.cb { display: flex; flex-direction: column; gap: 14px; }
.cb-line { position: relative; max-width: 100%; }
.week { display: grid; gap: 6px; }
.day {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 12px;
  border-radius: 12px;
  background: var(--page);
}
.day-name { font-size: 15.5px; font-weight: 600; min-width: 3ch; }
.day-note { font-size: 14.5px; color: var(--ink-3); }
.day--today { box-shadow: inset 0 0 0 1px var(--hairline); background: var(--canvas); }
.day--target { flex-wrap: wrap; }
.cb-chip {
  display: inline-flex; align-items: flex-start; gap: 8px;
  padding: 8px 12px; border-radius: 12px;
  background: var(--mist); color: var(--deep);
  font-size: 15px; font-weight: 500; line-height: 1.35;
  box-shadow: var(--elev-1);
}
.cb-chip svg { margin-top: 2px; color: var(--action); }
.cb-chip-text { display: grid; }
.cb-scheduled { font-size: 14.5px; font-weight: 600; color: var(--action); }
@container (min-width: 520px) {
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2.6fr); }
  .day { flex-direction: column; align-items: flex-start; min-height: 120px; }
  .day--target { flex-wrap: nowrap; }
}
.cb-ring { display: grid; gap: 12px; padding: 14px; border-radius: 16px; background: var(--page); }
.cb-ring-head { display: flex; align-items: center; gap: 12px; }
.cb-ring-title { font-size: 15.5px; font-weight: 600; }
.cb-ring-know { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: var(--mist); color: var(--deep); font-size: 15px; font-weight: 500; }

/* ---------- Outreach ---------- */
.outreach { padding: 80px 0; }
.outreach-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .outreach-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.list-card, .call-card { padding: 22px; border-radius: 20px; background: var(--canvas); }
.list-card { box-shadow: var(--elev-1); }
.list-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.list-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.guards { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.guard { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--mist); color: var(--deep); font-size: 15px; font-weight: 500; }
.guard svg { color: var(--action); }
.leads { display: grid; gap: 8px; }
.lead-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--page); }
.lead-row--active { background: var(--canvas); box-shadow: inset 0 0 0 1px var(--hairline), var(--elev-1); }
.status-pill { flex: none; display: inline-flex; font-size: 15px; font-weight: 500; }
.status-pill .swap > * { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--mist); color: var(--deep); }
.status-pill .swap svg { color: var(--action); }
.status-pill .status-booked { background: var(--booked-soft); color: color-mix(in oklab, var(--booked) 62%, var(--ink)); }
.status-pill .status-booked svg { color: inherit; }
.status-pill--muted { max-width: 16ch; color: var(--ink-3); font-weight: 400; text-align: right; line-height: 1.35; }
.call-card { --say: 16px; --who: 13.5px; --chip: 15px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--elev-2); }
.call-card-head { display: flex; align-items: center; gap: 12px; }
.call-card-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.call-card-title svg { color: var(--action); }
.call-card-sub { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.outcome { padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--ink-2); }
.outcome b { color: color-mix(in oklab, var(--booked) 62%, var(--ink)); font-weight: 600; }
.outreach-fine { margin-top: 16px; }

/* ---------- One place ---------- */
.oneplace { padding: 80px 0; }
.oneplace-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 1024px) { .oneplace-grid { grid-template-columns: 330px minmax(0, 1fr); gap: 32px; align-items: center; } }
.call-summary { display: grid; gap: 12px; padding: 20px; border-radius: 20px; background: var(--canvas); box-shadow: var(--elev-1); }
.summary-head { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; }
.summary-head svg { color: var(--action); }
.summary-head .mono { margin-left: auto; font-weight: 400; color: var(--ink-2); }
.summary-body { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.summary-token { padding: 10px 12px; border-radius: 12px; }
.bezel {
  border-radius: 28px; padding: 6px;
  background: color-mix(in oklch, var(--canvas) 55%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--ink) 70%, transparent), var(--elev-3);
}
.bezel-core { border-radius: 22px; background: var(--canvas); box-shadow: inset 0 1px 1px var(--phone-bezel-highlight), 0 0 0 1px var(--hairline); }
.owner-core { padding: 18px; }
@media (min-width: 768px) { .owner-core { padding: 24px; } }
.owner-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.owner-biz { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; }
.owner-biz svg { color: var(--action); }
.owner-tabs { display: flex; gap: 4px; margin: 14px 0 16px; padding: 4px; border-radius: 999px; background: var(--page); width: fit-content; max-width: 100%; }
.owner-tab { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.owner-tab.is-on { background: var(--ink); color: var(--canvas); }
@media (max-width: 399px) { .owner-tab { padding: 0 10px; } }
.owner-tiles { display: grid; gap: 10px; }
@media (min-width: 640px) { .owner-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.o-tile { padding: 14px; border-radius: 14px; background: var(--page); }
.o-tile .tile-num { font-size: 34px; }
.owner-cols { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 720px) { .owner-cols { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.block-title { margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.cb-list { display: grid; gap: 8px; }
.parts { display: grid; gap: 8px; }
.parts li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--page); font-size: 15.5px; line-height: 1.4; color: var(--ink-2); }
.parts b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Tuned for your business ---------- */
.tuned { padding: 80px 0 96px; }
.memory { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .memory { grid-template-columns: minmax(0, 1fr) 210px minmax(0, 1fr); gap: 24px; } }
.shop-card { padding: 20px; border-radius: 20px; background: var(--canvas); box-shadow: var(--elev-1); }
.shop-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.shop-title svg { color: var(--action); }
.shop-fields { display: grid; gap: 8px; margin: 14px 0 0; }
.field { padding: 10px 12px; border-radius: 12px; background: var(--page); }
.field dt { font-size: 14.5px; font-weight: 500; color: var(--ink-3); }
.field dd { margin: 2px 0 0; font-size: 16px; line-height: 1.45; }
.field--price dd { display: grid; gap: 4px; }
.price-row { display: flex; justify-content: space-between; gap: 12px; }
.price-row--edit { margin: 0 -6px; padding: 2px 6px; border-radius: 8px; background: color-mix(in oklch, var(--haze) 55%, transparent); }
.price-swap { justify-items: end; }
.shop-saved { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15.5px; font-weight: 500; color: var(--action); }

.hub-col { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 8px 0 28px; }
.hub { position: relative; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 999px; background: var(--ink); color: var(--canvas); box-shadow: inset 0 0 0 3px var(--action), var(--elev-2); }
.hub .ring { border-color: var(--action); }
.hub-core { font-size: 36px; font-weight: 500; }
.hub-name { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.fact {
  display: inline-grid; gap: 2px;
  padding: 8px 12px; border-radius: 12px;
  background: var(--mist); color: var(--deep);
  font-size: 15px; font-weight: 500; line-height: 1.3; text-align: left;
  box-shadow: var(--elev-1);
}
.fact-src { font-size: 14.5px; font-weight: 600; color: var(--action); }
.next-call { --say: 16px; --who: 13.5px; display: grid; gap: 10px; padding: 20px; border-radius: 20px; background: var(--canvas); box-shadow: var(--elev-1); }
.next-head { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; }
.next-head svg { color: var(--action); }
.fact-use { position: relative; isolation: isolate; padding: 0 3px; border-radius: 5px; background: none; color: var(--deep); font-weight: 600; }
.fact-use::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--mist); }

.setup-wrap { position: relative; margin-top: 72px; }
.setup { display: grid; gap: 28px; position: relative; }
.setup-line { position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; overflow: hidden; background: var(--hairline); border-radius: 2px; }
.setup-line-fill { display: block; width: 100%; height: 100%; background: var(--action); }
.setup-step { position: relative; padding-left: 38px; }
.setup-dot { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 999px; background: var(--canvas); box-shadow: inset 0 0 0 2px var(--action); }
.setup-step h3 { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.setup-step p { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 900px) {
  .setup { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .setup-line { left: 10px; right: calc(25% - 10px); top: 9px; bottom: auto; width: auto; height: 2px; }
  .setup-step { padding-left: 0; padding-top: 38px; }
  .setup-dot { top: 0; }
}

/* ---------- Pricing line ---------- */
.pricing { padding: 8px 0 88px; }
.pricing-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.pricing-band { padding: 28px 24px; border-radius: 24px; background: var(--canvas); box-shadow: var(--elev-1); }
.container.pricing-band { width: calc(100% - 32px); max-width: 1136px; }
.pricing-line { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2.1rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; max-width: 26ch; }

/* ---------- Hear it / Try it live ---------- */
.hear { padding: 24px 0 96px; }
.live-card {
  display: grid; gap: 40px; justify-items: center; text-align: center;
  padding: 44px 20px 48px;
  border-radius: 32px;
  background: var(--canvas);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--hairline), var(--elev-3);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .live-card { grid-template-columns: minmax(0, 1fr) auto; justify-items: start; text-align: left; align-items: center; gap: 168px; padding: 64px 88px 64px 72px; }
}
.live-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--hairline); font-size: 15px; font-weight: 500; }
.live-card .display-2 { margin-top: 20px; color: var(--ink); }
.live-lead { margin-top: 16px; font-size: clamp(1.2rem, 1.05rem + 0.4vw, 1.4rem); line-height: 1.5; color: var(--ink-2); }
.live-asks { display: none; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.live-asks li { padding: 10px 16px; border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--hairline); font-size: 16px; font-weight: 500; color: var(--ink); }
@media (min-width: 1024px) { .live-asks { display: flex; justify-content: flex-start; } }
.live-fine { margin-top: 22px; font-size: 15px; color: var(--ink-3); }

/* The live phone: the Omni mark, a level meter that fills the screen, the assistant's latest line, one big call button. */
.phone--live { --phone-w: min(80vw, 330px); }
@media (min-width: 1024px) { .phone--live { --phone-w: min(360px, calc((100svh - 260px) / 2)); } }
.lp-screen { background: linear-gradient(180deg, color-mix(in oklch, var(--haze) 80%, var(--canvas)) 0%, var(--canvas) 55%); color: var(--ink); }
.lp { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 20cqw 6cqw 8cqw; text-align: center; }
.lp-avatar { display: grid; place-items: center; width: 24cqw; height: 24cqw; border-radius: 999px; background: var(--page); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline), var(--elev-1); }
.lp-avatar .logo-mark { width: 14cqw; height: 14cqw; }
.lp-name { margin-top: 4.5cqw; font-size: max(7.4cqw, 20px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.lp-sub { margin-top: 1.4cqw; font-size: max(4.8cqw, 15px); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lp-viz { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; gap: 1.5cqw; padding: 4cqw 0; }
.lp-viz i {
  display: block; flex: none; width: 2.2cqw; height: min(100%, 40cqw); border-radius: 999px;
  background: var(--ink); opacity: 0.85;
  transform: scaleY(calc(0.12 + var(--k) * 0.4));
  transition: transform 90ms linear, opacity var(--dur-base) var(--ease-out-strong);
}
.lp-caption { width: 100%; min-height: calc(3 * 1.4em + 6.8cqw); padding: 3.4cqw 4cqw; border-radius: 4.4cqw; background: color-mix(in oklch, var(--page) 70%, transparent); box-shadow: inset 0 0 0 1px var(--hairline); font-size: max(4.8cqw, 15px); line-height: 1.4; color: var(--ink); display: grid; place-items: center; }
.lp-caption[hidden] { display: grid; visibility: hidden; }
.lp-dock { margin-top: 5cqw; display: grid; justify-items: center; gap: 2.5cqw; }
.lp-dock-label { display: inline-grid; height: 6cqw; font-size: max(4.4cqw, 14px); line-height: 6cqw; font-weight: 500; color: var(--ink-2); }
.lp-dock-label > * { grid-area: 1 / 1; transition: opacity var(--dur-quick) var(--ease-out-strong); }
.lp-dock-end { opacity: 0; }
.live-card[data-state="live"] .lp-dock-call, .live-card[data-state="connecting"] .lp-dock-call { opacity: 0; }
.live-card[data-state="live"] .lp-dock-end, .live-card[data-state="connecting"] .lp-dock-end { opacity: 1; }

/* The level meter by state. Idle breathes, connecting sweeps, live follows the assistant's voice (--lvl from
   js/live-call.js, 1 to 1.22), ended and error lie flat. Without JS it holds the idle shape. */
@media (prefers-reduced-motion: no-preference) {
  .live-card[data-loop-active][data-state="idle"] .lp-viz i { animation: viz-idle 2.4s var(--ease-in-out-strong) calc(var(--i) * -110ms) infinite alternate; }
  .live-card[data-loop-active][data-state="connecting"] .lp-viz i { animation: viz-sweep 1.1s var(--ease-in-out-strong) calc(var(--i) * 45ms) infinite; }
}
@keyframes viz-idle { from { transform: scaleY(calc(0.08 + var(--k) * 0.18)); } to { transform: scaleY(calc(0.12 + var(--k) * 0.5)); } }
@keyframes viz-sweep { 0%, 100% { transform: scaleY(0.08); } 40% { transform: scaleY(calc(0.25 + var(--k) * 0.7)); } }
.live-card[data-state="live"] .lp-viz i { transform: scaleY(calc(0.08 + (var(--lvl, 1) - 1) * 4.5 * var(--k))); opacity: 1; }
.live-card[data-state="ended"] .lp-viz i, .live-card[data-state="error"] .lp-viz i { transform: scaleY(0.05); opacity: 0.35; }

/* The call itself. One state on the card: idle, connecting, live, ended, error. */
button.live-call {
  position: relative; display: grid; place-items: center;
  width: 22cqw; height: 22cqw; padding: 0; border: 0; border-radius: 999px;
  background: var(--booked); color: var(--on-ink);
  box-shadow: var(--cta-shadow);
  cursor: pointer; font: inherit;
  transition: transform var(--dur-press) var(--ease-out-strong), background-color var(--dur-base) var(--ease-out-strong);
  -webkit-tap-highlight-color: transparent;
}
button.live-call:active { transform: scale(0.95); }
button.live-call:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
.live-call-icon { display: grid; place-items: center; }
.live-call-icon svg { width: 9cqw; height: 9cqw; transition: transform var(--dur-base) var(--ease-out-strong); }
.live-rings, .live-rings i { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.live-rings { transform: scale(var(--lvl, 1)); transition: transform 90ms linear; }
.live-rings i { box-shadow: inset 0 0 0 2px var(--accent); opacity: 0; }
/* Meaning colors (2026-10-25): the call button is green to call, red to hang up; the rings and the live meter are the
   accent (ink since 2026-10-28). */
.live-card[data-state="live"] button.live-call, .live-card[data-state="connecting"] button.live-call { background: var(--danger); }
.live-card[data-state="live"] .lp-viz i { background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .live-card[data-state="idle"] .live-rings i, .live-card[data-state="connecting"] .live-rings i { animation: live-ring 2.6s var(--ease-out-expo) infinite; }
  .live-rings i + i { animation-delay: 1.3s; }
  .live-card[data-state="connecting"] .live-rings i { animation-duration: 1.2s; }
}
@keyframes live-ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.75); opacity: 0; } }
.live-card[data-state="live"] .live-call-icon svg { transform: rotate(135deg); }
.live-card[data-state="live"] .live-rings i { opacity: 0.55; }
/* The rings loop only while js/live-call.js marks the card on screen in a visible tab. */
.live-card:not([data-loop-active]) .live-rings i { animation: none; }

/* Desktop: a "Press call" hint beside the phone, level with the button (the button's center sits 0.294 phone
   widths above the phone's bottom: screen inset, dock padding, label, gap, half the button). */
.lp-hint { display: none; }
@media (min-width: 1024px) {
  .lp-hint {
    position: absolute; right: calc(100% + 20px); bottom: calc(var(--phone-w) * 0.294); z-index: 2;
    display: inline-flex; align-items: center; gap: 12px; margin: 0;
    transform: translateY(50%);
    font-size: 17px; font-weight: 600; color: var(--ink); white-space: nowrap;
    transition: opacity var(--dur-base) var(--ease-out-strong);
  }
  .lp-hint-line { position: relative; display: block; width: 64px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--ink)); }
  .lp-hint-line::after { content: ""; position: absolute; right: -1px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translateY(-50%) rotate(45deg); }
  .live-card:not([data-state="idle"]) .lp-hint { opacity: 0; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .live-card[data-loop-active][data-state="idle"] .lp-hint-line { animation: hint-nudge 1.6s var(--ease-in-out-strong) infinite alternate; }
}
@keyframes hint-nudge { from { transform: translateX(-6px); } to { transform: translateX(4px); } }

/* The card's own "Book a call" shows only once a call has ended or could not start. */
.live-book { display: none; }
.live-card[data-state="error"] .live-book, .live-card[data-state="ended"] .live-book { display: inline-flex; margin-top: 24px; }
.t-tool { padding: 6px 10px; border-radius: 10px; background: var(--mist); color: var(--deep); font-size: 15px !important; font-weight: 500; }

/* ---------- Proof ---------- */
.proof { padding: 80px 0 96px; }
.proof-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .proof-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; } }
.proof-copy .lead { margin-top: 20px; max-width: 40ch; }
.proof-copy .fine { margin-top: 24px; max-width: 40ch; }
.stat { display: grid; gap: 6px 32px; padding: 26px 0; border-top: 1px solid var(--hairline); }
.stat:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 640px) { .stat { grid-template-columns: 200px minmax(0, 1fr); align-items: start; } .stat > div { padding-top: 6px; } .stat--study { grid-template-columns: 1fr; } }
.stat-num { font-size: 56px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num--lg { font-size: 72px; }
.count { display: inline-block; }
.stat-label { font-size: 18px; line-height: 1.45; }
.stat--study .stat-label { font-size: 17px; color: var(--ink-2); max-width: 60ch; }
.stat-src { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-top: 4px; font-size: 15.5px; color: var(--ink-3); text-decoration: underline; text-decoration-color: color-mix(in oklch, var(--ink-3) 30%, transparent); text-underline-offset: 4px; }
.stat-src svg { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) { .stat-src:hover { color: var(--action); } }

/* ---------- Founders, FAQ, final CTA, footer ---------- */
.founders { padding: 32px 0 80px; }
.founders-card { display: grid; gap: 32px; padding: 28px; border-radius: 28px; background: var(--canvas); box-shadow: var(--elev-2); }
@media (min-width: 1024px) { .founders-card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; padding: 56px; gap: 48px; } }
.founders-copy .lead { margin-top: 20px; max-width: 52ch; }
.founders-copy .body { margin-top: 16px; max-width: 52ch; }
.founders-people { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.person { padding: 18px; border-radius: 16px; background: var(--page); box-shadow: inset 0 0 0 1px var(--hairline); }
.person-avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 999px; background: linear-gradient(150deg, var(--mist), var(--haze)); box-shadow: inset 0 0 0 1px var(--hairline); color: var(--deep); font-size: 24px; font-weight: 500; }
.person-name { margin-top: 18px; font-size: 19px; font-weight: 500; }
.person-role { font-size: 15.5px; color: var(--ink-3); }
/* One "Our founding team" card in place of named people (the founders are not named on public pages, 2026-11-06). */
.founders-people--team { grid-template-columns: 1fr; }
.person--team { display: flex; align-items: center; gap: 18px; }
.person--team .person-name { margin-top: 0; }
.person-avatar svg { width: 30px; height: 30px; fill: currentColor; }

.faq { padding: 80px 0; }
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; } }
.faq-note { margin-top: 16px; max-width: 34ch; }
.qa { border-bottom: 1px solid var(--hairline); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 14px 0;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 100% no-repeat;
  transition: transform var(--dur-base) var(--ease-out-strong);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { max-width: 62ch; padding-bottom: 22px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.motion-ok .qa[open] p { animation: qa-in var(--dur-base) var(--ease-out-strong); }

.final { padding: 16px 0 88px; }
/* The closing card: the repair bench photo (a different shot from the hero) beside the copy, never under it, so the
   photo shows in full color and the copy sits on the card's own surface. Stacked on phones: photo, then copy. */
.final-card { position: relative; overflow: hidden; display: grid; border-radius: 32px; background: var(--surface); box-shadow: 0 0 0 1px var(--hairline), var(--elev-2); }
.final-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.final-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.final-copy { display: grid; justify-items: center; padding: 36px 22px 44px; text-align: center; }
.final-copy .display-2 { max-width: 16ch; margin-inline: auto; }
.final-copy .lead { max-width: 40ch; margin: 16px auto 28px; }
@media (min-width: 900px) {
  .final-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 520px; }
  .final-photo { order: 2; aspect-ratio: auto; }
  .final-img { object-position: 50% 45%; }
  .final-copy { align-content: center; justify-items: start; padding: 64px 56px; text-align: left; }
  .final-copy .display-2, .final-copy .lead { margin-inline: 0; }
}
/* The photo settles from a slight zoom as the card scrolls in (scroll-driven, no JS; static where unsupported). */
@supports (animation-timeline: view()) {
  .motion-ok .final-img { animation: final-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
}
@keyframes final-settle { from { transform: scale(1.12); } to { transform: none; } }

/* ---------- Reduced motion: every element is already in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Additions ---------- */
.wave i:nth-child(3n + 1) { height: 62%; }
.wave i:nth-child(3n + 2) { height: 100%; }
.wave i:nth-child(3n) { height: 44%; }
.token { left: 0; right: 0; margin-inline: auto; transform: none; }
.count-pill { display: inline-flex; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--mist); color: var(--deep); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.today-sub { display: flex; align-items: center; }
[data-k="s3-ai"] { opacity: 0.6; transform: scale(0.98); }
.memory { position: relative; }
.pulse { position: absolute; left: 0; top: 0; z-index: 4; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 999px; background: var(--action); box-shadow: 0 0 0 4px color-mix(in oklch, var(--action) 18%, transparent); opacity: 0; pointer-events: none; }
.fact-use::before { content: none; }
.fact-hl { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--mist); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--action) 30%, transparent); }
.cb-chip { position: relative; z-index: 3; }

.stage-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; }
.stage-top .replay { min-height: 44px; padding: 0 14px; font-size: 15.5px; }
.price-change { flex: none; display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.price-old { position: relative; color: var(--ink-3); }
.strike { position: absolute; left: 0; right: 0; top: 52%; height: 1.5px; overflow: hidden; }
.strike > span { display: block; height: 100%; background: var(--ink-3); }
.price-new { color: var(--ink); font-weight: 600; }

/* Phones: one control for the recorded call. The stage's "Play with sound" (play and stop) sits right above the phone,
   so the hero's "Hear a call" link, which starts the same recording, steps aside. */
@media (max-width: 699px) {
  .hero-actions [data-hear-call] { display: none; }
  .stage-top .replay { min-height: 48px; padding: 0 20px; font-size: 16px; }
}
.replay[data-waiting] { visibility: hidden; opacity: 0; }
@media (max-width: 479px) {
  .lead-row { flex-wrap: wrap; }
  .status-pill--muted { max-width: none; text-align: left; }
}

.msg--earlier .msg-say { font-size: calc(var(--say, 16px) * 0.88); color: var(--ink-2); }
.after-fine { margin-top: 16px; }
.shop-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.stat-src { min-height: 44px; }
@media (min-width: 1024px) {
  .story-screens .screen { display: flex; flex-direction: column; }
  .story-screens .screen-feed { margin-block: auto; padding-bottom: 16cqw; }
}

/* Solution page sections (solutions lane, 2026-10-26): the use-case cards and the whole-system row in the final card.
   Hidden starting states only under .motion-ok and released by .is-in (motion.js), so no JS and reduced motion show
   the final state. Transform and opacity only. */
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
@media (min-width: 768px) { .eyebrow { font-size: 16px; } }
.usecases { padding: 80px 0 96px; }
@media (min-width: 768px) { .usecases { padding: 120px 0 128px; } }
.uc-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 768px) { .uc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.uc-card { display: flex; flex-direction: column; padding: 24px; border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px var(--hairline); transition: transform var(--dur-base) var(--ease-out-strong), box-shadow var(--dur-base) var(--ease-out-strong), opacity var(--dur-base) var(--ease-out-strong); }
@media (min-width: 768px) { .uc-card { padding: 32px; } }
@media (hover: hover) and (pointer: fine) {
  .uc-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--hairline), var(--elev-2); }
  .uc-card:hover .uc-icon { transform: rotate(-6deg) scale(1.04); }
}
.uc-visual { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.uc-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--canvas); font-size: 30px; box-shadow: var(--elev-2); transition: transform var(--dur-base) var(--ease-out-strong); }
@media (min-width: 768px) { .uc-icon { width: 64px; height: 64px; } }
.uc-chip { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1.2; }
@media (min-width: 768px) { .uc-chip { font-size: 16px; } }
.uc-chip--done { background: var(--booked-soft); color: var(--booked); }
.uc-chip--live { background: var(--accent-soft); color: var(--accent); }
.uc-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; }
.uc-title { margin-top: 28px; font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.25rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); }
.uc-rows { flex: 1; display: flex; flex-direction: column; gap: 20px; margin: 24px 0 0; font-size: 17px; line-height: 1.6; }
@media (min-width: 768px) { .uc-rows { font-size: 18px; } }
.uc-rows dt { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.uc-rows dd { margin: 4px 0 0; color: var(--ink-2); }
.uc-rows dd.uc-does { color: var(--ink); }
.uc-result { margin-top: auto; padding: 16px; border-radius: 16px; background: var(--canvas); box-shadow: 0 0 0 1px var(--hairline); }
@media (min-width: 768px) { .uc-result { padding: 20px; } }
.uc-rows .uc-result dt { color: var(--booked); }
.uc-rows .uc-result dd { color: var(--ink); font-weight: 500; }
@keyframes uc-chip-in { from { opacity: 0; transform: translateX(-14px) scale(0.96); } }
@keyframes uc-pop-in { from { opacity: 0; transform: scale(0.6) rotate(-12deg); } }
.motion-ok .uc-grid:not(.is-in) :is(.uc-chip, .uc-icon) { opacity: 0; }
.motion-ok .uc-grid.is-in .uc-icon { animation: uc-pop-in var(--dur-story) var(--ease-out-expo) calc(120ms + var(--d, 0ms)) backwards; }
.motion-ok .uc-grid.is-in .uc-chip { animation: uc-chip-in var(--dur-story) var(--ease-out-expo) calc(280ms + var(--d, 0ms)) backwards; }
.uc-grid > :nth-child(2) { --d: 70ms; }
.uc-grid > :nth-child(3) { --d: 140ms; }
.uc-grid > :nth-child(4) { --d: 210ms; }
@media (min-width: 1600px) { .usecases .container { max-width: 1400px; } .uc-card { padding: 40px; } .uc-rows { font-size: 19px; } }

.final-copy .eyebrow { margin-bottom: 14px; }
.sys-row { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (min-width: 1024px) { .sys-row { justify-content: flex-start; } }
.sys-mark { padding: 10px 16px; border-radius: 999px; background: var(--canvas); box-shadow: 0 0 0 1px var(--hairline); font-size: 16px; font-weight: 500; line-height: 1; color: var(--ink); }
.sys-mark--self { background: var(--ink); color: var(--canvas); box-shadow: var(--elev-2); }
.final-copy .sys-row + .lead { color: var(--ink); }
.sys-row > :nth-child(5) { transition-delay: 200ms; }

/* Wide, tall screens (2026-10-25, founder: "make stuff big"): the page scales up as a whole from 1920 px, so the
   1200 px layout (tuned for the sticky phone story) reads as large as the Next pages do at 2560. */
@media (min-width: 1920px) and (min-height: 1000px) {
  main#main { zoom: 1.2; }
}
