:root {
  --paper: #f2efe7;
  --paper-2: #e7e2d7;
  --ink: #11120f;
  --instrument: #080a0d;
  --muted: #565750;
  --line: rgba(8, 10, 13, .32);
  --lime: #c9ff18;
  --max: 1240px;
  --display: "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 17px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.metrika-pixel { position: absolute; left: -9999px; }
.shell { width: min(calc(100% - 128px), var(--max)); margin-inline: auto; }
.section-pad { padding-block: clamp(54px, 6.5vw, 88px); border-top: 1px solid var(--ink); }
section[id], section[aria-labelledby] { scroll-margin-top: 72px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.skip-link { position: fixed; left: 10px; top: 10px; z-index: 100; padding: 12px 16px; background: var(--lime); font-weight: 700; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 20; width: min(calc(100% - 128px), var(--max)); min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-inline: auto; background: var(--paper); border-bottom: 1px solid var(--ink); }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 18px; font-weight: 900; letter-spacing: .12em; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.edition { padding: 6px 10px; border: 1px solid var(--ink); font-family: var(--display); font-size: 12px; font-weight: 900; letter-spacing: .14em; }

.eyebrow { margin: 0 0 16px; color: var(--muted); font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: .17em; }
h1, h2, h3 { margin-top: 0; font-family: var(--display); text-transform: uppercase; }
h1 { max-width: 770px; margin-bottom: 30px; font-size: clamp(60px, 6.5vw, 104px); font-weight: 900; letter-spacing: -.035em; line-height: .88; }
h2 { max-width: 1010px; margin-bottom: clamp(30px, 4vw, 50px); font-size: clamp(46px, 5.8vw, 88px); font-weight: 900; letter-spacing: -.03em; line-height: .9; }
h3 { margin-bottom: 9px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; line-height: 1; }
p { margin-top: 0; }

.hero { min-height: calc(100svh - 62px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; padding-block: clamp(72px, 7vw, 96px); }
.hero-copy { grid-column: 1 / span 7; }
.hero-dossier { grid-column: 9 / -1; position: relative; min-width: 0; padding: 20px 14px 14px 0; }
.hero-contract { max-width: 760px; margin-bottom: 22px; font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; line-height: 1.42; }
.terms-line { max-width: 700px; margin-bottom: 24px; color: var(--muted); font-size: 14px; font-weight: 700; }
.dossier-tab { position: absolute; top: 0; right: 0; z-index: 3; padding: 7px 12px; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dossier-cover { position: relative; min-height: 500px; display: flex; flex-direction: column; padding: 30px; background: var(--paper-2); border: 1px solid var(--ink); box-shadow: 12px 12px 0 rgba(17,18,15,.1), 22px 22px 32px rgba(17,18,15,.12); overflow: hidden; }
.dossier-topline, .dossier-index { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bib-numeral { display: flex; align-items: center; justify-content: center; flex: 1; padding: 22px 0 16px; font-family: var(--display); font-size: clamp(70px, 8vw, 122px); font-weight: 900; letter-spacing: -.07em; line-height: .72; }
.bib-numeral i { margin-inline: .05em; font-style: normal; font-weight: 400; }
.dossier-seal { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding-top: 18px; border-top: 1px solid var(--ink); font-family: var(--display); font-size: 12px; font-weight: 900; letter-spacing: .12em; line-height: 1.2; }
.dossier-seal img { width: 36px; height: 36px; border-radius: 8px; }
.dossier-index { padding: 12px 0 0; border-top: 1px solid var(--ink); border-bottom: 0; }
.page-fold { position: absolute; right: -1px; bottom: -1px; width: 42px; height: 42px; background: var(--paper); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
figcaption strong { display: block; color: var(--ink); font-family: var(--display); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; }
figcaption span { display: block; margin-top: 2px; }

.access-gate { width: 100%; max-width: 650px; min-height: 60px; display: flex; align-items: center; padding: 14px 18px; border: 1px solid var(--ink); color: var(--muted); font-family: var(--body); font-size: 16px; line-height: 1.35; }
.access-gate:has(.primary-cta) { padding: 0; border: 0; }
.primary-cta { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: center; padding: 15px 20px; background: var(--lime); border: 2px solid var(--lime); color: var(--ink); font-family: var(--display); font-size: clamp(20px, 2vw, 25px); font-weight: 900; letter-spacing: .04em; text-align: center; text-decoration: none; }
.primary-cta:hover, .primary-cta:focus-visible { background: var(--paper); border-color: var(--lime); outline: 2px solid var(--ink); outline-offset: 3px; }
.gate-note { max-width: 650px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.rise { animation: rise .22s ease-out both; }
.hero-dossier.rise { animation-delay: .06s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.fit-lead { max-width: 850px; margin: -12px 0 26px; font-size: clamp(18px, 2vw, 22px); font-weight: 700; }
.fit-columns { display: grid; grid-template-columns: repeat(2, 1fr); border-block: 1px solid var(--ink); }
.fit-columns > div { padding: 36px 4vw 36px 0; }
.fit-columns > div + div { padding-left: 4vw; border-left: 1px solid var(--ink); }
.fit-columns p { margin-bottom: 0; }
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); }
.plain-list li:first-child { border-top: 0; }
.plain-list li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }

.fit-section { background: var(--paper-2); }
.reward-section { background: var(--paper); }
.reward-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; }
.reward-layout h2 { margin-bottom: 0; }
.reward-copy { align-self: end; font-size: 21px; }
.strong-note { padding-top: 22px; border-top: 1px solid var(--ink); font-weight: 700; }

.contract-section, .final-section { background: var(--instrument); color: var(--paper); }
.contract-section .eyebrow, .final-section .eyebrow { color: #adafa7; }
.requirements { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(242,239,231,.55); }
.requirements li { display: grid; grid-template-columns: 1fr 3fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid rgba(242,239,231,.55); }
.requirements li > span { color: var(--lime); font-family: var(--display); font-size: 40px; font-weight: 900; }
.requirements p { max-width: 720px; margin-bottom: 0; color: #bbbdb5; }
.source-truth { margin: 26px 0 8px; color: var(--lime); font-size: 18px; font-weight: 800; }
.dark-gate { margin-top: 32px; border-color: rgba(242,239,231,.65); color: #bbbdb5; }

.gps-tip { margin: 34px 0 28px; padding: 18px 20px; border: 1px solid var(--ink); background: var(--paper); font-size: 15px; }
.route-book { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: clamp(54px, 8vw, 100px); padding: clamp(54px, 7vw, 86px) clamp(24px, 5vw, 70px) 44px; background: var(--paper); border: 1px solid rgba(17,18,15,.55); box-shadow: 0 22px 55px rgba(17,18,15,.12); isolation: isolate; }
.route-book figure { position: relative; z-index: 3; width: 100%; margin: 0; }
.screen-bezel { aspect-ratio: 853 / 1844; padding: 5px; background: var(--instrument); border: 1px solid rgba(17,18,15,.75); box-shadow: 0 2px 4px rgba(17,18,15,.2), 0 18px 34px rgba(17,18,15,.18); overflow: hidden; }
.screen-bezel picture, .screen-bezel img { width: 100%; height: 100%; }
.screen-bezel img { object-fit: contain; background: var(--instrument); }
.book-leaf { position: absolute; z-index: -1; width: 42%; height: 78%; background: var(--paper-2); border: 1px solid rgba(17,18,15,.28); box-shadow: 0 12px 24px rgba(17,18,15,.08); }
.book-leaf-left { left: 3%; top: 8%; }
.book-leaf-right { right: 3%; bottom: 5%; }
.book-seam { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: rgba(17,18,15,.22); box-shadow: -7px 0 18px rgba(17,18,15,.08), 7px 0 18px rgba(17,18,15,.08); }
.timing-strip { position: absolute; z-index: 5; top: 20px; left: 50%; width: min(76%, 630px); height: 12px; display: flex; justify-content: space-between; align-items: stretch; background: var(--lime); transform: translateX(-50%); overflow: hidden; }
.timing-strip i { width: 1px; background: rgba(17,18,15,.55); }

.final-section { position: relative; }
.final-section::before { content: ""; position: absolute; top: 0; left: max(20px, calc((100% - var(--max)) / 2)); width: min(180px, 24vw); height: 5px; background: var(--lime); }
.final-layout { display: grid; grid-template-columns: 8fr 4fr; gap: 64px; align-items: end; }
.final-layout h2 { margin-bottom: 28px; }
.final-layout > div:first-child > p:last-child { max-width: 800px; color: #bbbdb5; }
.final-layout .access-gate { margin: 0; }

footer { min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding: 20px max(20px, calc((100% - var(--max)) / 2)); background: var(--ink); border-top: 1px solid rgba(242,239,231,.5); color: var(--paper); font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: .14em; }

@media (max-width: 900px) {
  .shell, .site-header { width: min(calc(100% - 40px), var(--max)); }
  .hero-copy { grid-column: 1 / -1; }
  .hero-dossier { grid-column: 3 / span 8; margin-top: 24px; }
  .fit-columns, .reward-layout, .final-layout { grid-template-columns: 1fr; gap: 40px; }
  .fit-columns > div { padding: 30px 0; }
  .fit-columns > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell, .site-header { width: calc(100% - 40px); }
  .section-pad { padding-block: 48px; }
  .site-header { min-height: 58px; }
  .brand img { width: 28px; height: 28px; }
  .hero { display: block; min-height: 0; padding-block: 48px 52px; }
  h1 { font-size: clamp(50px, 15.2vw, 68px); overflow-wrap: break-word; }
  h2 { font-size: clamp(40px, 12vw, 58px); overflow-wrap: break-word; }
  .hero-dossier { margin-top: 40px; padding: 15px 10px 10px 0; }
  .dossier-cover { min-height: 390px; padding: 24px 20px; }
  .bib-numeral { font-size: clamp(70px, 27vw, 110px); }
  .requirements li { grid-template-columns: 48px 1fr; gap: 15px; }
  .requirements li > span { font-size: 31px; }
  .route-book { grid-template-columns: 1fr; gap: 48px; padding: 58px 20px 34px; }
  .route-book figure { width: min(300px, calc(100vw - 40px)); margin-inline: auto; }
  .book-leaf { width: 84%; height: 40%; }
  .book-leaf-left { left: 3%; top: 5%; }
  .book-leaf-right { right: 3%; top: 53%; bottom: auto; }
  .book-seam { top: 18px; bottom: 18px; left: 50%; }
  .timing-strip { width: calc(100% - 40px); }
  footer { align-items: flex-start; }
}

@media (max-width: 350px) {
  .shell, .site-header { width: calc(100% - 32px); }
  .edition { padding: 7px 9px; font-size: 12px; }
  .brand { font-size: 19px; letter-spacing: .09em; }
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
}

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