:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --bg-soft: #111114;
  --panel: #16161b;
  --line: #26262e;
  --text: #f2f2f5;
  --muted: #a0a0ae;
  --brand: #b9a4ff;
  --brand-deep: #7c5cff;
  --ok: #4ade80;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, -apple-system, "Segoe UI", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── nav ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 12, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }

/* Anchor targets must clear the sticky nav, or the section label lands behind it. */
section[id] { scroll-margin-top: 84px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.mark {
  width: 26px; height: 26px;
  object-fit: contain; display: block;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── hero ──────────────────────────────────────────── */
.hero { padding: 88px 0 64px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -40% 20% auto;
  height: 420px;
  background: radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.28), transparent 68%);
  pointer-events: none;
}
.hero > * { position: relative; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; color: var(--muted);
  background: var(--bg-soft);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 22px 0 18px;
  font-weight: 680;
}
h1 .grad {
  background: linear-gradient(100deg, #c9b8ff, #8e6cff 55%, #6d4bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 660px; margin: 0 auto; color: var(--muted); font-size: 1.06rem; }

.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 11px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  border: 1px solid var(--line);
  background: var(--panel); color: var(--text); cursor: pointer;
}
.btn:hover { text-decoration: none; border-color: #3a3a46; }
.btn.primary {
  background: linear-gradient(180deg, #8b68ff, #6c47ff);
  border-color: #6c47ff; color: #fff;
  box-shadow: 0 8px 26px rgba(108, 71, 255, 0.32);
}
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; }

.meta { margin-top: 18px; font-size: 13px; color: #7f7f8d; }

.checkout-note {
  margin: 14px auto 0; max-width: 560px; font-size: 13.5px; line-height: 1.55;
  color: #f0c674; background: rgba(240, 198, 116, 0.08);
  border: 1px solid rgba(240, 198, 116, 0.28); border-radius: 10px; padding: 10px 14px;
}
.checkout-note[hidden] { display: none; }

/* ── screenshot mock ───────────────────────────────── */
.shot {
  margin: 56px auto 0;
  max-width: 860px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  text-align: left;
}
.shot-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: #0e0e11;
}
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c36; display: block; }
.shot-body { display: grid; grid-template-columns: 1fr 300px; min-height: 300px; }
.shot-page { padding: 22px; border-right: 1px solid var(--line); color: #6f6f7e; font-size: 13px; }
.skel { height: 11px; border-radius: 6px; background: #1e1e25; margin-bottom: 11px; }
.skel.w70 { width: 70%; } .skel.w50 { width: 50%; } .skel.w90 { width: 90%; }
.skel.hi { background: rgba(124, 92, 255, 0.4); outline: 1px solid rgba(185, 164, 255, 0.6); }
.shot-panel { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #0c0c0f; }
.bubble { border-radius: 10px; padding: 9px 12px; font-size: 12.5px; line-height: 1.45; }
.bubble.me { background: #1d1d24; border: 1px solid var(--line); align-self: flex-end; max-width: 90%; }
.bubble.ai { background: rgba(124, 92, 255, 0.12); border: 1px solid rgba(124, 92, 255, 0.3); }
.bubble.tool { color: var(--muted); font-size: 11.5px; font-family: ui-monospace, "SF Mono", Menlo, monospace; }

/* ── sections ──────────────────────────────────────── */
section { padding: 72px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); font-weight: 650; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -0.025em; margin: 10px 0 14px; font-weight: 650; }
.sub { color: var(--muted); max-width: 620px; margin: 0 0 36px; }

.grid { display: grid; gap: 16px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }

.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 22px;
}
.card h3 { margin: 12px 0 8px; font-size: 1rem; font-weight: 640; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.26);
  display: grid; place-items: center; font-size: 16px;
}

/* ── pricing ───────────────────────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 26px 22px; display: flex; flex-direction: column;
}
.price.featured {
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.18), 0 20px 50px rgba(76, 47, 214, 0.16);
  position: relative;
}
.tag {
  position: absolute; top: -11px; left: 22px;
  background: linear-gradient(180deg, #8b68ff, #6c47ff);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.price h3 { margin: 0 0 4px; font-size: 15px; font-weight: 620; }
.amount { font-size: 2.1rem; font-weight: 680; letter-spacing: -0.03em; margin: 10px 0 2px; }
.amount span { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.per { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.price ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: #cfcfda; }
.price li::before { content: "✓"; color: var(--ok); margin-right: 9px; font-weight: 700; }
.price .btn { margin-top: auto; width: 100%; }
.muted-note { color: #7f7f8d; font-size: 13px; margin-top: 18px; }

/* ── faq ───────────────────────────────────────────── */
details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
details summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); font-size: 14.5px; margin: 10px 0 0; max-width: 760px; }

/* ── footer ────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 13.5px; }
.foot { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot .sep { margin-left: auto; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

/* ── legal pages ───────────────────────────────────── */
.legal { padding: 56px 0 80px; max-width: 780px; }
.legal h1 { font-size: 2rem; text-align: left; margin-bottom: 6px; }
.legal .updated { color: #7f7f8d; font-size: 13.5px; margin-bottom: 34px; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 10px; }
.legal p, .legal li { color: #c3c3cf; font-size: 15px; }
.legal ul { padding-left: 20px; }
.legal .back { display: inline-block; margin-bottom: 22px; font-size: 14px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .grid.c3, .grid.c2, .prices { grid-template-columns: 1fr; }
  .shot-body { grid-template-columns: 1fr; }
  .shot-page { display: none; }
  .hero { padding: 56px 0 40px; }
  section { padding: 52px 0; }
}
