:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --surface: #121419;
  --line: #2b3038;
  --text: #f5f6f7;
  --muted: #b7bfca;
  --accent: #c1d5ef;
  --wrap: 1216px;
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 114px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #d5e5fb; outline-offset: 4px; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
p { color: var(--muted); }
h1, h2, h3 { line-height: 1.07; text-wrap: balance; }
h1, h2 { letter-spacing: -.055em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.65rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.53rem); letter-spacing: -.033em; }
.wrap { width: min(100% - 88px, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(55px, 8.3vw, 112px); }
.section-head { display: grid; gap: 16px; max-width: 750px; margin-bottom: 36px; }
.section-head > p:last-child { max-width: 62ch; font-size: 1.0625rem; }
.skip { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 18px; color: #14171c; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: #0a0b0df2;
  border-bottom: 1px solid #22262d;
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { display: block; border-radius: 6px; }
.brand > span { font-size: .88rem; font-weight: 850; letter-spacing: .078em; line-height: 1.1; }
.brand small { display: block; margin-top: 5px; font-size: .76rem; letter-spacing: .18em; color: var(--muted); }
.site-nav, .mobile-nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 36px); }
.site-nav a, .mobile-nav a { font-size: .9375rem; color: var(--muted); padding-block: 9px; white-space: nowrap; }
.site-nav a:hover, .mobile-nav a:hover { color: white; }
.mobile-nav { display: none; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 19px;
  text-align: center;
  font-size: .9375rem;
  font-weight: 730;
  line-height: 1.25;
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}
.button-primary {
  color: #111317;
  border-color: #edf2fb;
  background: linear-gradient(130deg, #fff 8%, #d2dbe8 100%);
  box-shadow: inset 0 1px #fff, 0 4px 20px #bdd6ff15;
}
.button-primary:hover { box-shadow: inset 0 1px #fff, 0 4px 24px #bdd6ff45; }
.button-outline { color: var(--text); border-color: #515966; background: #ffffff04; }
.button-outline:hover { background-color: #29303a; border-color: #8b9db6; }
.header-action { min-height: 43px; padding: 9px 15px; }
.text-link { color: #e2ebf8; text-decoration: underline; text-underline-offset: .23em; }

.hero-shell {
  background: radial-gradient(ellipse at 83% 19%, #242f41 0%, #11161e 32%, transparent 62%), linear-gradient(135deg, #0d0f13, #10131a 70%, #0c0e12);
  border-bottom: 1px solid var(--line);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  align-items: center;
  gap: clamp(35px, 5vw, 75px);
  padding-block: clamp(48px, 6vw, 85px);
}
.hero-content { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: .875rem;
  line-height: 1.35;
  letter-spacing: .105em;
  font-weight: 750;
  text-transform: uppercase;
}
.eyebrow > span { width: 23px; height: 1px; background: #a4bbdc; flex: none; }
.hero h1 { margin-top: 18px; font-size: clamp(2.55rem, 5.4vw, 4.8rem); line-height: .99; text-wrap: pretty; }
.hero h1 em { color: #c8d2e1; font-style: normal; }
.hero-description { font-size: clamp(1rem, 1.6vw, 1.2rem); margin-top: 24px; max-width: 52ch; }
.book-facts { display: flex; flex-wrap: wrap; column-gap: 17px; row-gap: 5px; margin: 24px 0 28px; padding: 0; list-style: none; }
.book-facts li { display: flex; align-items: center; gap: 8px; color: #e6ebf4; font-size: .9375rem; font-weight: 650; }
.book-facts li::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; background: #b2c7e4; border-radius: 50%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.offer-line { margin-top: 15px; font-size: .9375rem; }

.hero-art {
  position: relative;
  min-height: 490px;
  display: grid;
  place-items: center;
  isolation: isolate;
  border: 1px solid #49566b;
  border-radius: 15px;
  overflow: hidden;
  padding: 44px 35px;
  background:
    linear-gradient(#9fb9dc10 1px, transparent 1px) center / 28px 28px,
    linear-gradient(90deg, #9fb9dc10 1px, transparent 1px) center / 28px 28px,
    radial-gradient(ellipse at 50% 46%, #3b5068, #151d29 62%, #10151f);
}
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 90%;
  height: 78%;
  border: 1px solid #a6bfe032;
  border-radius: 50%;
  transform: rotate(-35deg);
  box-shadow: 0 0 0 27px #a6bfe012, 0 0 0 51px #a6bfe00c;
}
.hero-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 30%;
  width: 85%;
  bottom: 1%;
  background: radial-gradient(ellipse, #060608 12%, transparent 66%);
}
.art-corner { position: absolute; width: 26px; height: 26px; border: 0 solid #a9bfdf; }
.art-corner-top { top: 17px; left: 17px; border-width: 1px 0 0 1px; }
.art-corner-bottom { bottom: 17px; right: 17px; border-width: 0 1px 1px 0; }
.book {
  width: min(100%, 310px);
  border-radius: 4px 9px 9px 4px;
  transform: perspective(1050px) rotateY(-9deg) rotateZ(-4deg);
  box-shadow: 5px 0 #536072, 9px 1px #283243, 14px 3px #0e151f, 19px 24px 40px #000b;
}
.book img { display: block; width: 100%; height: auto; border: 1px solid #8791a1; border-radius: inherit; }

.proof { border-top: 1px solid var(--line); background: #ffffff03; }
.proof-inner { display: grid; grid-template-columns: 1.55fr .78fr .78fr; min-height: 104px; }
.proof-brand, .proof-stat { display: flex; justify-content: center; }
.proof-brand { align-items: center; justify-content: flex-start; gap: 14px; padding: 16px 14px 16px 0; }
.proof-brand img { border-radius: 7px; }
.proof-brand p, .proof-stat span { font-size: .9375rem; color: var(--muted); }
.proof-stat { flex-direction: column; border-left: 1px solid var(--line); padding: 14px clamp(15px, 4vw, 54px); }
.proof-stat strong { font-size: clamp(1.75rem, 3.3vw, 2.55rem); letter-spacing: -.05em; line-height: 1.12; }

.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.program-card { display: grid; align-content: start; gap: 13px; min-height: 208px; padding: clamp(18px, 2.3vw, 30px); background: linear-gradient(152deg, #1a1e25, #101215); }
.chapter-label { color: var(--accent); font-size: .875rem; font-weight: 720; letter-spacing: .05em; text-transform: uppercase; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 35px; margin-top: 26px; }
.audience strong { color: var(--text); }

.excerpt-section, .faq-section { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, #1c232f, transparent 66%), #101217; }
.guide-preview {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}
.guide-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.guide-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.guide-options label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 10px 14px;
  padding: 13px 15px;
  background: #171b22;
  border: 1px solid #3b4658;
  border-radius: 9px;
  cursor: pointer;
}
.guide-options label:hover { background: #222b38; }
.guide-options span {
  color: #c1d5ef;
  font-size: .875rem;
  font-weight: 650;
}
.guide-options strong { line-height: 1.25; }
#guide-choix-1:checked ~ .guide-options label[for="guide-choix-1"],
#guide-choix-10:checked ~ .guide-options label[for="guide-choix-10"],
#guide-choix-22:checked ~ .guide-options label[for="guide-choix-22"] {
  border-color: #b7c8df;
  background: #273448;
  box-shadow: inset 0 2px #cddbf1;
}
#guide-choix-1:focus-visible ~ .guide-options label[for="guide-choix-1"],
#guide-choix-10:focus-visible ~ .guide-options label[for="guide-choix-10"],
#guide-choix-22:focus-visible ~ .guide-options label[for="guide-choix-22"] {
  outline: 2px solid #d5e5fb;
  outline-offset: 3px;
}
.guide-panel {
  display: none;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  border: 1px solid #465267;
  border-radius: 14px;
  background: #15191f;
}
#guide-choix-1:checked ~ .guide-panels #guide-lecon-1,
#guide-choix-10:checked ~ .guide-panels #guide-lecon-10,
#guide-choix-22:checked ~ .guide-panels #guide-lecon-22 { display: grid; }
.guide-reading {
  align-self: center;
  display: grid;
  gap: 15px;
  padding: clamp(24px, 4vw, 52px);
}
.guide-reading h3 { font-size: clamp(1.7rem, 3.3vw, 2.55rem); text-wrap: initial; }
.guide-example {
  margin-block: 4px;
  padding: 13px 17px;
  border-left: 2px solid #aecee9;
  border-radius: 0 7px 7px 0;
  background: #202734;
}
.guide-example h4 { margin: 0 0 4px; font-size: 1rem; }
.guide-action strong { color: var(--text); }
.guide-page {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-width: 0;
  padding: 30px 20px 20px;
  border-left: 1px solid #3d4a5e;
  border-radius: 0 13px 13px 0;
  background: radial-gradient(ellipse at 42% 25%, #37475c, #1a2331 76%);
}
.guide-page img {
  display: block;
  width: min(100%, 325px);
  height: auto;
  border: 1px solid #7d8b9f;
  border-radius: 5px;
  box-shadow: 4px 5px 0 #bac9dc3d, 12px 15px 32px #000a;
}
.guide-page span { color: #e2ebf8; font-size: .9375rem; text-decoration: underline; text-underline-offset: .22em; }
.guide-page:hover span { color: white; }
.guide-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 20px;
  margin-top: 21px;
}

.packs-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: stretch; gap: 16px; }
.pack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid #383f4c;
  border-radius: 12px;
  padding: clamp(20px, 2.5vw, 31px);
  background: linear-gradient(150deg, #1c222c, #111318 64%);
}
.pack-status { display: inline-block; border: 1px solid #495568; border-radius: 5px; padding: 3px 8px; color: var(--accent); font-size: .875rem; }
.pack ul { display: grid; gap: 8px; margin: 7px 0 10px; padding-inline-start: 1.1rem; color: #e2e7ee; }
.pack li::marker { color: #a8c0df; }
.pack-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; width: 100%; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.pack-price strong { color: var(--text); font-size: 2rem; letter-spacing: -.05em; line-height: 1.15; }
.pack-price span { font-size: .875rem; }
.pack .button { width: 100%; }

.faq-section { background: #0f1115; }
.faq-grid { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 24px 56px; }
.faq-grid .section-head { align-content: start; margin-bottom: 0; }
.faq-list { border-top: 1px solid #353d49; }
details { border-bottom: 1px solid #353d49; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; cursor: pointer; font-weight: 690; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.27rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 18px 0; }

.closing-section { padding-block: clamp(45px, 6vw, 80px); }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(25px, 5vw, 52px); border: 1px solid #465267; border-radius: 14px; background: radial-gradient(ellipse at 95% 0%, #303e54, #171c25 62%); }
.closing h2 { font-size: clamp(2rem, 4.1vw, 2.9rem); }
.closing p { margin-top: 10px; }
.closing .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 27px; color: var(--muted); font-size: .9375rem; }
.footer-inner .brand { color: var(--text); }
.footer-inner p { margin-right: auto; }
.footer-inner > a:not(.brand):hover { text-decoration: underline; }

.preview-dialog { width: min(660px, calc(100% - 24px)); max-height: 94dvh; padding: 0; background: #161a22; color: var(--text); border: 1px solid #5b687c; border-radius: 13px; }
.preview-dialog::backdrop { background: #050608dc; }
.dialog-body { display: grid; gap: 13px; padding: 15px; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-header h2 { font-size: 1.15rem; letter-spacing: -.02em; }
.dialog-header .button { min-height: 42px; }
.dialog-body img { display: block; width: auto; height: auto; max-height: min(68dvh, 750px); margin-inline: auto; }
.dialog-body > .text-link { justify-self: center; text-align: center; }
.legal-page { width: min(100% - 40px, 760px); margin-inline: auto; padding-block: 40px 72px; }
.legal-page h1 { margin: 28px 0 18px; font-size: clamp(2.45rem, 7vw, 4rem); }
.legal-page h2 { margin: 26px 0 8px; font-size: 1.45rem; }
.legal-page p { margin-block: 10px; }
.legal-page p a { text-decoration: underline; text-underline-offset: .2em; }
.receipt-recovery { margin-block: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.receipt-recovery h2 { margin-top: 0; }
.receipt-recovery input { display: block; width: 100%; margin-bottom: 12px; padding: 10px; border: 1px solid #515966; border-radius: 6px; background: var(--bg); color: var(--text); font: inherit; }
.receipt-recovery button[hidden] { display: none; }

@media (max-width: 1100px) {
  .hero-art { min-height: 430px; }
  .program-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .program-card { min-height: auto; }
}

@media (max-width: 790px) {
  html { scroll-padding-top: 117px; }
  .wrap { width: calc(100% - 42px); }
  .site-nav { display: none; }
  .header-inner { min-height: 62px; }
  .header-inner .brand img { width: 35px; height: 35px; }
  .mobile-nav { display: flex; justify-content: space-between; gap: 10px; }
  .mobile-nav a { font-size: .875rem; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 32px; padding-block: 40px 34px; }
  .hero h1 { max-width: 18ch; font-size: clamp(2.45rem, 8.9vw, 4.4rem); }
  .hero-description { margin-top: 18px; }
  .hero-art { min-height: 0; padding: 30px 35px 36px; }
  .book { width: min(67%, 240px); }
  .proof-inner { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .proof-brand { grid-column: 1 / -1; padding-block: 14px; border-bottom: 1px solid var(--line); }
  .proof-stat { border-left: 0; padding-inline: 8px; }
  .proof-stat:last-child { border-left: 1px solid var(--line); padding-left: 18px; }
  .packs-grid, .guide-panel { grid-template-columns: minmax(0,1fr); }
  .guide-page { border-left: 0; border-top: 1px solid #3d4a5e; border-radius: 0 0 13px 13px; }
  .guide-page img { width: min(100%, 285px); }
  .guide-options label { grid-template-columns: 1fr; gap: 3px; }
  .faq-grid { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { gap: 10px; }
  .header-action { font-size: .875rem; padding-inline: 11px; }
  .book-facts { gap: 7px 11px; margin-block: 19px 22px; }
  .book-facts li { font-size: .875rem; }
  .hero-actions { display: grid; }
  .guide-options label { padding: 10px 7px; }
  .guide-options strong { font-size: .9rem; }
  .guide-footer { align-items: stretch; flex-direction: column-reverse; }
  .guide-footer .text-link { padding-block: 7px; }
  .hero-art { padding-block: 25px 31px; }
  .program-grid, .audience { grid-template-columns: minmax(0,1fr); }
  .closing { align-items: stretch; flex-direction: column; }
  .footer-inner p { order: 1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
