:root {
  --paper: #F6F1E7; --ink: #1E1B18; --muted: #5B544C; --rule: #D9D0C0; --panel: #EDE6D8;
  --tomato: #D8432B;
  --night: #141210; --night-2: #211D1A; --night-rule: #38322C; --night-ink: #F6F1E7; --night-muted: #B8AFA2; --night-tomato: #E5553C; --night-halo: rgba(229, 85, 60, 0.28);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #1A1714; --ink: #F6F1E7; --muted: #B8AFA2; --rule: #38322C; --panel: #26211D; --tomato: #E5553C; }
}
:root[data-theme="dark"] { --paper: #1A1714; --ink: #F6F1E7; --muted: #B8AFA2; --rule: #38322C; --panel: #26211D; --tomato: #E5553C; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 6vw; }
h1, h2, h3 { margin: 0; font-family: 'Instrument Sans', system-ui, sans-serif; font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 5.4vw, 3.3rem); line-height: 1.02; text-wrap: balance; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }
.lede { color: var(--muted); max-width: 78ch; text-wrap: pretty; margin-top: 1.1rem; font-size: 1.15rem; }
.note { color: var(--muted); font-size: 0.95rem; text-wrap: pretty; margin-top: 1.5rem; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
section { padding: clamp(4rem, 9vw, 7rem) 0; }
section + section { border-top: 1px solid var(--rule); }

.mark { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.02em; display: inline-flex; align-items: baseline; gap: 0.055em; white-space: nowrap; }
.mark .dot { width: 0.215em; height: 0.215em; border-radius: 50%; background: var(--night-tomato); display: block; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 1.7rem; border-radius: 999px; border: 2px solid currentColor; font-weight: 600; text-decoration: none; font-size: 1.02rem; background: transparent; color: inherit; cursor: pointer; font-family: inherit; }
.btn.hot { background: var(--night-tomato); border-color: var(--night-tomato); color: #141210; }
.btn.solid { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.small { min-height: 44px; padding: 0 1.15rem; font-size: 0.95rem; }
.btn:focus-visible, summary:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--night-tomato); outline-offset: 3px; }

/* NIGHT: hero + demo are always dark */
.night { background: var(--night); color: var(--night-ink); }
.draft { font-size: 0.85rem; color: var(--night-muted); padding: 0.55rem 0; border-bottom: 1px solid var(--night-rule); }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; }
header.top .mark { font-size: 2.3rem; line-height: 1; text-decoration: none; }
nav { display: none; gap: 1.7rem; font-size: 0.98rem; font-weight: 500; color: var(--night-muted); }
nav a { text-decoration: none; } nav a:hover { color: var(--night-ink); }
@media (min-width: 900px) { nav { display: flex; } }

.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5rem); }
h1 { font-size: clamp(1.8rem, 9.6vw, 7rem); white-space: nowrap; line-height: 0.92; letter-spacing: -0.055em; font-weight: 700; }
h1 .land { white-space: nowrap; }
h1 .rita { display: inline-flex; align-items: baseline; gap: 0.055em; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.02em; font-size: 1.12em; line-height: 0.8; }
h1 .rita i { width: 0.215em; height: 0.215em; flex: none; border-radius: 50%; background: var(--night-tomato); display: block; transform-origin: 0% 100%; animation: settle 0.8s cubic-bezier(0.3, 0, 0.2, 1) 0.5s both; }
@keyframes settle { 0% { transform: scale(2.4); } 55% { transform: scale(0.8); } 78% { transform: scale(1.1); } 100% { transform: scale(1); } }
.hero .sub { font-size: clamp(1.15rem, 2.8vw, 1.45rem); max-width: 40ch; margin-top: 1.75rem; color: var(--night-muted); }
.hero .sub strong { color: var(--night-ink); font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Voice panel */
.voicebox { margin-top: clamp(2.5rem, 6vw, 4rem); background: var(--night-2); border: 1px solid var(--night-rule); border-radius: 30px; padding: clamp(1.4rem, 4vw, 2.5rem); display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 760px) { .voicebox { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.orb { position: relative; flex: none; }
.orb b { position: absolute; left: 50%; top: 50%; border-radius: 50%; display: block; }
.orb.xl { width: 190px; height: 190px; margin: 0 auto; } .orb.xl b { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
.orb.m { width: 56px; height: 56px; } .orb.m b { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.orb .d { background: var(--night-tomato); } .orb .h { background: var(--night-halo); opacity: 0; } .orb .r { border: 2.5px solid var(--night-ink); opacity: 0; }
.is-listening .d { animation: breathe 2.6s ease-in-out infinite; } .is-listening .r { animation: ripple 2.6s ease-out infinite; }
.is-speaking .d { animation: speak 1.9s ease-in-out infinite; } .is-speaking .h { opacity: 1; animation: halo 1.9s ease-in-out infinite; }
.is-handled .d { animation: land 0.75s cubic-bezier(0.3, 0, 0.2, 1) both; }
@keyframes breathe { 0%, 100% { transform: scale(0.62); } 50% { transform: scale(0.74); } }
@keyframes ripple { 0% { transform: scale(0.8); opacity: 0.9; } 70%, 100% { transform: scale(2); opacity: 0; } }
@keyframes speak { 0% { transform: scale(0.95); } 14% { transform: scale(1.45); } 30% { transform: scale(1.1); } 46% { transform: scale(1.7); } 62% { transform: scale(1.2); } 78% { transform: scale(1.5); } 100% { transform: scale(0.95); } }
@keyframes halo { 0% { transform: scale(1.3); } 14% { transform: scale(1.95); } 30% { transform: scale(1.5); } 46% { transform: scale(2.4); } 62% { transform: scale(1.65); } 78% { transform: scale(2.05); } 100% { transform: scale(1.3); } }
@keyframes land { 0% { transform: scale(1.5); } 55% { transform: scale(0.5); } 78% { transform: scale(0.68); } 100% { transform: scale(0.6); } }
.livemark { font: 400 clamp(104px, 27vw, 210px)/0.9 'Instrument Serif', Georgia, serif; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 0.055em; white-space: nowrap; padding: 0.22em 0.75em 0.05em 0; }
.voice { position: relative; width: 0.215em; height: 0.215em; flex: none; display: block; }
.voice b { position: absolute; inset: 0; border-radius: 50%; display: block; transform-origin: 0% 100%; }
.voice .d { background: var(--night-tomato); } .voice .h { background: var(--night-halo); opacity: 0; }
.voice.is-speaking .d { animation: vspeak 1.9s ease-in-out infinite; }
.voice.is-speaking .h { opacity: 1; animation: vhalo 1.9s ease-in-out infinite; }
.voice.is-live .h { opacity: 1; } .voice.is-live .d, .voice.is-live .h { transition: transform 0.08s linear; }
.voice.is-pause .d { animation: vsettle 0.5s cubic-bezier(0.3, 0, 0.2, 1) both; }
@keyframes vspeak { 0% { transform: scale(1.2); } 14% { transform: scale(1.9); } 30% { transform: scale(1.4); } 46% { transform: scale(2.3); } 62% { transform: scale(1.6); } 78% { transform: scale(2.0); } 100% { transform: scale(1.2); } }
@keyframes vhalo { 0% { transform: scale(1.6); } 14% { transform: scale(2.5); } 30% { transform: scale(1.9); } 46% { transform: scale(3.0); } 62% { transform: scale(2.1); } 78% { transform: scale(2.6); } 100% { transform: scale(1.6); } }
@keyframes vsettle { 0% { transform: scale(1.7); } 60% { transform: scale(0.85); } 100% { transform: scale(1); } }
.greet-label { font-size: 0.95rem; color: var(--night-muted); font-weight: 500; }
.greet { font: italic 400 clamp(1.9rem, 6vw, 3.4rem)/1.1 'Instrument Serif', Georgia, serif; margin-top: 0.4rem; min-height: 1.2em; }
.greet span { display: inline-block; animation: rise 0.45s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.chip { min-height: 42px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--night-rule); background: transparent; color: var(--night-muted); font: 500 0.95rem 'Instrument Sans', system-ui, sans-serif; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }

.pilot { padding: clamp(2.25rem, 5vw, 3.25rem) 0; border-bottom: 1px solid var(--rule); }
.pilot-names img.pl { display: block; height: 1.7rem; width: auto; opacity: 0.86; }
.pilot-names img.ej { height: 1.95rem; }
.pilot-lab { color: var(--muted); font-size: 1.02rem; text-wrap: balance; }
.pilot-names { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 2rem; font-size: clamp(1.35rem, 3.6vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; }
/* Problem strip */
.beats { display: grid; gap: 2.5rem; margin-top: 3rem; }
@media (min-width: 860px) { .beats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.beats .n { font: 400 3.4rem/1 'Instrument Serif', Georgia, serif; }
.beats h3 { margin: 0.6rem 0 0.5rem; font-size: 1.5rem; }
.beats p { color: var(--muted); }

/* Demo */
.demo h2, .demo .lede { color: var(--night-ink); } .demo .lede { color: var(--night-muted); }
.demo .chips { margin-top: 0.5rem; }
.picklab { margin-top: 1.75rem; font-size: 0.92rem; font-weight: 600; color: var(--night-muted); }
.stagegrid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .stagegrid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: stretch; } }
.callcard, .phonecard { background: var(--night-2); border: 1px solid var(--night-rule); border-radius: 26px; padding: 1.4rem; }
.call-top { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; color: var(--night-muted); }
.call-state { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 0 1rem; border-bottom: 1px solid var(--night-rule); margin-bottom: 1rem; }
.call-state .serif { font-style: italic; font-size: 1.6rem; line-height: 1; }
.turns { display: flex; flex-direction: column; gap: 0.9rem; min-height: 21rem; }
.turn { animation: rise 0.35s ease both; max-width: 92%; }
.turn .who { font-size: 0.8rem; font-weight: 600; color: var(--night-muted); }
.turn.rita p { font: italic 400 1.3rem/1.3 'Instrument Serif', Georgia, serif; }
.turn.them { align-self: flex-end; background: #2E2823; border-radius: 16px 16px 4px 16px; padding: 0.7rem 1rem; }
.soundrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 1.1rem; color: var(--night-muted); font-size: 0.92rem; }
.turn .en { font: 400 0.92rem/1.4 'Instrument Sans', system-ui, sans-serif; color: var(--night-muted); margin-top: 0.2rem; }
.orb.is-live .h { opacity: 1; } .orb.is-live .d, .orb.is-live .h { transition: transform 0.08s linear; }
.phonecard { display: flex; flex-direction: column; }
.phonecard .lab { font-size: 0.9rem; color: var(--night-muted); font-weight: 500; }
.msg { margin-top: 1rem; background: var(--night-ink); color: var(--night); border-radius: 18px 18px 18px 4px; padding: 1rem 1.1rem; animation: rise 0.45s ease both; }
.msg strong { display: block; font-size: 1.1rem; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.msg ul { margin: 0; padding: 0; list-style: none; font-size: 0.98rem; } .msg li { padding: 0.12rem 0; }
.msg .state { margin-top: 0.6rem; font-weight: 600; font-size: 0.92rem; }
.waiting { margin-top: 1rem; color: var(--night-muted); font-size: 0.98rem; }
.replay { margin-top: auto; padding-top: 1rem; background: none; border: 0; color: var(--night-muted); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; min-height: 44px; }

/* Does */
.two { display: grid; gap: 1.25rem; margin-top: 2.75rem; }
@media (min-width: 860px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.level { background: var(--panel); border-radius: 26px; padding: clamp(1.5rem, 3.5vw, 2.25rem); }
.level.dark { background: var(--night); color: var(--night-ink); }
.level .when { font-size: 0.95rem; font-weight: 600; color: var(--muted); } .level.dark .when { color: var(--night-muted); }
.level h3 { font-size: 1.9rem; margin: 0.3rem 0 1.2rem; letter-spacing: -0.03em; }
.level ul { margin: 0; padding: 0; list-style: none; }
.level li { padding: 0.75rem 0; border-top: 1px solid var(--rule); } .level.dark li { border-color: var(--night-rule); }
.level li span { display: block; color: var(--muted); font-size: 0.95rem; } .level.dark li span { color: var(--night-muted); }

/* Steps */
.steps { display: grid; gap: 2.5rem; margin-top: 3rem; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.step .n { font: 400 3.4rem/1 'Instrument Serif', Georgia, serif; }
.step h3 { margin: 0.6rem 0 0.5rem; font-size: 1.5rem; } .step p { color: var(--muted); }

/* Compare table */
.tbl { width: 100%; border-collapse: collapse; margin-top: 2.5rem; }
.tbl th { text-align: left; font-weight: 600; font-size: 0.95rem; color: var(--muted); padding: 0 1rem 0.8rem 0; border-bottom: 1px solid var(--ink); }
.tbl td { padding: 0.95rem 1rem 0.95rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--muted); }
.tbl td:first-child, .tbl td.rita { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .tbl thead { display: none; } .tbl tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
  .tbl td { display: block; padding: 0.12rem 0; border: 0; } .tbl td:first-child { font-size: 1.2rem; margin-bottom: 0.3rem; }
  .tbl td[data-l]::before { content: attr(data-l) ": "; font-weight: 500; font-size: 0.9rem; color: var(--muted); }
}

/* Pricing */
.tiers { display: grid; gap: 1.25rem; margin-top: 2.75rem; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tier { background: var(--panel); border-radius: 26px; padding: 1.75rem; }
.tier.pick { background: var(--night); color: var(--night-ink); }
.tier .for { color: var(--muted); font-size: 0.95rem; margin-top: 0.2rem; } .tier.pick .for, .tier.pick li, .tier.pick .per { color: var(--night-muted); }
.price { font-size: 3.6rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin: 1.4rem 0 0.2rem; display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.eg { font: 600 0.75rem/1 'Instrument Sans', system-ui, sans-serif; letter-spacing: 0; border: 1px solid currentColor; opacity: 0.7; border-radius: 999px; padding: 0.25rem 0.55rem; }
.per { color: var(--muted); font-size: 0.95rem; }
.tier ul { margin: 1.3rem 0 0; padding-left: 1.1rem; color: var(--muted); } .tier li { margin-bottom: 0.35rem; }

/* FAQ */
.faq { margin-top: 2.5rem; border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--rule); }
summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1rem; font-size: 1.6rem; font-weight: 400; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 1.4rem; color: var(--muted); max-width: 90ch; text-wrap: pretty; }

.close { text-align: left; }
.close h2 { font-size: clamp(2.8rem, 9.5vw, 6.5rem); max-width: 12ch; line-height: 0.94; letter-spacing: -0.05em; font-weight: 700; color: var(--night-ink); }
.close .lede { color: var(--night-muted); }
footer { padding: 2.5rem 0 3.5rem; color: var(--night-muted); font-size: 0.9rem; border-top: 1px solid var(--night-rule); }
footer .mark { font-size: 2rem; color: var(--night-ink); margin-bottom: 1rem; }
footer p { max-width: 80ch; margin-top: 0.6rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb b, .voice b, .turn, .msg, .greet span, h1 .rita i { animation: none !important; }
  .voice.is-speaking .d { transform: scale(1.7); } .voice.is-speaking .h { transform: scale(2.3); }
  .is-speaking .d { transform: scale(1.3); } .is-speaking .h { transform: scale(1.9); } .is-listening .r { opacity: 1; transform: scale(1.4); } .is-handled .d { transform: scale(0.6); }
}
