:root {
  --bg: #0e0e12;
  --panel: #16161c;
  --card: #1d1d25;
  --border: #2a2a35;
  --text: #f2f2f5;
  --muted: #a0a0ae;
  --dim: #6c6c7a;
  --accent: #ff5a1f;
  --accent-2: #ffb020;
  --good: #3ddc84;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(14,14,18,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: .08em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
header.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
header.top nav a { line-height: 1; }
header.top nav a { text-decoration: none; }
header.top nav a:hover { color: var(--text); }
@media (max-width: 640px) { header.top nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 15px; transition: transform .12s, filter .12s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn.primary { background: linear-gradient(135deg, var(--accent), #ff7a2f); color: #fff; box-shadow: 0 8px 30px rgba(255,90,31,.35); }
.btn.ghost { border-color: var(--border); background: var(--card); color: var(--text); }
.btn.small { padding: 8px 14px; font-size: 13px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* Hero */
.hero { padding-block: 84px 56px; text-align: center; background: radial-gradient(60% 50% at 50% 0%, rgba(255,90,31,.18), transparent 70%); }
.hero img.logo { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 20px 60px rgba(255,90,31,.3); }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; margin: 26px 0 16px; letter-spacing: -.02em; }
.hero h1 span { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fine { margin-top: 14px; font-size: 13px; color: var(--dim); }

/* Download card (embeddable) */
.dl-card { display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); text-decoration: none; text-align: left; }
.dl-card img { width: 44px; height: 44px; border-radius: 10px; }
.dl-card b { display: block; font-size: 15px; }
.dl-card small { color: var(--muted); font-size: 12px; }

/* Sections */
section { padding-block: 64px; scroll-margin-top: 60px; }
section h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 10px; letter-spacing: -.01em; text-align: center; }
section p.sub { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 38px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; background: rgba(255,90,31,.14); margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* Tiers */
.tiers { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.tier { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.tier.b { background: #3b3b4a; }
.tier.m { background: #2f5bd6; }
.tier.e { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* Pricing */
.pricing { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 760px; margin: 0 auto; }
.plan { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 26px; }
.plan.pro { border-color: rgba(255,90,31,.6); box-shadow: 0 0 0 1px rgba(255,90,31,.25), 0 20px 60px rgba(255,90,31,.12); }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-size: 40px; font-weight: 900; margin: 8px 0 2px; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: 14px; color: var(--muted); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 900; }
.plan li.no::before { content: "–"; color: var(--dim); }
.plan .btn { width: 100%; justify-content: center; }

/* Steps / FAQ */
.steps { counter-reset: s; max-width: 640px; margin: 0 auto; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 44px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); display: grid; place-items: center; font-weight: 800; color: var(--text); font-size: 14px; }
.steps b { color: var(--text); }
details { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; max-width: 760px; margin: 0 auto 10px; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding-block: 30px 40px; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
footer nav { display: flex; gap: 18px; margin-left: auto; }
footer p.legal { flex-basis: 100%; margin: 6px 0 0; font-size: 12px; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding-block: 56px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc h2 { font-size: 20px; margin-top: 34px; }
.doc p, .doc li { color: var(--muted); }
.doc .updated { color: var(--dim); font-size: 13px; }
.todo { background: rgba(255,176,32,.14); color: var(--accent-2); padding: 0 4px; border-radius: 4px; }
