:root {
  --bg: #12171d;
  --bg-2: #1a2129;
  --card: #1f2731;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e9edf1;
  --muted: #9aa6b2;
  --orange: #eb7f50;
  --gold: #f8c445;
  --grad: linear-gradient(135deg, var(--orange), var(--gold));
  --radius: 16px;
  --max: 1120px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Merriweather", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 23, 29, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.overlay { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background .25s, border-color .25s; }
.site-header.overlay.scrolled { background: rgba(18, 23, 29, 0.85); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--text); font-size: 15px; font-weight: 500;
}
.nav-links a:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.nav-links a[aria-current="page"] { background: rgba(255,255,255,0.12); }
.nav-links .nav-cta { background: var(--grad); color: #1a1208; font-weight: 600; margin-left: 6px; }
.nav-links .nav-cta:hover { background: var(--grad); filter: brightness(1.06); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; width: 42px; height: 42px; cursor: pointer; font-size: 20px;
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; padding: 12px 16px 18px; gap: 2px;
    background: rgba(18, 23, 29, 0.97); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .nav-links .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  background: url("/assets/images/hero.jpg") center / cover no-repeat;
  padding: 120px 0 80px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,17,0.55) 0%, rgba(10,13,17,0.65) 55%, var(--bg) 100%);
}
.hero > * { position: relative; }
.hero h1 {
  font-size: clamp(48px, 9vw, 96px); font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.2em;
}
.hero .tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.4vw, 24px);
  color: #f3f0ea; margin-bottom: 2em;
}
.hero .mark { width: 76px; height: 76px; margin: 0 auto 22px; }

.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, filter .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #1a1208; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; background: rgba(255,255,255,0.06); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { color: var(--muted); font-size: 18px; }

.page-head { padding: 72px 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(38px, 6vw, 56px); }
.page-head p { color: var(--muted); font-size: 19px; max-width: 640px; margin: 0 auto; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card h3 { font-size: 20px; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(248, 196, 69, 0.12); color: var(--gold); margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }
.step-num {
  font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: 0.1em; margin-bottom: 8px; display: block;
}

.cta-band {
  text-align: center; border-radius: 24px; padding: 56px 24px;
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(235,127,80,0.25), transparent 70%),
    radial-gradient(600px 200px at 80% 100%, rgba(248,196,69,0.2), transparent 70%),
    var(--card);
  border: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 36px); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: rgba(248,196,69,0.55); box-shadow: 0 20px 60px -30px rgba(248,196,69,0.45); }
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #1a1208; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0.04em; white-space: nowrap;
}
.price-card h3 { font-size: 22px; margin-bottom: 4px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-note { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.features li { padding: 9px 0 9px 30px; position: relative; border-top: 1px solid var(--line); font-size: 15.5px; }
.features li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.fine-print { color: var(--muted); font-size: 14px; text-align: center; max-width: 760px; margin: 28px auto 0; }
.custom {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; margin-top: 56px;
}
.custom .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { border: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
@media (max-width: 760px) { .custom { grid-template-columns: 1fr; } }

/* ---------- Prose (setup / legal) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 30px; margin-top: 2em; padding-top: 0.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin-top: 1.8em; }
.prose p, .prose li { color: #cfd6dd; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--text); }
.callout {
  border-left: 3px solid var(--orange); background: rgba(235,127,80,0.08);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 1.4em 0;
}
.callout p:last-child { margin: 0; }
.cred-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0 !important; margin: 1.2em 0 !important; }
.cred-list li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; font-weight: 600; color: var(--text); margin: 0; }
@media (max-width: 520px) { .cred-list { grid-template-columns: 1fr; } }
.diagram { background: #fff; border-radius: var(--radius); padding: 20px; margin: 0 auto 8px; }
.diagram-caption { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 40px; }

.toc { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.legal { font-size: 16px; }
.legal h2 { scroll-margin-top: 90px; }

/* ---------- Watch ---------- */
.platform { display: flex; flex-direction: column; align-items: flex-start; }
.platform p { margin-bottom: 22px; flex: 1; }
.platform .btn { margin-top: auto; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--text); }
