:root {
  color-scheme: light dark;
  --bg: #f7f7fb;
  --panel: #ffffff;
  --fg: #111118;
  --muted: #5d5d72;
  --line: #e4e4ee;
  --accent: #5b5bf6;
  --accent-soft: #ececff;
  --accent-fg: #ffffff;
  --shadow: 0 1px 2px rgb(17 17 24 / 6%), 0 12px 40px rgb(17 17 24 / 10%);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b12;
    --panel: #15151f;
    --fg: #f2f2f7;
    --muted: #a0a0b8;
    --line: #262636;
    --accent: #7b6bff;
    --accent-soft: #1f1d3a;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 12px 40px rgb(0 0 0 / 45%);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.logo { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1.15rem; color: var(--fg); text-decoration: none; letter-spacing: -0.02em; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--fg); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.75rem 1.2rem; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--accent-fg); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.small { padding: 0.45rem 0.85rem; font-size: 0.9rem; border-radius: 10px; }
.signup { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 34rem; }
.signup input, .signup select { flex: 1 1 14rem; min-width: 0; padding: 0.75rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: inherit; font: inherit; }
.signup select { flex: 0 1 11rem; }
.signup .btn { flex: 1 0 auto; }
.fine { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }
.form-error { color: #d93b3b; font-size: 0.9rem; margin-top: 0.5rem; min-height: 1.2em; }

/* Hero */
.hero { padding: clamp(3rem, 9vw, 6rem) 0 0; text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 7.5vw, 4.8rem); max-width: 14ch; margin: 0 auto 1.25rem; }
.hero .lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 38rem; margin: 0 auto 2rem; }
.hero .signup { margin-inline: auto; justify-content: center; }
.hero .fine { text-align: center; }
.pill { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 1.25rem; }
.shot { margin: clamp(2.5rem, 6vw, 4rem) auto 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel); }
.shot .bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }

/* Sections */
section { padding: clamp(4rem, 10vw, 7rem) 0 0; }
.kicker { color: var(--accent); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.head { max-width: 42rem; margin-bottom: 2.5rem; }
.head h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.head p { color: var(--muted); font-size: 1.1rem; }
.center { text-align: center; margin-inline: auto; }

/* Replace strip */
.replace { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.replace div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.replace s { color: var(--muted); font-weight: 600; }
.replace strong { display: block; margin-top: 0.35rem; font-size: 1.05rem; }
.replace p { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }
@media (max-width: 760px) { .replace { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.feature .icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); font-size: 1.35rem; margin-bottom: 1rem; }
.feature h3 { font-size: 1.2rem; margin-bottom: 0.5rem; letter-spacing: -0.015em; }
.feature p { color: var(--muted); }
.soon { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 0.1rem 0.45rem; margin-left: 0.4rem; vertical-align: 0.15em; }

/* Scale */
.scale { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.scale > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.scale h3 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.scale .size { color: var(--accent); font-weight: 700; margin-bottom: 1rem; display: block; }
.scale ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.scale li { padding-left: 1.6rem; position: relative; color: var(--muted); }
.scale li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 760px) { .scale { grid-template-columns: 1fr; } }

/* Apps */
.apps { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.apps span { padding: 0.65rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-weight: 600; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
.price { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan p { color: var(--muted); font-size: 0.95rem; }
.plan ul { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.95rem; display: grid; gap: 0.35rem; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin-top: 0.6rem; }

/* Closing CTA */
.cta { margin-top: clamp(4rem, 10vw, 7rem); background: var(--accent); color: #fff; border-radius: 24px; padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 3rem); text-align: center; }
.cta h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.cta p { opacity: 0.85; margin-bottom: 1.75rem; }
.cta .signup { margin-inline: auto; justify-content: center; }
.cta .signup input, .cta .signup select { border-color: transparent; color: #111118; background: #fff; }
.cta .btn.primary { background: #111118; }
.cta .fine { color: #fff; opacity: 0.75; }

/* Footer */
footer { padding: 3rem 0; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }
footer .grow { flex: 1; }

/* Simple pages */
.page { max-width: 42rem; padding: clamp(3rem, 8vw, 5rem) 0 2rem; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: 1rem; }
.page h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; letter-spacing: -0.015em; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 0.75rem; }
.message { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 1rem; padding: 2rem 0; }
.message h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
