:root {
  --navy: #0F1C2E;
  --navy-2: #172A42;
  --navy-line: rgba(143, 180, 227, 0.16);
  --paper: #F3F5F7;
  --white: #FFFFFF;
  --text: #142233;
  --muted: #56677A;
  --rule: #D5DDE5;
  --steel: #8FB4E3;
  --steel-deep: #2C5A92;
  --on-dark: #E8EEF5;
  --on-dark-muted: #9DAEC2;

  --g-A: #1C477C;
  --g-B: #3769A3;
  --g-C: #7397C4;
  --g-D: #B3C6DD;
  --g-E: #E4EBF3;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: 16px;
  --section: clamp(72px, 10vw, 136px);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--steel-deep); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .final :focus-visible, .fund :focus-visible, .nav :focus-visible, .sticky :focus-visible, .lightbox :focus-visible { outline-color: var(--steel); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 6px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.h2 {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
  max-width: 22ch;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
  margin-top: 20px;
  font-variation-settings: "opsz" 16;
}
.lead-block { margin-bottom: clamp(40px, 6vw, 64px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 44px; padding: 10px 20px;
  border-radius: 6px; border: 0;
  font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 14px 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--light { background: var(--steel); color: var(--navy); }
.btn--light:hover { background: #A6C5EC; box-shadow: 0 8px 28px -10px rgba(143, 180, 227, 0.7); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--steel-deep); }
.btn__price {
  padding-left: 14px; border-left: 1px solid rgba(15, 28, 46, 0.25);
  font-variant-numeric: tabular-nums; font-weight: 700;
}

.link-quiet {
  color: var(--on-dark); text-decoration: underline; text-decoration-color: rgba(232, 238, 245, 0.35);
  text-underline-offset: 5px; font-weight: 500;
}
.link-quiet:hover { text-decoration-color: var(--steel); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 28, 46, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--navy-line);
  color: var(--on-dark);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.wordmark {
  font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -0.01em;
  color: var(--white); text-decoration: none; white-space: nowrap;
}
.nav__links { display: none; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; }
.nav__links a:hover { color: var(--white); }
.nav__end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { display: flex; border: 1px solid var(--navy-line); border-radius: 6px; padding: 2px; }
.lang button {
  background: none; border: 0; cursor: pointer;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--on-dark-muted); padding: 6px 8px; border-radius: 4px; min-width: 34px;
}
.lang button[aria-pressed="true"] { background: rgba(143, 180, 227, 0.18); color: var(--white); }
.lang button:hover { color: var(--white); }
.nav .btn--sm { display: none; }

@media (min-width: 560px) { .nav .btn--sm { display: inline-flex; } }
@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__end { margin-left: 32px; }
}

/* Hero */
.hero {
  position: relative;
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--navy-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: -1px -1px;
  color: var(--on-dark);
  padding-top: clamp(48px, 8vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 30% 35%, rgba(15, 28, 46, 0.2), var(--navy) 85%);
}
.hero > * { position: relative; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__edition {
  display: flex; align-items: center; gap: 14px;
  color: var(--steel); font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
}
.hero__edition::before { content: ""; width: 48px; height: 1px; background: var(--steel); opacity: 0.7; }
.hero__title {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(48px, 8.4vw, 104px);
  line-height: 0.96; letter-spacing: -0.03em;
  font-variation-settings: "opsz" 72;
  color: var(--white);
  text-wrap: balance;
  max-width: 10ch;
}
.hero__lede {
  margin-top: 28px;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(21px, 2.2vw, 27px); line-height: 1.32;
  color: var(--on-dark); max-width: 30ch;
}
.hero__sub {
  margin-top: 18px; max-width: 54ch;
  color: var(--on-dark-muted); font-size: 17px;
}
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__delivery { margin-top: 16px; font-size: 14px; color: var(--on-dark-muted); }

.hero__book { display: flex; justify-content: center; perspective: 1600px; }

/* Book mockup */
.book {
  --w: min(62vw, 360px);
  position: relative; width: var(--w); aspect-ratio: 935 / 1210;
  transform: rotateY(-22deg) rotateX(4deg);
  transform-style: preserve-3d;
  animation: book-in 1.2s cubic-bezier(.2, .7, .2, 1) both 0.15s;
}
.book__cover {
  position: absolute; inset: 0; container-type: inline-size; border-radius: 2px 5px 5px 2px; overflow: hidden;
  box-shadow:
    inset 4px 0 6px -2px rgba(255, 255, 255, 0.12),
    0 40px 80px -30px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(143, 180, 227, 0.22);
  transform: translateZ(14px);
}
.book__cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0.10) 0%, transparent 18%, transparent 70%, rgba(255,255,255,0.05) 100%);
}
.cover {
  position: absolute; inset: 0;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(143, 180, 227, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 180, 227, 0.07) 1px, transparent 1px);
  background-size: 6cqw 6cqw;
  padding: 20cqw 9cqw 0 12cqw; color: var(--white);
}
.cover__kicker {
  display: flex; align-items: center; gap: 3cqw;
  font-size: 2.3cqw; letter-spacing: 0.18em; color: var(--on-dark-muted); font-weight: 500;
}
.cover__kicker::before { content: ""; width: 10cqw; height: 1px; background: var(--steel); }
.cover__title {
  margin-top: 6cqw; font-family: var(--sans); font-weight: 700;
  font-size: 10.5cqw; line-height: 1.02; letter-spacing: -0.02em; max-width: 11ch;
}
.cover__sub { margin-top: 5cqw; font-family: var(--serif); font-size: 3.4cqw; line-height: 1.45; color: var(--on-dark); max-width: 34ch; }
.cover__stats {
  margin-top: 8cqw; padding-top: 3.5cqw; border-top: 1px solid rgba(143, 180, 227, 0.3);
  display: grid; grid-template-columns: repeat(4, 1fr); max-width: 70cqw;
}
.cover__stats span { display: flex; flex-direction: column; gap: 1cqw; padding-left: 2.5cqw; border-left: 1px solid rgba(143, 180, 227, 0.22); }
.cover__stats span:first-child { padding-left: 0; border-left: 0; }
.cover__stats b { font-family: var(--serif); font-weight: 400; font-size: 4.6cqw; line-height: 1; }
.cover__stats i { font-style: normal; font-size: 1.9cqw; color: var(--on-dark-muted); line-height: 1.2; }
.cover__chain { position: absolute; left: -2cqw; right: -6cqw; bottom: 9cqw; }
.cover__chain svg { width: 100%; height: auto; display: block; }
.book__pages {
  position: absolute; top: 5px; bottom: 5px; left: calc(100% - 2px); width: 26px;
  transform-origin: left center;
  transform: translateZ(13px) rotateY(90deg);
  background: repeating-linear-gradient(90deg, #DCE2E8 0 1px, #F7F9FA 1px 3px);
}
@keyframes book-in {
  from { opacity: 0; transform: rotateY(-38deg) rotateX(6deg) translateY(24px); }
  to { opacity: 1; transform: rotateY(-22deg) rotateX(4deg); }
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.25fr 1fr; gap: 64px; }
  .book { --w: 380px; }
}

/* Stats */
.stats {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--navy-line);
}
.stats > div { padding: 22px 0 6px; display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dd {
  font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1; color: var(--white); font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.02em;
}
.stats dt { font-size: 14px; color: var(--on-dark-muted); }
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats > div + div { padding-left: 28px; border-left: 1px solid var(--navy-line); }
}
@media (max-width: 719px) {
  .stats > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--navy-line); }
}

/* Chain */
.chain { margin-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(36px, 5vw, 56px); }
.chain__scroll { overflow: hidden; }
#chain {
  display: block; width: 100%; min-width: 760px; max-width: 1280px; height: auto; margin: 0 auto;
  font-family: var(--sans);
}
@media (max-width: 759px) {
  #chain { margin-left: -24px; }
}
.chain__bond { fill: none; stroke: rgba(143, 180, 227, 0.35); stroke-width: 1.2; }
.chain__res circle { fill: var(--navy); stroke: rgba(143, 180, 227, 0.45); stroke-width: 1.1; }
.chain__res text { fill: var(--on-dark-muted); font-size: 12px; font-weight: 500; }
.chain__res.is-mod circle { fill: #2B4A72; stroke: var(--steel); stroke-width: 1.4; }
.chain__res .chain__modlabel { fill: var(--on-dark); font-size: 12px; }
.chain__res .chain__num { fill: rgba(157, 174, 194, 0.55); font-size: 10px; }
.chain__tail { fill: none; stroke: var(--steel); stroke-width: 1.1; }
.chain__note { fill: var(--steel); font-size: 12px; font-family: var(--sans); }
.chain__caption { margin-top: 10px; font-size: 13px; color: var(--on-dark-muted); font-family: var(--serif); font-style: italic; }

.chain__svg:not(.is-static) .chain__res { opacity: 0; }
.chain__svg.is-drawn .chain__bond { transition: stroke-dashoffset 2.6s cubic-bezier(.45, .05, .3, 1) 0.5s; stroke-dashoffset: 0 !important; }
.chain__svg.is-drawn .chain__res { animation: res-in 0.5s ease-out both; animation-delay: calc(0.55s + var(--i) * 62ms); }
.chain__svg.is-drawn .chain__res.is-mod circle { animation: res-pulse 1.4s ease-out both; animation-delay: calc(0.75s + var(--i) * 62ms); }
@keyframes res-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes res-pulse { 0% { fill: var(--steel); } 100% { fill: #2B4A72; } }

/* Sections */
.section { padding: var(--section) 0; }

/* Problem */
.problem .h2 { max-width: 24ch; }
.table-scroll { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.compare {
  width: 100%; min-width: 760px; border-collapse: collapse;
  font-size: 15.5px; line-height: 1.45;
}
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--rule); }
.compare thead th { font-weight: 600; font-size: 14px; color: var(--muted); padding-bottom: 14px; border-bottom-color: var(--text); }
.compare tbody th { font-weight: 600; width: 20%; color: var(--text); }
.compare td { color: var(--muted); width: 22%; }
.compare .is-book {
  width: 36%; color: var(--text); background: var(--paper); padding-left: 20px;
}
.compare thead .is-book {
  color: var(--white); background: var(--navy); border-bottom-color: var(--navy);
  font-family: var(--serif); font-weight: 500; font-size: 17px; border-radius: 6px 6px 0 0;
}
.compare tbody tr:last-child .is-book { border-radius: 0 0 6px 6px; border-bottom-color: transparent; }
.compare tbody .is-book { position: relative; padding-left: 44px; }
.compare tbody .is-book::before {
  content: ""; position: absolute; left: 20px; top: 23px; width: 12px; height: 7px;
  border-left: 2px solid var(--steel-deep); border-bottom: 2px solid var(--steel-deep);
  transform: rotate(-45deg);
}

/* Evidence */
.evidence { background: var(--paper); }
.dist { margin-bottom: 48px; }
.dist__label { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.dist__bar { display: flex; gap: 3px; height: 64px; }
.dist__seg {
  flex-basis: 0; min-width: 36px; border-radius: 3px;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 8px 10px; font-variant-numeric: tabular-nums;
}
.dist__g { font-family: var(--serif); font-size: 22px; line-height: 1; font-weight: 500; }
.dist__n { font-size: 13px; font-weight: 600; }
.dist__seg--A { background: var(--g-A); color: var(--white); }
.dist__seg--B { background: var(--g-B); color: var(--white); }
.dist__seg--C { background: var(--g-C); color: var(--navy); }
.dist__seg--D { background: var(--g-D); color: var(--navy); }
.dist__seg--E { background: var(--g-E); color: var(--navy); box-shadow: inset 0 0 0 1px var(--rule); }
.dist__seg--E .dist__n { display: none; }
@media (max-width: 520px) { .dist__seg { padding: 8px 6px; } .dist__n { display: none; } }
.dist__legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; }
.dist__item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.dist__key {
  width: 22px; height: 22px; border-radius: 3px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 13px; font-weight: 600;
}
.dist__name { color: var(--text); }
.dist__count { color: var(--muted); font-variant-numeric: tabular-nums; }

.grades { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.grade {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--rule);
}
.grade__letter {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1;
}
.grade__letter--A { background: var(--g-A); color: var(--white); }
.grade__letter--B { background: var(--g-B); color: var(--white); }
.grade__letter--C { background: var(--g-C); color: var(--navy); }
.grade__letter--D { background: var(--g-D); color: var(--navy); }
.grade__letter--E { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--g-C); }
.grade__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.grade__head h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.grade__count { margin-left: auto; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.grade__desc { margin-top: 6px; color: var(--muted); max-width: 60ch; }
.grade__toggle {
  margin-top: 12px; background: none; border: 0; padding: 4px 0; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--steel-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.grade__toggle::after {
  content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s ease;
}
.grade__toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.grade__names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.grade__names li {
  font-size: 14px; padding: 4px 10px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--rule);
}

.pips { display: inline-flex; gap: 3px; }
.pips i { width: 14px; height: 4px; border-radius: 1px; background: var(--rule); }
.pips i.on { background: var(--navy); }

.evidence__foot { margin-top: 64px; display: grid; gap: 40px; }
@media (min-width: 900px) { .evidence__foot { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.pull {
  font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2vw, 25px); line-height: 1.42;
  color: var(--text); padding-left: 24px; border-left: 2px solid var(--steel-deep);
  max-width: 34ch;
}
.verified {
  display: grid; grid-template-columns: 40px 1fr; gap: 18px;
  background: var(--white); border: 1px solid var(--rule); border-radius: 4px; padding: 26px;
}
.verified__mark { width: 40px; height: 40px; color: var(--steel-deep); }
.verified h3 { font-size: 16px; font-weight: 700; }
.verified p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* Inside */
.inside__grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .inside__grid { grid-template-columns: 1fr 0.9fr; gap: 80px; align-items: start; } }
.anatomy { margin-top: 40px; counter-reset: a; border-top: 1px solid var(--rule); }
.anatomy li {
  counter-increment: a; position: relative;
  padding: 16px 0 16px 48px; border-bottom: 1px solid var(--rule);
}
.anatomy li::before {
  content: counter(a); position: absolute; left: 0; top: 16px;
  font-family: var(--serif); font-size: 15px; color: var(--steel-deep);
  font-variant-numeric: tabular-nums lining-nums; width: 28px;
}
.anatomy h3 { font-size: 16.5px; font-weight: 600; }
.anatomy p { font-size: 15px; color: var(--muted); margin-top: 2px; }

.specimen { position: relative; padding: 0 12% 18% 0; }
@media (min-width: 960px) { .specimen { position: sticky; top: 96px; } }
.specimen__page {
  display: block; width: 100%; padding: 0; border: 0; background: var(--white); cursor: zoom-in;
  border-radius: 3px; overflow: hidden;
  box-shadow: 0 1px 0 var(--rule), 0 30px 60px -28px rgba(15, 28, 46, 0.35), 0 0 0 1px rgba(15, 28, 46, 0.06);
  position: relative; z-index: 2;
  transition: transform 0.3s ease;
}
.specimen__page:hover { transform: translateY(-4px); }
.specimen__page--back {
  position: absolute; z-index: 1; width: 78%; right: 0; bottom: 0;
  transform: rotate(3deg);
}
.specimen__page--back:hover { transform: rotate(3deg) translateY(-4px); }

.gallery-wrap { margin-top: clamp(64px, 8vw, 104px); }
.gallery {
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: 180px;
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--edge) 16px; scroll-padding-inline: var(--edge);
  scrollbar-width: thin;
}
@media (max-width: 599px) { .gallery { grid-auto-columns: 44%; } }
.gallery li { scroll-snap-align: start; }
.gallery__item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.gallery__item img {
  width: 100%; border-radius: 2px; background: var(--white);
  box-shadow: 0 0 0 1px var(--rule), 0 14px 30px -18px rgba(15, 28, 46, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery__item:hover img { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--steel), 0 18px 36px -18px rgba(15, 28, 46, 0.45); }
.gallery__cap { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.gallery__note { margin-top: 12px; font-size: 13.5px; color: var(--muted); font-family: var(--serif); font-style: italic; }

/* Foundations */
.fund { background: var(--navy); color: var(--on-dark); }
.fund .lead { color: var(--on-dark-muted); }
.fund .h2 { color: var(--white); }
.fund__grid { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .fund__grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
  .fund__intro { position: sticky; top: 112px; align-self: start; }
}
.fund__list { counter-reset: f; display: grid; }
@media (min-width: 640px) { .fund__list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.fund__list li {
  counter-increment: f; padding: 22px 0; border-top: 1px solid var(--navy-line);
  display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; align-content: start;
}
.fund__list li::before {
  content: counter(f, decimal-leading-zero); grid-row: span 2;
  font-family: var(--serif); font-size: 15px; color: var(--steel); font-variant-numeric: tabular-nums lining-nums;
  padding-top: 2px;
}
.fund__list h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.25; color: var(--white); }
.fund__list p { margin-top: 6px; font-size: 15px; color: var(--on-dark-muted); }

/* Index / finder */
.index { background: var(--paper); }
.finder { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(16px, 3vw, 32px); }
.finder__search {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--rule); border-radius: 6px; padding: 0 16px; background: var(--paper);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.finder__search:focus-within { border-color: var(--steel-deep); background: var(--white); }
.finder__search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.finder__search input {
  flex: 1; min-width: 0; height: 52px; border: 0; background: none; outline: none;
  font: inherit; font-size: 17px; color: var(--text);
}
.finder__search input::placeholder { color: #8796A8; }
.finder__parts { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.finder__parts::-webkit-scrollbar { display: none; }
.chip {
  flex: none; background: none; border: 1px solid var(--rule); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--steel-deep); color: var(--text); }
.chip[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.finder__count { margin-top: 20px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.finder__list { margin-top: 8px; max-height: 520px; overflow-y: auto; border-top: 1px solid var(--rule); }
.row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center;
  padding: 13px 4px; border-bottom: 1px solid var(--rule);
}
.row__name { font-weight: 600; }
.row__part { grid-column: 1; font-size: 13.5px; color: var(--muted); }
.row__grade { grid-column: 1; grid-row: 3; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.row__gname { font-size: 13.5px; color: var(--muted); }
.row__page { grid-column: 2; grid-row: 1; justify-self: end; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.row__letter {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 14px; font-weight: 600;
}
.row__letter--A { background: var(--g-A); color: var(--white); }
.row__letter--B { background: var(--g-B); color: var(--white); }
.row__letter--C { background: var(--g-C); color: var(--navy); }
.row__letter--D { background: var(--g-D); color: var(--navy); }
.row__letter--E { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--g-C); }
.row__ungraded { font-size: 13px; color: var(--muted); }
@media (min-width: 760px) {
  .row { grid-template-columns: 1.2fr 1fr 1.25fr 76px; }
  .row__part, .row__grade, .row__page { grid-column: auto; grid-row: auto; }
  .row__grade { justify-self: start; margin-top: 0; }
}
.finder__empty { padding: 28px 4px; color: var(--muted); }

.extras { margin-top: 48px; display: grid; gap: 40px; }
@media (min-width: 760px) { .extras { grid-template-columns: 1fr 1fr; gap: 64px; } }
.extras h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--text); }
.extras li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }

/* Who */
.who__grid { margin-top: 48px; display: grid; gap: 40px; }
@media (min-width: 860px) { .who__grid { grid-template-columns: 1.3fr 1fr; gap: 72px; } }
.who__col h3 { font-size: 15px; font-weight: 700; padding-bottom: 14px; border-bottom: 1px solid var(--text); }
.who__col--no h3 { color: var(--muted); border-bottom-color: var(--rule); }
.ticks li, .crosses li {
  position: relative; padding: 18px 0 18px 36px; border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-size: 19px; line-height: 1.45;
}
.crosses li { color: var(--muted); font-size: 17.5px; }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: 26px; width: 13px; height: 7px;
  border-left: 2px solid var(--steel-deep); border-bottom: 2px solid var(--steel-deep); transform: rotate(-45deg);
}
.crosses li::before, .crosses li::after {
  content: ""; position: absolute; left: 3px; top: 30px; width: 14px; height: 1.6px; background: var(--muted);
  transform: rotate(45deg);
}
.crosses li::after { transform: rotate(-45deg); }

/* Offer */
.offer { background: var(--paper); padding: var(--section) 0; border-top: 1px solid var(--rule); }
.offer__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .offer__grid { grid-template-columns: 1fr 460px; gap: 80px; } }
.offer__visual { position: relative; margin-top: 48px; height: clamp(300px, 40vw, 420px); perspective: 1600px; }
.device {
  position: absolute; left: 0; bottom: 0; width: clamp(220px, 34vw, 330px); aspect-ratio: 3 / 4;
  background: #1B2534; border-radius: 22px; padding: 12px;
  box-shadow: 0 40px 70px -30px rgba(15, 28, 46, 0.55), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.device__screen { width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: var(--white); }
.device__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.book--small { --w: clamp(150px, 20vw, 210px); position: absolute; left: clamp(170px, 27vw, 270px); bottom: -6px; animation: none; transform: rotateY(-24deg) rotateX(3deg); }

.ticket {
  position: relative; background: var(--white); border-radius: 8px; padding: 32px;
  box-shadow: 0 0 0 1px var(--rule), 0 40px 80px -40px rgba(15, 28, 46, 0.35);
}
.ticket__head { padding-bottom: 22px; border-bottom: 1px dashed var(--rule); }
.ticket__name { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; letter-spacing: -0.01em; }
.ticket__edition { margin-top: 4px; color: var(--muted); font-size: 15px; }
.ticket__list { padding: 20px 0; display: grid; gap: 10px; }
.ticket__list li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.45; }
.ticket__list li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px;
  border-left: 2px solid var(--steel-deep); border-bottom: 2px solid var(--steel-deep); transform: rotate(-45deg);
}
.ticket__price { display: flex; align-items: baseline; gap: 12px; padding: 20px 0 22px; border-top: 1px dashed var(--rule); }
.ticket__amount {
  font-family: var(--serif); font-weight: 500; font-size: 52px; line-height: 1; letter-spacing: -0.025em;
  font-variant-numeric: lining-nums;
}
.ticket__note { color: var(--muted); font-size: 15px; }
.ticket__secure { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.ticket__secure svg { width: 16px; height: 16px; }

/* FAQ */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }
.faq__list { border-top: 1px solid var(--rule); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-family: var(--serif); font-size: 20px; line-height: 1.3; font-weight: 450;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--steel-deep); }
.qa__icon { position: relative; flex: none; width: 14px; height: 14px; }
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.6px; background: currentColor;
  transition: transform 0.25s ease;
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa p { padding: 0 40px 24px 0; color: var(--muted); max-width: 64ch; }

/* Final */
.final {
  background: var(--navy);
  background-image:
    linear-gradient(var(--navy-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--white); padding: clamp(80px, 11vw, 140px) 0;
}
.final__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.final__title {
  font-family: var(--serif); font-weight: 450; font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.04; letter-spacing: -0.025em; max-width: 18ch; text-wrap: balance;
}

/* Footer */
.footer { background: var(--navy); color: var(--on-dark-muted); border-top: 1px solid var(--navy-line); padding: 36px 0 120px; }
@media (min-width: 720px) { .footer { padding-bottom: 40px; } }
.footer__inner { display: grid; gap: 14px; font-size: 13.5px; }
.footer__disclaimer { max-width: 80ch; }

/* Sticky mobile bar */
.sticky {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(15, 28, 46, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white); border-radius: 10px; padding: 10px 10px 10px 16px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--navy-line);
  transform: translateY(140%); transition: transform 0.35s cubic-bezier(.2, .7, .2, 1);
}
.sticky.is-visible { transform: none; }
.sticky__info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky__name { font-family: var(--serif); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky__price { font-size: 14px; color: var(--steel); font-weight: 600; }
@media (min-width: 720px) { .sticky { display: none; } }

/* Lightbox */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(10, 18, 30, 0.94); color: var(--white);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox__fig { display: grid; justify-items: center; gap: 12px; padding: 56px 16px 24px; max-height: 100%; }
.lightbox__fig img { max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); width: auto; border-radius: 2px; background: var(--white); }
.lightbox__fig figcaption { font-size: 14px; color: var(--on-dark-muted); white-space: pre; }
.lightbox__btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(143, 180, 227, 0.14); color: var(--white); display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(143, 180, 227, 0.28); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
}
.footer__link { color: var(--on-dark); }
