@charset "UTF-8";
:root {
  color-scheme: dark;
  --night: #0b1230;
  --night-soft: #121d42;
  --panel: rgba(23, 34, 72, .88);
  --line: rgba(193, 207, 255, .16);
  --white: #fbf9ff;
  --muted: #c2cbe7;
  --gold: #ffdb82;
  --gold-deep: #ffbf57;
  --teal: #81eadf;
  --lavender: #c6baff;
  --shadow: 0 22px 65px rgba(0, 0, 0, .24);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background:
    radial-gradient(ellipse at 8% 3%, rgba(54, 87, 151, .34), transparent 31rem),
    radial-gradient(ellipse at 96% 24%, rgba(31, 108, 133, .19), transparent 28rem),
    linear-gradient(155deg, #0a102a 0%, #111b3d 48%, #0b132e 100%);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }
.site-shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 26px 0 34px; }
.hero-card {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(196, 217, 255, .18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 79% 62%, rgba(42, 219, 215, .22), transparent 11rem),
    radial-gradient(circle at 83% 28%, rgba(255, 215, 130, .15), transparent 9rem),
    linear-gradient(115deg, rgba(27, 41, 84, .98), rgba(16, 28, 63, .94) 55%, rgba(13, 27, 54, .96));
  box-shadow: var(--shadow);
}
.hero-card::before, .hero-card::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero-card::before { width: 310px; height: 310px; right: 7%; top: 98px; border: 1px solid rgba(129, 234, 223, .16); box-shadow: 0 0 0 20px rgba(129,234,223,.025), 0 0 0 44px rgba(129,234,223,.02); }
.hero-card::after { width: 205px; height: 205px; right: 11%; top: 151px; background: radial-gradient(circle at 42% 37%, rgba(255, 219, 130, .21), rgba(57, 173, 196, .09) 40%, transparent 70%); filter: blur(3px); }
.hero-topline, .brand-lockup, .hero-actions, .hero-facts, .progress-topline, .section-heading, .card-footer { display: flex; align-items: center; }
.hero-topline { justify-content: space-between; gap: 18px; position: relative; z-index: 1; }
.brand-lockup { gap: 13px; }
.brand-icon { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 15px; box-shadow: 0 7px 20px rgba(0, 0, 0, .22); }
.eyebrow, .season-kicker, .section-kicker { margin: 0; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.network-pill { display: inline-flex; align-items: center; gap: 7px; margin-top: 5px; color: var(--muted); font-size: .79rem; }
.network-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #a8b2cf; box-shadow: 0 0 12px currentColor; }
.network-pill.is-online { color: #9cecc9; }
.network-pill.is-online::before { background: #58db9d; }
.network-pill.is-offline { color: #ffd58c; }
.network-pill.is-offline::before { background: #ffba55; }
.hero-copy { max-width: 640px; position: relative; z-index: 1; padding: 40px 0 10px 4px; }
.season-kicker { color: var(--gold); margin-bottom: 9px; }
h1, h2, h3, p { margin-top: 0; }
.hero-copy h1 { margin: 0; max-width: 660px; font-size: clamp(2.8rem, 7vw, 5.45rem); line-height: .99; letter-spacing: -.055em; font-weight: 850; }
.hero-copy h1 span { color: var(--gold); }
.hero-description { max-width: 530px; margin: 18px 0 15px; color: #e0e7ff; font-size: clamp(1rem, 2vw, 1.15rem); }
.hero-facts { flex-wrap: wrap; gap: 8px; margin: 19px 0 22px; }
.hero-facts span { padding: 6px 11px; border: 1px solid rgba(213, 222, 255, .17); border-radius: 999px; color: #e0e8ff; background: rgba(255,255,255,.045); font-size: .82rem; }
.hero-actions { flex-wrap: wrap; gap: 11px; }
.button { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 18px; border: 1px solid transparent; border-radius: 13px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-primary { color: #20213a; background: linear-gradient(135deg, #ffe49d, #ffc766); box-shadow: 0 9px 23px rgba(255, 191, 87, .16); }
.button-primary:hover:not(:disabled) { background: #ffe7a8; box-shadow: 0 12px 26px rgba(255, 191, 87, .24); }
.button-secondary { color: var(--white); border-color: rgba(222, 231, 255, .28); background: rgba(11, 19, 46, .34); }
.button-secondary:hover:not(:disabled) { border-color: rgba(129, 234, 223, .62); background: rgba(129, 234, 223, .08); }
.button-install { min-height: 40px; color: #182047; background: var(--teal); font-size: .9rem; }
.button:disabled { opacity: .75; cursor: default; }
.hero-star { position: absolute; z-index: 0; color: rgba(255, 228, 151, .85); text-shadow: 0 0 16px rgba(255, 221, 130, .7); }
.star-one { top: 31%; right: 17%; font-size: 28px; }
.star-two { top: 64%; right: 6%; font-size: 41px; color: rgba(129, 234, 223, .8); }
.star-three { top: 82%; right: 27%; font-size: 38px; color: rgba(220, 226, 255, .72); }
.progress-panel, .access-note { border: 1px solid var(--line); background: var(--panel); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.progress-panel { margin-top: 20px; padding: 22px 25px 18px; border-radius: 22px; }
.progress-topline { justify-content: space-between; gap: 12px; }
.progress-panel h2, .section-heading h2, .access-note h2 { margin: 2px 0 0; font-size: 1.35rem; letter-spacing: -.025em; }
.progress-count { color: var(--gold); font-size: .92rem; white-space: nowrap; }
.progress-track { width: 100%; height: 9px; overflow: hidden; margin-top: 17px; border-radius: 999px; background: rgba(255,255,255,.1); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7ce8d9, #ffdc85); transition: width .35s ease; }
.progress-note { margin: 9px 0 0; color: #aebada; font-size: .82rem; }
.catalog-section { padding-top: 47px; scroll-margin-top: 16px; }
.section-heading { justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 18px; }
.section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.35rem); }
.catalog-intro { margin: 0 0 2px; color: var(--muted); text-align: right; font-size: .9rem; }
.chapter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.chapter-card { min-width: 0; overflow: hidden; border: 1px solid rgba(199, 213, 255, .15); border-radius: 20px; background: linear-gradient(150deg, rgba(26, 39, 79, .96), rgba(17, 28, 60, .98)); box-shadow: 0 12px 30px rgba(0,0,0,.15); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.chapter-card:hover { transform: translateY(-4px); border-color: rgba(129,234,223,.46); box-shadow: 0 18px 38px rgba(0,0,0,.24); }
.cover-wrap { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1c2a50; }
.cover-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; }
.chapter-chip, .access-chip { position: absolute; top: 11px; display: inline-flex; align-items: center; min-height: 27px; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(8px); font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.chapter-chip { left: 11px; color: #1e2442; background: rgba(255, 224, 153, .94); }
.access-chip { right: 11px; color: #fff; background: rgba(11, 18, 46, .8); border: 1px solid rgba(255,255,255,.19); }
.access-chip.is-free { color: #12352f; background: rgba(148, 237, 204, .95); border-color: transparent; }
.chapter-body { display: flex; flex-direction: column; min-height: 204px; padding: 15px 16px 16px; }
.chapter-body h3 { margin: 0 0 7px; font-size: 1.1rem; line-height: 1.27; letter-spacing: -.015em; }
.chapter-body p { margin: 0; color: #bdc8e5; font-size: .87rem; line-height: 1.5; }
.card-footer { justify-content: space-between; gap: 9px; margin-top: auto; padding-top: 16px; }
.card-status { color: #9ce9d7; font-size: .78rem; font-weight: 700; }
.card-status.is-locked { color: #d2c9ff; }
.button-small { min-height: 37px; padding: 8px 13px; border-radius: 11px; font-size: .84rem; white-space: nowrap; }
.button-open { color: #20213a; background: var(--gold); }
.button-open:hover { background: #ffe8ac; }
.button-locked { color: #f5f0ff; border-color: rgba(198, 186, 255, .35); background: rgba(139, 121, 219, .18); }
.button-locked:hover { background: rgba(139, 121, 219, .32); }
.access-note { display: flex; gap: 16px; margin-top: 26px; padding: 21px 23px; border-radius: 20px; }
.access-note-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 219, 130, .12); font-size: 1.35rem; }
.access-note h2 { font-size: 1.15rem; }
.access-note p { margin: 7px 0 0; color: #d3dcf6; font-size: .9rem; }
.access-note .small-print { color: #a9b4d3; font-size: .78rem; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; padding: 23px 4px 0; color: #929fbe; font-size: .77rem; }
.site-footer span:last-child { max-width: 570px; text-align: right; }
.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 20px; background: rgba(4, 8, 24, .78); backdrop-filter: blur(9px); }
.unlock-dialog { width: min(100%, 445px); position: relative; padding: 31px; border: 1px solid rgba(213, 225, 255, .2); border-radius: 25px; background: radial-gradient(circle at 90% 3%, rgba(124, 232, 217, .13), transparent 12rem), linear-gradient(150deg, #1b2954, #101936); box-shadow: 0 25px 90px rgba(0,0,0,.44); }
.dialog-close { position: absolute; top: 13px; right: 14px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: var(--white); background: rgba(255,255,255,.06); font-size: 1.45rem; line-height: 1; cursor: pointer; }
.dialog-sparkle { margin-bottom: 12px; color: var(--gold); font-size: 1.8rem; }
.unlock-dialog h2 { margin: 5px 0 8px; font-size: 1.75rem; letter-spacing: -.035em; }
.unlock-dialog > p:not(.section-kicker):not(.dialog-footnote) { color: #c5cfe9; font-size: .94rem; }
.code-label { display: block; margin: 18px 0 7px; color: #f5f2ff; font-size: .87rem; font-weight: 800; }
#accessCode { width: 100%; min-height: 51px; padding: 12px 14px; border: 1px solid rgba(209, 221, 255, .27); border-radius: 12px; color: var(--white); background: rgba(5, 12, 34, .5); font-size: 1rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
#accessCode::placeholder { color: #7f8baa; font-size: .85rem; letter-spacing: .08em; }
.form-message { min-height: 1.35em; margin: 8px 0 13px; color: #b7c5e4; font-size: .8rem; }
.form-message.is-error { color: #ffb1ae; }
.form-message.is-success { color: #9ce9c5; }
.button-wide { width: 100%; }
.dialog-footnote { margin: 16px 0 0; color: #8e9bbd; font-size: .75rem; }
.noscript-warning { margin: 0; padding: 12px; color: #1b2139; background: var(--gold); text-align: center; }
@media (max-width: 900px) { .chapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-card::before { right: -2%; } .hero-card::after { right: 2%; } }
@media (max-width: 620px) {
  .site-shell { width: min(100% - 22px, 560px); padding-top: 11px; }
  .hero-card { min-height: 0; padding: 18px; border-radius: 23px; }
  .brand-icon { width: 45px; height: 45px; border-radius: 13px; }
  .eyebrow { font-size: .66rem; letter-spacing: .09em; }
  .network-pill { font-size: .73rem; }
  .hero-topline { align-items: flex-start; }
  .button-install { min-height: 37px; padding: 7px 10px; font-size: .78rem; }
  .hero-copy { padding: 39px 0 3px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .hero-description { max-width: 410px; font-size: .98rem; }
  .hero-card::before { width: 190px; height: 190px; right: -32px; top: 133px; }
  .hero-card::after { width: 145px; height: 145px; right: -5px; top: 155px; }
  .star-one { top: 34%; right: 13%; font-size: 22px; }
  .star-two { top: 70%; right: 3%; font-size: 31px; }
  .star-three { top: 88%; right: 25%; }
  .hero-facts { gap: 6px; }
  .hero-facts span { font-size: .76rem; padding: 5px 8px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 auto; padding-inline: 12px; font-size: .9rem; }
  .progress-panel { padding: 18px 16px 15px; border-radius: 18px; }
  .progress-panel h2 { font-size: 1.18rem; }
  .progress-count { font-size: .8rem; }
  .catalog-section { padding-top: 36px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .section-heading h2 { font-size: 1.9rem; }
  .catalog-intro { text-align: left; font-size: .83rem; }
  .chapter-grid { grid-template-columns: 1fr; gap: 13px; }
  .chapter-card { display: grid; grid-template-columns: minmax(110px, 36%) 1fr; min-height: 160px; border-radius: 17px; }
  .cover-wrap { height: 100%; min-height: 160px; aspect-ratio: auto; }
  .chapter-chip, .access-chip { top: 8px; left: 8px; right: auto; min-height: 24px; padding: 3px 7px; font-size: .65rem; }
  .access-chip { top: auto; bottom: 8px; }
  .chapter-body { min-height: 160px; padding: 13px 12px 12px; }
  .chapter-body h3 { font-size: 1rem; }
  .chapter-body p { font-size: .78rem; line-height: 1.4; }
  .card-footer { align-items: flex-end; gap: 4px; padding-top: 10px; }
  .card-status { font-size: .69rem; }
  .button-small { min-height: 34px; padding: 6px 9px; font-size: .76rem; }
  .access-note { gap: 11px; padding: 16px; border-radius: 17px; }
  .access-note-icon { width: 36px; height: 36px; font-size: 1.1rem; }
  .access-note p { font-size: .82rem; }
  .site-footer { flex-direction: column; gap: 7px; padding-inline: 3px; font-size: .73rem; }
  .site-footer span:last-child { text-align: left; }
  .unlock-dialog { padding: 27px 21px 23px; border-radius: 21px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
