:root {
  --night: #061334;
  --night-2: #0a2865;
  --blue: #123f93;
  --gold: #f4c951;
  --gold-light: #fff0a8;
  --ivory: #fffaf0;
  --ink: #102040;
  --muted: #53617a;
  --line: rgba(255,255,255,.17);
  --shadow: 0 26px 70px rgba(0, 13, 47, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background:
    radial-gradient(circle at 15% 8%, rgba(59, 126, 255, .34), transparent 25rem),
    radial-gradient(circle at 85% 28%, rgba(119, 63, 206, .25), transparent 30rem),
    linear-gradient(155deg, #061334 0%, #071b4a 42%, #03102e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image: radial-gradient(circle, rgba(255,255,255,.85) 0 1px, transparent 1.2px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; color: var(--ink); background: white; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.page-shell { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; position: relative; }

.brand-bar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: .95rem; letter-spacing: .26em; font-weight: 700; }
.brand-star { color: var(--gold); font-size: 1.35rem; }
.reader-note { color: #d8e4ff; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }

.hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: minmax(300px, .86fr) minmax(440px, 1.14fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; padding: 4.5rem 2rem 5.5rem; }
.cover-stage { position: relative; isolation: isolate; display: grid; place-items: center; }
.mockup-cover { width: min(100%, 390px); aspect-ratio: 688 / 768; background: #eee url("/assets/cover-mockup-grid.jpg") right bottom / 400% auto no-repeat; border-radius: 10px; box-shadow: var(--shadow); position: relative; z-index: 2; }
.book-shadow { position: absolute; width: 78%; height: 8%; bottom: -1rem; background: #000; filter: blur(25px); opacity: .5; border-radius: 50%; }
.glow { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55; }
.glow-one { width: 16rem; height: 16rem; background: rgba(66, 139, 255, .32); left: -2rem; top: 10%; }
.glow-two { width: 12rem; height: 12rem; background: rgba(255, 207, 84, .22); right: -1rem; bottom: 8%; }

.eyebrow { margin: 0 0 1rem; color: var(--gold-light); font-size: .84rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { color: var(--gold); margin-right: .35rem; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; text-wrap: balance; }
h1 { max-width: 14ch; margin: 0; font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: .98; letter-spacing: -.035em; }
h1 em { color: var(--gold-light); font-style: normal; }
.intro { max-width: 42rem; margin: 1.5rem 0 1.8rem; color: #dfe8fb; font-size: 1.08rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.3rem; }
.step { display: flex; align-items: center; gap: .55rem; min-height: 62px; padding: .7rem .78rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.055); }
.step span { flex: 0 0 27px; height: 27px; display: grid; place-items: center; color: var(--night); background: var(--gold); border-radius: 50%; font-size: .8rem; font-weight: 900; }
.step p { margin: 0; font-size: .78rem; line-height: 1.35; color: #e8efff; }

.claim-form { max-width: 690px; padding: clamp(1rem, 3vw, 1.5rem); color: var(--ink); background: rgba(255, 250, 240, .98); border: 1px solid rgba(255,255,255,.7); border-radius: 18px; box-shadow: 0 20px 48px rgba(0, 7, 30, .28); }
.field-row + .field-row { margin-top: .9rem; }
.field-row label { display: block; margin-bottom: .35rem; font-size: .9rem; font-weight: 780; }
.field-row input { width: 100%; min-height: 50px; padding: .75rem .9rem; color: var(--ink); background: #fff; border: 1px solid #b6c0d4; border-radius: 10px; outline: none; }
.field-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 63, 147, .15); }
.field-row input[aria-invalid="true"] { border-color: #ac2434; }
.field-error, .form-error { margin: .2rem 0 0; color: #9f1830; font-size: .82rem; font-weight: 650; }
.consent-row { display: grid; grid-template-columns: 21px 1fr; gap: .65rem; align-items: start; margin-top: .9rem; color: #38445c; font-size: .83rem; line-height: 1.45; cursor: pointer; }
.consent-row input { width: 19px; height: 19px; margin: .12rem 0 0; accent-color: var(--blue); }
.consent-row a { color: #123f93; font-weight: 760; }
.consent-row strong { color: #9f1830; }
.primary-button { width: 100%; min-height: 55px; margin-top: 1.1rem; padding: .8rem 1rem; display: flex; justify-content: center; align-items: center; gap: .75rem; border: 1px solid #ffe898; border-radius: 11px; color: #0a1a3e; background: linear-gradient(180deg, #ffe88c, #e9b934); box-shadow: 0 9px 22px rgba(181, 123, 0, .24); font-weight: 880; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.primary-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 13px 28px rgba(181, 123, 0, .33); }
.primary-button:focus-visible { outline: 3px solid #9fc3ff; outline-offset: 3px; }
.form-note { margin: .65rem 0 0; color: #647086; font-size: .76rem; text-align: center; }
.direct-access { margin: 1rem 0 0; }
.direct-access a { color: #ffe8a3; font-weight: 750; text-underline-offset: .2em; }

.promise { max-width: 800px; margin: 1rem auto 5rem; padding: 2rem 0; text-align: center; }
.promise-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-weight: 800; font-size: .78rem; }
.promise h2 { margin: .2rem 0 .6rem; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; }
.promise p:last-child { color: #dce6fb; font-size: 1.04rem; }

.legal-page main { min-height: calc(100vh - 170px); }
.legal-document { max-width: 820px; margin: 3rem auto 5rem; padding: clamp(1.3rem, 5vw, 3rem); color: var(--ink); background: var(--ivory); border-radius: 18px; box-shadow: var(--shadow); }
.legal-document h1 { max-width: none; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.12; }
.legal-document h2 { margin: 2rem 0 .55rem; font-size: 1.45rem; line-height: 1.25; }
.legal-document p { margin: .85rem 0; }
.legal-document a { color: var(--blue); }
.legal-document .legal-date { color: var(--muted); font-size: .9rem; }
.legal-document .back-link { display: inline-block; margin-bottom: 1.5rem; font-weight: 700; }

footer { min-height: 110px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 1rem; padding: 1.25rem 1rem; border-top: 1px solid var(--line); color: #bfccea; font-size: .82rem; }
.footer-legal { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.footer-center { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; white-space: nowrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--gold-light); }

.thank-you-page { min-height: 100vh; }
.thanks-wrap { min-height: calc(100vh - 168px); display: grid; place-items: center; padding: 4rem 1rem 5rem; }
.thanks-card { width: min(880px, 100%); padding: clamp(1.4rem, 5vw, 3.5rem); text-align: center; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: linear-gradient(145deg, rgba(14, 49, 112, .86), rgba(5, 19, 55, .93)); box-shadow: var(--shadow); }
.star-seal { width: 62px; height: 62px; margin: 0 auto 1rem; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 2rem; background: rgba(255,255,255,.05); }
.thanks-card h1 { max-width: none; font-size: clamp(2.5rem, 6vw, 4.7rem); }
.thanks-lead { max-width: 640px; margin: 1.2rem auto 2rem; color: #dce6fb; font-size: 1.05rem; }
.download-panel { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 2rem; align-items: center; padding: clamp(1rem, 3vw, 2rem); text-align: left; color: var(--ink); background: var(--ivory); border-radius: 16px; }
.bonus-preview { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; align-items: start; }
.bonus-preview img { display: block; width: 100%; height: auto; aspect-ratio: 773 / 1000; object-fit: contain; border-radius: 5px; box-shadow: 0 8px 20px rgba(11, 28, 66, .18); }
.bonus-preview .preview-main { grid-column: 1 / -1; width: min(100%, 250px); margin: 0 auto; box-shadow: 0 13px 28px rgba(11, 28, 66, .25); }
.download-copy { min-width: 0; }
.download-panel h2 { margin: .1rem 0 .3rem; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.06; }
.download-panel p { margin: .2rem 0; color: var(--muted); }
.download-label { color: var(--blue) !important; font-size: .75rem; letter-spacing: .14em; font-weight: 900; }
.download-panel .primary-button { max-width: 410px; text-decoration: none; }
.download-status { font-size: .78rem; }
.quiet-note { max-width: 620px; margin: 1.7rem auto 1rem; color: #dce6fb; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; font-style: italic; }
.text-link { color: var(--gold-light); font-size: .9rem; font-weight: 700; text-underline-offset: .25em; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-inline: 0; }
  .cover-stage { order: 1; }
  .hero-copy { order: 2; }
  .mockup-cover { width: min(74vw, 365px); }
  .hero-copy > h1 { max-width: 16ch; }
}

@media (max-width: 620px) {
  .page-shell { width: min(100% - 1.2rem, 1180px); }
  .brand-bar { min-height: 66px; }
  .reader-note { display: none; }
  .hero { min-height: auto; padding-top: 2.6rem; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 48px; }
  .claim-form { padding: 1rem; border-radius: 14px; }
  footer { display: flex; flex-direction: column; align-items: stretch; gap: 1.1rem; padding: 1.3rem .5rem 5.5rem; }
  .footer-legal { align-self: flex-start; }
  .footer-center { align-self: center; }
  .download-panel { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .bonus-preview { width: min(100%, 280px); margin: 0 auto; }
  .download-panel .primary-button { max-width: none; }
}

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