/* MOLLY — cinematic landing. Accent colour is injected from config.js as --accent. */

:root {
  --accent: #EF9F27;
  --accent-soft: #F7C46C;
  --ink: #141414;          /* Spoke Voice charcoal */
  --ink-2: #1f1c17;        /* warm charcoal */
  --paper: #ffffff;
  --paper-2: #F5F5F3;      /* brand off-white */
  --text-dark: #141414;
  --text-mid: #5f5a52;
  --text-light: rgba(255, 255, 255, 0.92);
  --text-dim: rgba(255, 255, 255, 0.55);
  --glass: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .btn, .nav-logo { font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #141414; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #141414;
  border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600; letter-spacing: 0.01em;
  padding: 14px 34px; font-size: 16px;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent);
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-sm { padding: 9px 22px; font-size: 14px; }
.btn-ghost { background: transparent; border: 1px solid var(--glass-border); color: var(--text-light); }
.btn-ghost:hover { border-color: var(--accent-soft); box-shadow: none; background: rgba(255,255,255,0.05); }

/* Voice intro button — her actual voice is the demo */
.voice-btn { gap: 10px; border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.voice-btn svg { color: var(--accent); flex: none; }
.voice-btn .vb-pause { display: none; }
.voice-btn.playing .vb-play { display: none; }
.voice-btn.playing .vb-pause { display: block; }
.voice-btn.playing {
  border-color: var(--accent);
  animation: voicePulse 1.6s ease-in-out infinite;
}
@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
  50% { box-shadow: 0 0 28px 2px color-mix(in srgb, var(--accent) 40%, transparent); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, color 0.35s ease;
}
.nav.scrolled { background: color-mix(in srgb, var(--ink) 72%, transparent); backdrop-filter: blur(14px); }
.nav.light { color: var(--text-dark); }
.nav.light.scrolled { background: rgba(255, 255, 255, 0.78); }
.nav-logo { font-weight: 700; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; }
.logo-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: 4px; box-shadow: 0 0 12px var(--accent); }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; opacity: 0.85; }
.nav-links a:hover { color: var(--accent-soft); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero-scroll { height: 420vh; position: relative; }
.hero-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 90% at 50% 110%, #2a2114 0%, var(--ink) 55%);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; z-index: 3; padding: 0 24px; pointer-events: none;
}
.hero-copy .btn, .hero-copy a { pointer-events: auto; }
.hero-headline {
  font-size: clamp(64px, 12vw, 168px);
  font-weight: 700; line-height: 0.98; letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff 30%, var(--accent-soft) 75%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px color-mix(in srgb, var(--accent) 30%, transparent));
}
.hero-subline { margin-top: 20px; font-size: clamp(17px, 2.2vw, 24px); color: var(--text-dim); font-weight: 400; }
.hero-ctas { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-caption {
  position: absolute; bottom: 42px; left: 50%; transform: translateX(-50%);
  font-size: 14px; color: var(--text-dim); letter-spacing: 0.04em;
  opacity: 0; z-index: 3; white-space: nowrap;
}
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim); z-index: 3;
  animation: hintBounce 2.2s ease-in-out infinite;
}
@keyframes hintBounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* Glass call panel that assembles beside Molly */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px -24px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,255,0.08);
}
.call-panel {
  position: absolute; z-index: 4;
  right: clamp(24px, 8vw, 130px); top: 50%;
  width: min(330px, 84vw);
  padding: 20px 22px;
  opacity: 0; transform: translateY(-42%) scale(0.94);
}
.panel-head { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); }
.panel-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1.5px solid color-mix(in srgb, var(--accent) 70%, transparent); flex: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.panel-timer { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--text-light); }
.panel-wave { width: 100%; height: 44px; margin: 14px 0 6px; display: block; }
.panel-transcript { display: flex; flex-direction: column; gap: 8px; min-height: 96px; margin: 8px 0 12px; }
.pt-line { font-size: 13.5px; line-height: 1.45; padding: 8px 12px; border-radius: 12px; max-width: 92%; opacity: 0; transform: translateY(6px); transition: opacity 0.45s ease, transform 0.45s ease; }
.pt-line.shown { opacity: 1; transform: none; }
.pt-line.caller { background: rgba(255,255,255,0.09); align-self: flex-start; }
.pt-line.agent { background: color-mix(in srgb, var(--accent) 32%, transparent); align-self: flex-end; }
.panel-card { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid var(--glass-border); padding-top: 12px; }
.pc-name { font-size: 13.5px; font-weight: 600; }
.pc-tag { font-size: 12.5px; color: var(--text-dim); }
@media (max-width: 860px) {
  .call-panel { right: 50%; transform: translate(50%, 0) scale(0.94); top: auto; bottom: 76px; }
}

/* ---------- Logo strip (dark → light gradient bridge) ---------- */
.logos {
  background: linear-gradient(180deg, var(--ink) 0%, #38311f 18%, #ded8ca 62%, var(--paper) 100%);
  padding: 110px 24px 70px; text-align: center;
}
.logos-heading { font-size: 13.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 44px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.logo-item {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(15px, 1.8vw, 19px);
  color: var(--text-mid); opacity: 0.75; letter-spacing: 0.02em; white-space: nowrap;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.logo-item:nth-child(odd) { font-weight: 400; font-style: italic; }
.logo-item:hover { opacity: 1; color: var(--accent); }

/* ---------- Light body base ---------- */
.metrics, .product, .pricing, .faq { background: var(--paper); color: var(--text-dark); }
.section-heading { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.section-heading.center { text-align: center; max-width: 760px; margin: 0 auto; }
.section-sub { color: var(--text-mid); font-size: 17px; line-height: 1.6; max-width: 640px; }
.section-sub.center { text-align: center; margin: 18px auto 0; }

/* ---------- Features (pinned) ---------- */
.features-scroll { height: 340vh; position: relative; background: var(--paper); }
.features-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; background: var(--paper); color: var(--text-dark); overflow: hidden; }
.features-inner {
  display: grid; grid-template-columns: minmax(320px, 520px) 1fr;
  gap: clamp(36px, 6vw, 100px); align-items: center;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px);
}
@media (max-width: 900px) { .features-inner { grid-template-columns: 1fr; gap: 30px; } .features-stage { align-items: flex-start; padding-top: 90px; } }

.call-scene { position: relative; border-radius: 24px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 90px -30px rgba(20, 8, 50, 0.45); }
.scene-video { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
.scene-mock { padding: 26px; display: flex; flex-direction: column; gap: 18px; color: var(--text-light); min-height: 380px; }
@media (max-width: 900px) { .scene-mock { min-height: 300px; padding: 20px; } }

.scene-molly { display: flex; align-items: center; gap: 14px; position: relative; }
.molly-orb { width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 55%, #fff 10%), var(--ink-2) 75%); box-shadow: 0 0 26px color-mix(in srgb, var(--accent) 45%, transparent); flex: none; }
.molly-orb { position: relative; }
.molly-orb canvas { width: 100%; height: 100%; }
.molly-orb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.scene-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.scene-role { font-size: 12.5px; color: var(--text-dim); }

.scene-flip { margin-left: auto; position: relative; width: 132px; height: 30px; font-size: 12.5px; font-weight: 600; }
.scene-flip span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 999px; transition: opacity 0.4s ease, transform 0.4s ease; }
.flip-missed { background: rgba(248, 63, 84, 0.16); color: #ff7385; border: 1px solid rgba(248, 63, 84, 0.4); }
.flip-booked { background: rgba(52, 211, 153, 0.14); color: #4ade80; border: 1px solid rgba(52, 211, 153, 0.4); opacity: 0; transform: rotateX(90deg); }
.scene-flip.flipped .flip-missed { opacity: 0; transform: rotateX(-90deg); }
.scene-flip.flipped .flip-booked { opacity: 1; transform: none; }
.scene-flip.alarm .flip-missed { animation: alarmFlash 0.5s ease-in-out 2; }
@keyframes alarmFlash { 50% { background: rgba(248, 63, 84, 0.45); box-shadow: 0 0 18px rgba(248,63,84,0.5); } }

.scene-transcript { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.scene-transcript .pt-line { font-size: 14px; }
.scene-caller { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--glass-border); padding-top: 16px; }
.sc-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
.sc-name { font-size: 14px; font-weight: 600; }
.sc-detail { font-size: 12.5px; color: var(--text-dim); }

.feature-steps .section-heading { margin-bottom: 40px; max-width: 460px; }
.feature-block { padding: 22px 0 22px 26px; border-left: 2px solid #e6e2f0; opacity: 0.32; transform: translateX(6px); transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.5s ease; }
.feature-block.active { opacity: 1; transform: none; border-color: var(--accent); }
.fb-kicker { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.fb-title { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; margin: 8px 0 8px; letter-spacing: -0.01em; }
.fb-body { color: var(--text-mid); font-size: 15.5px; line-height: 1.65; max-width: 480px; }

/* ---------- Metrics ---------- */
.metrics { padding: 130px 24px 90px; text-align: center; }
.metrics-row { display: flex; justify-content: center; gap: clamp(30px, 8vw, 120px); flex-wrap: wrap; }
.metric-value { font-family: var(--font-display); font-size: clamp(52px, 7vw, 88px); font-weight: 700; letter-spacing: -0.03em; color: var(--text-dark); line-height: 1; font-variant-numeric: tabular-nums; }
.metric-value b { color: var(--accent); font-weight: inherit; }
.metric-label { margin-top: 10px; color: var(--text-mid); font-size: 15.5px; }
.metrics-note { margin-top: 56px; font-size: 12.5px; color: #a49fb2; }
.metrics-note code { background: var(--paper-2); padding: 2px 6px; border-radius: 5px; }

/* ---------- Product / browser frame ---------- */
.product { padding: 90px 24px 130px; }
.browser-frame {
  max-width: 1000px; margin: 60px auto 0; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid #e9e6f2;
  box-shadow: 0 60px 120px -40px rgba(48, 22, 110, 0.28), 0 20px 45px -25px rgba(48, 22, 110, 0.18);
}
.bf-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: var(--paper-2); border-bottom: 1px solid #e9e6f2; }
.bf-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #ddd8e8; }
.bf-bar > span:first-child { background: #ff6b62; } .bf-bar > span:nth-child(2) { background: #ffc555; } .bf-bar > span:nth-child(3) { background: #38d67a; }
.bf-url { margin: 0 auto; background: #fff; border: 1px solid #e9e6f2; border-radius: 8px; font-size: 12.5px; color: var(--text-mid); padding: 5px 40px; }
.bf-body { display: grid; grid-template-columns: 180px 1fr; min-height: 360px; }
@media (max-width: 720px) { .bf-body { grid-template-columns: 1fr; } .bf-side { display: none !important; } }
.bf-side { display: flex; flex-direction: column; gap: 4px; padding: 18px 12px; border-right: 1px solid #f0edf7; background: #fbfaff; }
.bfs-item { padding: 9px 14px; border-radius: 9px; font-size: 14px; color: var(--text-mid); }
.bfs-item.active { background: color-mix(in srgb, var(--accent) 10%, #fff); color: var(--accent); font-weight: 600; }
.bf-main { padding: 22px 26px; }
.bf-rowhead { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--text-mid); margin-bottom: 16px; }
.bf-pill { background: rgba(52, 211, 153, 0.15); color: #0da36a; font-weight: 600; font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.bf-call { display: flex; align-items: center; gap: 14px; padding: 14px 10px; border-bottom: 1px solid #f3f1f9; font-size: 14px; color: var(--text-dark); }
.bf-call small { color: var(--text-mid); }
.bf-call > div { flex: 1; line-height: 1.5; }
.bfc-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.bfc-dot.green { background: #34d399; } .bfc-dot.amber { background: #fbbf24; }
.bfc-badge { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(52, 211, 153, 0.14); color: #0da36a; }
.bfc-badge.alt { background: rgba(251, 191, 36, 0.16); color: #b07d08; }

/* ---------- Pricing ---------- */
.pricing { padding: 120px 24px; background: var(--paper-2); }
.founding-banner {
  max-width: 640px; margin: 30px auto 0; padding: 16px 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: color-mix(in srgb, var(--accent) 9%, #fff);
  border-radius: 14px; font-size: 15px; line-height: 1.6; color: var(--text-dark);
  text-align: center;
  box-shadow: 0 12px 40px -18px color-mix(in srgb, var(--accent) 55%, transparent);
}
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 36px 0 46px; }
.bt-label { font-size: 15px; color: var(--text-mid); font-weight: 500; transition: color 0.25s ease; }
.bt-label.on { color: var(--text-dark); font-weight: 600; }
.bt-save { font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff); border-radius: 999px; padding: 3px 10px; margin-left: 6px; }
.toggle { width: 56px; height: 30px; border-radius: 999px; border: none; cursor: pointer; background: #d9d4e6; position: relative; transition: background 0.25s ease; }
.toggle[aria-checked="true"] { background: var(--accent); }
.knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.25); transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.toggle[aria-checked="true"] .knob { transform: translateX(26px); }

.tier-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1060px; margin: 0 auto; align-items: stretch; }
@media (max-width: 920px) { .tier-row { grid-template-columns: 1fr; max-width: 440px; } }
.tier {
  background: #fff; border: 1px solid #e9e6f2; border-radius: 22px; padding: 34px 30px;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tier:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(48, 22, 110, 0.25); }
.tier.featured {
  background: linear-gradient(165deg, var(--ink) 0%, #2c2415 100%); color: var(--text-light);
  border-color: transparent;
  box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--accent) 45%, transparent);
  transform: scale(1.04);
}
.tier.featured:hover { transform: scale(1.04) translateY(-6px); }
.tier-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #141414; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.tier-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.tier-blurb { font-size: 13.5px; color: var(--text-mid); margin-top: 5px; min-height: 2.6em; }
.tier.featured .tier-blurb { color: var(--text-dim); }
.tier-price { margin: 22px 0 4px; font-family: var(--font-display); font-size: 46px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.tier-price small { font-size: 15px; font-weight: 500; color: var(--text-mid); letter-spacing: 0; }
.tier.featured .tier-price small { color: var(--text-dim); }
.tier-cycle { font-size: 12.5px; color: var(--text-mid); min-height: 1.2em; }
.tier.featured .tier-cycle { color: var(--text-dim); }
.tier-setup { font-size: 12px; color: var(--text-mid); margin-top: 5px; min-height: 1.1em; }
.tier.featured .tier-setup { color: var(--text-dim); }
.tier ul { list-style: none; margin: 24px 0 30px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.tier li { font-size: 14px; display: flex; gap: 10px; align-items: baseline; color: var(--text-mid); }
.tier.featured li { color: rgba(255,255,255,0.82); }
.tier li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }
.tier.featured li::before { color: var(--accent-soft); }
.tier .btn { width: 100%; }
.tier:not(.featured) .btn { background: #f1eef8; color: var(--accent); box-shadow: none; }
.tier:not(.featured) .btn:hover { background: color-mix(in srgb, var(--accent) 16%, #fff); }
.pricing-note { text-align: center; margin-top: 40px; font-size: 13.5px; color: var(--text-mid); }

/* ---------- FAQ ---------- */
.faq { padding: 120px 24px 140px; }
.faq-list { max-width: 720px; margin: 50px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid #e9e6f2; border-radius: 16px; background: #fff; overflow: hidden; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.faq-item.open { border-color: color-mix(in srgb, var(--accent) 40%, #fff); box-shadow: 0 14px 40px -20px rgba(48, 22, 110, 0.22); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 16.5px; font-weight: 600; color: var(--text-dark);
  padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { flex: none; transition: transform 0.3s ease; color: var(--accent); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 22px 22px; color: var(--text-mid); font-size: 15px; line-height: 1.7; }

/* ---------- Final CTA ---------- */
.final {
  position: relative; overflow: hidden; color: var(--text-light);
  background: radial-gradient(ellipse 110% 90% at 80% 10%, #2c2415 0%, var(--ink) 60%);
  padding: 130px 24px;
}
.final-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.final-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 90px);
  align-items: center; max-width: 1080px; margin: 0 auto;
}
@media (max-width: 860px) { .final-inner { grid-template-columns: 1fr; } .phone-mock { margin: 0 auto; } }
.final-heading { font-size: clamp(38px, 5.5vw, 62px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.final-body { margin: 22px 0 34px; color: var(--text-dim); font-size: 17px; line-height: 1.7; max-width: 480px; }

.phone-mock {
  width: 250px; border-radius: 38px; padding: 12px;
  background: #211d15; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.8), 0 0 60px -20px color-mix(in srgb, var(--accent) 35%, transparent);
  transform: rotate(4deg);
}
.pm-screen {
  border-radius: 28px; background: linear-gradient(200deg, #38301d, #16120a);
  height: 420px; padding: 22px 14px; position: relative; overflow: hidden;
}
.pm-time { text-align: center; font-family: var(--font-display); font-size: 44px; font-weight: 600; color: rgba(255,255,255,0.9); margin-top: 26px; letter-spacing: 0.02em; }
.pm-notif {
  position: absolute; left: 10px; right: 10px; top: 118px;
  display: flex; gap: 10px; align-items: center;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 12px;
  transform: translateY(-180px); opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1.2, 0.36, 1), opacity 0.5s ease;
}
.pm-notif.in { transform: none; opacity: 1; }
.pmn-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: #141414; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.pmn-title { font-size: 12.5px; font-weight: 600; }
.pmn-body { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: var(--text-dim);
  display: flex; flex-direction: column; gap: 12px; align-items: center;
  padding: 54px 24px; font-size: 13px; text-align: center;
}
.footer-logo { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); }

/* ---------- Reveal-on-scroll helper ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll { height: auto; }
  .hero-stage { position: relative; }
  .features-scroll { height: auto; }
  .features-stage { position: relative; height: auto; padding: 80px 0; }
  .scroll-hint { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
