:root {
  --bg: #ffffff; --bg-soft: #f6f7fb; --text: #1b1f2a; --muted: #5d6475; --border: #e3e6ef;
  --accent: #4f46e5; --accent-2: #0ea5e9; --accent-ink: #ffffff; --card: #ffffff; --code: #f1f3f9;
  --radius: 14px; --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1017; --bg-soft: #131824; --text: #e7eaf2; --muted: #9aa3b7; --border: #252c3b;
    --accent: #818cf8; --accent-2: #38bdf8; --accent-ink: #0d1017; --card: #151b28; --code: #1b2232; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; color: var(--text); }
.brand:hover { text-decoration: none; }
.logo { width: 36px; height: 36px; margin: 0 -2px; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); font-size: 15px; } .nav a:hover, .nav a[aria-current] { color: var(--text); text-decoration: none; }
@media (max-width: 640px) { .nav a.hide-sm { display: none; } .top .wrap { gap: 12px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
  font: inherit; font-weight: 650; font-size: 16px; border: 1px solid var(--border); background: var(--card); color: var(--text);
  cursor: pointer; text-decoration: none; }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.small { padding: 7px 14px; font-size: 14px; }
.btn.disabled, .btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.btn[hidden] { display: none; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.eyebrow { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.hero h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.08; letter-spacing: -.02em; margin: 18px auto 16px; max-width: 820px; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto 28px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fineprint { color: var(--muted); font-size: 14px; margin-top: 14px; }
.shot { margin: 46px auto 0; border-radius: 14px; border: 1px solid var(--border); overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(20, 30, 70, .35); max-width: 980px; background: var(--card); }

/* Sections */
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); border-block: 1px solid var(--border); }
h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.015em; line-height: 1.15; margin: 0 0 12px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 0 36px; }
.center { text-align: center; } .center .section-lead { margin-inline: auto; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 18px; } .card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 19px;
  background: color-mix(in srgb, var(--accent) 12%, transparent); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.pill { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-size: 15px; }

/* Pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--accent); position: relative; }
.plan .tag { position: absolute; top: -12px; right: 20px; background: var(--accent); color: var(--accent-ink); font-size: 12px;
  font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; } .plan .price { font-size: 44px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 0; }
.plan .per { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 28px; position: relative; font-size: 15.5px; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }
.plan .btn { width: 100%; }

/* FAQ / prose pages */
.faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.prose { max-width: 760px; margin: 0 auto; padding: 56px 20px 72px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.02em; margin: 0 0 6px; }
.prose .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.prose h2 { font-size: 22px; margin: 34px 0 8px; }
.prose p, .prose li { color: var(--text); } .prose ul { padding-left: 22px; }
.notice { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 15.5px; }

/* Buy page */
.buy-card { max-width: 520px; margin: 0 auto; text-align: center; }
.buy-card .price { font-size: 56px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.buy-card ul { text-align: left; margin: 22px auto; max-width: 380px; list-style: none; padding: 0; }
.statement-note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 32px 0 44px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
footer a { color: var(--muted); }
