:root {
  --bg: #FBF8F5;
  --tint: #F5EEE6;
  --panel: #FFFFFF;
  --text: #2B211A;
  --muted: #7E7166;
  --border: #EBE2D8;
  --accent: #E0692F;
  --accent-hover: #C95A24;
  --accent-ink: #FFFFFF;
  --accent-soft: #FCEBDF;
  --ok: #2E9A68;
  --shadow: 0 1px 2px rgba(60, 35, 15, .05), 0 12px 32px rgba(60, 35, 15, .08);
  --shadow-lg: 0 30px 80px rgba(60, 30, 10, .18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A1613; --tint: #211C18; --panel: #26211C; --text: #F4EDE6; --muted: #A79B8F;
    --border: #362F29; --accent: #F08A50; --accent-hover: #F59C68; --accent-ink: #1C1410; --accent-soft: #3A291E;
    --ok: #4CC08A;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.3);
    --shadow-lg: 0 30px 80px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
code { font: .85em var(--mono); background: var(--accent-soft); color: var(--accent); padding: 1px 6px; border-radius: 5px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.accent { color: var(--accent); }
.kbd { font: 600 .85em var(--mono); background: var(--accent-soft); color: var(--accent); padding: 2px 8px; border-radius: 7px; white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 46px; padding: 0 22px; border-radius: 12px; text-decoration: none;
  font-weight: 600; font-size: 16px; border: 1px solid transparent;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--text); border-color: var(--border); background: var(--panel); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 15px; border-radius: 10px; box-shadow: none; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn.soon { cursor: default; opacity: .75; box-shadow: none; }
.btn.soon:active { transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.02em; margin-right: auto; }
.logo img { margin: -4px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { padding: 64px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 20px; margin-bottom: 20px; }
h1 { font-size: clamp(46px, 7vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 850; }
.lead { font-size: 20px; color: var(--muted); margin: 22px 0 30px; max-width: 520px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fineprint { margin-top: 16px; font-size: 14px; color: var(--muted); }

.hero-demo { position: relative; }
.window { background: var(--panel); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.window-bar span { width: 12px; height: 12px; border-radius: 50%; background: var(--border); }
.window-bar span:nth-child(1) { background: #FF6159; }
.window-bar span:nth-child(2) { background: #FFBD2E; }
.window-bar span:nth-child(3) { background: #28C941; }
.window-bar em { margin-left: 10px; font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }
.window-body { padding: 20px 24px 28px; min-height: 230px; }
.demo-meta { font-size: 14px; color: var(--muted); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.demo-meta b { color: var(--text); font-weight: 600; }
.demo-text { font-size: 17px; white-space: pre-wrap; line-height: 1.6; }
#demo-typed { transition: background .3s; border-radius: 4px; }
#demo-typed.flash { background: var(--accent-soft); }
.caret { display: inline-block; width: 2px; height: 1.15em; background: var(--accent); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-key {
  position: absolute; left: -22px; bottom: -22px;
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); font-size: 15px; font-weight: 600; transition: transform .3s;
}
.demo-key .arrow { color: var(--muted); }
.demo-key.done { transform: translateY(-4px); }
.demo-bird { position: absolute; right: -18px; top: -34px; transform: rotate(8deg); filter: drop-shadow(0 10px 20px rgba(0,0,0,.15)); animation: hop 3s ease-in-out infinite; }
@keyframes hop { 0%, 70%, 100% { transform: rotate(8deg) translateY(0); } 78% { transform: rotate(8deg) translateY(-12px); } 86% { transform: rotate(8deg) translateY(0); } }

/* Apps strip */
.apps { padding: 40px 0 8px; text-align: center; }
.apps p { font-size: 14px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.apps ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.apps li { padding: 6px 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--panel); font-size: 15px; font-weight: 500; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 46px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 19px; margin-top: 14px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.feature h3 { font-size: 19px; margin: 16px 0 6px; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: 16px; }
.f-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.f-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { text-align: center; padding: 0 12px; }
.step-n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { color: var(--muted); }

.compare { background: var(--panel); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--border); font-size: 16px; align-items: center; }
.compare-row:first-child { border-top: 0; }
.compare-row > span:first-child { color: var(--muted); }
.compare-head { font-weight: 700; font-size: 15px; }
.compare-head > span:last-child { color: var(--muted); font-weight: 600; }
.compare .us { color: var(--text); font-weight: 600; }
.compare-head .us { color: var(--accent); }

.price-card {
  width: min(440px, 100%); margin: 0 auto; background: var(--panel); border-radius: 26px;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 40px 36px 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
}
.price-card h3 { font-size: 22px; margin-top: 6px; }
.price { font-size: 64px; font-weight: 850; letter-spacing: -.04em; line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.checks { list-style: none; padding: 0; margin: 18px 0 20px; text-align: left; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.checks li { padding-left: 30px; position: relative; font-size: 16px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0692F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

.final { padding: 100px 0; text-align: center; background: linear-gradient(180deg, var(--bg), var(--accent-soft)); }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.final h2 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -.03em; font-weight: 850; line-height: 1.1; }
.final p { color: var(--muted); font-size: 19px; margin-bottom: 12px; }

.footer { padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: 42px; letter-spacing: -.03em; margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .demo-key { left: 12px; }
  .demo-bird { right: 6px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .hero { padding-top: 36px; }
  .lead { font-size: 18px; }
  .features, .steps { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .compare-row { grid-template-columns: 1fr 1fr; padding: 14px 16px; }
  .compare-row > span:first-child { grid-column: 1 / -1; font-size: 14px; }
  .compare-head > span:first-child { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .price-card { padding: 32px 22px 26px; }
  .demo-bird { width: 56px; height: 56px; top: -28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
