:root {
  --bg: #f7f5f1; --surface: #ffffff; --surface-2: #f0ede7; --text: #1d1b18; --muted: #6b665e; --line: #e2ddd3;
  --accent: #c2410c; --accent-ink: #ffffff; --accent-soft: #fde8dc; --ok: #15803d; --warn: #b45309; --bad: #b91c1c;
  --radius: 14px; --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 24px rgba(0,0,0,.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14120f; --surface: #1d1a16; --surface-2: #26221d; --text: #f2eee8; --muted: #a39c91; --line: #353029;
    --accent: #fb923c; --accent-ink: #1d1208; --accent-soft: #3a2415; --ok: #4ade80; --warn: #fbbf24; --bad: #f87171;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 24px rgba(0,0,0,.35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 5; }
header.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.1rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.brand span { color: var(--accent); }
nav.main { display: flex; gap: 6px; align-items: center; margin-left: auto; flex-wrap: wrap; }
nav.main a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: .95rem; }
nav.main a:hover { background: var(--surface-2); color: var(--text); }
nav.main a.btn, nav.main a.btn:hover { color: var(--accent-ink); background: var(--accent); padding: 7px 14px; }
.credits { background: var(--accent-soft); color: var(--accent); font-weight: 700; padding: 4px 10px; border-radius: 999px; font-size: .9rem; text-decoration: none; }
main { padding: 32px 0 64px; }
footer.bottom { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 24px 0; }
footer.bottom .wrap { display: flex; gap: 16px; flex-wrap: wrap; }
footer.bottom a { color: var(--muted); }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
h2 { font-size: 1.35rem; margin: 0 0 12px; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px;
  padding: 11px 18px; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; background: var(--accent); color: var(--accent-ink); }
.btn:hover { filter: brightness(1.05); }
.btn.secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn.big { padding: 14px 22px; font-size: 1.05rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.alert { border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; border: 1px solid; }
.alert.error { color: var(--bad); border-color: currentColor; background: color-mix(in srgb, var(--bad) 8%, transparent); }
.alert.ok { color: var(--ok); border-color: currentColor; background: color-mix(in srgb, var(--ok) 8%, transparent); }
.hero { display: grid; gap: 32px; grid-template-columns: 1.2fr .8fr; align-items: center; padding: 16px 0 40px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.phone { aspect-ratio: 9/16; max-width: 270px; margin-left: auto; border-radius: 26px; overflow: hidden; border: 6px solid var(--text); box-shadow: var(--shadow); background: #000; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.steps { counter-reset: s; }
.grid.steps { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.steps .card::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 8px; }
section { margin: 48px 0; }
.price { font-size: 1.8rem; font-weight: 800; }
/* form */
form .field { margin: 0 0 22px; }
label.title { display: block; font-weight: 700; margin: 0 0 8px; }
input[type=text], textarea, select { width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 12px; }
textarea { min-height: 170px; resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible, .choice:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); }
.choice { position: relative; display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: var(--accent-soft); }
.choice strong { display: block; }
.choice .muted { font-size: .88rem; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg label { padding: 8px 14px; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { background: var(--accent); color: var(--accent-ink); font-weight: 650; }
.voice { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.play { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 999px; width: 34px; height: 34px; cursor: pointer; flex: none; }
.cap-preview img { border-radius: 10px; aspect-ratio: 9/16; object-fit: cover; margin-top: 8px; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.examples button { border: 1px dashed var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 5px 11px; cursor: pointer; font: inherit; font-size: .88rem; }
.examples button:hover { color: var(--text); border-color: var(--muted); }
.counter { text-align: right; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.hidden { display: none !important; }
/* videos */
.vcard { text-decoration: none; color: inherit; display: block; }
.vcard .thumb { aspect-ratio: 9/16; background: var(--surface-2); border-radius: 12px; overflow: hidden; display: grid; place-items: center; color: var(--muted); }
.vcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard h3 { font-size: .95rem; margin: 8px 0 2px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.badge.done { color: var(--ok); } .badge.failed, .badge.refused { color: var(--bad); } .badge.running, .badge.queued { color: var(--warn); }
.video-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: start; }
.player { aspect-ratio: 9/16; width: 100%; border-radius: 16px; background: #000; }
.bar { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin: 14px 0 6px; }
.bar > div { height: 100%; background: var(--accent); transition: width .6s ease; }
.copy-row { display: flex; gap: 8px; align-items: flex-start; }
.copy-row pre { flex: 1; margin: 0; white-space: pre-wrap; word-break: break-word; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: .92rem; }
.checklist li { margin: 4px 0; }
.prose { max-width: 46em; } .prose h2 { margin-top: 28px; }
/* homepage */
.center { text-align: center; }
p.center { max-width: 40em; margin-left: auto; margin-right: auto; }
.hero2 { display: grid; gap: 40px; grid-template-columns: 1.25fr .75fr; align-items: center; padding: 24px 0 24px; }
.hero2 > div { min-width: 0; }
.hero2 h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; }
.hero2 .lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft);
  color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 6px; }
.platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.platforms li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: .88rem;
  color: var(--muted); font-weight: 600; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone.big { max-width: 300px; transform: rotate(2deg); }
.reel { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); margin-top: 20px; }
.reel figure { margin: 0; }
.reel .phone { position: relative; max-width: none; margin: 0; cursor: pointer; }
.reel figcaption { margin-top: 10px; font-size: .92rem; font-weight: 600; }
.sound { position: absolute; right: 10px; bottom: 10px; border: 0; border-radius: 999px; padding: 6px 11px; font: inherit; font-size: .8rem;
  font-weight: 700; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.features { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.features strong { display: block; margin-bottom: 4px; }
.features strong::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 900; }
.features span { color: var(--muted); font-size: .92rem; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); margin-top: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 4px; }
.plan .btn { margin-top: auto; }
.plan.featured { border: 2px solid var(--accent); }
.plan .tag { position: absolute; top: -12px; left: 16px; background: var(--accent); color: var(--accent-ink); font-size: .75rem;
  font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.faq { max-width: 760px; margin: 20px auto 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 15px 0; list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq p { color: var(--muted); margin: 12px 0 16px; }
.band { text-align: center; background: var(--text); color: var(--bg); border-radius: 22px; padding: 44px 20px; }
.band h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
.band .small { opacity: .75; margin: 0; }
@media (max-width: 760px) {
  .hero2 { grid-template-columns: 1fr; }
  .phone.big { transform: none; margin: 0 auto; max-width: 230px; }
  .hero, .video-layout { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; max-width: 220px; }
  nav.main { margin-left: 0; width: 100%; }
}
