:root {
  --bg: #0E0B1E;
  --bg-2: #16102B;
  --card: #1D1538;
  --line: #3A2B66;
  --text: #F1ECFF;
  --muted: #B3A8D6;
  --purple: #8C3FD0;
  --purple-hi: #B04CE0;
  --pink: #E866B8;
  --cyan: #2FD0E8;
  --gold: #F2A31E;
  --flame: #E8591A;
  --ink: #0E0B1E;
  --grad: linear-gradient(100deg, var(--pink), var(--purple-hi) 48%, var(--cyan));
  --fire: linear-gradient(90deg, var(--flame), var(--gold));
  --radius: 12px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, .08);
  --font-head: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0; }
h2 { font-size: 28px; margin-bottom: 16px; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; }
code { font-family: var(--font-body); font-weight: 700; color: var(--gold); word-break: break-all; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 16px; border-radius: var(--radius); z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.bar { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; }
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-x { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1; width: 40px; height: 40px; display: grid; place-items: center; background: var(--grad); color: var(--ink); clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-top { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.brand-sub { font-size: 12px; color: var(--muted); }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: var(--radius); }
.nav a:hover { background: var(--card); color: var(--gold); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 24px; background: var(--fire); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 16px; text-decoration: none; border-radius: var(--radius); border: 2px solid transparent; }
.btn:hover { color: var(--ink); filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--purple-hi); }
.btn-ghost:hover { color: var(--text); background: var(--card); filter: none; }

/* hero */
.hero { padding: 48px 0 32px; background: radial-gradient(900px 420px at 85% 0%, rgba(140, 63, 208, .45), transparent 70%), radial-gradient(700px 360px at 0% 100%, rgba(47, 208, 232, .18), transparent 70%), var(--bg); position: relative; overflow: hidden; }
.hero::before { content: "X"; position: absolute; right: -24px; top: -64px; font-family: var(--font-head); font-weight: 800; font-size: 480px; line-height: 1; color: var(--purple); opacity: .12; pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; }
.kicker { font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.h1-grad, .page-head h1 { font-size: 48px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.jp { font-size: 14px; color: var(--muted); letter-spacing: .3em; margin: 8px 0 16px; }
.lead { font-size: 18px; max-width: 62ch; }
.lead strong { color: var(--gold); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 0; }
.hero-shot { margin: 0; }
.frame { padding: 4px; background: var(--grad); clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
.frame img { clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); width: 100%; }
.hero-shot figcaption { margin-top: 8px; text-align: center; }

.facts { list-style: none; margin: 32px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.facts-k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts-v { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--text); }
.facts-note { margin: 0; }

.toc-wrap { padding-top: 24px; }
.toc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; background: var(--bg-2); }
.toc a:hover { border-color: var(--pink); color: var(--pink); }

/* sections */
.sec { padding: 48px 0; }
.sec-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); margin-bottom: 8px; }
.sec h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 8px; background: var(--grad); transform: skewX(-24deg); }
.prose { max-width: 70ch; }
.prose p, .prose li { font-size: 16px; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.more { margin-top: 24px; font-weight: 700; }
.note { margin-top: 16px; max-width: 70ch; }

/* tags */
.tag { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 700; line-height: 1; padding: 4px 8px; border-radius: 4px; vertical-align: middle; border: 1px solid; }
.tag-ok { color: var(--cyan); border-color: var(--cyan); }
.tag-rep { color: var(--gold); border-color: var(--gold); }
.tag-no { color: var(--pink); border-color: var(--pink); }

/* VS panel */
.vs { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 0; margin-top: 32px; align-items: stretch; }
.vs-side { padding: 24px; background: var(--card); }
.vs-side h3 { margin-bottom: 12px; }
.vs-side ul { margin: 0; padding-left: 16px; }
.vs-side li { margin-bottom: 8px; }
.vs-a { border-radius: var(--radius) 0 0 var(--radius); border: 1px solid var(--cyan); border-right: 0; background: linear-gradient(135deg, rgba(47, 208, 232, .14), var(--card) 70%); clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%); }
.vs-b { border-radius: 0 var(--radius) var(--radius) 0; border: 1px solid var(--pink); border-left: 0; background: linear-gradient(225deg, rgba(232, 102, 184, .16), var(--card) 70%); clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%); padding-left: 48px; }
.vs-mid { display: grid; place-items: center; }
.vs-mid span { font-family: var(--font-head); font-weight: 800; font-size: 22px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--fire); color: var(--ink); border-radius: 50%; }

.guides { padding-top: 32px; padding-bottom: 48px; }
.guides-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.guides-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.guides-list a { font-family: var(--font-head); font-weight: 700; font-size: 18px; text-decoration: none; }
.guides-list span { font-size: 14px; color: var(--muted); }

/* panel, chips */
.panel { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--purple-hi); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-2); }
.panel h3 { margin-bottom: 16px; }
.chips { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.checks { list-style: none; margin: 24px 0 0; padding: 0; max-width: 70ch; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before { content: "X"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; font-family: var(--font-head); font-weight: 800; font-size: 14px; line-height: 20px; text-align: center; color: var(--ink); background: var(--grad); clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }

/* tables */
.tablewrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.ledger, .prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger th, .prose th { text-align: left; background: var(--bg-2); color: var(--gold); font-family: var(--font-head); font-size: 14px; padding: 12px; border-bottom: 2px solid var(--purple); white-space: nowrap; }
.ledger td, .prose td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger tr:last-child td, .prose tr:last-child td { border-bottom: 0; }
.prose table { display: block; overflow-x: auto; max-width: 100%; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }

/* passes */
.pass-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.pass { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px 16px; position: relative; overflow: hidden; }
.pass::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--fire); }
.pass-price { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--gold); margin-bottom: 8px; line-height: 1.2; }
.pass-price span { font-size: 14px; color: var(--muted); font-weight: 700; }
.pass h3 { margin-bottom: 8px; }
.pass p:last-child { margin: 0; font-size: 14px; color: var(--muted); }

/* stats */
.stats { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 16px; }
.stats li { display: flex; flex-direction: column; border-left: 4px solid var(--pink); padding-left: 12px; }
.stats strong { font-family: var(--font-head); font-size: 28px; line-height: 1.2; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stats span { font-size: 14px; color: var(--muted); }

/* ad */
.ad-slot { max-width: 340px; margin: 48px auto; text-align: center; }
.ad-label { display: block; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.ad-box { min-height: 250px; display: flex; align-items: center; justify-content: center; overflow: hidden; }

/* faq */
.faq { max-width: 860px; }
.faq h2 { margin-bottom: 24px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; }
.faq-item summary { cursor: pointer; padding: 16px 48px 16px 16px; font-family: var(--font-head); font-weight: 700; font-size: 18px; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--pink); }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] { border-color: var(--purple-hi); }
.faq-a { padding: 0 16px 16px; color: var(--text); }
.faq-a p:last-child { margin-bottom: 0; }

/* legend */
.legend { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; max-width: 70ch; }
.legend .tag { margin-right: 8px; }

/* inner pages */
.doc { padding-top: 24px; padding-bottom: 48px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 4px; }
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: 36px; }
.page-head .muted { margin-top: 8px; margin-bottom: 0; }
.answer { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: var(--radius); padding: 24px; margin-bottom: 32px; max-width: 860px; }
.answer-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.answer-x { width: 20px; height: 20px; display: grid; place-items: center; background: var(--grad); color: var(--ink); font-size: 14px; line-height: 1; clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
.answer-body { font-size: 18px; }
.answer-body p:last-child { margin-bottom: 0; }
.shot { margin: 0 0 32px; max-width: 560px; }
.shot img { border: 3px solid var(--purple); border-radius: var(--radius); }
.shot figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.doc .prose { max-width: 70ch; }
.doc .prose h2 { margin-top: 48px; }
.doc .prose h3 { margin-top: 24px; margin-bottom: 8px; font-size: 22px; }
.doc .prose ul, .doc .prose ol { padding-left: 24px; }
.doc .prose li { margin-bottom: 8px; }
.doc .faq { margin-top: 48px; }
.related { margin-top: 48px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.related-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.related-card:hover { border-color: var(--pink); }
.related-card strong { font-family: var(--font-head); font-size: 18px; }
.lost { text-align: left; padding-top: 64px; }
.lost h1 { font-size: 48px; margin: 8px 0 16px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 32px 0 16px; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.foot-brand { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.foot-in > div { max-width: 560px; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.foot-links a { color: var(--text); font-weight: 600; font-size: 14px; }

@media (max-width: 900px) {
  .hero-in, .split { grid-template-columns: 1fr; gap: 32px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .pass-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .h1-grad, .page-head h1, .lost h1 { font-size: 32px; }
  .page-head h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .hero { padding: 32px 0 24px; }
  .hero::before { font-size: 280px; top: -24px; }
  .lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .pass-grid { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .vs-mid { padding: 8px 0; }
  .vs-a, .vs-b { border: 1px solid var(--line); border-radius: var(--radius); clip-path: none; padding: 16px; }
  .sec { padding: 32px 0; }
  .bar-in { padding-top: 8px; padding-bottom: 8px; }
}


