:root {
  --ink: #05070a;
  --ink-soft: #0e131b;
  --paper: #f7f8fa;
  --white: #ffffff;
  --muted: #aab3c0;
  --text: #171c24;
  --blue: #5ea7e5;
  --blue-strong: #2f84cc;
  --line: rgba(255, 255, 255, 0.13);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), var(--max));
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-decoration: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  font-family: Georgia, serif;
  font-weight: 900;
  letter-spacing: -.08em;
}
.header-cta {
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 3px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
}

.hero {
  min-height: 790px;
  padding: 150px max(24px, calc((100% - var(--max)) / 2)) 84px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 72px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 42%, rgba(47,132,204,.2), transparent 30%),
    linear-gradient(135deg, #030406 0%, #0a0e14 52%, #05070a 100%);
}
.hero-copy { max-width: 670px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .15em; line-height: 1.35; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.25rem, 6vw, 6.25rem); font-weight: 700; }
h2 { margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 4.2vw, 4.35rem); }
h3 { font-size: 1.35rem; }
.hero-lead { max-width: 650px; margin: 0 0 34px; color: #d6dbe2; font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.price-row { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.price-row > div { display: flex; flex-direction: column; }
.old-price { color: var(--muted); font-size: .93rem; text-decoration: line-through; }
.price-row strong { font-size: 2.8rem; line-height: 1.08; }
.launch-tag { padding: 7px 10px; color: var(--blue); border: 1px solid rgba(94,167,229,.38); font-size: .68rem; font-weight: 850; letter-spacing: .12em; }
.primary-cta {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  color: #05101a;
  background: var(--blue);
  border: 0;
  border-radius: 3px;
  box-shadow: 0 14px 36px rgba(47,132,204,.22);
  font: inherit;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.primary-cta:hover { transform: translateY(-2px); background: #78b8eb; }
.primary-cta:focus-visible, .header-cta:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }
.micro-benefits { display: flex; flex-wrap: wrap; gap: 9px 22px; padding: 0; margin: 18px 0 0; color: var(--muted); font-size: .82rem; list-style: none; }
.micro-benefits li::before { content: "✓"; margin-right: 7px; color: var(--blue); font-weight: 900; }

.book-stage { position: relative; min-height: 560px; display: grid; place-items: center; }
.book-stage img {
  position: relative;
  z-index: 2;
  width: min(380px, 85%);
  height: auto;
  border-radius: 2px;
  box-shadow: 0 34px 90px rgba(0,0,0,.64), -12px 10px 0 #142131;
  transform: perspective(1200px) rotateY(-8deg) rotateZ(1.3deg);
}
.book-shadow { position: absolute; width: 70%; height: 70%; border-radius: 50%; background: rgba(47,132,204,.2); filter: blur(90px); }
.edition-chip { position: absolute; z-index: 3; right: 3%; bottom: 6%; padding: 9px 12px; color: var(--white); background: rgba(5,7,10,.8); border: 1px solid var(--line); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }

.section-pad { padding: 108px max(24px, calc((100% - var(--max)) / 2)); }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; align-items: end; gap: 50px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; max-width: 820px; }
.section-heading.compact { grid-template-columns: 1fr; gap: 0; align-items: start; }
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #cbd1d9; }
.problem-grid article { padding: 32px 30px 12px 0; border-right: 1px solid #dce1e7; }
.problem-grid article + article { padding-left: 30px; }
.problem-grid article:last-child { border-right: 0; }
.problem-grid article > span { color: var(--blue-strong); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.problem-grid h3 { margin: 32px 0 12px; }
.problem-grid p { margin: 0; color: #5a6470; }

.inside-section { color: var(--white); background: var(--ink-soft); display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; }
.inside-copy p:not(.eyebrow) { max-width: 610px; color: #bfc7d1; font-size: 1.08rem; }
.feature-list { display: grid; grid-template-columns: repeat(3,1fr); align-items: center; border: 1px solid var(--line); }
.feature-list div { min-height: 185px; padding: 26px 18px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.feature-list div:last-child { border-right: 0; }
.feature-list b { color: var(--blue); font-family: Georgia, serif; font-size: 3rem; line-height: 1; }
.feature-list span { margin-top: 12px; color: #d6dce4; font-size: .85rem; }
.details-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.details-grid span { padding: 18px 20px; border-bottom: 1px solid var(--line); color: #dce2e9; font-weight: 700; }
.details-grid span:nth-child(3n+2) { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.details-grid span::before { content: "→"; margin-right: 10px; color: var(--blue); }

.levels-section { background: #edf0f4; }
.levels { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.levels article { min-height: 290px; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--ink); border-top: 4px solid var(--blue); }
.levels article:nth-child(2) { background: #121a24; }
.levels article:nth-child(3) { background: #1a2634; }
.levels article p { margin: 0 auto auto 0; color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.levels h3 { margin-bottom: 10px; font-family: Georgia, serif; font-size: 2rem; }
.levels span { color: #c4ccd6; }

.method-section { background: var(--white); }
.method-card { padding: 56px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; color: var(--white); background: var(--ink); }
.method-card ol { padding: 0; margin: 0; list-style: none; }
.method-card li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.method-card li:last-child { border-bottom: 0; }
.method-card li span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--blue); border: 1px solid rgba(94,167,229,.45); font-weight: 900; }
.method-card li p { margin: 0; color: #dce1e7; }

.author-section { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 70px; background: #edf0f4; }
.author-monogram { width: 230px; height: 230px; display: grid; place-items: center; color: var(--white); background: var(--ink); font-family: Georgia, serif; font-size: 5.4rem; font-weight: 900; letter-spacing: -.1em; box-shadow: 16px 16px 0 rgba(47,132,204,.2); }
.author-section h2 { margin-bottom: 6px; }
.author-cref { margin: 0 0 20px; color: var(--blue-strong); font-weight: 800; }
.author-section div:last-child > p:last-child { max-width: 740px; color: #55606c; }

.faq-section { background: var(--white); }
.faq-list { max-width: 900px; }
details { border-top: 1px solid #ccd2da; }
details:last-child { border-bottom: 1px solid #ccd2da; }
summary { position: relative; padding: 22px 50px 22px 0; cursor: pointer; font-size: 1.08rem; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; color: var(--blue-strong); font-size: 1.6rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; margin: -5px 0 22px; color: #5a6470; }

.checkout-section { color: var(--white); background: var(--ink); }
.checkout-card { max-width: 880px; margin: 0 auto; text-align: center; }
.checkout-card > p:not(.eyebrow):not(.secure-note) { max-width: 650px; margin: 0 auto; color: #c4ccd6; font-size: 1.08rem; }
.checkout-price { margin: 34px 0 24px; display: flex; flex-direction: column; align-items: center; }
.checkout-price span { color: var(--muted); text-decoration: line-through; }
.checkout-price strong { font-size: 4.2rem; line-height: 1.05; }
.checkout-price small { color: var(--muted); }
.checkout-button { width: min(100%, 520px); }
.secure-note { color: #8f9aa8; font-size: .8rem; }

footer { padding: 48px max(24px, calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 10px 30px; color: #a8b1bc; background: #020304; font-size: .78rem; }
.footer-brand { color: var(--white); }
footer p { margin: 0; text-align: right; }
footer p:last-child { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); }

.checkout-modal[hidden] { display: none; }
.checkout-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.78); }
.modal-panel { position: relative; width: min(100%, 560px); padding: 42px; color: var(--white); background: var(--ink-soft); border: 1px solid rgba(94,167,229,.35); box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.modal-panel h2 { font-size: 2.2rem; }
.modal-panel p:not(.eyebrow) { color: #c4ccd6; }
.modal-close { position: absolute; top: 10px; right: 14px; color: var(--white); background: none; border: 0; font-size: 2rem; cursor: pointer; }
.secondary-button { min-height: 46px; padding: 11px 20px; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.4); font-weight: 850; letter-spacing: .08em; cursor: pointer; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 132px; }
  .hero-copy { max-width: 760px; }
  .book-stage { min-height: 500px; }
  .section-heading, .inside-section, .method-card { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-grid article, .problem-grid article + article { padding: 26px 0; border-right: 0; border-bottom: 1px solid #dce1e7; }
  .problem-grid h3 { margin-top: 14px; }
  .inside-section { gap: 36px; }
  .author-section { grid-template-columns: 200px 1fr; gap: 46px; }
  .author-monogram { width: 180px; height: 180px; font-size: 4rem; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 32px); height: 74px; }
  .brand span:last-child { display: none; }
  .header-cta { font-size: .65rem; }
  .hero { min-height: auto; padding: 110px 20px 70px; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .price-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .primary-cta { width: 100%; }
  .book-stage { min-height: 450px; }
  .book-stage img { width: min(310px, 82%); }
  .edition-chip { right: 1%; bottom: 4%; }
  .section-pad { padding: 78px 20px; }
  .section-heading { gap: 8px; margin-bottom: 34px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list div { min-height: 130px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-list div:last-child { border-bottom: 0; }
  .details-grid { grid-template-columns: 1fr; }
  .details-grid span:nth-child(3n+2) { border-left: 0; border-right: 0; }
  .levels { grid-template-columns: 1fr; }
  .levels article { min-height: 240px; }
  .method-card { padding: 34px 24px; gap: 28px; }
  .author-section { grid-template-columns: 1fr; }
  .author-monogram { width: 150px; height: 150px; }
  .checkout-price strong { font-size: 3.4rem; }
  footer { grid-template-columns: 1fr; }
  footer p { text-align: left; }
  .modal-panel { padding: 38px 24px 28px; }
}

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