:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1d1b22;
  --muted: #5f5b68;
  --line: #e7e3dc;
  --brand: #5b4bdb;
  --brand-ink: #ffffff;
  --brand-soft: #ece9ff;
  --accent: #ff8a5c;
  --ok: #1f9d6b;
  --danger: #c8363d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(29, 27, 34, 0.08);
  --max: 1120px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131218;
    --surface: #1c1a23;
    --ink: #f1eff6;
    --muted: #a9a4b6;
    --line: #2d2a37;
    --brand: #8b7dff;
    --brand-ink: #131218;
    --brand-soft: #262145;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); }
a { color: var(--brand); }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--accent)); display: grid; place-items: center; color: #fff; font-size: 0.9rem; }
.nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 0.95rem; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.nav .btn { color: var(--brand-ink); }
.nav .btn-ghost { color: var(--ink); }

/* Hero */
.hero { padding-block: 80px 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; margin: 18px 0; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: 0.88rem; }
.trust-row span::before { content: "✓ "; color: var(--ok); font-weight: 700; }

.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { aspect-ratio: 4 / 5; border-radius: 14px; position: relative; overflow: hidden; }
.tile .tag { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.75rem; padding: 4px 9px; border-radius: 999px; }
.g1 { background: linear-gradient(160deg, #f6d5c4, #e8a98d); }
.g2 { background: linear-gradient(160deg, #d9d2ff, #9d8ff0); }
.g3 { background: linear-gradient(160deg, #c9ecdf, #7cc8a9); }
.g4 { background: linear-gradient(160deg, #ffe3a8, #f2b35b); }
.g5 { background: linear-gradient(160deg, #cfe3ff, #7ea9ea); }
.g6 { background: linear-gradient(160deg, #f8cde0, #e48bb0); }

/* Sections */
section { padding-block: 64px; }
.section-head { max-width: 640px; margin-bottom: 36px; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.alt .card { background: var(--bg); }
.card h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.step-num { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.item .tile { border-radius: 0; aspect-ratio: 1; }
.item .meta { padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.9rem; }
.item .meta strong { display: block; }
.item .meta small { color: var(--muted); }
.price { font-weight: 700; color: var(--brand); white-space: nowrap; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); position: relative; }
.tier.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 24px; background: var(--brand); color: var(--brand-ink); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tier h3 { margin: 0; }
.tier .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 4px; }
.tier .amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.tier li { padding: 6px 0; color: var(--muted); }
.tier li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 10px; }

/* Safety */
.safety { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .safety { grid-template-columns: 1fr; } }
.zero { border: 2px solid var(--danger); border-radius: 20px; padding: 28px; background: color-mix(in srgb, var(--danger) 6%, var(--surface)); }
.zero h3 { color: var(--danger); margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist strong { display: block; }
.checklist span { color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand), #8a5bdb 60%, var(--accent)); color: #fff; border-radius: 28px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: 0.9; }
.cta-band .btn { background: #fff; color: #2b2066; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; color: var(--muted); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--ink); margin: 0 0 10px; font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.legal-line { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; }

/* Age gate */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(10, 9, 14, 0.82); display: grid; place-items: center; padding: 20px; }
.age-gate .box { background: var(--surface); border-radius: 20px; padding: 32px; max-width: 460px; text-align: center; box-shadow: var(--shadow); }
.age-gate h2 { font-size: 1.5rem; }
.age-gate p { color: var(--muted); }
.age-gate .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* Legal pages */
.legal { padding-block: 56px 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 40px; padding-top: 8px; }
.legal h3 { font-size: 1.1rem; margin-top: 24px; }
.legal p, .legal li { color: var(--ink); }
.legal .updated { color: var(--muted); }
.legal .toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 24px; }
.legal .toc ol { margin: 8px 0 0; padding-left: 20px; }
.callout { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 20px 0; }
.callout.danger { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 9%, var(--surface)); }
.draft-note { border: 1px dashed var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; margin-bottom: 24px; }
