:root {
  --maroon-950: #140609;
  --maroon-900: #3f101f;
  --maroon-800: #651c32;
  --maroon-700: #7d2942;
  --maroon-100: #f7e9ed;
  --gold-500: #d5a62e;
  --gold-400: #efc43d;
  --gold-200: #f1ddb1;
  --cream: #fbf7ef;
  --paper: #fffdf9;
  --ink: #0f172a;
  --muted: #5f6368;
  --line: #e4dbd7;
  --shadow: 0 24px 70px rgba(53, 17, 33, 0.13);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold-400);
  color: var(--maroon-950);
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 12px clamp(22px, 5vw, 76px);
  color: white;
  background: rgba(20, 6, 9, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: clamp(210px, 23vw, 300px); height: auto; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}
.site-header nav a:hover { color: white; }
.site-header nav a.is-current { color: var(--gold-400); }
.nav-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 4px;
  color: var(--maroon-950);
  background: var(--gold-400);
  border-radius: 999px;
  font-size: 0.7rem;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: clamp(44px, 7vw, 110px);
  min-height: 665px;
  padding: clamp(72px, 9vw, 132px) clamp(22px, 7vw, 106px) 96px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(110deg, rgba(20, 6, 9, 0.99), rgba(101, 28, 50, 0.96)),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,.028) 120px);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.hero-orb-one {
  width: 520px;
  height: 520px;
  top: -330px;
  right: -80px;
  border: 1px solid rgba(226, 189, 105, 0.18);
  box-shadow: 0 0 0 80px rgba(226, 189, 105, 0.02), 0 0 0 160px rgba(226, 189, 105, 0.015);
}
.hero-orb-two {
  width: 280px;
  height: 280px;
  left: -150px;
  bottom: -100px;
  background: rgba(212, 169, 79, 0.06);
}
.hero-copy { align-self: center; max-width: 790px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-400);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow-maroon { color: var(--maroon-700); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2 { font-family: "Inter", sans-serif; font-weight: 700; }
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.85rem, 5.5vw, 5.55rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; color: rgba(255,255,255,.58); font-size: .72rem; }
.breadcrumbs a { color: inherit; text-underline-offset: 3px; }
.breadcrumbs strong { color: var(--gold-400); font-weight: 700; }
.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--maroon-950); background: var(--gold-400); box-shadow: 0 12px 32px rgba(212, 169, 79, .18); }
.button-gold:hover { background: #ebca82; box-shadow: 0 16px 36px rgba(212, 169, 79, .26); }
.button-maroon { color: white; background: var(--maroon-800); }
.button-maroon:hover { background: var(--maroon-700); box-shadow: 0 12px 26px rgba(82, 21, 46, .22); }
.button.is-unavailable { opacity: .65; cursor: default; box-shadow: none; }
.button.is-unavailable:hover { transform: none; box-shadow: none; }
.edition-modal-copy { padding: 26px; }
.edition-modal-copy h2 { margin: 0; color: var(--maroon-950); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; }
.edition-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.edition-option { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.edition-option h3, .edition-option p { margin: 0; }
.edition-option strong { color: var(--maroon-800); font-size: 1.4rem; }
.edition-option p { flex: 1; line-height: 1.5; }
@media (max-width: 740px) { .edition-options { grid-template-columns: 1fr; } }
.button-outline-light { color: white; background: transparent; border-color: rgba(255,255,255,.34); }
.button-outline-light:hover { border-color: var(--gold-400); color: var(--gold-400); }
.button-compact { min-height: 40px; padding: 0 17px; font-size: .75rem; }
.text-button, .preview-link, .clear-button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font-weight: 700;
}
.text-button { color: rgba(255,255,255,.84); }
.text-button:hover { color: var(--gold-400); }
.trust-list { display: flex; flex-wrap: wrap; gap: 24px; margin: 38px 0 0; padding: 0; list-style: none; }
.trust-list li { position: relative; padding-left: 20px; color: rgba(255,255,255,.62); font-size: .78rem; }
.trust-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-400); }

.hero-card {
  position: relative;
  align-self: center;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  max-width: 555px;
  padding: 26px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 80px rgba(0,0,0,.2);
  backdrop-filter: blur(16px);
}
.hero-card-label {
  position: absolute;
  top: -13px;
  right: 28px;
  padding: 7px 13px;
  color: var(--maroon-950);
  background: var(--gold-400);
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.mini-cover, .toolkit-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 6px 15px 15px 6px;
  box-shadow: 8px 14px 32px rgba(0,0,0,.28);
}
.mini-cover::before, .toolkit-cover::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 9px;
  width: 1px;
  background: rgba(255,255,255,.16);
}
.mini-cover {
  aspect-ratio: .72;
  padding: 17px 15px 16px 22px;
  color: white;
  background: linear-gradient(145deg, var(--maroon-700), var(--maroon-950));
}
.mini-cover span, .toolkit-cover span { color: var(--gold-400); font-size: .55rem; font-weight: 700; letter-spacing: .18em; }
.mini-cover strong, .toolkit-cover strong { font-family: "Inter", sans-serif; font-weight: 700; line-height: 1.04; letter-spacing: -.035em; }
.mini-cover small, .toolkit-cover small { color: rgba(255,255,255,.65); font-size: .52rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-card-kicker { margin: 10px 0 6px; color: var(--gold-400); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.hero-card h2 { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.05; }
.hero-card p:not(.hero-card-kicker) { margin: 13px 0 21px; color: rgba(255,255,255,.67); font-size: .85rem; line-height: 1.6; }

.catalogue-section { padding: clamp(78px, 9vw, 126px) clamp(22px, 7vw, 106px) 110px; background: var(--cream); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); align-items: end; gap: 60px; }
.section-heading h2 { max-width: 750px; margin: 0; color: var(--maroon-900); font-size: clamp(2.4rem, 4.3vw, 4.7rem); line-height: 1.02; letter-spacing: -.035em; }
.section-heading > p { margin: 0 0 7px; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.catalogue-controls {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 54px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(53,17,33,.04);
}
.filter-group { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-chip {
  padding: 10px 15px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
}
.filter-chip:hover { color: var(--maroon-800); background: var(--maroon-100); }
.filter-chip.is-active { color: white; background: var(--maroon-800); }
.search-field {
  flex: 0 0 min(290px, 28vw);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  background: #f7f3f1;
  border-radius: 11px;
}
.search-field svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search-field input { width: 100%; padding: 12px 0; background: transparent; border: 0; outline: 0; font-size: .8rem; }
.results-row { display: flex; justify-content: space-between; min-height: 52px; padding: 17px 3px 10px; }
.results-row p { margin: 0; color: var(--muted); font-size: .78rem; }
.clear-button { color: var(--maroon-700); font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; }
.clear-button-light { color: var(--gold-400); }
.toolkit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.toolkit-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.toolkit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.toolkit-card.is-selected { border-color: var(--gold-500); box-shadow: 0 0 0 2px rgba(212,169,79,.14); }
.card-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 248px;
  padding: 26px;
  background: linear-gradient(145deg, #eee4df, #f9f4ed);
  overflow: hidden;
}
.card-visual::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  bottom: -90px;
  border: 1px solid rgba(82,21,46,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(82,21,46,.025);
}
.toolkit-cover-card { width: 132px; aspect-ratio: .72; padding: 15px 13px 14px 21px; color: white; transform: rotate(-2deg); }
.toolkit-cover-card strong { font-size: 1.17rem; }
.cover-wine { background: linear-gradient(145deg, #7a2445, #2b0918); }
.cover-gold { background: linear-gradient(145deg, #b9862e, #574015); }
.cover-plum { background: linear-gradient(145deg, #63305e, #211020); }
.cover-ink { background: linear-gradient(145deg, #37404a, #15191e); }
.cover-forest { background: linear-gradient(145deg, #335f50, #142922); }
.cover-maroon { background: linear-gradient(145deg, #8a294c, #3a0d21); }
.card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  color: var(--maroon-900);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(82,21,46,.08);
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  backdrop-filter: blur(10px);
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 25px; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--maroon-700); font-size: .65rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.card-body h3 { margin: 13px 0 9px; color: var(--maroon-950); font-size: 1.62rem; font-weight: 700; line-height: 1.13; }
.card-body > p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.62; }
.mini-feature-list { display: grid; gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; }
.mini-feature-list li { position: relative; padding-left: 19px; color: #51464b; font-size: .76rem; }
.mini-feature-list li::before { content: "•"; position: absolute; left: 3px; color: var(--gold-500); font-size: 1.1rem; line-height: .8; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 25px; }
.price-row > div, .modal-purchase > div { display: grid; }
.price-row strong { color: var(--maroon-900); font-size: 1.7rem; font-weight: 700; }
.price-row small, .modal-purchase small { color: var(--muted); font-size: .61rem; }
.preview-link { color: var(--maroon-700); font-size: .76rem; }
.preview-link:hover { color: var(--gold-500); }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 16px; }
.card-actions .button { padding-inline: 14px; font-size: .74rem; }
.compare-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 14px;
  color: var(--maroon-700);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 700;
}
.compare-toggle:hover, .compare-toggle.is-selected { background: var(--maroon-100); border-color: #d7b6c4; }
.empty-state { padding: 80px 20px; text-align: center; background: white; border: 1px dashed #cbbeba; border-radius: var(--radius-md); }
.empty-state h3 { margin: 0; color: var(--maroon-900); font-size: 2rem; font-weight: 700; }
.empty-state p { margin: 10px 0 22px; color: var(--muted); }

.editions-section { padding: clamp(76px, 8vw, 116px) clamp(22px, 7vw, 106px); background: white; }
.editions-heading { align-items: end; }
.edition-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.edition-card { position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.edition-card.is-featured { border-color: var(--gold-500); box-shadow: 0 18px 48px rgba(101,28,50,.10); }
.edition-card > span { color: var(--gold-500); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.edition-card h3 { margin: 38px 0 10px; color: var(--maroon-800); font-size: 1.05rem; }
.edition-card p { margin: 0 0 28px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.edition-card strong { margin-top: auto; color: var(--maroon-950); font-size: 1.05rem; }
.licensing-note { display: flex; align-items: center; justify-content: space-between; gap: 34px; margin-top: 20px; padding: 26px; color: white; background: var(--maroon-800); border-radius: var(--radius-md); }
.licensing-note p { max-width: 850px; margin: 0; color: rgba(255,255,255,.78); font-size: .86rem; line-height: 1.65; }
.licensing-note p strong { color: white; }
.licensing-note .button { flex: 0 0 auto; color: var(--maroon-950); background: var(--gold-400); }

.compare-section {
  display: grid;
  grid-template-columns: minmax(250px, .42fr) minmax(0, 1.58fr);
  gap: clamp(40px, 6vw, 86px);
  padding: clamp(76px, 8vw, 116px) clamp(22px, 7vw, 106px);
  color: white;
  background: var(--maroon-900);
}
.compare-intro { align-self: start; position: sticky; top: 116px; }
.compare-intro h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 4.4rem); line-height: 1; }
.compare-intro > p:not(.eyebrow) { color: rgba(255,255,255,.62); line-height: 1.7; }
.selection-status { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 27px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: var(--gold-200); font-size: .73rem; }
.compare-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 14px; min-width: 0; }
.compare-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 430px;
  padding: 24px;
  text-align: center;
  border: 1px dashed rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.025);
}
.compare-placeholder span { color: rgba(239,196,61,.32); font-size: 3rem; font-weight: 700; }
.compare-placeholder p { color: rgba(255,255,255,.4); font-size: .78rem; }
.compare-card { position: relative; min-width: 0; padding: 20px; color: var(--ink); background: var(--paper); border-radius: var(--radius-md); }
.compare-remove { position: absolute; top: 14px; right: 14px; z-index: 2; width: 30px; height: 30px; padding: 0; color: var(--maroon-800); background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 50%; font-size: 1.1rem; }
.toolkit-cover-mini { width: 70px; aspect-ratio: .72; padding: 10px 8px 9px 14px; color: white; }
.toolkit-cover-mini strong { font-size: .6rem; }
.toolkit-cover-mini span, .toolkit-cover-mini small { font-size: .35rem; }
.compare-category { display: block; margin-top: 17px; color: var(--maroon-700); font-size: .61rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.compare-card h3 { min-height: 52px; margin: 7px 0 18px; color: var(--maroon-950); font-size: 1.45rem; font-weight: 700; line-height: 1.12; }
.compare-row { padding: 14px 0; border-top: 1px solid var(--line); }
.compare-row small { color: var(--maroon-700); font-size: .59rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.compare-row p { margin: 5px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.compare-price { display: grid; gap: 12px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.compare-price strong { color: var(--maroon-900); font-size: 1.7rem; font-weight: 700; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px clamp(22px, 7vw, 106px); color: white; background: var(--maroon-950); }
.footer-brand .brand-logo { width: min(290px, 70vw); }
.site-footer > p { max-width: 450px; margin: 0; color: rgba(255,255,255,.48); font-size: .72rem; text-align: right; }

.compare-dock {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(760px, calc(100% - 30px));
  padding: 12px 13px 12px 20px;
  color: white;
  background: rgba(36, 9, 20, .95);
  border: 1px solid rgba(226,189,105,.32);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}
.compare-dock > div { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.compare-dock strong { color: var(--gold-400); font-size: .76rem; white-space: nowrap; }
.compare-dock span { overflow: hidden; color: rgba(255,255,255,.58); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }

.modal {
  width: min(980px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  padding: 0;
  overflow: auto;
  background: var(--paper);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 100px rgba(24, 5, 13, .45);
}
.modal::backdrop { background: rgba(28, 7, 16, .74); backdrop-filter: blur(5px); }
.modal-close { position: absolute; z-index: 5; top: 15px; right: 15px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: var(--maroon-900); background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 50%; font-size: 1.5rem; }
.modal-layout { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); min-height: 600px; }
.modal-cover-wrap { display: grid; place-items: center; padding: 55px; background: linear-gradient(145deg, #ede2dd, #f8f2e9); }
.toolkit-cover-large { width: min(270px, 80%); aspect-ratio: .72; padding: 28px 24px 24px 37px; color: white; transform: rotate(-2deg); }
.toolkit-cover-large strong { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.toolkit-cover-large span { font-size: .75rem; }
.toolkit-cover-large small { font-size: .65rem; }
.modal-copy { padding: 66px 48px 46px; }
.modal-copy h2, .guide-content h2 { margin: 0; color: var(--maroon-950); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; }
.modal-lead { color: var(--muted); line-height: 1.65; }
.preview-block { margin-top: 24px; padding-top: 21px; border-top: 1px solid var(--line); }
.preview-block h3 { margin: 0 0 12px; color: var(--maroon-800); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.preview-block ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.preview-block li { position: relative; padding-left: 20px; color: var(--muted); font-size: .8rem; }
.preview-block li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-500); }
.modal-purchase { display: flex; align-items: center; gap: 13px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.modal-purchase > div { margin-right: auto; }
.modal-purchase strong { color: var(--maroon-900); font-size: 2rem; font-weight: 700; }

.guide-modal { width: min(720px, calc(100% - 28px)); }
.guide-content { padding: 58px; }
.guide-content > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.guide-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.guide-options button { display: grid; gap: 7px; padding: 19px; text-align: left; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 14px; }
.guide-options button:hover { border-color: var(--gold-500); box-shadow: 0 10px 30px rgba(53,17,33,.07); }
.guide-options strong { color: var(--maroon-900); font-size: .86rem; line-height: 1.35; }
.guide-options span { color: var(--muted); font-size: .68rem; }

.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  top: 92px;
  width: min(560px, calc(100% - 30px));
  padding: 14px 18px;
  color: white;
  background: var(--maroon-800);
  border: 1px solid rgba(226,189,105,.45);
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0,0,0,.24);
  font-size: .78rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -15px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: 850px; }
  .hero-card { justify-self: end; width: min(620px, 88%); }
  .toolkit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-section { grid-template-columns: 1fr; }
  .compare-intro { position: static; max-width: 700px; }
  .edition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { min-height: 67px; }
  .brand-logo { width: 178px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { display: none; }
  .site-header nav a.is-current, .site-header nav a:last-child { display: inline-flex; align-items: center; }
  .hero { padding-top: 76px; }
  h1 { font-size: clamp(3.1rem, 15vw, 5.4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-card { justify-self: stretch; width: 100%; grid-template-columns: 105px 1fr; gap: 20px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .catalogue-controls { align-items: stretch; flex-direction: column; }
  .search-field { flex-basis: auto; }
  .toolkit-grid { grid-template-columns: 1fr; }
  .edition-grid { grid-template-columns: 1fr; }
  .edition-card { min-height: 210px; }
  .licensing-note { align-items: flex-start; flex-direction: column; }
  .compare-stage { grid-template-columns: 1fr; }
  .compare-placeholder { min-height: 150px; }
  .compare-card h3 { min-height: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer > p { text-align: left; }
  .modal-layout { grid-template-columns: 1fr; }
  .modal-cover-wrap { min-height: 360px; padding: 45px; }
  .toolkit-cover-large { width: 190px; }
  .modal-copy { padding: 42px 26px 34px; }
  .modal-purchase { align-items: stretch; flex-direction: column; }
  .modal-purchase > div { margin-right: 0; }
  .guide-content { padding: 48px 26px 30px; }
  .guide-options { grid-template-columns: 1fr; }
}

@media (max-width: 470px) {
  .site-header { padding-inline: 16px; }
  .brand-logo { width: 145px; }
  .site-header nav a.is-current { display: none; }
  .hero { padding: 48px 18px 64px; }
  h1 { font-size: 2.45rem; line-height: 1.05; }
  .breadcrumbs { margin-bottom: 22px; }
  .hero-lead { margin-top: 20px; line-height: 1.65; }
  .section-heading h2, .compare-intro h2 { font-size: 2.15rem; line-height: 1.08; }
  .button, .preview-link, .text-button, .filter-chip { font-size: .85rem; }
  .toolkit-card p, .compare-row p { font-size: .9rem; line-height: 1.6; }
  .hero-card { grid-template-columns: 1fr; }
  .mini-cover { width: 115px; }
  .trust-list { flex-direction: column; gap: 10px; }
  .card-actions { grid-template-columns: 1fr; }
  .compare-dock > div span { display: none; }
}

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