/* Layout: one column of full-width bands, content held to 1120px. Dark ground to match the flask logo. */
:root {
  --bg: #05070f;
  --panel: #0b1222;
  --panel-2: #0f1830;
  --line: #1b2744;
  --text: #e8eeff;
  --muted: #9aa7c7;
  --blue: #2e6bff;
  --cyan: #3fc8ff;
  --loss: #ffb547;
  --ok: #4fe3a1;
  --display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
section { padding-block: 84px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.eyebrow { font: 600 0.78rem var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 58ch; }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 12px; font: 600 1rem var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.15s, border-color 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 30px rgba(46, 107, 255, 0.35); }
.btn-primary:hover { background: #3d78ff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(5, 7, 15, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(27, 39, 68, 0.6); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.05rem var(--display); letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 0.95rem; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 10px 16px; font-size: 0.92rem; }

/* hero */
.hero { padding-block: 72px 84px; background: radial-gradient(900px 480px at 85% 10%, rgba(46, 107, 255, 0.18), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 span { color: var(--cyan); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.92rem; color: var(--muted); }
.trust span::before { content: "✓"; color: var(--ok); margin-right: 6px; font-weight: 700; }

/* phone mock */
.phone { background: linear-gradient(180deg, #0d1529, #080d1b); border: 1px solid var(--line); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.phone-top { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); padding: 0 4px 6px; }
.note { background: var(--panel-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.note .ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; }
.note b { display: block; font-size: 0.95rem; }
.note small { color: var(--muted); font-size: 0.85rem; }
.note.missed { opacity: 0.55; }
.note.missed .ico { background: rgba(255, 181, 71, 0.14); color: var(--loss); }
.note.answered { border-color: rgba(63, 200, 255, 0.45); }
.note.answered .ico { background: rgba(63, 200, 255, 0.14); color: var(--cyan); }
.note.booked .ico { background: rgba(79, 227, 161, 0.14); color: var(--ok); }
.note .quote { margin-top: 6px; font-size: 0.88rem; color: var(--text); font-style: italic; }

/* problem stats */
.band { background: var(--panel); border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.stat b { display: block; font: 800 2.6rem var(--display); color: var(--loss); letter-spacing: -0.03em; }
.stat p { color: var(--muted); margin-top: 6px; }
.source { margin-top: 18px; font-size: 0.8rem; color: #7d8aae; }

/* calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.calc-in, .calc-out { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--panel); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.95rem; }
.field label output { font-family: var(--display); color: var(--cyan); font-weight: 800; }
input[type=range] { width: 100%; accent-color: var(--blue); }
.calc-out { display: flex; flex-direction: column; justify-content: center; gap: 10px; background: linear-gradient(160deg, #101b38, #0b1222); }
.calc-out .big { font: 800 clamp(2.6rem, 6vw, 3.6rem) var(--display); color: var(--loss); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-out .year { color: var(--muted); }
.calc-out .vs { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.02rem; }
.calc-out .vs b { color: var(--ok); }

/* steps + features */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(46, 107, 255, 0.18); color: var(--cyan); font: 800 1rem var(--display); margin-bottom: 16px; }
.step p { color: var(--muted); margin-top: 8px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; margin-top: 48px; }
.feature { display: flex; gap: 14px; }
.feature .tick { flex: none; color: var(--ok); font-weight: 800; }
.feature p { color: var(--muted); font-size: 0.95rem; }
.feature b { color: var(--text); display: block; }

/* who */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who div { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.who b { font-family: var(--display); display: block; margin-bottom: 6px; }
.who p { color: var(--muted); font-size: 0.92rem; }

/* pricing */
.trial { display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 999px; background: rgba(79, 227, 161, 0.1); border: 1px solid rgba(79, 227, 161, 0.35); color: var(--ok); font-weight: 600; font-size: 0.95rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 14px; }
.plan.pick { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 20px 60px rgba(46, 107, 255, 0.18); }
.plan .tag { align-self: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.price { font: 800 2.6rem var(--display); letter-spacing: -0.03em; }
.price small { font: 500 1rem var(--body); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 0.95rem; flex: 1; }
.plan li::before { content: "✓"; color: var(--ok); margin-right: 8px; font-weight: 700; }

/* about + faq */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.about img { width: 100%; max-width: 220px; aspect-ratio: 1; border-radius: 50%; }
.about p { color: var(--muted); margin-top: 12px; max-width: 62ch; }
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* final cta + footer */
.final { text-align: center; background: radial-gradient(700px 360px at 50% 0%, rgba(46, 107, 255, 0.22), transparent 70%); }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final .lead { margin-inline: auto; }
footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copy-mail { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; color: inherit; font: inherit; padding: 0; }

@media (max-width: 900px) {
  .hero .wrap, .calc, .about { grid-template-columns: 1fr; }
  .stats, .steps, .plans { grid-template-columns: 1fr; }
  .who { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .about { text-align: center; justify-items: center; }
  section { padding-block: 64px; }
}
@media (max-width: 480px) { .who { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---- added Dec 2026: demo line, recording, why-us, results ---- */
.btn-call { background: var(--ok); color: #04121f; box-shadow: 0 8px 30px rgba(79, 227, 161, 0.28); }
.btn-call:hover { background: #6cf0b6; }
.btn-soon { border: 1px dashed var(--line); color: var(--muted); background: transparent; cursor: default; }
.btn-soon:hover { transform: none; }
.demo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.demo-card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--panel); display: flex; flex-direction: column; gap: 16px; }
.demo-card audio { width: 100%; }
.placeholder { border: 1px dashed var(--line); border-radius: 14px; padding: 18px; color: var(--muted); font-size: 0.95rem; }
.transcript { border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; background: var(--bg); }
.transcript h3 { margin-bottom: 4px; }
.transcript .src { font-size: 0.82rem; color: #8592b3; margin-bottom: 14px; }
.transcript ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.transcript li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 0.97rem; }
.transcript li b { font-weight: 600; color: var(--muted); font-size: 0.85rem; padding-top: 2px; }
.transcript li.ai b { color: var(--cyan); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why div { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.why p { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }
.results { display: flex; flex-direction: column; gap: 14px; color: var(--muted); max-width: 70ch; }
.call-strip { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; color: var(--muted); }
@media (max-width: 900px) {
  .demo, .why { grid-template-columns: 1fr; }
  .transcript li { grid-template-columns: 1fr; gap: 2px; }
}
.who a.who-link { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.who a.who-link:hover { border-color: var(--blue); transform: translateY(-2px); }
.who a.who-link b { color: var(--cyan); }

/* ---- motion and polish (Dec 2026). Only transform and opacity are animated. ---- */
.note .ico svg { display: block; }
.slot { position: relative; }
.note.ringing { display: none; }
.js-motion .note.ringing { display: flex; position: absolute; inset: 0; opacity: 0; border-color: rgba(63, 200, 255, 0.45); }
.note.ringing .ico { background: rgba(63, 200, 255, 0.14); color: var(--cyan); }
.note.booked { position: relative; overflow: hidden; }
.note.booked .glow { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(79, 227, 161, 0.7), 0 0 24px rgba(79, 227, 161, 0.25); opacity: 0; pointer-events: none; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 18px; }
.wave i { display: block; width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: 50% 50%; }
.wave i:nth-child(1) { transform: scaleY(0.45); } .wave i:nth-child(2) { transform: scaleY(0.9); }
.wave i:nth-child(3) { transform: scaleY(0.6); } .wave i:nth-child(4) { transform: scaleY(0.75); }
.demo-title { display: flex; align-items: center; gap: 10px; }
.demo-title .wave { color: var(--cyan); }

/* hidden-until-animated states only apply when motion is on (class set in <head>) */
.js-motion .hero-copy > *, .js-motion .phone .note:not(.ringing) { opacity: 0; }
.js-motion .hero h1 { opacity: 1; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > span { display: inline-block; }

/* how it works: connecting line between the step numbers (desktop) */
.steps { position: relative; }
.steps-line { position: absolute; top: 43px; left: 44px; right: calc((100% - 40px) / 3 - 44px); height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: 0 50%; z-index: 1; opacity: 0.7; }
.step { position: relative; }
.step::before { position: relative; z-index: 2; box-shadow: 0 0 0 6px var(--panel); background: #13224a; }

/* demo: soft sound-wave rings around the live call button */
.btn-call { position: relative; isolation: isolate; }
.btn-call::before, .btn-call::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--ok); opacity: 0; z-index: -1; pointer-events: none; }
.demo-card .btn-call::before, .demo-card .btn-call::after { animation: ring 2.8s ease-out infinite; }
.demo-card .btn-call::after { animation-delay: 1.4s; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.25, 1.6); opacity: 0; } }
.demo-card.playing .wave i { animation: eq 0.9s ease-in-out infinite alternate; }
.demo-card.playing .wave i:nth-child(2) { animation-delay: -0.3s; } .demo-card.playing .wave i:nth-child(3) { animation-delay: -0.6s; } .demo-card.playing .wave i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }

/* micro-interactions */
.stat, .step, .why > div, .plan, .who > div, .who-link, .demo-card { transition: transform 0.25s ease, border-color 0.25s ease; }
@media (hover: hover) {
  .stat:hover, .step:hover, .why > div:hover, .plan:hover, .who > div:hover { transform: translateY(-3px); border-color: #2a3b66; }
  .plan.pick:hover { border-color: var(--blue); }
}
.btn:active { transform: translateY(0) scale(0.98); }
.faq summary::after { content: "+"; transition: transform 0.25s ease; }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

@media (max-width: 900px) { .steps-line { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.hero h1 .w, .hero h1 .w > span { color: inherit; }

/* ---- stop 3: local line, sticky mobile bar, tap targets ---- */
.local { font-size: 0.92rem; color: var(--muted); }
.mbar { display: none; }
@media (max-width: 900px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: rgba(5, 7, 15, 0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.3s ease; }
  .mbar.show { transform: none; }
  .mbar .btn { min-height: 48px; padding: 12px 10px; font-size: 0.95rem; }
  footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.nav .btn, .btn { min-height: 44px; }
.copy-mail { padding: 10px 0; }
.faq summary { min-height: 48px; align-items: center; }
input[type=range] { height: 36px; margin: 0; cursor: pointer; }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
@media (max-width: 900px) { .plans-2 { grid-template-columns: 1fr; } }
