:root {
  --ink: #111114;
  --ink-soft: #5a5a63;
  --ink-faint: #8a8a92;
  --paper: #fbfaf8;
  --line: #ece9e3;

  --amber: #f5a623;
  --amber-deep: #c2740a;
  --amber-tint: #fdf3e2;

  --shadow-sm: 0 1px 2px rgba(17, 17, 20, 0.04), 0 2px 8px rgba(17, 17, 20, 0.04);

  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* The logo band is full-bleed via 100vw, which overflows by the scrollbar width.
   Clip it on <main> (not html/body) so the overflow is contained while the sticky
   nav in <header> — a sibling of <main> — keeps working. */
main { overflow-x: clip; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Glow ---------- */
.glow {
  position: fixed;
  top: -18vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 120vw);
  height: 700px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(245, 166, 35, 0.20) 0%,
    rgba(245, 166, 35, 0.08) 38%,
    rgba(245, 166, 35, 0) 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(251, 250, 248, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav__mark { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; }
.nav__symbol {
  width: 26px;
  height: 26px;
  display: block;
}
.nav__logo .nav__symbol { width: 30px; height: 30px; }
.nav__tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav__menu a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav__menu a:not(.btn):hover { color: var(--ink); }

/* Hamburger toggle (mobile only). */
.nav__toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 18px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease);
  will-change: transform;
}
.btn--lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(17, 17, 20, 0.18);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink-faint);
  transform: translateY(-2px);
}

.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px 40px;
  text-align: center;
}
.hero__copy { max-width: 760px; margin: 0 auto; }

.hero__title {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--ink);
}
.hero__title em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--amber-deep), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.04em;
}
.hero__sub {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.4;
  font-weight: 450;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

.hero__cta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Product demo (frameless floating video) ---------- */
.hero__demo {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 56px auto 0;
}
/* Warm glow pooling behind the floating video. */
.hero__demo::before {
  content: "";
  position: absolute;
  inset: -14% -10% -20%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 48%, rgba(245, 166, 35, 0.22), transparent 70%);
  filter: blur(10px);
}

/* aspect-ratio reserves space so there is no layout shift before the file loads. */
.demo-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #f6f4f0;
  box-shadow: 0 2px 6px rgba(17, 17, 20, 0.05), 0 34px 64px -22px rgba(17, 17, 20, 0.32);
}
.demo-frame__vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Trust ---------- */
.trust {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px 0;
  text-align: center;
}
.trust__label {
  padding: 0 24px;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
/* Full-bleed band framed by subtle hairlines, holding the label + logos. */
.trust__band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 30px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.logo {
  flex: none;
  width: auto;
  margin: 0 38px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  mix-blend-mode: multiply; /* drops the white JPG backgrounds on the paper band */
  transition: opacity 0.25s var(--ease);
}
.logo:hover { opacity: 0.9; }
/* Per-logo heights tuned so the optical weights match (wordmarks read smaller). */
.logo--bloom { height: 34px; }
.logo--cotter { height: 40px; }
.logo--ily { height: 20px; }
.logo--mose { height: 24px; }

/* ---------- Stat break (dark contrast section) ---------- */
.stat {
  padding: clamp(48px, 8vh, 88px) 24px clamp(64px, 10vh, 110px);
}
.stat__card {
  --fg: #fbfaf8;
  --fg-muted: rgba(251, 250, 248, 0.5);
  max-width: var(--max);
  margin: 0 auto;
  background: var(--ink);
  color: var(--fg);
  text-align: center;
  border-radius: 32px;
  padding: clamp(76px, 13vh, 150px) 24px;
  box-shadow: 0 40px 90px -45px rgba(17, 17, 20, 0.5);
}
/* Serif-italic number + sans "%". The % sits in the top-right "ear" via
   flex-start alignment and a small top margin (no absolute positioning). */
.stat__num {
  display: inline-flex;
  align-items: flex-start;
  line-height: 0.85;
  color: var(--amber);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(120px, 22vw, 260px);
  letter-spacing: -0.04em;
}
.stat__pct {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 0.32em;
  letter-spacing: normal;
  margin-top: 0.5em;
  margin-left: 0.04em;
}
.stat__line {
  margin: 26px auto 0;
  max-width: 1000px;
  font-family: "Inter", sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  font-weight: 450;
  color: var(--fg);
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* Desktop has too few logos to loop convincingly, so show them static and
   centered (no scroll, no repetition). Mobile keeps the marquee. */
@media (min-width: 721px) {
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee__track {
    width: 100%;
    justify-content: center;
    animation: none;
  }
  .logo[aria-hidden] { display: none; }
  .logo { margin: 0 52px; }
}

/* ==========================================================
   Ways — four interactive demo cards (PLACEHOLDER, dark panel)
   Tokens scoped to .ways__panel so they don't leak globally.
   ========================================================== */
.ways { padding: clamp(36px, 6vh, 80px) 24px clamp(72px, 11vh, 120px); }
.ways__panel {
  --bg: #111114;
  --bg-card: rgba(255, 255, 255, 0.025);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --fg: #f5f5f5;
  --fg-muted: rgba(245, 245, 245, 0.62);
  --fg-subtle: rgba(245, 245, 245, 0.42);
  --accent: #f5a623;
  --w-body: #ffffff;
  --w-text: #1a1a1a;
  --w-text-muted: #6b6b6b;
  --w-text-subtle: #999999;
  --w-border: rgba(0, 0, 0, 0.08);
  --w-user-bubble: #f0f0ef;
  --font-sans: "Geist", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --eo: cubic-bezier(0.16, 1, 0.3, 1);

  max-width: var(--max);
  margin: 0 auto;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  padding: 0;
}
.ways__header { text-align: center; margin-bottom: clamp(36px, 6vh, 64px); }
.ways__header h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}
.ways__header h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
@media (max-width: 880px) { .cards-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(26px, 3.4vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transition: border-color 0.4s var(--eo);
  opacity: 0;
  transform: translateY(28px);
}
.card.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--eo), transform 0.8s var(--eo);
}
.card:hover { border-color: var(--border-strong); }
.card-head { width: 100%; text-align: left; }
.card-head h3 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
}
.card-head h3 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--accent); }
.card-context {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* Widget mockup */
.widget {
  width: 100%;
  max-width: 360px;
  background: var(--w-body);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: var(--w-text);
  position: relative;
  --brand: #888;
  --brand-soft: #eee;
}
.widget--sage { --brand: #8fa896; --brand-soft: #e7ede8; }
.widget--amber { --brand: #c98a4b; --brand-soft: #f7ead8; }
.widget--navy { --brand: #2c3e5a; --brand-soft: #dee5ef; }
.widget--slate { --brand: #3a4451; --brand-soft: #e2e5ea; }

.w-header { background: var(--brand); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.w-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); border: 2px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic; font-size: 18px; color: #fff;
  position: relative; transition: opacity 0.4s var(--eo), transform 0.4s var(--eo);
}
.w-avatar-dot {
  position: absolute; bottom: -1px; right: -1px; width: 11px; height: 11px;
  border-radius: 50%; background: #4ade80; border: 2px solid var(--brand);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
}
.w-meta { flex: 1; min-width: 0; }
.w-name { font-family: var(--font-serif); font-style: italic; font-size: 16px; line-height: 1.15; transition: opacity 0.3s var(--eo); }
.w-status { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); margin-top: 2px; transition: opacity 0.3s var(--eo); }
.w-close { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }

.w-body { padding: 18px 16px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 280px; background: var(--w-body); }
.msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.42; }
.msg.user { align-self: flex-end; background: var(--w-user-bubble); color: var(--w-text); border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--brand-soft); color: var(--w-text); border-bottom-left-radius: 4px; }
.msg.appear { animation: msgIn 0.45s var(--eo); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.w-footer { padding: 10px 16px; border-top: 1px solid var(--w-border); background: var(--w-body); text-align: center; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; color: var(--w-text-subtle); text-transform: uppercase; }
.w-footer span { color: var(--w-text-muted); font-weight: 500; }

/* Card 1 slots */
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
.slot { padding: 10px 6px; background: #fff; border: 1px solid var(--brand); border-radius: 10px; font-size: 12.5px; font-weight: 500; color: var(--brand); transition: all 0.2s var(--eo); text-align: center; }
.slot:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.slot-confirmed { grid-column: 1 / -1; background: #4ade80; border-color: #4ade80; color: #0f3a1f; cursor: default; padding: 12px; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; animation: slotConfirm 0.5s var(--eo); }
.slot-confirmed svg { width: 14px; height: 14px; }
@keyframes slotConfirm { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* Card 2 code */
.code-card { background: linear-gradient(135deg, var(--brand-soft), #fff); border: 1px dashed var(--brand); border-radius: 12px; padding: 14px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.code-info { display: flex; flex-direction: column; gap: 3px; }
.code-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--w-text-subtle); }
.code-value { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--brand); line-height: 1; }
.code-desc { font-size: 11px; color: var(--w-text-muted); margin-top: 2px; }
.code-copy { padding: 8px 14px; background: var(--brand); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 500; transition: all 0.2s var(--eo); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.code-copy:hover { transform: scale(1.04); }
.code-copy.copied { background: #4ade80; pointer-events: none; }
.code-copy svg { width: 12px; height: 12px; }

/* Card 3 order */
.order-btn { width: 100%; padding: 13px 16px; background: var(--brand); color: #fff; border-radius: 12px; font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; transition: all 0.2s var(--eo); margin-top: 4px; }
.order-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(44, 62, 90, 0.3); }
.order-btn .arrow { transition: transform 0.2s var(--eo); }
.order-btn:hover .arrow { transform: translateX(3px); }
.order-btn.done { background: #4ade80; color: #0f3a1f; pointer-events: none; }
.order-btn.done .arrow { display: none; }
.order-btn.done .check { display: inline-flex; }
.order-btn .check { display: none; align-items: center; gap: 6px; }
.order-btn .check svg { width: 14px; height: 14px; }

/* Card 4 handoff */
.handoff-btn { width: 100%; padding: 13px 16px; background: var(--brand); color: #fff; border-radius: 12px; font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; transition: all 0.2s var(--eo); margin-top: 4px; }
.handoff-btn:hover { transform: translateY(-1px); }
.handoff-btn:disabled { opacity: 0.6; pointer-events: none; }
.ai-avatar { background: linear-gradient(135deg, #f5a623, #d97706); border-color: rgba(255, 255, 255, 0.3); font-style: normal; font-family: var(--font-sans); }
.ai-avatar svg { width: 18px; height: 18px; color: #0a0a0a; }
.w-avatar.fading-out { opacity: 0; transform: scale(0.85); }
.w-avatar.fading-in { opacity: 0; transform: scale(0.85); animation: avatarIn 0.5s var(--eo) 0.1s forwards; }
@keyframes avatarIn { to { opacity: 1; transform: scale(1); } }

.typing { align-self: flex-start; display: flex; gap: 4px; padding: 11px 14px; background: var(--brand-soft); border-radius: 14px; border-bottom-left-radius: 4px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: 0.6; animation: typingDot 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.try-hint { position: absolute; bottom: -10px; right: 18px; font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; background: rgba(245, 166, 35, 0.12); border: 1px solid rgba(245, 166, 35, 0.3); border-radius: 999px; animation: hintPulse 2.5s ease-in-out infinite; }
.try-hint.hidden { display: none; }
@keyframes hintPulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

/* Expandable tile (collapsed) + hover lift + tight amber glow */
.card { position: relative; }
.card--tile { cursor: pointer; }
.card--tile .widget { pointer-events: none; margin-top: 22px; }
/* Conversation screenshot on a clean white surface */
.chat-shot {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border: 1px solid rgba(17, 17, 20, 0.06);
  border-radius: 18px;
  padding: clamp(14px, 2vw, 22px);
  box-shadow: 0 18px 44px -18px rgba(17, 17, 20, 0.28);
}
.chat-shot img { display: block; width: 100%; height: auto; }
.tm-demo .chat-shot { max-width: 480px; }
.tm-demo .widget { pointer-events: auto; margin-top: 0; }
.card--tile .card-context { display: none; }
.card-video { display: block; border-radius: 14px; }

/* Tile preview: video paused on its final frame */
.card--tile .card-visual {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.card--tile .card-video {
  width: auto;
  max-width: 100%;
  max-height: clamp(300px, 40vh, 420px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Modal: larger player */
.tm-demo .card-video {
  width: auto;
  max-width: 100%;
  max-height: min(58vh, 520px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* Card 1: larger video demo */
#card-1 .card-video { max-height: clamp(380px, 56vh, 560px); }

/* ===== Light tiles on aurora gradient (exploration) ===== */
.ways__header h2 { color: var(--ink); }
.ways .card {
  background:
    radial-gradient(85% 85% at 90% 92%, rgba(245, 166, 35, 0.42), transparent 60%),
    #ffffff;
  border: 1px solid rgba(17, 17, 20, 0.07);
  box-shadow: 0 1px 2px rgba(17, 17, 20, 0.04), 0 20px 40px -28px rgba(17, 17, 20, 0.25);
}
.ways .card-head h3 { color: var(--ink); }
.ways .card-context { color: rgba(17, 17, 20, 0.45); }
.ways .card--tile.in:hover {
  border-color: rgba(245, 166, 35, 0.32);
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.22), 0 0 16px -5px rgba(245, 166, 35, 0.2);
}
.ways .card-video { box-shadow: 0 18px 44px -16px rgba(17, 17, 20, 0.45); }

.card--tile .card-head { padding-right: 46px; }
.card-expand {
  position: absolute;
  top: clamp(20px, 3vw, 30px);
  right: clamp(20px, 3vw, 30px);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(245, 166, 35, 0.14);
  border: none;
  color: var(--accent);
  transition: background 0.25s var(--eo), color 0.25s var(--eo);
}
.card-expand svg { width: 16px; height: 16px; }
.card--tile.in:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.55);
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.55), 0 0 18px -2px rgba(245, 166, 35, 0.45);
}
.card--tile:hover .card-expand { background: #fff; border-color: #fff; color: #111; }

/* Expanded tile modal — elevated, page blurred behind */
.tile-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(8, 8, 10, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--eo), visibility 0.3s var(--eo);
}
.tile-modal.open { opacity: 1; visibility: visible; }
.tile-modal__panel {
  --accent: #f5a623;
  --fg: #111114; --fg-muted: rgba(17, 17, 20, 0.6); --fg-subtle: rgba(17, 17, 20, 0.4);
  --w-body: #fff; --w-text: #1a1a1a; --w-text-muted: #6b6b6b; --w-text-subtle: #999; --w-border: rgba(0, 0, 0, 0.08); --w-user-bubble: #f0f0ef;
  --font-sans: "Geist", sans-serif; --font-serif: "Instrument Serif", Georgia, serif; --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
  --eo: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 100%; max-width: min(980px, 100%);
  background:
    radial-gradient(85% 85% at 90% 92%, rgba(245, 166, 35, 0.34), transparent 60%),
    #ffffff;
  border: 1px solid rgba(17, 17, 20, 0.08);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 40px 100px -30px rgba(17, 17, 20, 0.3), 0 4px 14px rgba(17, 17, 20, 0.06);
  transform: translateY(14px) scale(0.99);
  transition: transform 0.35s var(--eo);
  display: flex; flex-direction: column; gap: clamp(24px, 3.5vw, 40px);
  text-align: left;
  font-family: var(--font-sans); color: var(--fg);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}
.tile-modal.open .tile-modal__panel { transform: none; }

.tm-top { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.tm-intro { display: flex; flex-direction: column; gap: 18px; padding-right: 44px; }
.tm-intro .card-head h3 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 10px; }
.tm-desc { margin: 0; color: var(--fg-muted); font-size: clamp(15px, 1.3vw, 17px); line-height: 1.55; max-width: 46ch; }
.tm-cta { margin-top: 6px; }
.tm-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #111114; color: #fff; font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 11px; text-decoration: none;
  transition: transform 0.2s var(--eo), box-shadow 0.25s var(--eo);
}
.tm-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(17, 17, 20, 0.25); }
.tm-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tm-checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg); font-size: 15px; line-height: 1.4; }
.tm-checklist svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 1px; }
.tm-demo {
  display: flex; justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 18px;
  background: radial-gradient(120% 100% at 50% 100%, rgba(245, 166, 35, 0.10), transparent 60%), rgba(17, 17, 20, 0.03);
  border: 1px solid rgba(17, 17, 20, 0.06);
}
@media (max-width: 760px) {
  .tm-top { grid-template-columns: 1fr; gap: 24px; }
  .tm-intro { padding-right: 0; }
}
.tile-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(17, 17, 20, 0.06); color: var(--fg-muted);
  display: grid; place-items: center; font-size: 18px; line-height: 1;
  transition: background 0.2s var(--eo), color 0.2s var(--eo);
}
.tile-modal__close:hover { background: #111114; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .card { opacity: 1; transform: none; }
}

/* ==========================================================
   Showcase — product on desktop + mobile (edge to edge)
   ========================================================== */
.showcase {
  position: relative;
  padding: clamp(72px, 12vh, 140px) 24px clamp(96px, 14vh, 170px);
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 82% 8%, rgba(245, 166, 35, 0.12), transparent 60%),
    radial-gradient(60% 55% at 8% 92%, rgba(245, 166, 35, 0.07), transparent 60%),
    var(--paper);
}
.showcase__head { max-width: 720px; margin: 0 auto clamp(48px, 7vh, 84px); text-align: center; }
.showcase__head h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.showcase__head h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}
.showcase__head p {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
}

.showcase__stage { position: relative; max-width: 1160px; margin: 0 auto; }

/* Desktop browser mockup */
.browser {
  width: 100%;
  max-width: 980px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 50px 100px -45px rgba(17, 17, 20, 0.4), 0 6px 18px rgba(17, 17, 20, 0.05);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(#fdfcfa, #f5f3ee);
  border-bottom: 1px solid var(--line);
}
.browser__dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(17, 17, 20, 0.13); }
.browser__url {
  margin-left: 12px;
  width: min(300px, 40%);
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--ink-faint);
  text-align: center;
}

.browser__view { position: relative; aspect-ratio: 16 / 10; background: #faf8f4; overflow: hidden; }
.site { position: absolute; inset: 0; display: flex; flex-direction: column; }
.site__nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(16px, 2.6vw, 26px) clamp(20px, 3.2vw, 36px);
}
.site__logo {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: 0.22em;
  color: var(--ink);
}
.site__links { display: flex; gap: 14px; }
.site__links i { display: block; width: clamp(22px, 3vw, 36px); height: 6px; border-radius: 3px; background: rgba(17, 17, 20, 0.1); }

.site__hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: 0 clamp(20px, 3.2vw, 36px) clamp(16px, 2vw, 28px);
}
.site__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(8px, 1.2vw, 14px); }
.site__eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(8px, 0.9vw, 11px);
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}
.site__title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.site__title em { font-style: italic; color: var(--ink-soft); }
.site__sub { margin: 0; font-size: clamp(11px, 1.3vw, 15px); color: var(--ink-soft); }
.site__btn {
  margin-top: clamp(6px, 1vw, 12px);
  padding: clamp(8px, 1vw, 12px) clamp(14px, 1.8vw, 22px);
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: clamp(8px, 0.9vw, 11px);
  letter-spacing: 0.14em;
  font-weight: 500;
}
/* Bag product shot — positioned inside the browser view (centre-ish). */
.site__art {
  position: absolute;
  left: 33%;
  top: 15%;
  width: 48%;
  height: 58%;
  background: url("assets/bag-final.webp") center / contain no-repeat;
}
/* Launcher widget on the desktop site (bottom-right, clear of the phone). */
.site__launcher {
  position: absolute;
  right: 5%;
  bottom: 6%;
  z-index: 4;
  width: clamp(150px, 21%, 224px);
  height: auto;
  filter: drop-shadow(0 16px 34px rgba(17, 17, 20, 0.16));
}

/* Mobile phone, overlapping in front */
.showcase__phone {
  position: absolute;
  right: 0;
  bottom: clamp(-40px, -3vw, -20px);
  width: clamp(150px, 17vw, 230px);
  height: auto;
  filter: drop-shadow(0 34px 56px rgba(17, 17, 20, 0.28));
  z-index: 3;
}

@media (max-width: 860px) {
  /* Mobile: feature the phone on its own (the desktop browser is desktop-only). */
  .showcase__stage { display: flex; justify-content: center; }
  .showcase .browser { display: none; }
  .showcase__phone {
    position: static;
    display: block;
    margin: 0 auto;
    width: clamp(230px, 66vw, 300px);
  }
}

/* ==========================================================
   ROI calculator — dark card (matched to the 98% stat card)
   ========================================================== */
.calc {
  padding: clamp(56px, 9vh, 110px) 24px clamp(64px, 10vh, 120px);
  background: var(--paper);
}
.calc__head { max-width: 720px; margin: 0 auto clamp(36px, 6vh, 60px); text-align: center; }
.calc__head h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.calc__head h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}
.calc__head p {
  margin: 18px auto 0;
  max-width: 540px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Dark card — same ink/cream/amber tokens as .stat__card. */
.calc-card {
  --c-fg: #fbfaf8;
  --c-muted: rgba(251, 250, 248, 0.55);
  --c-faint: rgba(251, 250, 248, 0.34);
  --c-track: rgba(251, 250, 248, 0.18);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(32px, 5vw, 56px);
  background: var(--ink);
  color: var(--c-fg);
  border-radius: 32px;
  box-shadow: 0 40px 90px -45px rgba(17, 17, 20, 0.5);
}
@media (max-width: 760px) {
  .calc-card { grid-template-columns: 1fr; padding: 28px 22px; }
}

.calc-controls h3 {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--c-faint);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 28px;
}
.calc-input { margin-bottom: 28px; }
.calc-input:last-child { margin-bottom: 0; }
.calc-input-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.calc-input label { font-size: 14px; color: var(--c-muted); }
.calc-input-value {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 18px;
  font-weight: 500;
  color: var(--c-fg);
  letter-spacing: -0.01em;
}

/* Range slider with amber thumb + glow. */
.calc-input input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--c-track);
  border-radius: 999px;
  outline: none;
}
.calc-input input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--amber), 0 0 20px rgba(245, 166, 35, 0.4);
  transition: transform 0.15s var(--ease);
}
.calc-input input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-input input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--amber);
}

/* Result panel with a soft amber wash. */
.calc-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, rgba(245, 166, 35, 0.01) 100%);
  border: 1px solid rgba(245, 166, 35, 0.18);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}
.calc-result::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.calc-result-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--c-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  position: relative;
}
.calc-result-figure {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber);
  margin-bottom: 8px;
  position: relative;
}
.calc-result-sub {
  font-size: 14px;
  color: var(--c-muted);
  position: relative;
  margin-bottom: 28px;
}
/* Amber CTA — site button shape, recoloured to read on the dark card. */
.calc-cta {
  align-self: flex-start;
  padding: 14px 24px;
  font-size: 16px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
}
.calc-cta:hover {
  transform: translateY(-2px);
  background: #ffb83a;
  box-shadow: 0 10px 30px rgba(245, 166, 35, 0.3);
}
.calc-disclaimer {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  color: var(--c-faint);
  line-height: 1.5;
  margin: 4px 0 0;
  grid-column: 1 / -1;
}

/* ==========================================================
   Platform — framed dashboard with callout chips
   ========================================================== */
.platform {
  position: relative;
  padding: clamp(56px, 9vh, 110px) 24px clamp(72px, 11vh, 130px);
  background: var(--paper);
}
.platform__head { max-width: 720px; margin: 0 auto clamp(40px, 6vh, 72px); text-align: center; }
.platform__head h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.platform__head h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}
.platform__head p {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Stage holds the browser frame + the floating chips. */
.platform__stage { position: relative; max-width: var(--max); margin: 0 auto; }
.platform__frame { position: relative; max-width: 100%; }   /* override .browser's 980px cap */
.platform__viewport { display: block; width: 100%; }
.platform__canvas { position: relative; width: 100%; }
.platform__shot { display: block; width: 100%; height: auto; }

/* Numbered markers pinned to the dashboard regions they describe. */
.pmark {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 0 0 4px rgba(251, 250, 248, 0.92), 0 4px 14px rgba(17, 17, 20, 0.3);
  z-index: 4;
}
.pmark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--amber);
  animation: pmark-pulse 2.6s var(--ease) infinite;
}
@keyframes pmark-pulse {
  0% { transform: scale(1); opacity: 0.65; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { opacity: 0; }
}
.pmark--1 { left: 44%; top: 41%; }
.pmark--2 { left: 58%; top: 47%; }
.pmark--3 { left: 61%; top: 72%; }
@media (prefers-reduced-motion: reduce) {
  .pmark::after { animation: none; opacity: 0; }
}

/* Numbered key beneath the frame — connects each marker to a plain-English benefit. */
.platform__key {
  list-style: none;
  margin: clamp(36px, 5vh, 56px) auto 0;
  padding: 0;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.platform__key-item { display: flex; gap: 14px; align-items: flex-start; justify-content: center; }
.platform__key-num {
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.platform__key-item h3 {
  margin: 2px 0 5px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.platform__key-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  /* The 40% cap is too narrow for the URL on a phone, so it spilled out of the
     pill. Let it size to its content here (desktop showcase browser is untouched). */
  .platform__frame .browser__url { width: auto; font-size: 11px; white-space: nowrap; }

  /* Keep the dashboard at a readable scale and let it swipe horizontally.
     The canvas (image + markers) is the wide, scrollable layer. */
  .platform__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .platform__viewport::-webkit-scrollbar { display: none; }
  .platform__canvas { width: 840px; }

  .platform__key { grid-template-columns: 1fr; gap: 20px; max-width: 440px; }
  .platform__key-item { justify-content: flex-start; }

  /* Soft fade + hint on the right edge to signal there's more to swipe. */
  .platform__frame::after {
    content: "";
    position: absolute;
    top: 44px;
    right: 0;
    bottom: 0;
    width: 52px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.92));
    pointer-events: none;
    z-index: 3;
  }
  .platform__hint {
    margin: 16px 0 0;
    text-align: center;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--ink-faint);
  }
}
.platform__hint { display: none; }
@media (max-width: 760px) { .platform__hint { display: block; } }

/* ==========================================================
   Setup reassurance band — slim, "no code, we build it"
   ========================================================== */
/* ---------- How it works header (centred lead + curved step flow) ---------- */
.band { background: var(--paper); padding: clamp(76px, 10vh, 132px) 24px clamp(52px, 8vh, 92px); }
.band__inner { max-width: 920px; margin: 0 auto; text-align: center; }
.band .eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: 18px;
}
.band__title {
  font-family: "Inter", sans-serif; font-weight: 600;
  font-size: clamp(40px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.035em;
  color: var(--ink); margin: 0;
}
.band__title em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--amber); }
.band__cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Step flow — icon badges on a hand-drawn curve, gently staggered (less linear). */
.band__steps {
  position: relative; width: fit-content; margin: clamp(44px, 6vh, 68px) auto 0;
  display: flex; flex-direction: column; gap: clamp(32px, 4.6vh, 54px); text-align: left;
}
.band__curve { position: absolute; left: 0; top: 6px; width: 130px; height: calc(100% - 12px); z-index: 0; pointer-events: none; }
.band__step { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.band__step--mid { margin-left: 32px; }
.band__step-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--amber-tint); color: var(--amber-deep);
  border: 1px solid rgba(245, 166, 35, 0.28);
  display: flex; align-items: center; justify-content: center;
}
.band__step-icon svg { width: 26px; height: 26px; }
.band__step-icon img { width: 38px; height: 38px; }
.band__step-icon--on { background: #fff; border-color: var(--line); box-shadow: 0 3px 12px rgba(245, 166, 35, 0.20); }
.band__step-text { display: flex; flex-direction: column; gap: 3px; }
.band__step-kicker {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-deep);
}
.band__step-label { font-size: clamp(16px, 1.7vw, 19px); font-weight: 600; color: var(--ink); line-height: 1.25; }

@media (max-width: 560px) {
  .band__steps { max-width: 320px; }
}

/* Tighter section rhythm on the How it works page only. */
.hiw .showcase, .hiw .ways, .hiw .story, .hiw .platform {
  padding-top: clamp(36px, 5vh, 64px);
  padding-bottom: clamp(36px, 5vh, 64px);
}

/* ==========================================================
   See it on your site — dark capture CTA + lead modal
   ========================================================== */
/* Open, airy — no box, on cream (matches the final CTA). */
.seeit {
  background:
    radial-gradient(58% 52% at 50% 42%, rgba(245, 166, 35, 0.12), transparent 70%),
    var(--paper);
  padding: clamp(56px, 9vh, 110px) 24px;
}
.seeit__card {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.seeit__card h2 { font-family: "Inter", sans-serif; font-weight: 600; font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 14px; color: var(--ink); }
.seeit__card h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--amber); }
.seeit__card p { font-size: clamp(15px, 1.8vw, 18px); color: var(--ink-soft); max-width: 520px; margin: 0 auto 32px; line-height: 1.5; }
.seeit__form {
  display: flex; align-items: center; gap: 6px;
  max-width: 520px; margin: 0 auto; padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(17, 17, 20, 0.04);
  transition: border-color 0.2s var(--ease);
}
.seeit__form:focus-within { border-color: rgba(245, 166, 35, 0.6); }
.seeit__url { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--ink); font-family: inherit; font-size: 15px; padding: 12px 18px; }
.seeit__url::placeholder { color: rgba(17, 17, 20, 0.4); }
.seeit__submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  border: none; border-radius: 999px; cursor: pointer;
  padding: 12px 20px; font-family: inherit; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.seeit__submit:hover { background: #000; transform: translateY(-1px); }
.seeit__submit:hover .btn__arrow { transform: translateX(3px); }
@media (max-width: 520px) {
  .seeit__form { flex-direction: column; border-radius: 20px; gap: 8px; padding: 10px; }
  .seeit__url { width: 100%; text-align: center; }
  .seeit__submit { width: 100%; justify-content: center; }
}

/* Lead modal */
.lead-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 10, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lead-modal.is-open { display: flex; }
.lead-modal__panel {
  position: relative;
  width: min(440px, 100%);
  background: var(--ink);
  border: 1px solid rgba(251, 250, 248, 0.12);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 40px);
  color: #fbfaf8;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7);
}
.lead-modal__close { position: absolute; top: 14px; right: 18px; background: none; border: none; color: rgba(251, 250, 248, 0.5); font-size: 26px; line-height: 1; cursor: pointer; }
.lead-modal__close:hover { color: #fbfaf8; }
.lead-modal h3 { font-family: "Inter", sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 8px; color: #fbfaf8; }
.lead-modal__sub { font-size: 14px; color: rgba(251, 250, 248, 0.6); margin: 0 0 22px; line-height: 1.5; }
.lead-modal__site { color: var(--amber); }
.lead-form { display: flex; flex-direction: column; gap: 10px; }
.lead-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form__field {
  width: 100%; background: rgba(251, 250, 248, 0.05);
  border: 1px solid rgba(251, 250, 248, 0.16); border-radius: 12px;
  color: #fbfaf8; font-family: inherit; font-size: 15px; padding: 13px 15px; outline: none;
  transition: border-color 0.2s var(--ease);
}
.lead-form__field::placeholder { color: rgba(251, 250, 248, 0.4); }
.lead-form__field:focus { border-color: rgba(245, 166, 35, 0.6); }
.lead-form__select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f5a623' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 38px; cursor: pointer;
}
.lead-form__select:invalid { color: rgba(251, 250, 248, 0.4); }
.lead-form__select option { color: #111114; }
.lead-form__submit { margin-top: 6px; background: var(--amber); color: var(--ink); border: none; border-radius: 999px; padding: 14px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s var(--ease); }
.lead-form__submit:hover { background: #ffb83a; }
#leadModalSuccess { text-align: center; }
.lead-modal__check { width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; background: rgba(245, 166, 35, 0.16); color: var(--amber); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.lead-modal__meta { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: rgba(251, 250, 248, 0.42); margin: 14px 0 0; letter-spacing: 0.02em; }

/* ==========================================================
   Pricing / FAQ / Final CTA — light sections, dark tier cards
   ========================================================== */
.pr-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.pricing { background: var(--paper); padding: clamp(64px, 10vh, 120px) 0 clamp(48px, 8vh, 96px); }
.pricing .page-header { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vh, 64px); }
.pricing .eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: 16px;
}
.pricing .page-header h1 {
  font-family: "Inter", sans-serif; font-weight: 600;
  font-size: clamp(32px, 4.8vw, 56px); line-height: 1.04; letter-spacing: -0.03em;
  color: var(--ink); margin: 0 0 18px;
}
.pricing .page-header h1 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--amber); }
.pricing .sub { font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); max-width: 600px; margin: 0 auto; line-height: 1.5; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 28px); align-items: stretch; }
@media (max-width: 940px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* Dark tier card (matched to the stat/calculator card family). */
.tier {
  --t-fg: #fbfaf8;
  --t-muted: rgba(251, 250, 248, 0.6);
  --t-faint: rgba(251, 250, 248, 0.4);
  --t-line: rgba(251, 250, 248, 0.12);
  --t-fill: rgba(251, 250, 248, 0.04);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--ink); color: var(--t-fg);
  border: 1px solid var(--t-line);
  border-radius: 24px;
  padding: clamp(28px, 3.2vw, 40px);
  box-shadow: 0 30px 70px -45px rgba(17, 17, 20, 0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tier:hover { transform: translateY(-3px); box-shadow: 0 42px 90px -45px rgba(17, 17, 20, 0.55); }
.tier.popular {
  border-color: rgba(245, 166, 35, 0.5);
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.3), 0 30px 80px -40px rgba(245, 166, 35, 0.28);
}
.tier-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; background: var(--amber); color: var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; white-space: nowrap;
}
.tier-badge--coming { background: #34343a; color: var(--amber); border: 1px solid rgba(245, 166, 35, 0.45); }
.tier-name { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 32px; line-height: 1; margin: 0 0 26px; color: var(--amber); }
.tier-price-prefix { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10px; color: var(--amber); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.tier-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.tier-price .currency { font-size: 22px; color: var(--t-muted); position: relative; top: -16px; }
.tier-price .amount { font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; transition: opacity 0.2s var(--ease); }
.tier-price .period { font-size: 15px; color: var(--t-muted); }
.tier-setup { font-size: 13px; color: var(--t-muted); padding: 9px 12px; background: var(--t-fill); border: 1px solid var(--t-line); border-radius: 8px; margin-bottom: 18px; }
.tier-setup strong { color: var(--t-fg); font-weight: 600; }

.conv-picker-wrap { margin-bottom: 18px; }
.conv-picker-label { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10px; color: var(--t-faint); letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.conv-picker { display: flex; gap: 3px; padding: 6px 4px; background: var(--t-fill); border: 1px solid var(--t-line); border-radius: 12px; }
.conv-chip { flex: 1; padding: 8px 4px; background: transparent; border: none; border-radius: 8px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; font-weight: 500; color: var(--t-muted); text-align: center; cursor: pointer; transition: all 0.2s var(--ease); }
.conv-chip:hover { color: var(--t-fg); background: rgba(251, 250, 248, 0.06); }
.conv-chip.active { background: var(--amber); color: var(--ink); }
.conv-custom-note { padding: 13px 14px; background: var(--t-fill); border: 1px solid var(--t-line); border-radius: 10px; font-size: 12.5px; color: var(--t-muted); line-height: 1.45; }

.tier-desc { font-size: 14.5px; color: var(--t-muted); line-height: 1.5; margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--t-line); min-height: 108px; }
.tier-desc em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: var(--t-fg); }
.tier-includes { font-size: 13.5px; color: var(--t-fg); padding: 12px 14px; background: rgba(245, 166, 35, 0.08); border: 1px solid rgba(245, 166, 35, 0.22); border-radius: 8px; margin-bottom: 18px; }
.tier-includes strong { font-weight: 600; color: var(--amber); }

.tier-features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.tier-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--t-fg); line-height: 1.45; }
.tier-features .check { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: rgba(62, 207, 142, 0.16); color: #3ecf8e; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.tier-features .check svg { width: 9px; height: 9px; stroke-width: 3; }
.tier-features li strong { font-weight: 600; }
.tier-features .muted { color: var(--t-muted); font-size: 13px; }

.tier-cta { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-size: 15px; font-weight: 500; width: 100%; text-decoration: none; transition: all 0.25s var(--ease); }
.tier-cta.primary { background: var(--amber); color: var(--ink); }
.tier-cta.primary:hover { background: #ffb83a; box-shadow: 0 10px 30px rgba(245, 166, 35, 0.3); transform: translateY(-1px); }
.tier-cta.secondary { background: rgba(251, 250, 248, 0.06); color: var(--t-fg); border: 1px solid rgba(251, 250, 248, 0.22); }
.tier-cta.secondary:hover { background: rgba(251, 250, 248, 0.12); border-color: rgba(251, 250, 248, 0.35); }
.tier-cta .arrow { transition: transform 0.25s var(--ease); }
.tier-cta:hover .arrow { transform: translateX(3px); }

.waitlist-block { display: flex; flex-direction: column; gap: 12px; }
.waitlist-copy { font-size: 14px; color: var(--t-muted); line-height: 1.5; text-align: center; margin: 0 0 4px; }
.waitlist-copy strong { color: var(--t-fg); font-weight: 500; }
.waitlist-input-row { display: flex; gap: 4px; padding: 4px; background: var(--t-fill); border: 1px solid var(--t-line); border-radius: 999px; transition: border-color 0.2s var(--ease); }
.waitlist-input-row:focus-within { border-color: var(--amber); }
.waitlist-input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--t-fg); font-family: inherit; font-size: 13.5px; padding: 10px 14px; }
.waitlist-input::placeholder { color: var(--t-faint); }
.waitlist-submit { padding: 10px 16px; background: var(--amber); color: var(--ink); border: none; border-radius: 999px; font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.2s var(--ease); }
.waitlist-submit:hover { background: #ffb83a; }
.waitlist-success { text-align: center; padding: 14px; background: rgba(46, 160, 90, 0.12); border: 1px solid rgba(46, 160, 90, 0.3); border-radius: 12px; font-size: 13px; color: #3f9d63; }

/* Trust strip (light, sits under the cards on cream). */
.trust-strip { margin-top: clamp(56px, 9vh, 96px); padding-top: clamp(48px, 7vh, 72px); border-top: 1px solid var(--line); }
.trust-strip-head { text-align: center; margin-bottom: 44px; }
.trust-strip-head .label { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; color: var(--amber-deep); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px; }
.trust-strip-head h3 { font-family: "Inter", sans-serif; font-weight: 600; font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -0.025em; line-height: 1.1; margin: 0 auto; max-width: 640px; color: var(--ink); }
.trust-strip-head h3 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--amber); }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 780px) { .trust-items { grid-template-columns: repeat(2, 1fr); } }
.trust-item { text-align: center; padding: 16px; }
.trust-item .icon { width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%; background: var(--amber-tint); color: var(--amber-deep); display: flex; align-items: center; justify-content: center; }
.trust-item .icon svg { width: 18px; height: 18px; stroke-width: 1.8; }
.trust-item h4 { font-size: 15px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.trust-item p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* FAQ (light) */
.faq-section { background: var(--paper); padding: clamp(56px, 10vh, 100px) 0; border-top: 1px solid var(--line); }
.faq-head { text-align: center; margin-bottom: clamp(40px, 6vh, 56px); }
.faq-head .label { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; color: var(--amber-deep); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px; }
.faq-head h1 { font-family: "Inter", sans-serif; font-weight: 600; font-size: clamp(32px, 4.8vw, 56px); letter-spacing: -0.03em; line-height: 1.04; margin: 0; color: var(--ink); }
.faq-head h1 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--amber); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-group { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-deep); margin: 44px 0 6px; }
.faq-group:first-child { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; transition: color 0.2s var(--ease); }
.faq-q:hover { color: var(--amber-deep); }
.faq-q-icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-q-icon::before, .faq-q-icon::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: currentColor; transition: transform 0.3s var(--ease); }
.faq-q-icon::before { width: 12px; height: 1.5px; }
.faq-q-icon::after { width: 1.5px; height: 12px; }
.faq-item.open .faq-q-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 0 22px; font-size: 15px; color: var(--ink-soft); line-height: 1.6; max-width: 640px; }
.faq-a-inner p { margin: 0 0 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner a { color: var(--amber-deep); text-decoration: underline; text-underline-offset: 2px; }

/* Final CTA — dark card with a warm amber glow. */
/* Open, airy close — no box. Bookends the hero (light, soft amber glow). */
.final-cta {
  background:
    radial-gradient(60% 54% at 50% 42%, rgba(245, 166, 35, 0.13), transparent 70%),
    var(--paper);
  padding: clamp(64px, 11vh, 130px) 24px clamp(72px, 12vh, 140px);
}
.final-cta__card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.final-cta h2 { font-family: "Inter", sans-serif; font-weight: 600; font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 18px; color: var(--ink); }
.final-cta h2 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--amber); }
.final-cta p { font-size: 17px; color: var(--ink-soft); max-width: 500px; margin: 0 auto 32px; line-height: 1.5; }
.final-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  padding: clamp(56px, 9vh, 96px) 24px clamp(32px, 5vh, 48px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer__inner { max-width: var(--max); margin: 0 auto; }
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: clamp(28px, 4vh, 44px);
  border-bottom: 1px solid var(--line);
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.footer__tagline { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); max-width: 280px; }
.footer__nav { display: flex; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap; }
.footer__nav a { font-size: 15px; color: var(--ink-soft); text-decoration: none; transition: color 0.2s var(--ease); }
.footer__nav a:hover { color: var(--ink); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
}
.footer__copy { margin: 0; font-size: 13px; color: var(--ink-faint); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer__legal a,
.footer__legal-btn { font-size: 13px; color: var(--ink-faint); text-decoration: none; transition: color 0.2s var(--ease); }
.footer__legal-btn { background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }
.footer__legal a:hover,
.footer__legal-btn:hover { color: var(--ink-soft); }
@media (max-width: 600px) {
  .footer__top { flex-direction: column; gap: 22px; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__demo { margin-top: 44px; }
}

@media (max-width: 720px) {
  /* Collapse the nav into a hamburger + dropdown menu. */
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 24px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px -10px rgba(17, 17, 20, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s var(--ease);
  }
  .nav.is-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__menu a:not(.btn) {
    padding: 13px 2px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav__menu .nav__cta {
    margin-top: 14px;
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* Reorder so the CTAs sit below the video on mobile. */
  .hero { display: flex; flex-direction: column; padding-top: 64px; }
  .hero__copy { order: 1; }
  .hero__demo { order: 2; }
  .hero__cta { order: 3; margin-top: 32px; }
  .hero__cta .btn { padding: 11px 20px; font-size: 15px; }
  /* Edge-to-edge demo: break out of the hero's side padding. */
  .hero__demo { margin: 36px -24px 0; width: auto; }
  /* Glow bleeds 10% past the demo; with the demo now full-width that spills past
     the viewport and creates a horizontal scroll. Keep the bleed vertical only. */
  .hero__demo::before { inset: -14% 0 -20%; }
  .demo-frame { border-radius: 0; }
}

/* ---------- Legal pages (privacy, terms) ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 9vh, 96px) 24px clamp(64px, 12vh, 120px);
}
.legal .legal__eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 14px;
}
.legal h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.legal .legal__updated { color: var(--ink-faint); font-size: 14px; margin-bottom: 12px; }
.legal .legal__note {
  background: var(--amber-tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 24px 0 40px;
}
.legal h2 {
  font-size: clamp(19px, 2.4vw, 23px);
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--amber-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal .placeholder {
  color: var(--amber-deep);
  background: var(--amber-tint);
  border-radius: 4px;
  padding: 0 5px;
  font-size: 0.92em;
}

/* Utility-page footer (legal pages) */
.subfooter {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
}
.subfooter__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.subfooter__copy { color: var(--ink-faint); font-size: 13px; }
.subfooter__legal { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.subfooter__legal a,
.subfooter__legal-btn {
  font-size: 13px;
  color: var(--ink-faint);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s var(--ease);
}
.subfooter__legal a:hover,
.subfooter__legal-btn:hover { color: var(--ink-soft); }

/* ---------- Cookie preferences modal ---------- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 17, 20, 0.4);
}
.cookie-modal.is-open { display: flex; }
.cookie-modal__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(17, 17, 20, 0.18);
  padding: 28px;
}
.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-faint);
  cursor: pointer;
}
.cookie-modal__close:hover { color: var(--ink); }
.cookie-modal__title { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 8px; }
.cookie-modal__lead { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin-bottom: 20px; }
.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.cookie-row__text { display: flex; flex-direction: column; gap: 3px; }
.cookie-row__name { font-weight: 600; font-size: 15px; }
.cookie-row__desc { color: var(--ink-faint); font-size: 13px; line-height: 1.45; }
.cookie-row__fixed { color: var(--ink-faint); font-size: 13px; white-space: nowrap; }
.cookie-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-switch__track {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 999px;
  transition: background 0.2s var(--ease);
}
.cookie-switch__track::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease);
}
.cookie-switch input:checked + .cookie-switch__track { background: var(--amber); }
.cookie-switch input:checked + .cookie-switch__track::before { transform: translateX(18px); }
.cookie-modal__actions { margin-top: 24px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* Cookie consent banner (first visit) — compact card, bottom-left so it clears the chat widget */
.cookie-banner { position: fixed; left: 0; bottom: 0; z-index: 200; display: none; width: 100%; max-width: 540px; padding: 20px; }
.cookie-banner.is-open { display: block; }
.cookie-banner__inner {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(17, 17, 20, 0.30);
  padding: 18px 20px;
}
.cookie-banner__text { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.cookie-banner__text a { color: var(--amber-deep); }
.cookie-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-btn { font-family: inherit; font-size: 14px; font-weight: 500; border-radius: 999px; padding: 10px 18px; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.cookie-btn--primary { background: var(--ink); color: var(--paper); }
.cookie-btn--primary:hover { background: #000; transform: translateY(-1px); }
.cookie-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.cookie-btn--ghost:hover { border-color: var(--ink-faint); }
@media (max-width: 600px) {
  .cookie-banner { max-width: 100%; padding-bottom: 92px; }
  .cookie-banner__actions .cookie-btn { flex: 1 1 auto; }
}

/* ---------- Case study: cart recovery (adapted from cart-recovery-story.html) ---------- */
.story { background: var(--paper); padding: clamp(56px, 9vh, 100px) 24px; }
.story-card {
  --s-fg: #fbfaf8;
  --s-muted: rgba(251, 250, 248, 0.62);
  --s-line: rgba(251, 250, 248, 0.1);
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px);
  background:
    radial-gradient(72% 55% at 50% 4%, rgba(245, 166, 35, 0.20), transparent 62%),
    var(--ink);
  border: 1px solid rgba(245, 166, 35, 0.22);
  border-radius: 28px;
  color: var(--s-fg);
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.06), 0 40px 80px -28px rgba(17, 17, 20, 0.5);
}

.story-eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px; color: var(--amber);
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
}
.story-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 12px rgba(245, 166, 35, 0.5);
  animation: story-pulse 2s infinite;
}
@keyframes story-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.story-headline {
  font-family: "Inter", sans-serif; font-weight: 600;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em;
  margin: 0 0 16px; max-width: 680px; color: var(--s-fg);
}
.story-headline em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--amber); }
.story-subhead { font-size: clamp(15px, 1.4vw, 17px); color: var(--s-muted); max-width: 600px; margin: 0 0 36px; line-height: 1.55; }

/* stat strip */
.story-stats { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 32px); padding: 28px clamp(20px, 3vw, 32px); background: rgba(245, 166, 35, 0.04); border: 1px solid rgba(245, 166, 35, 0.16); border-radius: 14px; margin-bottom: 40px; }
.story-stat { text-align: center; }
.story-stat-value { font-weight: 600; font-size: clamp(28px, 4vw, 44px); line-height: 1; letter-spacing: -0.03em; color: var(--amber); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.story-stat-value em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; }
.story-stat-label { font-size: 12px; color: var(--s-muted); line-height: 1.4; max-width: 140px; margin: 0 auto; }
.story-stat-divider { width: 1px; height: 36px; background: rgba(245, 166, 35, 0.2); }
@media (max-width: 640px) { .story-stats { grid-template-columns: 1fr; gap: 20px; } .story-stat-divider { width: 36px; height: 1px; justify-self: center; } }

/* chat stage */
.story-stage { position: relative; margin: 0 0 28px; padding: 8px 0; }
.story-chat { width: 100%; max-width: 384px; margin: 0 auto; background: #f5f1ea; border-radius: 18px; overflow: hidden; box-shadow: 0 28px 60px -18px rgba(6, 30, 28, 0.5), 0 0 0 1px rgba(15, 40, 38, 0.06); font-size: 13.5px; color: #14211c; position: relative; z-index: 2; }
.story-chat-header { background: linear-gradient(135deg, #0e2024 0%, #16b8a6 100%); padding: 18px 20px 15px; display: flex; align-items: center; gap: 12px; }
.story-avatar { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; position: relative; }
.story-avatar img { width: 44px; height: 44px; border-radius: 50%; display: block; object-fit: cover; background: #faf8f4; }
.story-av-dot { position: absolute; bottom: 0; right: 0; width: 11px; height: 11px; background: #21c45d; border: 2px solid #faf8f4; border-radius: 50%; }
.story-agent-info { flex: 1; min-width: 0; }
.story-agent-name { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: 21px; line-height: 1.05; color: #fff; }
.story-agent-status { font-family: "Inter", sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); margin-top: 4px; }
.story-chat-close { margin-left: auto; align-self: flex-start; background: none; border: none; color: rgba(255, 255, 255, 0.8); font-size: 17px; line-height: 1; cursor: pointer; padding: 0; }
.story-subbar { padding: 10px 18px; background: #f5f1ea; }
.story-sub-label { font-family: "Inter", sans-serif; font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #8a8f93; }
.story-chat-body { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; background: #f5f1ea; }
.story-chat-body [data-step] { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.story-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 88%; }
.story-msg--user { align-self: flex-end; }
.story-msg-av { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; overflow: hidden; }
.story-msg-av img { width: 24px; height: 24px; display: block; border-radius: 50%; object-fit: cover; background: #faf8f4; }
.story-bubble { padding: 10px 16px; line-height: 1.45; font-size: 14px; }
.story-bubble-ai { background: #fcfbf8; border: 1px solid rgba(17, 34, 28, 0.05); color: #14211c; border-radius: 16px 16px 16px 6px; }
.story-bubble-user { background: #0f3a36; color: #e9f7f3; border-radius: 16px 16px 6px 16px; font-family: "Inter", sans-serif; font-size: 13.5px; }
.story-offer { align-self: stretch; margin-top: 2px; padding: 14px 16px; background: linear-gradient(158deg, #123f3a 0%, #08211e 100%); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; }
.story-offer-label { display: block; font-family: "Inter", sans-serif; font-size: 9.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(238, 243, 248, 0.5); padding-bottom: 11px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); margin-bottom: 12px; }
.story-offer-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.story-offer-code { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: 30px; line-height: 1; color: #fff; }
.story-offer-sub { display: block; font-size: 11.5px; color: rgba(238, 243, 248, 0.55); margin-top: 4px; }
.story-copy-btn { flex-shrink: 0; background: #fff; color: #0e3a36; padding: 9px 18px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: none; cursor: pointer; font-family: inherit; transition: all 0.2s var(--ease); }
.story-copy-btn:hover { background: #eef3f8; transform: translateY(-1px); }
.story-copy-btn.copied { background: #21955a; color: #fff; }
.story-chat-input { display: flex; align-items: center; gap: 10px; padding: 12px 12px 14px 18px; border-top: 1px solid rgba(20, 30, 45, 0.08); background: #f5f1ea; }
.story-chat-input-placeholder { flex: 1; color: rgba(20, 33, 28, 0.4); font-size: 14px; }
.story-send { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: #0f3a36; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; border: none; cursor: pointer; }

/* play state: bubbles fade in sequentially */
.story-card.play .story-chat-body [data-step="1"] { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.story-card.play .story-chat-body [data-step="2"] { opacity: 1; transform: translateY(0); transition-delay: 1.1s; }
.story-card.play .story-chat-body [data-step="3"] { opacity: 1; transform: translateY(0); transition-delay: 1.9s; }
.story-card.play .story-chat-body [data-step="4"] { opacity: 1; transform: translateY(0); transition-delay: 2.4s; }

/* callouts */
.story-callout { position: absolute; max-width: 180px; padding: 10px 14px; background: rgba(17, 17, 20, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(245, 166, 35, 0.35); border-radius: 10px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10.5px; color: var(--amber); letter-spacing: 0.04em; line-height: 1.4; opacity: 0; transform: scale(0.92); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); z-index: 3; pointer-events: none; }
.story-callout strong { color: var(--s-fg); font-weight: 600; text-transform: uppercase; font-size: 10px; display: block; margin-bottom: 3px; }
.story-callout-1 { top: 30px; left: 0; }
.story-callout-1::before { content: ""; position: absolute; width: 40px; height: 1px; top: 50%; right: -42px; background: var(--amber); }
.story-callout-1::after { content: ""; position: absolute; top: 50%; right: -48px; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px rgba(245, 166, 35, 0.5); }
.story-callout-2 { top: 145px; right: 0; }
.story-callout-2::before { content: ""; position: absolute; width: 40px; height: 1px; top: 50%; left: -42px; background: var(--amber); }
.story-callout-2::after { content: ""; position: absolute; top: 50%; left: -48px; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px rgba(245, 166, 35, 0.5); }
.story-callout-3 { bottom: 50px; left: 0; }
.story-callout-3::before { content: ""; position: absolute; width: 40px; height: 1px; top: 50%; right: -42px; background: var(--amber); }
.story-callout-3::after { content: ""; position: absolute; top: 50%; right: -48px; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px rgba(245, 166, 35, 0.5); }
.story-card.play .story-callout-1 { opacity: 1; transform: scale(1); transition-delay: 0.7s; }
.story-card.play .story-callout-2 { opacity: 1; transform: scale(1); transition-delay: 1.6s; }
.story-card.play .story-callout-3 { opacity: 1; transform: scale(1); transition-delay: 2.9s; }
/* Below 820px there's no room beside the chat, so the side callouts drop into a
   stacked list under it (instead of hiding). Desktop keeps the floating version. */
@media (max-width: 820px) {
  .story-stage { padding-top: 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .story-chat { order: 0; }
  .story-callout {
    order: 1; position: static; width: 100%; max-width: 384px;
    opacity: 1; transform: none; transition: none;
  }
  .story-callout::before, .story-callout::after { display: none; }
}

/* caption */
.story-caption { font-size: 14.5px; color: var(--s-muted); text-align: center; margin: 0 0 32px; font-style: italic; font-family: "Instrument Serif", Georgia, serif; }
.story-caption strong { color: var(--amber); font-family: "Inter", sans-serif; font-style: normal; font-weight: 600; }

/* footer */
.story-footer { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--s-line); }
.story-cta { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; background: var(--amber); color: var(--ink); border-radius: 999px; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: all 0.25s var(--ease); }
.story-cta:hover { background: #ffb83a; box-shadow: 0 0 40px rgba(245, 166, 35, 0.32); transform: translateY(-1px); }
.story-cta .arrow { transition: transform 0.25s var(--ease); }
.story-cta:hover .arrow { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .story-card.play .story-chat-body [data-step], .story-card.play .story-callout { opacity: 1 !important; transform: none !important; }
}

/* ---------- Trust / POV box (under the 98% stat) ---------- */
.stat__trust {
  margin-top: clamp(16px, 2.2vw, 26px);
  padding: clamp(40px, 7vh, 72px) clamp(28px, 5vw, 64px);
}
.stat__trust-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 auto 14px;
  max-width: 760px;
}
.stat__trust-title em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; color: var(--amber); }
.stat__trust-sub {
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.55;
  color: rgba(251, 250, 248, 0.62);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero subhead: drop "sales experience" to its own line on phones only */
.hero__sub-br { display: none; }
@media (max-width: 600px) { .hero__sub-br { display: inline; } }
