:root {
  --ink: #0b1f38;
  --ink-2: #163452;
  --deep: #0b1f38;
  --deep-2: #071629;
  --gold: #d0a63a;
  --gold-deep: #9a6f13;
  --cream: #f5f1e8;
  --paper: #fffefb;
  --surface: #ffffff;
  --field: #ffffff;
  --header: rgba(255,254,251,.94);
  --hero-alt: #e8edf1;
  --cover-bg: #edf1f4;
  --mist: #e9eef3;
  --text: #1f2a36;
  --muted: #5b6672;
  --line: #d6dde4;
  --danger: #9c382e;
  --shadow: 0 28px 80px rgba(11,31,56,.15);
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4f7fa;
  --ink-2: #d5e0e9;
  --deep: #06111d;
  --deep-2: #030b13;
  --gold: #d8ad41;
  --gold-deep: #e6c263;
  --cream: #0d1d2b;
  --paper: #07131f;
  --surface: #0d1b29;
  --field: #091724;
  --header: rgba(7,19,31,.94);
  --hero-alt: #102536;
  --cover-bg: #112536;
  --mist: #0a1926;
  --text: #e8eef3;
  --muted: #adbdc9;
  --line: #2a3e50;
  --danger: #f17a70;
  --shadow: 0 28px 80px rgba(0,0,0,.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: white; color: #0b1f38; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: var(--header); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 194px; }
.brand .logo-dark { display: none; }
html[data-theme="dark"] .brand .logo-light { display: none; }
html[data-theme="dark"] .brand .logo-dark { display: block; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--ink); font-weight: 600; text-decoration: none; font-size: .94rem; }
nav a:not(.button):hover { color: var(--gold-deep); }
.menu-button { display: none; background: transparent; border: 0; padding: 10px; }
.menu-button span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; cursor: pointer; }
.theme-toggle:hover { border-color: var(--gold); }
.theme-toggle-icon { width: 1.05rem; text-align: center; font-size: 1.05rem; line-height: 1; }
.theme-toggle-label { font-size: .82rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 13px 23px; border: 1px solid var(--gold); border-radius: 4px; background: var(--gold); color: #0b1f38; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(154,111,19,.16); transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: #ddb84f; }
.button-small { min-height: 42px; padding: 9px 18px; }
.button-light { background: white; border-color: white; color: #0b1f38; }

.hero { overflow: hidden; padding: 78px 0 72px; background: linear-gradient(115deg, var(--cream) 0 58%, var(--hero-alt) 58%); }
.hero-grid { display: grid; grid-template-columns: 1.07fr .93fr; gap: 68px; align-items: center; }
.sale-pill { display: inline-block; margin-bottom: 25px; padding: 7px 12px; background: var(--danger); color: white; border-radius: 3px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kicker { margin: 0 0 12px; color: var(--gold-deep); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 { max-width: 760px; font-size: clamp(3rem, 6vw, 5.45rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.25rem, 4.3vw, 4rem); letter-spacing: -.025em; }
h3 { font-size: 1.75rem; }
.hero-lede { max-width: 650px; margin: 25px 0 22px; color: var(--muted); font-size: 1.12rem; }
.price-line { display: flex; align-items: baseline; gap: 13px; margin: 18px 0 25px; }
.price-current { color: var(--ink); font-family: var(--serif); font-size: 3.2rem; line-height: 1; }
.price-was { color: #7d8790; font-size: 1.15rem; text-decoration: line-through; }
.price-format { color: var(--muted); font-size: .88rem; }
.state-picker { max-width: 620px; }
.state-picker label { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 700; }
.picker-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
select { min-height: 52px; width: 100%; padding: 0 42px 0 15px; border: 1px solid var(--line); border-radius: 4px; background: var(--field); color: var(--text); }
select:focus, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(208,166,58,.55); outline-offset: 3px; }
.microcopy { max-width: 650px; margin: 13px 0 0; color: var(--muted); font-size: .82rem; }
.hero-visual { position: relative; min-height: 590px; display: grid; place-items: center; }
.cover-stack { position: relative; width: min(390px, 82vw); height: 520px; }
.cover { position: absolute; width: 265px; border-radius: 3px; box-shadow: var(--shadow); }
.cover-front { z-index: 3; left: 64px; top: 0; transform: rotate(-1deg); }
.cover-back-left { z-index: 1; left: -5px; top: 58px; transform: rotate(-9deg); }
.cover-back-right { z-index: 2; right: -4px; top: 56px; transform: rotate(8deg); }
.edition-note { position: absolute; right: 0; bottom: 4px; z-index: 4; display: grid; padding: 15px 18px; background: var(--deep); color: white; box-shadow: 0 14px 36px rgba(11,31,56,.25); }
.edition-note span { color: #c9d5df; font-size: .82rem; }

.proof-strip { background: var(--deep); color: white; }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.proof-grid div { display: grid; gap: 1px; padding: 24px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.proof-grid div:last-child { border-right: 1px solid rgba(255,255,255,.14); }
.proof-grid strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.proof-grid span { color: #bac8d4; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }

.section { padding: 100px 0; }
.section-heading { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-heading > p:last-child { max-width: 650px; margin: 18px auto 0; color: var(--muted); font-size: 1.05rem; }
.section-heading.left { margin: 0; text-align: left; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card { min-height: 360px; padding: 32px; border: 1px solid var(--line); background: var(--surface); }
.feature-card p { margin: 22px 0 0; color: var(--muted); }
.feature-dark { background: var(--deep); border-color: var(--deep); }
.feature-dark h3 { color: white; }
.feature-dark p { color: #c2cfda; }
.card-number { display: block; margin-bottom: 95px; color: var(--gold-deep); font-size: .8rem; font-weight: 700; }
.feature-dark .card-number { color: var(--gold); }

.decision-section { background: var(--mist); }
.decision-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 84px; align-items: start; }
.decision-list { border-top: 1px solid #bdc8d1; }
.decision-list > div { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid #bdc8d1; }
.decision-list span { color: var(--gold-deep); font-size: .83rem; font-weight: 700; }
.decision-list p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }

.shop-callout { padding-top: 0; background: var(--mist); }
.shop-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 50px; background: var(--deep); color: white; }
.shop-panel h2 { color: white; }
.shop-panel p:last-child { margin: 13px 0 0; color: #c3cfda; }

.faq-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 23px 40px 23px 0; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 3px; color: var(--gold-deep); font-size: 1.4rem; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: -5px 45px 23px 0; color: var(--muted); }

.site-footer { padding: 64px 0 28px; background: var(--deep-2); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 50px; }
.footer-grid img { width: 190px; filter: brightness(2); }
.footer-grid h2 { margin-bottom: 16px; color: white; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a, .footer-grid p { display: block; margin: 0 0 9px; color: #b9c8d5; text-decoration: none; font-size: .9rem; }
.footer-grid > div:first-child p { max-width: 360px; margin-top: 17px; }
.footer-note { margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: #91a3b4; font-size: .78rem; }

/* Catalog */
.catalog-hero { padding: 72px 0 58px; background: var(--cream); border-bottom: 1px solid var(--line); }
.catalog-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; }
.catalog-hero h1 { max-width: 860px; font-size: clamp(2.9rem, 5.7vw, 5rem); }
.catalog-hero p:not(.kicker) { max-width: 690px; margin: 22px 0 0; color: var(--muted); font-size: 1.05rem; }
.catalog-price { min-width: 220px; padding: 20px 23px; border-left: 3px solid var(--gold); background: var(--surface); }
.catalog-price span { display: block; color: var(--danger); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.catalog-price strong { margin-right: 10px; color: var(--ink); font-family: var(--serif); font-size: 3rem; font-weight: 400; }
.catalog-price del { color: #7d8790; }
.catalog-section { padding: 60px 0 100px; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(270px, 1fr) auto auto; align-items: end; gap: 24px; margin-bottom: 42px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.search-field label { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 700; }
.search-field input { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid var(--line); border-radius: 4px; background: var(--field); color: var(--text); font: inherit; }
.catalog-assurance { display: grid; padding: 9px 18px; border-left: 2px solid var(--gold); }
.catalog-assurance strong { color: var(--ink); font-size: .84rem; }
.catalog-assurance span, #resultCount { color: var(--muted); font-size: .78rem; }
#resultCount { margin: 0 0 12px; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.product-card { overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 22px 55px rgba(11,31,56,.12); }
.product-cover { display: grid; place-items: center; min-height: 450px; padding: 22px; background: var(--cover-bg); }
.product-cover img { width: min(320px, 100%); height: auto; object-fit: contain; image-rendering: auto; box-shadow: 0 18px 42px rgba(11,31,56,.22); }
.product-info { padding: 27px; }
.product-edition { margin: 0 0 7px; color: var(--gold-deep); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-info h2 { font-size: 1.55rem; }
.product-includes { min-height: 48px; margin: 10px 0 18px; color: var(--muted); font-size: .9rem; }
.product-price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 18px; }
.product-price strong { color: var(--ink); font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.product-price del { color: #7d8790; }
.product-price span { margin-left: auto; color: var(--danger); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.buy-button { width: 100%; }
.product-note { margin: 9px 0 0; color: var(--muted); font-size: .76rem; text-align: center; }
.empty-state { padding: 80px 20px; text-align: center; }
.catalog-help { padding: 28px 0; background: var(--deep); color: white; }
.catalog-help .shell { display: flex; align-items: center; gap: 20px; }
.catalog-help p { margin: 0; color: #c2cfda; }

/* Legal */
.legal-hero { padding: 72px 0 52px; background: var(--cream); }
.legal-hero h1 { font-size: clamp(3rem, 6vw, 5rem); }
.legal-hero p:last-child { color: var(--muted); }
.legal-section { padding: 70px 0 100px; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0,720px); gap: 70px; align-items: start; }
.legal-layout aside { position: sticky; top: 110px; padding: 22px; border-left: 3px solid var(--gold); background: var(--cream); }
.legal-layout aside p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.legal-copy h2 { margin: 45px 0 12px; font-size: 2rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { color: var(--muted); }

/* Purchase confirmation */
.confirmation-page { min-height: calc(100vh - 88px); padding: clamp(56px, 10vw, 110px) 0; background: var(--paper); }
.confirmation-card { max-width: 720px; padding: clamp(30px, 6vw, 60px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.confirmation-card h1 { margin: 10px 0 18px; font-size: clamp(2.4rem, 7vw, 4.5rem); }
.confirmation-card > p { max-width: 58ch; }
.confirmation-steps { margin: 28px 0; padding: 20px 24px; background: var(--cream); border-left: 4px solid var(--gold); }
.confirmation-steps p { margin: 8px 0; }
.download-toast { display: flex; align-items: center; gap: 12px; margin: 28px 0 18px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); color: var(--ink); font-weight: 700; }
.download-toast-icon { flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(208,166,58,.18); }
.download-toast-pending .download-toast-icon { animation: toast-pulse 1.2s ease-in-out infinite; }
.download-toast-success { border-color: #4f8a68; background: #edf8f1; color: #183c27; }
.download-toast-success .download-toast-icon { background: #2d7a4c; box-shadow: 0 0 0 5px rgba(45,122,76,.14); }
.download-toast-error { border-color: color-mix(in srgb, var(--danger) 48%, var(--line)); }
.download-toast-error .download-toast-icon { background: var(--danger); box-shadow: 0 0 0 5px rgba(156,56,46,.14); }
html[data-theme="dark"] .download-toast-success { background: #0c2a1a; color: #cdebd8; }
.download-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; }
.download-actions [hidden] { display: none; }
.download-edition { flex-basis: 100%; margin: 0; color: var(--gold-deep); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.button-secondary { background: transparent; color: var(--ink); box-shadow: none; }
.confirmation-help { margin-top: 24px; }
.confirmation-home { display: inline-block; margin-top: 8px; color: var(--ink); font-weight: 700; }
@keyframes toast-pulse { 50% { opacity: .45; transform: scale(.82); } }

@media (max-width: 920px) {
  .hero-grid, .decision-grid, .faq-shell { grid-template-columns: 1fr; }
  .hero { background: var(--cream); }
  .hero-visual { min-height: 560px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .card-number { margin-bottom: 48px; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .shop-panel { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .catalog-toolbar { grid-template-columns: 1fr auto; }
  .catalog-assurance { grid-column: 1; grid-row: 2; }
  .legal-layout { grid-template-columns: 1fr; gap: 35px; }
  .legal-layout aside { position: static; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header nav { position: absolute; left: 0; right: 0; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 13px 4px; }
  .theme-toggle { align-self: flex-start; margin: 7px 0 10px; }
  .menu-button { display: block; }
  .hero { padding-top: 52px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .picker-row { grid-template-columns: 1fr; }
  .price-line { flex-wrap: wrap; }
  .price-format { flex-basis: 100%; }
  .hero-visual { min-height: 470px; }
  .cover-stack { width: 300px; height: 415px; }
  .cover { width: 210px; }
  .cover-front { left: 45px; }
  .edition-note { right: 4px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { padding: 19px 12px; }
  .section { padding: 74px 0; }
  .decision-grid { gap: 45px; }
  .shop-panel { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .catalog-hero-grid { grid-template-columns: 1fr; }
  .catalog-price { width: fit-content; }
  .catalog-toolbar { grid-template-columns: 1fr; align-items: stretch; }
  .catalog-assurance { grid-column: auto; grid-row: auto; }
  #resultCount { margin: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-cover { min-height: 430px; padding: 20px; }
  .catalog-help .shell { align-items: flex-start; flex-direction: column; gap: 5px; }
}

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