:root {
  --navy: #0b3153;
  --navy-2: #123f67;
  --green: #2e6a58;
  --green-soft: #dce8df;
  --gold: #c89b3c;
  --gold-dark: #98701f;
  --cream: #f5f0e6;
  --cream-2: #fbf8f2;
  --ink: #16202b;
  --muted: #52606d;
  --line: #d8d2c5;
  --danger: #9c2f2f;
  --success: #1f6d4c;
  --white: #fff;
  --shadow: 0 20px 55px rgba(11, 49, 83, .15);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--cream-2);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--green); }
button, input, textarea, select { font: inherit; }
button, .button { min-height: 52px; }
:focus-visible { outline: 4px solid rgba(200,155,60,.55); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 14px; top: -80px; z-index: 1000;
  background: var(--navy); color: white; padding: 12px 18px; border-radius: 8px;
}
.skip-link:focus { top: 14px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,242,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11,49,83,.12);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; color: var(--navy); }
.brand img { width: 38px; height: 46px; }
.brand span { line-height: 1.1; }
.brand small { display: block; color: var(--green); font-weight: 700; font-size: .73rem; letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 700; }
.nav .nav-cta { color: white; background: var(--navy); padding: 10px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--green); color: white; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 10%, rgba(200,155,60,.20), transparent 30%),
    linear-gradient(135deg, var(--cream-2), var(--cream));
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding: 74px 0 80px; }
.eyebrow { color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: .11em; font-size: .78rem; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; color: var(--navy); line-height: 1.12; margin: 0 0 20px; }
h1 { font-size: clamp(2.65rem, 6.3vw, 5.7rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.45rem; }
.hero .lead { font-size: 1.25rem; max-width: 690px; color: #334454; }
.hero-points { display: grid; gap: 12px; margin: 26px 0 34px; padding: 0; list-style: none; }
.hero-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.check { width: 27px; height: 27px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--green); color: white; font-size: 16px; margin-top: 2px; }
.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 14px 24px; text-decoration: none; font-weight: 800;
  border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: white; box-shadow: 0 12px 30px rgba(11,49,83,.22); }
.button-primary:hover { background: var(--green); color: white; }
.button-secondary { border-color: var(--navy); color: var(--navy); background: transparent; }
.price-note { font-size: .95rem; color: var(--muted); margin-top: 14px; }
.hero-book { position: relative; display: grid; place-items: center; }
.cover-wrap { width: min(430px, 92%); transform: rotate(1.6deg); filter: drop-shadow(0 30px 35px rgba(11,49,83,.25)); }
.cover-wrap img { display: block; border-radius: 4px 11px 11px 4px; }
.cover-badge { position: absolute; right: 2%; bottom: 8%; background: var(--navy); color: white; border: 4px solid var(--cream); border-radius: 50%; width: 128px; height: 128px; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: .86rem; line-height: 1.2; box-shadow: var(--shadow); transform: rotate(-7deg); }

.trust-strip { background: var(--navy); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.19); }
.trust-item { background: var(--navy); padding: 24px 18px; text-align: center; font-weight: 800; }
.trust-item span { display: block; color: #d7e8df; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; margin-top: 3px; }

.section { padding: 90px 0; }
.section-alt { background: var(--cream); border-block: 1px solid var(--line); }
.section-intro { max-width: 790px; margin-bottom: 48px; }
.section-intro p { font-size: 1.16rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 12px 30px rgba(11,49,83,.07); }
.card-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 28px; margin-bottom: 19px; }
.card p { color: var(--muted); margin-bottom: 0; }

.inside-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 64px; }
.inside-panel { background: var(--navy); color: white; border-radius: 28px; padding: 38px; box-shadow: var(--shadow); position: sticky; top: 110px; }
.inside-panel h3 { color: white; font-size: 2rem; }
.inside-panel p { color: #dce8ef; }
.inside-panel .big-number { font: 700 5rem/1 Georgia, serif; color: var(--gold); }
.chapter-list { display: grid; gap: 14px; }
.chapter { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.chapter-number { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--navy); font-weight: 900; border: 2px solid var(--gold); }
.chapter h3 { margin-bottom: 6px; font-size: 1.25rem; }
.chapter p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 38px 30px 30px; border-radius: var(--radius); background: white; border: 1px solid var(--line); }
.step::before { content: counter(step); position: absolute; top: -22px; left: 28px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-weight: 900; border: 5px solid var(--cream-2); }
.step h3 { margin-top: 8px; }

.callout { background: linear-gradient(135deg, var(--green), #235346); color: white; border-radius: 28px; padding: 46px; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.callout img { width: 105px; }
.callout h2 { color: white; font-size: clamp(1.8rem,4vw,3rem); }
.callout p { color: #e3efe9; margin-bottom: 0; font-size: 1.1rem; }

.offer { background: var(--navy); color: white; overflow: hidden; position: relative; }
.offer::before { content: ''; position: absolute; inset: -30% auto auto 55%; width: 620px; height: 620px; border-radius: 50%; background: rgba(200,155,60,.12); }
.offer-grid { position: relative; display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: center; }
.offer h2 { color: white; }
.offer p { color: #dce8ef; }
.offer-list { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 10px; }
.offer-list li { display: flex; gap: 12px; }
.pricing-card { background: white; color: var(--ink); border-radius: 26px; padding: 38px; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.pricing-card h3 { font-size: 1.65rem; }
.price { font: 700 clamp(3rem,7vw,5rem)/1 Georgia, serif; color: var(--navy); margin: 16px 0; }
.price sup { font: 700 1.4rem Arial, sans-serif; vertical-align: top; top: .4em; position: relative; }
.price small { display: block; font: 700 .95rem Arial,sans-serif; color: var(--muted); margin-top: 10px; }
.guarantee { display: flex; gap: 13px; align-items: flex-start; padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.guarantee strong { color: var(--ink); }

.faq { display: grid; gap: 14px; }
details { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
summary { list-style: none; cursor: pointer; padding: 21px 38px 21px 0; font-weight: 800; color: var(--navy); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 15px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); font-size: 1.4rem; }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); padding: 0 0 20px; margin: 0; }

.site-footer { background: #08233b; color: #d9e3ea; padding: 55px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 40px; }
.site-footer h3 { color: white; font-size: 1.25rem; }
.site-footer a { color: #e9f3f7; }
.footer-links { display: grid; gap: 8px; }
.copyright { border-top: 1px solid rgba(255,255,255,.16); margin-top: 38px; padding-top: 24px; font-size: .9rem; color: #b7c7d2; }

/* Checkout and legal pages */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding: 54px 0; }
.page-hero h1 { font-size: clamp(2.5rem,6vw,4.5rem); }
.checkout-section { padding: 55px 0 90px; }
.checkout-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 46px; align-items: start; }
.checkout-card, .order-card, .legal-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: 0 14px 35px rgba(11,49,83,.08); }
.order-card { position: sticky; top: 104px; }
.order-product { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.order-product img { border-radius: 6px; box-shadow: 0 8px 20px rgba(11,49,83,.18); }
.order-price { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-block: 1px solid var(--line); margin: 24px 0; font-weight: 800; font-size: 1.15rem; }
.security-note { display: flex; gap: 12px; background: var(--green-soft); border-radius: 12px; padding: 16px; font-size: .92rem; color: #234b3f; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field-full { grid-column: 1 / -1; }
label { display: block; color: var(--navy); font-weight: 800; margin-bottom: 8px; }
input, textarea, select, .collect-field {
  width: 100%; min-height: 54px; border: 2px solid #bbc4ca; border-radius: 10px; background: white; color: var(--ink); padding: 12px 14px;
}
input:focus, textarea:focus, select:focus { border-color: var(--green); outline: 3px solid rgba(46,106,88,.18); }
.collect-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkbox { display: grid; grid-template-columns: 24px 1fr; gap: 11px; align-items: start; margin: 18px 0; font-size: .94rem; }
.checkbox input { width: 22px; min-height: 22px; height: 22px; margin-top: 3px; }
.checkout-button { width: 100%; border: 0; background: var(--navy); color: white; border-radius: 999px; padding: 15px 24px; font-weight: 900; cursor: pointer; }
.checkout-button:hover { background: var(--green); }
.checkout-button[disabled] { opacity: .55; cursor: not-allowed; }
.status { display: none; margin-top: 16px; padding: 14px; border-radius: 10px; font-weight: 700; }
.status.show { display: block; }
.status.error { background: #f7dddd; color: var(--danger); }
.status.success { background: #dcefe5; color: var(--success); }
.setup-notice { background: #fff4d6; border: 2px solid #e2bd64; color: #6d5119; border-radius: 12px; padding: 18px; margin-bottom: 24px; }
.setup-notice strong { display: block; color: #513a0a; }
.legal-card { padding: 44px; }
.legal-card h2 { font-size: 2rem; margin-top: 40px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card li { margin-bottom: 9px; }
.thankyou { text-align: center; padding: 75px 0 100px; }
.thankyou-icon { width: 110px; margin: 0 auto 24px; }
.receipt { max-width: 590px; margin: 32px auto; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 27px; text-align: left; }
.receipt-row { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.receipt-row:last-child { border: 0; }

@media (max-width: 900px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-grid, .inside-grid, .offer-grid, .checkout-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 45px; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .hero-points { max-width: 610px; margin-inline: auto; text-align: left; }
  .cta-row { justify-content: center; }
  .price-note { text-align: center; }
  .cover-wrap { width: min(390px, 80%); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .cards, .steps { grid-template-columns: 1fr; }
  .inside-panel, .order-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1/-1; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .container, .narrow { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 68px; }
  .brand span { font-size: .92rem; }
  .brand small { display: none; }
  .nav .nav-cta { padding: 9px 14px; font-size: .9rem; }
  .hero-grid { padding: 45px 0 60px; }
  .hero .lead { font-size: 1.08rem; }
  .section { padding: 65px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; text-align: center; padding: 34px 24px; }
  .callout img { margin: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .form-grid, .collect-row { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .checkout-card, .order-card, .legal-card { padding: 24px; }
  .order-product { grid-template-columns: 76px 1fr; }
  .cover-badge { width: 102px; height: 102px; font-size: .73rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.checkout-heading { font-size: 2.1rem; }
.order-heading { font-size: 2rem; }
.muted-placeholder { color: #7a8790; }
.footer-compact { margin-top: 0; }
.full-width { width: 100%; }
.eyebrow-gold { color: #d8b865; }
.muted-text { color: var(--muted); }
.lead-copy { font-size: 1.18rem; }
.center-margin { margin-top: 24px; }
