:root {
  --navy: #1d2c49;
  --navy-2: #2d3d5a;
  --teal: #7ccbd0;
  --teal-deep: #55b6bd;
  --lavender: #d4cfee;
  --orange: #f8b75f;
  --paper: #fffdf9;
  --cream: #fbf6ec;
  --ink: #17233a;
  --muted: #657187;
  --line: #dfe5ea;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(29, 44, 73, .16);
  --shadow-soft: 0 12px 34px rgba(29, 44, 73, .09);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--navy); color: white; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(29, 44, 73, .08);
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; letter-spacing: .08em; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 2px solid var(--navy); border-radius: 10px; background: var(--teal);
  font-weight: 900; letter-spacing: 0;
}
.brand-sub { font-size: .69rem; display: block; color: var(--muted); letter-spacing: .12em; margin-top: 1px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: .94rem; font-weight: 650; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--teal-deep); }
.header-cta { margin-left: 4px; }

.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 2px solid var(--navy); border-radius: 999px; padding: 10px 18px;
  background: var(--white); color: var(--navy); font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 0 rgba(29, 44, 73, .08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 0 rgba(29, 44, 73, .09); }
.button-primary { background: var(--navy); color: white; }
.button-secondary { background: var(--teal); }
.text-link { font-weight: 800; text-underline-offset: 4px; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 28%, rgba(248,183,95,.24) 0 110px, transparent 112px),
    radial-gradient(circle at 89% 12%, rgba(124,203,208,.20) 0 150px, transparent 152px),
    linear-gradient(180deg, #fffdf9 0%, #fbf6ec 100%);
}
.hero-inner {
  min-height: 720px; display: grid; grid-template-columns: 1.04fr .96fr;
  gap: 72px; align-items: center; padding: 72px 0 82px;
}
.eyebrow { margin: 0 0 18px; font-size: .83rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-2); }
.eyebrow-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; background: var(--orange); border-radius: 50%; box-shadow: 15px 0 0 var(--teal), 30px 0 0 var(--lavender); }
.hero h1 { margin: 0; max-width: 650px; font-size: clamp(3.2rem, 7vw, 6.25rem); line-height: .91; letter-spacing: -.065em; color: var(--navy); }
.hero h1 .year { display: block; font-size: .35em; line-height: 1; letter-spacing: .06em; margin-bottom: 12px; }
.hero h1 .hunt { display: block; }
.hero-subtitle { margin: 24px 0 0; font-size: clamp(1.15rem, 2.2vw, 1.55rem); color: var(--navy-2); font-weight: 650; }
.hero-promise { margin: 20px 0 0; max-width: 610px; font-size: 1.11rem; color: var(--muted); }
.hero-promise strong { color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-note { margin: 13px 0 0; font-size: .84rem; color: var(--muted); }

.tile-word { display: flex; flex-wrap: wrap; gap: 7px; margin: 27px 0 0; }
.tile-word span {
  width: 39px; height: 45px; display: grid; place-items: center; border: 2px solid var(--navy);
  border-radius: 9px; background: white; font-weight: 900; font-size: 1.06rem;
}
.tile-word span:nth-child(4n+1) { background: var(--teal); }
.tile-word span:nth-child(4n+2) { background: var(--lavender); }
.tile-word span:nth-child(4n+3) { background: var(--orange); }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.book-stage { position: relative; width: min(78%, 420px); }
.book-stage::before {
  content: ""; position: absolute; inset: 11% -13% -7% 12%; border-radius: 50%;
  background: rgba(29,44,73,.12); filter: blur(24px); transform: translateZ(-1px) rotate(-5deg);
}
.book-cover {
  position: relative; z-index: 2; width: 100%; height: auto; object-fit: contain;
  border: 1px solid rgba(29,44,73,.18); border-radius: 5px 11px 11px 5px;
  box-shadow: -14px 16px 34px rgba(29,44,73,.18), 18px 28px 70px rgba(29,44,73,.18);
  background: white;
}
.book-spine-effect { position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: 10px; border-radius: 5px 0 0 5px; background: linear-gradient(90deg, rgba(29,44,73,.20), rgba(255,255,255,.32), rgba(29,44,73,.04)); pointer-events: none; }

.section { padding: 92px 0; }
.section-soft { background: var(--cream); }
.section-navy { background: var(--navy); color: white; }
.section-head { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: end; margin-bottom: 40px; }
.kicker { margin: 0 0 9px; color: var(--teal-deep); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section-navy .kicker { color: var(--orange); }
h2 { margin: 0; color: var(--navy); font-size: clamp(2.2rem, 4.7vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.section-navy h2 { color: white; }
.section-intro { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-navy .section-intro { color: rgba(255,255,255,.76); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 26px; border: 2px solid var(--navy); border-radius: var(--radius-md); background: white; box-shadow: 5px 6px 0 var(--lavender); }
.stat:nth-child(2) { box-shadow: 5px 6px 0 var(--orange); }
.stat:nth-child(3) { box-shadow: 5px 6px 0 var(--teal); }
.stat:nth-child(4) { box-shadow: 5px 6px 0 #e8edf0; }
.stat strong { display: block; margin-bottom: 7px; color: var(--navy); font-size: 1.24rem; }
.stat p { margin: 0; color: var(--muted); }

.inside-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.preview-card { margin: 0; position: relative; }
.preview-frame { padding: 11px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); overflow: hidden; }
.preview-frame img { width: 100%; border-radius: 10px; }
.preview-card:nth-child(even) { margin-top: 34px; }
.preview-card figcaption { margin: 12px 5px 0; display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .88rem; }
.preview-card figcaption strong { color: var(--navy); }

.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 26px 23px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-md); background: rgba(255,255,255,.055); }
.step-num { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 12px; background: var(--teal); color: var(--navy); font-weight: 950; }
.step:nth-child(2) .step-num { background: var(--lavender); }
.step:nth-child(3) .step-num { background: var(--orange); }
.step:nth-child(4) .step-num { background: white; }
.step h3 { margin: 0 0 7px; font-size: 1.15rem; }
.step p { margin: 0; color: rgba(255,255,255,.76); }

.quote-panel { display: grid; grid-template-columns: 1fr .72fr; gap: 60px; align-items: center; }
.big-line { margin: 0; color: var(--navy); font-size: clamp(2.15rem, 4.2vw, 4rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 850; }
.big-line em { font-family: Georgia, serif; font-weight: 500; }
.quote-copy p { color: var(--muted); font-size: 1.05rem; }

.buy-panel {
  position: relative; overflow: hidden; display: grid; grid-template-columns: .75fr 1.25fr; gap: 58px; align-items: center;
  padding: 54px; border: 2px solid var(--navy); border-radius: var(--radius-lg); background: white;
  box-shadow: 10px 12px 0 var(--teal);
}
.buy-panel::after { content: ""; position: absolute; right: -75px; top: -85px; width: 240px; height: 240px; border: 35px solid var(--orange); border-radius: 50%; opacity: .34; }
.buy-cover { width: min(100%, 270px); height: auto; object-fit: contain; margin: 0 auto; border: 1px solid var(--line); box-shadow: var(--shadow); }
.buy-copy { position: relative; z-index: 2; }
.buy-copy h2 { font-size: clamp(2.3rem, 4.7vw, 4.4rem); }
.buy-copy p { max-width: 650px; color: var(--muted); font-size: 1.03rem; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.future { padding: 70px 0; }
.future-card { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 34px 38px; border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(212,207,238,.52), rgba(124,203,208,.24)); }
.future-card h2 { font-size: clamp(2rem, 3vw, 3rem); }
.future-card p { margin: 9px 0 0; color: var(--muted); }
.future-badge { white-space: nowrap; padding: 12px 16px; border: 2px solid var(--navy); border-radius: 999px; background: white; font-weight: 850; }

.site-footer { padding: 42px 0 50px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.footer-note { margin: 14px 0 0; color: var(--muted); font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; font-size: .9rem; font-weight: 650; }
.footer-links a { text-underline-offset: 4px; }
.footer-side { display: grid; gap: 16px; justify-items: end; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: flex-end; }
.footer-social-label { color: var(--muted); font-size: .82rem; font-weight: 700; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.social-links a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: .82rem; font-weight: 750; text-decoration: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.social-links a:hover { transform: translateY(-1px); border-color: var(--navy); box-shadow: 0 4px 12px rgba(18, 35, 58, .08); }
.social-links .social-icon-link { width: 38px; height: 38px; padding: 6px; display: inline-grid; place-items: center; border: 0; border-radius: 10px; background: transparent; box-shadow: none; color: var(--navy); }
.social-links .social-icon-link:hover { transform: translateY(-1px) scale(1.04); background: rgba(18, 35, 58, .055); border-color: transparent; box-shadow: none; }
.social-icon { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.social-icon .social-icon-dot { fill: currentColor; stroke: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Book detail page */
.book-detail-hero { padding: 70px 0 76px; background: var(--cream); }
.book-detail-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 68px; align-items: center; }
.book-detail-cover { width: min(100%, 380px); height: auto; object-fit: contain; margin: 0 auto; border: 1px solid var(--line); box-shadow: var(--shadow); }
.breadcrumbs { margin: 0 0 18px; color: var(--muted); font-size: .88rem; }
.breadcrumbs a { text-underline-offset: 3px; }
.book-detail-hero h1 { margin: 0; color: var(--navy); font-size: clamp(3rem, 6vw, 5.4rem); line-height: .94; letter-spacing: -.055em; }
.book-detail-hero .lede { font-size: 1.18rem; max-width: 700px; color: var(--muted); }
.detail-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.detail-facts span { padding: 7px 11px; border-radius: 999px; background: white; border: 1px solid var(--line); font-size: .86rem; font-weight: 750; }
.detail-copy { max-width: 790px; }
.detail-copy p { color: var(--muted); font-size: 1.04rem; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-inner { min-height: 68px; }
  .header-cta { margin-left: auto; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 48px; padding: 58px 0 70px; }
  .hero-copy { text-align: center; }
  .hero h1, .hero-promise { margin-left: auto; margin-right: auto; }
  .hero-actions, .tile-word { justify-content: center; }
  .hero-visual { min-height: 470px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .stats, .how-grid { grid-template-columns: repeat(2, 1fr); }
  .inside-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-card:nth-child(even) { margin-top: 0; }
  .quote-panel, .buy-panel, .book-detail-grid { grid-template-columns: 1fr; }
  .buy-cover { width: 220px; }
  .book-detail-cover { width: min(70vw, 360px); }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 26px), var(--max)); }
  .header-cta { font-size: .78rem; min-height: 42px; padding: 8px 12px; }
  .brand-sub { display: none; }
  .hero-inner { padding-top: 42px; }
  .hero-subtitle { font-size: 1.08rem; }
  .hero-visual { min-height: 410px; }
  .book-stage { width: 75%; }
  .section { padding: 68px 0; }
  .stats, .how-grid { grid-template-columns: 1fr; }
  .inside-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .preview-frame { padding: 6px; border-radius: 12px; }
  .preview-card figcaption { display: block; font-size: .78rem; }
  .buy-panel { padding: 32px 22px; box-shadow: 6px 7px 0 var(--teal); }
  .future-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .future-badge { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-side { justify-items: start; }
  .footer-socials, .social-links { justify-content: flex-start; }
  .book-detail-hero { padding-top: 48px; }
}

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

