:root {
  --bg: #0d0f13;
  --bg-soft: #12151b;
  --panel: #171a21;
  --panel-2: #1d212a;
  --text: #f3f5f9;
  --muted: #9aa3b2;
  --dim: #6b7382;
  --line: #262b35;
  --red: #f5313f;
  --red-soft: rgba(245, 49, 63, .14);
  --blue: #6aa9ff;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }
h1, h2, h3 { letter-spacing: -0.02em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Nav */
header.site {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--max); margin: 0 auto;
  background: rgba(13, 15, 19, .8); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .brand { display: flex; align-items: center; gap: 10px; font-weight: 650; }
header.site .brand img { width: 28px; height: 28px; }
header.site .brand a { color: inherit; text-decoration: none; }
header.site nav { display: flex; align-items: center; gap: 22px; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
header.site nav a:hover { color: var(--text); }
header.site .brand .product { color: var(--muted); font-weight: 500; white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); vertical-align: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px; border-radius: 999px;
  font-weight: 620; font-size: 16px; text-decoration: none; padding: 14px 26px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #ff4452; color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }
.btn-sm { padding: 9px 18px; font-size: 15px; }

/* Hero */
.hero { text-align: center; padding: 84px 0 64px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -10% 20% 40%; z-index: -1;
  background: radial-gradient(closest-side, var(--red-soft), transparent 70%);
}
.hero img.icon { width: 112px; height: 112px; margin-bottom: 22px; }
.hero h1 { font-size: 52px; line-height: 1.08; margin: 0 0 16px; }
.hero h1 .accent { color: var(--red); }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fineprint { color: var(--dim); font-size: 14px; margin-top: 16px; }

.shot { margin: 44px auto 0; max-width: 900px; }
.shot img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.shot figcaption { color: var(--dim); font-size: 14px; margin-top: 10px; text-align: center; }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section.plain { border-top: none; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
section h2 { font-size: 34px; margin: 8px 0 10px; }
section p.sub { color: var(--muted); font-size: 18px; margin: 0; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .icon { font-size: 22px; margin-bottom: 12px; display: block; }
.card.soon { opacity: .7; border-style: dashed; }

.app-card { display: flex; gap: 18px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.app-card:hover { border-color: var(--red); transform: translateY(-2px); }
.app-card img { width: 64px; height: 64px; flex: 0 0 auto; }
.app-card .more { display: inline-block; margin-top: 12px; color: var(--blue); font-size: 15px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 44px 0; }
.feature:not(:last-child) { border-bottom: 1px solid var(--line); }
.feature.flip .text { order: 2; }
.feature h3 { font-size: 25px; margin: 8px 0 12px; }
.feature p { color: var(--muted); margin: 0 0 12px; }
.feature ul { margin: 0; padding-left: 18px; color: var(--muted); }
.feature li { margin-bottom: 6px; }
.feature img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat .num { font-size: 34px; font-weight: 700; color: var(--red); letter-spacing: -0.02em; }
.stat .label { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Comparison table */
table.compare { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
table.compare th { color: var(--muted); font-weight: 600; font-size: 14px; }
table.compare td.yes { color: #4ade80; }
table.compare td.no { color: var(--dim); }
table.compare tr:last-child td { border-bottom: none; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.featured { border-color: var(--red); background: linear-gradient(180deg, rgba(245,49,63,.07), transparent 60%), var(--panel); }
.plan h3 { margin: 0 0 6px; font-size: 15px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.plan .price { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; }
.plan .price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan ul { margin: 16px 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.plan li { margin-bottom: 8px; padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.plan li.off { color: var(--dim); }
.plan li.off::before { content: "–"; color: var(--dim); }
.plan .btn { width: 100%; justify-content: center; }
.badge { display: inline-block; background: var(--red-soft); color: #ff8088; font-size: 11px; font-weight: 700; letter-spacing: .07em; padding: 4px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 3px; }
.renewal { color: var(--dim); font-size: 13px; margin-top: 22px; max-width: 700px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* CTA band */
.cta-band { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); border-top: 1px solid var(--line); text-align: center; padding: 80px 0; }
.cta-band h2 { font-size: 34px; margin: 0 0 12px; }
.cta-band p { color: var(--muted); margin: 0 0 26px; font-size: 18px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0 64px; color: var(--dim); font-size: 14px; }
footer.site .cols { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 20px; }
footer.site a:hover { color: var(--text); }

/* Long-form docs (privacy, support) */
article.doc { padding: 48px 0 72px; max-width: 720px; }
article.doc h1 { font-size: 34px; margin: 0 0 6px; }
article.doc h2 { font-size: 21px; margin: 36px 0 8px; }
article.doc p, article.doc li { color: #d7dce5; }
article.doc .updated { color: var(--dim); font-size: 14px; }

@media (max-width: 760px) {
  .hero { padding: 56px 0 44px; }
  .hero h1 { font-size: 36px; }
  .hero p.lead { font-size: 18px; }
  section { padding: 56px 0; }
  section h2 { font-size: 27px; }
  .feature { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .feature.flip .text { order: 0; }
  header.site { padding: 12px 16px; }
  header.site nav a:not(.btn) { display: none; }
  header.site .brand .product { display: none; }
  .hero h1 { font-size: 33px; }
}

/* Setup guides */
article.doc ol, article.doc ul { padding-left: 22px; }
article.doc li { margin-bottom: 8px; }
article.doc code {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 5px;
  padding: 1px 6px; font-size: 13.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
article.doc pre {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.55;
}
article.doc pre code { background: none; border: none; padding: 0; }
article.doc table {
  width: 100%; border-collapse: collapse; background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 16px 0;
}
article.doc th, article.doc td {
  padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px;
}
article.doc th { color: var(--muted); font-size: 13px; font-weight: 600; }
article.doc tr:last-child td { border-bottom: none; }
article.doc .note {
  border-left: 3px solid var(--red); background: var(--red-soft);
  padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 18px 0;
}
article.doc .note p { margin: 0; color: var(--text); }
article.doc .steps { counter-reset: step; list-style: none; padding-left: 0; }
article.doc .steps > li {
  counter-increment: step; position: relative; padding-left: 42px; margin-bottom: 22px;
}
article.doc .steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff;
  font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
article.doc .steps h2 { margin: 2px 0 8px; font-size: 19px; }
