:root {
  --bg: #070914;
  --bg-soft: #0c1020;
  --panel: rgba(16, 20, 38, .82);
  --panel-solid: #11162a;
  --text: #f7f7fb;
  --muted: #a8adc2;
  --muted-2: #747b94;
  --line: rgba(255, 255, 255, .11);
  --violet: #9567ff;
  --violet-dark: #6734d6;
  --cyan: #55d8ef;
  --yellow: #edcf3a;
  --coral: #f39b83;
  --green: #6ad7aa;
  --container: 1180px;
  --radius: 28px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .46);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgba(149, 103, 255, .1), transparent 30rem),
    radial-gradient(circle at 92% 34%, rgba(85, 216, 239, .07), transparent 34rem),
    var(--bg);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #070914;
  background: #fff;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
section[id] { scroll-margin-top: 92px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}
.site-header.is-scrolled,
.site-header.is-menu-open { background: rgba(7, 9, 20, .9); border-color: var(--line); backdrop-filter: blur(20px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 9px;
  transform: rotate(45deg);
  box-shadow: inset 0 0 18px rgba(149,103,255,.28), 0 0 24px rgba(80,216,239,.12);
}
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; box-shadow: 0 0 8px #fff; }
.brand-mark::before { transform: translate(-7px, -7px); }
.brand-mark::after { transform: translate(7px, 7px); }
.brand-text { font-size: 14px; font-weight: 800; line-height: 1; letter-spacing: .12em; }
.brand-text small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: .25em; }
.nav { display: flex; align-items: center; gap: 25px; }
.nav a { color: #c8cbe0; font-size: 13px; text-decoration: none; transition: color 160ms ease; }
.nav a:hover { color: #fff; }
.nav .nav-cta { padding: 10px 16px; color: #fff; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.03); }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 1px; margin: 5px 0; background: #fff; }

.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  overflow: hidden;
  isolation: isolate;
}
.hero-background { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,7,17,.97) 0%, rgba(7,9,20,.86) 34%, rgba(7,9,20,.2) 67%, rgba(7,9,20,.28) 100%),
    linear-gradient(0deg, var(--bg), transparent 25%, rgba(7,9,20,.25) 80%, rgba(7,9,20,.7));
}
.hero-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr); align-items: center; gap: 60px; padding-top: 122px; padding-bottom: 100px; }
.hero-copy { position: relative; z-index: 2; max-width: 680px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #cab9ff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span { width: 25px; height: 2px; background: currentColor; }
.eyebrow-cyan { color: var(--cyan); }
.eyebrow-yellow { color: var(--yellow); }
h1, h2, h3, h4, p { text-wrap: balance; }
h1, h2 { margin: 0; font-weight: 670; letter-spacing: -.055em; line-height: .95; }
h1 { font-size: clamp(68px, 8vw, 118px); }
h2 { font-size: clamp(48px, 5.6vw, 78px); }
h1 em, h2 em { color: #b58cff; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #c2c5d8; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 13px 21px;
  border: 0;
  border-radius: 14px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.button-primary { color: #fff; background: linear-gradient(135deg, #7c40ed, #9485ff); box-shadow: 0 14px 38px rgba(116,61,224,.34); }
.button-secondary { color: #fff; border: 1px solid rgba(149,103,255,.44); background: rgba(149,103,255,.1); }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.24); background: rgba(7,9,20,.32); backdrop-filter: blur(8px); }
.button-small { min-height: 40px; padding: 9px 13px; border-radius: 11px; font-size: 12px; }
.button:disabled { opacity: .43; cursor: not-allowed; transform: none; box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #dce0ef; font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.32); }
.text-button { padding: 4px 0; color: #c4c8dc; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); background: transparent; font-size: 12px; cursor: pointer; }
.hero-facts { display: flex; gap: 36px; margin: 40px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: grid; gap: 2px; }
.hero-facts strong { font-size: 24px; line-height: 1; }
.hero-facts span { color: #858aa1; font-size: 11px; }

.hero-compass { position: relative; align-self: center; justify-self: end; width: min(35vw, 510px); aspect-ratio: 1; }
.compass-ring { position: absolute; inset: 13%; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; box-shadow: 0 0 70px rgba(85,216,239,.12), inset 0 0 60px rgba(149,103,255,.12); }
.compass-ring::before, .compass-ring::after { content: ""; position: absolute; inset: 11%; border: 1px solid rgba(255,255,255,.12); transform: rotate(45deg); }
.compass-ring::after { inset: 32%; border-color: rgba(85,216,239,.42); border-radius: 50%; }
.compass-core { position: absolute; inset: 42%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(7,9,20,.6); font-size: 10px; font-weight: 800; letter-spacing: .18em; box-shadow: 0 0 35px rgba(149,103,255,.45); }
.compass-label { position: absolute; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(7,9,20,.72); backdrop-filter: blur(10px); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.compass-warrior { left: 2%; bottom: 25%; color: var(--coral); }
.compass-stalker { left: 43%; bottom: 5%; color: var(--cyan); }
.compass-mage { right: 0; top: 26%; color: #d2baff; }
.scroll-cue { position: absolute; left: 50%; bottom: 25px; display: flex; align-items: center; gap: 10px; color: #9ba0b7; font-size: 10px; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue i { color: var(--cyan); font-style: normal; }

.section { position: relative; padding: 112px 0; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; margin-bottom: 56px; }
.section-heading > p { max-width: 510px; margin: 0 0 4px; color: var(--muted); font-size: 16px; }
.visio-section { background: radial-gradient(circle at 14% 38%, rgba(149,103,255,.11), transparent 28rem); }
.visio-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.visio-story, .perspective-panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.visio-story { padding: 42px; }
.visio-story > p { color: var(--muted); }
.visio-story .large-copy { margin: 0 0 22px; color: #e8e9f2; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; }
.deep-reading { margin-top: 28px; border-top: 1px solid var(--line); }
.deep-reading summary { padding: 20px 35px 20px 0; color: #d8dcf0; font-weight: 700; cursor: pointer; }
.deep-reading p { margin: 0 0 6px; color: var(--muted); }
.perspective-panel { padding: 32px; background: linear-gradient(145deg, rgba(149,103,255,.11), rgba(85,216,239,.025)); }
.panel-kicker { margin: 0 0 22px; color: #dce0ef; font-size: 19px; font-weight: 730; }
.perspective-panel ol { margin: 0; padding: 0; list-style: none; }
.perspective-panel li { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 18px 0; border-top: 1px solid var(--line); }
.perspective-panel li > span { color: var(--cyan); font-size: 10px; }
.perspective-panel strong, .perspective-panel small { display: block; }
.perspective-panel strong { font-size: 15px; }
.perspective-panel small { margin-top: 4px; color: var(--muted-2); font-size: 12px; }

.keys-section { overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.018), transparent); }
.keys-map { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 160px 24px; padding: 40px 0 80px; }
.keys-map::before { content: ""; position: absolute; inset: 49% 16% auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(85,216,239,.7), rgba(149,103,255,.7), transparent); box-shadow: 0 0 20px rgba(85,216,239,.4); }
.key-card { position: relative; min-height: 230px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(12,16,32,.78); box-shadow: var(--shadow); }
.key-card > span { color: var(--cyan); font-size: 10px; letter-spacing: .12em; }
.key-card i { position: absolute; top: 24px; right: 25px; display: grid; place-items: center; width: 45px; height: 45px; color: #fff; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(149,103,255,.14); font-family: Georgia, serif; font-style: normal; font-size: 19px; }
.key-card h3 { max-width: 260px; margin: 58px 0 12px; font-size: 20px; line-height: 1.18; }
.key-card p { margin: 0; color: var(--muted); font-size: 13px; }
.keys-core { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 150px; height: 150px; padding: 20px; border: 1px solid rgba(149,103,255,.5); border-radius: 50%; background: #0b0e1c; box-shadow: 0 0 60px rgba(149,103,255,.24); text-align: center; transform: translate(-50%, -50%); }
.keys-core strong { font-size: 18px; letter-spacing: .16em; }
.keys-core small { color: var(--muted); font-size: 9px; }
.keys-outro { max-width: 780px; margin: 0 auto; color: #c5c9da; font-size: 20px; text-align: center; }

.entry-section { background: radial-gradient(circle at 8% 45%, rgba(149,103,255,.13), transparent 31rem); }
.entry-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 56px; }
.entry-copy > p:not(.eyebrow) { margin: 26px 0 0; color: var(--muted); font-size: 18px; }
.entry-art { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.entry-art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(7,9,20,.7); pointer-events: none; }
.entry-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.path-label { position: absolute; z-index: 2; padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(7,9,20,.82); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.path-warrior { left: 17%; bottom: 23%; color: var(--coral); }
.path-stalker { left: 49%; bottom: 13%; color: var(--cyan); }
.path-mage { right: 8%; bottom: 28%; color: #d4bdff; }

.how { border-block: 1px solid var(--line); background: rgba(255,255,255,.012); }
.mechanic-visual { display: grid; grid-template-columns: .86fr 1.14fr; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.025); }
.mechanic-image { min-height: 520px; overflow: hidden; }
.mechanic-image img { width: 100%; height: 100%; object-fit: cover; object-position: 47% center; filter: saturate(.78) brightness(.7); }
.steps { margin: 0; padding: 16px 36px; list-style: none; }
.steps li { display: grid; grid-template-columns: 34px 60px 1fr; align-items: center; gap: 18px; min-height: 150px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li > span { align-self: start; margin-top: 40px; color: var(--muted-2); font-size: 10px; }
.steps i { display: grid; place-items: center; width: 55px; height: 55px; color: #e4d9ff; border: 1px solid rgba(149,103,255,.3); border-radius: 17px; background: rgba(149,103,255,.09); font-style: normal; line-height: .75; }
.steps h3 { margin: 0 0 7px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; }
.center-actions { display: flex; justify-content: center; margin-top: 30px; }

.test-section { overflow: hidden; background: radial-gradient(circle at 82% 52%, rgba(85,216,239,.1), transparent 32rem); }
.test-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 70px; }
.test-copy > p:not(.eyebrow) { margin: 25px 0 0; color: var(--muted); font-size: 17px; }
.quality-legend { display: grid; gap: 11px; margin-top: 28px; }
.quality-legend span { color: #9fa4bb; font-size: 13px; }
.quality-legend b { color: #fff; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
.dot-warrior { color: var(--yellow); background: var(--yellow); }
.dot-stalker { color: var(--cyan); background: var(--cyan); }
.dot-mage { color: var(--violet); background: var(--violet); }
.oracle { min-height: 430px; padding: 22px; border: 1px solid rgba(149,103,255,.28); border-radius: 29px; background: radial-gradient(circle at 90% 100%, rgba(85,216,239,.14), transparent 46%), linear-gradient(140deg, rgba(149,103,255,.11), rgba(12,16,32,.9)); box-shadow: var(--shadow); }
.oracle-topline { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: #777d94; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.oracle-status { color: #afb4ca; }
.dice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.die-card { padding: 13px; border: 1px solid var(--line); border-radius: 18px; background: rgba(9,12,25,.56); text-align: center; transition: border-color 180ms ease, transform 180ms ease; }
.die-card.is-winner { border-color: currentColor; transform: translateY(-3px); }
.die-label { display: flex; justify-content: space-between; color: #8e94aa; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.die-label span { color: #666c84; }
.die { display: grid; place-items: center; width: 78px; height: 78px; margin: 22px auto 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); font-size: 42px; font-weight: 750; box-shadow: inset 0 0 30px rgba(149,103,255,.08); }
.die.is-rolling { animation: wobble 100ms linear infinite; }
.die-card strong { font-size: 13px; }
.die-warrior { color: var(--yellow); }
.die-stalker { color: var(--cyan); }
.die-mage { color: #c7a8ff; }
.button-roll { width: 100%; margin-top: 11px; color: #111426; background: linear-gradient(100deg, #f2f3ff, #bdc8ff); }
.result { margin-top: 13px; padding: 20px; border: 1px solid rgba(149,103,255,.26); border-radius: 20px; background: rgba(149,103,255,.08); }
.result-kicker { color: #8c92aa; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.result-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 7px; }
.result h3 { margin: 0; font-size: 32px; }
.result p { margin: 5px 0 0; color: #c0c4d7; font-size: 13px; }
.result-symbol { color: var(--violet); font-size: 40px; }
.result-note { padding-top: 13px; border-top: 1px solid var(--line); }
.result-actions { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.result-actions .button { min-height: 44px; font-size: 12px; }
@keyframes wobble { 0% { transform: rotate(-3deg) scale(.97); } 50% { transform: rotate(3deg) scale(1.03); } 100% { transform: rotate(-3deg) scale(.97); } }

.books-section { border-top: 1px solid var(--line); }
.dream-tree { position: relative; height: 130px; margin-bottom: -6px; }
.dream-tree strong { position: absolute; left: 50%; top: 0; padding: 7px 12px; color: #bfc4d8; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; transform: translateX(-50%); }
.tree-trunk { position: absolute; left: 50%; top: 34px; bottom: 0; width: 1px; background: linear-gradient(var(--violet), rgba(149,103,255,.2)); }
.dream-tree i { position: absolute; bottom: 0; width: 33.33%; height: 62px; border-top: 1px solid rgba(149,103,255,.5); }
.branch-one { left: 0; border-right: 1px solid rgba(149,103,255,.5); border-radius: 0 60px 0 0; }
.branch-two { left: 33.33%; border-right: 1px solid rgba(85,216,239,.5); }
.branch-three { right: 0; border-left: 1px solid rgba(149,103,255,.5); border-radius: 60px 0 0 0; }
.book-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.book-path { padding: 24px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.023); transition: opacity 180ms ease, border-color 180ms ease; }
.book-path.is-unselected { opacity: .5; }
.book-path.is-selected { border-color: rgba(149,103,255,.44); box-shadow: 0 0 45px rgba(149,103,255,.08); }
.book-path-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.book-path-heading span { color: var(--muted-2); font-size: 9px; letter-spacing: .14em; }
.book-path-heading h3 { margin: 0; font-size: 25px; }
.book-card { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.book-card:last-child { border-bottom: 0; }
.book-cover { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; aspect-ratio: 4 / 5.5; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.book-cover span { position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(7,9,20,.85); font-size: 10px; font-weight: 800; }
.book-card small { color: var(--cyan); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.book-card h4 { margin: 7px 0 5px; font-size: 17px; line-height: 1.15; }
.book-card p { margin: 0 0 12px; color: var(--muted-2); font-size: 11px; }
.book-card.is-locked { filter: grayscale(.65); opacity: .58; }
.library { margin-top: 72px; padding: 34px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(145deg, rgba(237,207,58,.04), rgba(149,103,255,.05)); }
.library-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.library-heading h3 { margin: 0; font-size: clamp(30px, 4vw, 50px); letter-spacing: -.04em; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.library-card { min-height: 180px; padding: 21px; border: 1px solid var(--line); border-radius: 18px; background: rgba(7,9,20,.48); }
.library-card.is-free { border-color: rgba(106,215,170,.34); background: rgba(106,215,170,.05); }
.library-card > span { color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.library-card h4 { margin: 25px 0 8px; font-size: 20px; }
.library-card p { min-height: 42px; margin: 0 0 15px; color: var(--muted); font-size: 12px; }

.faq-section { border-block: 1px solid var(--line); background: radial-gradient(circle at 15% 50%, rgba(149,103,255,.12), transparent 30rem); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-copy > p:not(.eyebrow) { margin: 25px 0 0; color: var(--muted); font-size: 17px; }
.faq { padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.025); }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { position: relative; padding: 20px 32px 20px 0; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; color: var(--violet); font-size: 21px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: -4px 0 20px; color: var(--muted); font-size: 13px; }

.account-section { background: radial-gradient(circle at 85% 40%, rgba(85,216,239,.07), transparent 30rem); }
.registration-card { display: grid; grid-template-columns: .78fr 1.22fr; gap: 56px; padding: 36px; border: 1px solid rgba(85,216,239,.2); border-radius: 28px; background: linear-gradient(140deg, rgba(85,216,239,.06), rgba(149,103,255,.05)); }
.card-number, .format-number { color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.registration-card h3 { margin: 22px 0 10px; font-size: 30px; }
.registration-card p { margin: 0; color: var(--muted); }
.account-entry { display: grid; gap: 17px; }
.registration-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; color: #cdd1e2; font-size: 12px; font-weight: 650; }
input, textarea { width: 100%; color: #fff; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(7,9,20,.65); }
input { height: 48px; padding: 0 14px; }
textarea { padding: 12px 14px; resize: vertical; }
.checkbox { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 400; }
.checkbox input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--violet); }
.registration-form .button { justify-self: start; }
.restore-box { padding-top: 15px; border-top: 1px solid var(--line); }
.restore-box summary { color: #dfe2ef; cursor: pointer; font-size: 12px; font-weight: 700; }
.restore-box form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; margin-top: 15px; }
.restore-box .button { min-height: 48px; white-space: nowrap; }
.dashboard { display: grid; grid-template-columns: 290px 1fr; gap: 18px; margin-top: 22px; }
.profile-card, .journey-card { border: 1px solid var(--line); border-radius: 25px; background: rgba(255,255,255,.025); }
.profile-card { align-self: start; padding: 27px; }
.profile-avatar { display: grid; place-items: center; width: 86px; height: 86px; overflow: hidden; border: 1px solid rgba(149,103,255,.4); border-radius: 25px; background: linear-gradient(145deg, rgba(149,103,255,.2), rgba(85,216,239,.09)); font-size: 28px; font-weight: 800; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-card small { display: block; margin-top: 22px; color: var(--muted-2); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.profile-card h3 { margin: 4px 0 3px; font-size: 25px; }
.profile-card p { margin: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.hero-badge { margin: 24px 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(149,103,255,.07); }
.hero-badge span, .hero-badge strong { display: block; }
.hero-badge span { color: var(--muted-2); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.hero-badge strong { margin-top: 4px; }
.sync-badge { display: flex; align-items: center; gap: 8px; margin: -10px 0 20px; color: var(--muted); font-size: 10px; }
.sync-badge > span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); box-shadow: 0 0 0 4px rgba(255,255,255,.025); }
.sync-badge[data-state="online"] > span { background: var(--green); box-shadow: 0 0 0 4px rgba(106,215,170,.1); }
.sync-badge[data-state="connecting"] > span { background: var(--yellow); animation: syncPulse 1s ease-in-out infinite alternate; }
.sync-badge[data-state="offline"] > span { background: var(--coral); }
@keyframes syncPulse { to { opacity: .35; transform: scale(.76); } }
.access-panel { margin: 0 0 20px; padding: 14px; border: 1px solid rgba(85,216,239,.2); border-radius: 14px; background: rgba(85,216,239,.045); }
.access-panel > span { display: block; color: var(--muted-2); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.access-panel code { display: block; margin: 8px 0 10px; color: var(--cyan); font-family: "Cascadia Mono", Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.legacy-sync { display: grid; gap: 12px; margin: 0 0 20px; padding: 14px; border: 1px solid rgba(237,207,58,.2); border-radius: 14px; background: rgba(237,207,58,.04); }
.legacy-sync .button { width: 100%; min-height: 42px; padding-inline: 12px; }
.danger-link { color: #f3a895; border-bottom-color: rgba(243,168,149,.38); }
.journey-list { display: grid; gap: 14px; }
.journey-card { padding: 25px; }
.journey-card header { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px; }
.journey-card header > span { color: var(--cyan); font-size: 10px; }
.journey-card header small { color: var(--muted-2); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.journey-card h3 { margin: 3px 0 0; font-size: 23px; }
.journey-card header b { padding: 7px 10px; color: var(--yellow); border: 1px solid rgba(237,207,58,.24); border-radius: 999px; font-size: 9px; }
.journey-card > p { margin: 18px 0; color: var(--muted); font-size: 13px; }
.journey-card.is-stage-locked { opacity: .52; }
.upload-zone { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 15px; border: 1px dashed rgba(255,255,255,.2); border-radius: 17px; background: rgba(7,9,20,.35); }
.upload-zone > img { width: 70px; height: 70px; object-fit: cover; border-radius: 14px; }
.upload-zone > small { flex: 1 1 220px; color: var(--muted-2); font-size: 10px; }
.request-history { grid-column: 1 / -1; display: grid; grid-template-columns: 240px 1fr; gap: 28px; margin-top: 4px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.02); }
.request-history > div:first-child small { color: var(--cyan); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.request-history h3 { margin: 5px 0 0; font-size: 25px; }
.request-history [data-request-history] { display: grid; gap: 8px; }
.request-history article { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(7,9,20,.34); }
.request-history article div { display: grid; gap: 2px; }
.request-history article strong { font-size: 12px; }
.request-history article time { color: var(--muted-2); font-size: 9px; }
.request-history article > span { color: var(--green); font-size: 9px; text-transform: uppercase; }
.empty-history { margin: 0; padding: 12px 0; color: var(--muted-2); font-size: 12px; }
.online-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.format-card { padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.025); }
.format-card > small { display: block; margin-top: 12px; color: var(--muted-2); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.format-card h3 { margin: 8px 0 12px; font-size: 28px; line-height: 1.1; }
.format-card > p { color: var(--muted); font-size: 13px; }
.format-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0; }
.format-card dl div { padding: 13px; border: 1px solid var(--line); border-radius: 13px; }
.format-card dt { color: var(--muted-2); font-size: 8px; text-transform: uppercase; }
.format-card dd { margin: 4px 0 0; font-size: 12px; }
.format-card.is-gated { opacity: .58; }

.learning-section { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.018), transparent); }
.learning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.learning-card { padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.025); }
.learning-card:nth-child(2) { border-color: rgba(149,103,255,.28); background: linear-gradient(145deg, rgba(149,103,255,.08), rgba(255,255,255,.02)); }
.month { color: var(--yellow); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.learning-card h3 { margin: 17px 0 22px; font-size: 30px; }
.learning-card ul { min-height: 150px; margin: 0; padding: 0; list-style: none; }
.learning-card li { position: relative; padding: 10px 0 10px 22px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
.learning-card li::before { content: "✦"; position: absolute; left: 0; color: var(--violet); }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 25px; }
.card-footer > span { color: var(--muted-2); font-size: 11px; }
.community-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 18px; padding: 34px; border: 1px solid rgba(85,216,239,.22); border-radius: 28px; background: radial-gradient(circle at 85% 50%, rgba(85,216,239,.11), transparent 24rem), rgba(255,255,255,.02); }
.community-card h3 { margin: 0 0 10px; font-size: 30px; }
.community-card p:not(.eyebrow) { max-width: 620px; margin: 0; color: var(--muted); }
.community-action { display: grid; gap: 12px; min-width: 235px; }
.community-action > span { color: var(--green); font-size: 10px; text-align: center; text-transform: uppercase; }

.future-section { border-top: 1px solid var(--line); }
.future-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.future-card { min-height: 310px; padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(149,103,255,.06), rgba(255,255,255,.015)); }
.future-card > span { color: var(--muted-2); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.future-symbol { display: grid; place-items: center; width: 70px; height: 70px; margin: 52px 0 24px; color: #d8c9ff; border: 1px solid rgba(149,103,255,.3); border-radius: 22px; background: rgba(149,103,255,.1); font-size: 30px; }
.future-card h3 { margin: 0 0 8px; font-size: 27px; }
.future-card p { margin: 0; color: var(--muted); }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 26px; }
.footer-inner > p { margin: 0; color: #6f758b; font-size: 11px; text-align: center; }
.footer-links { display: flex; justify-content: end; align-items: center; gap: 18px; color: #777d94; font-size: 11px; }
.footer-links button { padding: 0; color: inherit; border: 0; border-bottom: 1px solid #454a60; background: none; cursor: pointer; }

.modal { width: min(calc(100% - 28px), 620px); max-height: calc(100svh - 30px); padding: 34px; overflow: auto; color: var(--text); border: 1px solid rgba(255,255,255,.17); border-radius: 26px; background: #101426; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(3,4,10,.78); backdrop-filter: blur(9px); }
.modal h2 { margin-bottom: 18px; font-size: 40px; }
.modal-intro, .privacy-dialog > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.modal form { display: grid; gap: 14px; margin-top: 22px; }
.access-dialog { text-align: center; }
.access-dialog .eyebrow { justify-content: center; }
.access-code { display: block; margin: 25px 0; padding: 18px; color: var(--cyan); border: 1px solid rgba(85,216,239,.25); border-radius: 16px; background: rgba(7,9,20,.48); font-family: "Cascadia Mono", Consolas, monospace; font-size: clamp(17px, 4vw, 25px); font-weight: 800; letter-spacing: .08em; overflow-wrap: anywhere; }
.access-warning { margin: 16px 0 0; color: var(--coral); font-size: 11px; }
.dialog-close { position: absolute; top: 14px; right: 17px; width: 36px; height: 36px; color: #fff; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); cursor: pointer; }
.request-success { margin-top: 22px; padding: 20px; border: 1px solid rgba(106,215,170,.26); border-radius: 17px; background: rgba(106,215,170,.05); }
.request-success strong { color: var(--green); }
.request-success p { color: var(--muted); white-space: pre-line; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 300; display: grid; gap: 3px; width: min(calc(100% - 48px), 410px); padding: 16px 18px; border: 1px solid rgba(149,103,255,.36); border-radius: 16px; background: rgba(16,20,38,.97); box-shadow: 0 20px 60px rgba(0,0,0,.48); backdrop-filter: blur(16px); }
.toast strong { font-size: 13px; }
.toast span { color: var(--muted); font-size: 12px; }

.reveal,
.js .reveal,
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav { gap: 17px; }
  .nav a { font-size: 12px; }
  .hero-layout { grid-template-columns: 1fr .8fr; }
  .hero-compass { width: min(42vw, 480px); }
  .section-heading { gap: 45px; }
  .book-card { grid-template-columns: 90px 1fr; gap: 13px; }
  .book-path { padding: 18px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; inset: 76px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); background: rgba(7,9,20,.97); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav .nav-cta { margin-top: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.24); text-align: center; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-compass { display: none; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,7,17,.97), rgba(7,9,20,.52)), linear-gradient(0deg, var(--bg), transparent 30%, rgba(7,9,20,.72)); }
  .section-heading, .entry-grid, .test-grid, .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .visio-grid { grid-template-columns: 1fr; }
  .keys-map { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 0; }
  .keys-map::before, .keys-core { display: none; }
  .mechanic-visual { grid-template-columns: 1fr; }
  .mechanic-image { min-height: 360px; }
  .book-columns { grid-template-columns: 1fr; }
  .dream-tree { display: none; }
  .book-path { display: grid; grid-template-columns: 160px 1fr 1fr; align-items: start; gap: 20px; }
  .book-path-heading { display: block; border: 0; }
  .book-card { padding: 0; border: 0; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .registration-card { grid-template-columns: 1fr; gap: 28px; }
  .dashboard { grid-template-columns: 1fr; }
  .profile-card { display: block; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 66px; }
  .nav { top: 66px; }
  .hero { min-height: 780px; }
  .hero-background { object-position: 57% center; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(7,9,20,.65) 40%, rgba(5,7,17,.86) 100%); }
  .hero-layout { align-items: end; padding-top: 108px; padding-bottom: 110px; }
  h1 { font-size: clamp(55px, 17vw, 76px); }
  h2 { font-size: clamp(42px, 13vw, 59px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-facts { justify-content: space-between; gap: 12px; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading > p { font-size: 14px; }
  .visio-story, .perspective-panel { padding: 23px; border-radius: 23px; }
  .visio-story .large-copy { font-size: 21px; }
  .keys-map { grid-template-columns: 1fr; }
  .key-card { min-height: 205px; }
  .keys-outro { margin-top: 30px; font-size: 17px; }
  .entry-art { border-radius: 22px; aspect-ratio: 1 / 1.08; }
  .entry-art img { object-position: 51% center; }
  .path-label { font-size: 7px; }
  .path-warrior { left: 6%; bottom: 23%; }
  .path-stalker { left: 42%; bottom: 13%; }
  .path-mage { right: 4%; bottom: 27%; }
  .mechanic-image { min-height: 280px; }
  .steps { padding: 10px 19px; }
  .steps li { grid-template-columns: 24px 48px 1fr; gap: 12px; min-height: 155px; }
  .steps i { width: 46px; height: 46px; }
  .steps h3 { font-size: 16px; }
  .oracle { padding: 14px; border-radius: 22px; }
  .dice-grid { gap: 6px; }
  .die-card { padding: 10px 6px; border-radius: 15px; }
  .die { width: 62px; height: 62px; margin: 16px auto 12px; border-radius: 18px; font-size: 33px; }
  .die-label { font-size: 7px; }
  .die-card strong { font-size: 11px; }
  .result-actions { align-items: flex-start; flex-direction: column; }
  .book-path { display: block; }
  .book-path-heading { display: flex; border-bottom: 1px solid var(--line); }
  .book-card { grid-template-columns: 100px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .library { padding: 20px; border-radius: 24px; }
  .library-heading { align-items: flex-start; flex-direction: column; }
  .library-grid { grid-template-columns: 1fr; }
  .library-card { min-height: auto; }
  .registration-card { padding: 23px; }
  .registration-form { grid-template-columns: 1fr; }
  .restore-box form { grid-template-columns: 1fr; }
  .profile-card { display: block; }
  .profile-card small { margin-top: 20px; }
  .hero-badge { margin: 22px 0; }
  .request-history { grid-template-columns: 1fr; gap: 14px; padding: 21px; }
  .journey-card { padding: 20px; }
  .journey-card header { grid-template-columns: 28px 1fr; }
  .journey-card header b { grid-column: 2; justify-self: start; }
  .online-grid, .learning-grid, .future-grid { grid-template-columns: 1fr; }
  .format-card, .learning-card { padding: 24px; }
  .learning-card ul { min-height: 0; }
  .card-footer, .community-card { align-items: stretch; flex-direction: column; }
  .community-action { min-width: 0; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-self: center; }
  .footer-links { justify-content: center; }
  .modal { padding: 26px 20px; }
  .modal h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
