@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrainsmono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #ffffff;
  --ink: #111111;
  --ink-flat: #0d0d0d;
  --ink-2: #5a5a5a;
  --wash: #f5f5f5;
  --wash-2: #efefef;
  --accent: #1f7a3d;
  --rail: 1200px;
  --sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shape: 999px;
  --soft: 10px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

h1, h2, h3 { font-weight: 700; margin: 0; letter-spacing: -0.03em; line-height: 1.02; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skiplink {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--shape);
  font-weight: 700; text-decoration: none;
}
.skiplink:focus { left: 16px; top: 12px; color: #fff; }

.beam { width: 100%; max-width: var(--rail); margin: 0 auto; padding-inline: 24px; }

.tag {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.015em;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

.standfirst { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 36em; }

.accentword { color: var(--accent); }

/* ---------- pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 26px;
  border-radius: var(--shape);
  font: inherit; font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  border: 0; background: none; color: var(--ink);
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.pill--fill { background: var(--ink); color: #fff; }
.pill--fill:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.pill--fill:active { transform: translateY(0); background: #17602f; }
.pill--edge { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill--edge:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.pill--edge:active { transform: translateY(0); box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent); }

.chip {
  display: inline-block;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.015em;
  padding: 5px 14px; border-radius: var(--shape);
  background: var(--wash); color: var(--ink);
}
.chip--quiet { background: none; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--wash-2); }

/* ---------- masthead ---------- */
.mast {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  transition: box-shadow .2s ease;
}
.mast.is-stuck { box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .45); }
.mast__rail { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.mast__mark {
  font-weight: 700; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; margin-right: auto;
}
.mast__mark:hover { color: var(--ink); }
.mast__mark-tail { color: var(--accent); }
.mast__nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.mast__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mast__link {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px;
  font-size: 15px; text-decoration: none; border-radius: var(--shape);
}
.mast__link:hover { background: var(--wash); color: var(--accent); }
.mast__cta { min-height: 48px; padding: 10px 22px; font-size: 15px; }
.mast__key {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 0; background: var(--wash); color: var(--ink); border-radius: var(--shape); cursor: pointer;
}
.mast__key-shut { display: none; }
.mast__key[aria-expanded="true"] .mast__key-open { display: none; }
.mast__key[aria-expanded="true"] .mast__key-shut { display: block; }

/* ---------- bands ---------- */
.band { padding-block: 80px; }
.band--crown { padding-block: 40px 64px; }
.band--start { padding-block: 64px; background: var(--wash); }
.band--shelf { padding-block: 96px; }
.band--notes { padding-block: 72px; }
.band--compare { padding-block: 84px; }
.band--ink { padding-block: 76px; background: var(--ink-flat); color: #fff; }
.band--voices { padding-block: 88px; }
.band--plans { padding-block: 72px; background: var(--wash); }
.band--talk { padding-block: 68px; }
.band--asked { padding-block: 84px; }
.band--desk { padding-block: 92px 96px; }

.head { margin-bottom: 44px; max-width: 46em; }
.head__title { font-size: clamp(30px, 4.4vw, 46px); margin: 10px 0 16px; }
.head--ink .tag { color: #b9b9b9; }
.head--ink .head__title { color: #fff; }

/* ---------- crown ---------- */
.crown { text-align: center; display: flex; flex-direction: column; align-items: center; }
.crown__tag { margin-bottom: 22px; }
.crown__title { font-size: clamp(38px, 7vw, 78px); letter-spacing: -0.035em; line-height: 0.98; max-width: 15em; }
.crown__lede { margin: 24px auto 0; text-align: center; }
.crown__acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 32px 0 0; }
.crown__frame { margin: 48px auto 0; width: 100%; max-width: 760px; }
.crown__frame img { width: 100%; border-radius: var(--soft); }
.crown__frame figcaption { margin-top: 12px; }
.ticker { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; list-style: none; margin: 44px 0 0; padding: 0; }
.ticker__node { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 108px; }
.ticker__node img { width: 56px; height: 56px; border-radius: 14px; }
.ticker__node .tag { font-size: 12px; text-align: center; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step__num { font-family: var(--mono); font-size: 44px; line-height: 1; color: var(--accent); display: block; }
.step__title { font-size: 22px; margin: 14px 0 10px; }
.step p { color: var(--ink-2); font-size: 16px; max-width: 30em; }

/* ---------- game rows ---------- */
.node {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; align-items: center; padding-block: 40px;
}
.node--flip .node__frame { order: 2; }
.node__frame img { width: 100%; border-radius: var(--soft); }
.node__frame--tall { display: flex; justify-content: center; }
.node__frame--tall img { max-width: 300px; }
.node--flip .node__frame--tall { justify-content: center; }
.node__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.node__title { font-size: clamp(24px, 3vw, 34px); }
.node__rate { display: flex; align-items: center; gap: 8px; margin: 12px 0 20px; color: var(--ink); }
.node__rate .star { fill: var(--accent); }
.node__body p { color: var(--ink-2); max-width: 34em; }
.node__body .node__title, .node__body .node__rate { color: var(--ink); }
.node__acts { margin-top: 26px; }

.ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px;
  background: var(--accent); border-radius: var(--shape);
}

/* ---------- notes / picks ---------- */
.picks { display: grid; gap: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pick--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; margin-bottom: 8px; }
.pick__frame { overflow: hidden; border-radius: var(--soft); background: var(--wash); }
.pick__frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 22%; }
.pick--lead .pick__frame img { aspect-ratio: 3 / 2; object-position: center 30%; }
.pick__body { padding-top: 20px; }
.pick--lead .pick__body { padding-top: 0; }
.pick__title { font-size: 22px; margin: 10px 0 12px; }
.pick p:not(.tag) { color: var(--ink-2); font-size: 16px; max-width: 32em; }

/* ---------- table ---------- */
.matrix { overflow-x: auto; }
.matrix:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.matrix__table { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 15px; }
.matrix__table caption { text-align: left; color: var(--ink-2); font-family: var(--mono); font-size: 13px; letter-spacing: 0.015em; padding-bottom: 18px; }
.matrix__table th, .matrix__table td { text-align: left; padding: 16px 18px; vertical-align: top; }
.matrix__table thead th { font-size: 13px; font-family: var(--mono); font-weight: 400; letter-spacing: 0.015em; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.matrix__table tbody th { font-weight: 700; font-size: 16px; }
.matrix__table tbody tr:nth-child(even) { background: var(--wash); }
.matrix__table td:last-child { font-family: var(--mono); font-size: 17px; }
.sigil { vertical-align: -3px; color: var(--accent); }
.sigil--no { color: var(--ink-2); }
.sigil--part { fill: var(--accent); color: var(--accent); }
.matrix__note { margin-top: 24px; color: var(--ink-2); font-size: 16px; max-width: 44em; }

/* ---------- figures band ---------- */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; }
.figure { padding-top: 20px; position: relative; }
.figure::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 4px; background: var(--accent); border-radius: var(--shape); }
.figure__num { font-size: clamp(44px, 6vw, 64px); font-weight: 700; letter-spacing: -0.04em; margin: 0; line-height: 1; }
.figure__label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.015em; color: #b9b9b9; margin-bottom: 14px; max-width: 16em; }
.figures__note { margin-top: 40px; color: #b9b9b9; font-size: 16px; max-width: 42em; }

/* ---------- voices ---------- */
.chatters { columns: 2; column-gap: 40px; }
.chatter { margin: 0 0 32px; break-inside: avoid; background: var(--wash); border-radius: var(--soft); padding: 28px 30px; }
.chatter__stars { display: flex; gap: 3px; margin-bottom: 14px; }
.chatter__stars svg { fill: var(--accent); }
.chatter__stars .star--off { fill: #cfcfcf; }
.chatter__text { margin: 0; font-size: 19px; letter-spacing: -0.015em; line-height: 1.4; }
.chatter__who { margin-top: 18px; font-weight: 700; font-size: 15px; }
.chatter__who .tag { display: block; font-weight: 400; margin-top: 4px; }

/* ---------- plans ---------- */
.slabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.slab { background: var(--paper); border-radius: var(--soft); padding: 34px 34px 38px; }
.slab--plus { background: var(--ink-flat); color: #fff; }
.slab--plus .tag { color: #b9b9b9; }
.slab--plus .ticks li { color: #d6d6d6; }
.slab--plus .ticks li::before { background: #fff; }
.slab__price { margin: 18px 0 6px; }
.slab__amount { font-size: clamp(34px, 4vw, 44px); font-weight: 700; letter-spacing: -0.04em; }
.slab__per { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.slab--plus .slab__per { color: #b9b9b9; }
.slab__title { font-size: 20px; margin: 0 0 18px; }
.slab__acts { margin-top: 26px; }
.slab--plus .pill--fill { background: #fff; color: var(--ink-flat); }
.slab--plus .pill--fill:hover { background: var(--accent); color: #fff; }
.slabs__note { margin-top: 26px; color: var(--ink-2); font-size: 15px; max-width: 46em; }

/* ---------- contact the editors ---------- */
.talk { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; background: var(--wash); border-radius: var(--soft); padding: 46px 42px; max-width: var(--rail); }
.talk__body .head__title { margin: 10px 0 18px; }
.talk__note { color: var(--ink-2); font-size: 16px; max-width: 34em; margin-top: 16px; }
.talk__mail { margin: 0; display: flex; justify-content: flex-end; }
.talk__mail .pill { font-family: var(--mono); font-size: 15px; letter-spacing: 0.015em; font-weight: 400; }

/* ---------- faq ---------- */
.drops { display: grid; gap: 4px; width: 100%; }
.drop { background: var(--wash); border-radius: var(--soft); }
.drop__head { margin: 0; font-size: inherit; letter-spacing: inherit; }
.drop__key {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 68px; padding: 18px 28px; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 700; font-size: clamp(17px, 2vw, 20px); letter-spacing: -0.02em;
  color: var(--ink); text-align: left; border-radius: var(--soft);
}
.drop__key:hover { color: var(--accent); }
.drop__sign { flex: none; transition: transform .2s ease; color: var(--accent); }
.drop__key[aria-expanded="true"] .drop__sign { transform: rotate(45deg); }
.drop__body { padding: 0 28px 24px; }
.drop__body p { color: var(--ink-2); font-size: 16px; max-width: 46em; }

/* ---------- desk ---------- */
.bureau { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 56px; align-items: start; }
.bureau__body p { color: var(--ink-2); max-width: 36em; }
.bureau__body .head__title { margin: 12px 0 20px; }
.bureau__acts { margin-top: 28px; }
.facts { margin: 0; background: var(--wash); border-radius: var(--soft); padding: 28px 30px; }
.facts__row { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-block: 12px; }
.facts dt { font-family: var(--mono); font-size: 13px; letter-spacing: 0.015em; color: var(--ink-2); min-width: 96px; }
.facts dd { margin: 0; font-size: 15px; font-weight: 700; }

/* ---------- footer ---------- */
.foot { background: var(--paper); padding-block: 64px 40px; }
.foot__rail { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot__mark { font-weight: 700; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.foot__brandbox .foot__line { margin-top: 16px; }
.foot__line { color: var(--ink-2); font-size: 15px; }
.foot__head { font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: 0.015em; color: var(--ink-2); margin-bottom: 14px; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot__list a, .foot__line a { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; text-decoration: none; }
.foot__list a:hover, .foot__line a:hover { text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; margin-top: 52px; }
.foot__base p { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.015em; color: var(--ink-2); }

/* ---------- floating bits ---------- */
.uptick {
  position: fixed; right: 22px; bottom: 22px; z-index: 30;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--shape); background: var(--ink); color: #fff; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}
.uptick:hover { background: var(--accent); transform: translateY(-3px); }

.nudge { position: fixed; inset: auto 0 0 0; z-index: 50; padding: 16px; display: flex; justify-content: center; }
.nudge__box { width: 100%; max-width: 760px; background: var(--paper); border-radius: var(--soft); padding: 26px 28px; box-shadow: 0 18px 60px -18px rgba(0, 0, 0, .5); }
.nudge__title { font-size: 20px; margin-bottom: 10px; }
.nudge__text { color: var(--ink-2); font-size: 15px; }
.nudge__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.nudge__acts .pill { min-height: 48px; padding: 10px 24px; font-size: 15px; }

/* ---------- legal pages ---------- */
.doc { padding-block: 56px 88px; }
.doc__title { font-size: clamp(32px, 5vw, 54px); margin-bottom: 16px; }
.doc__meta { margin-bottom: 34px; }
.doc__back { margin-top: 44px; }
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 44px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent); }

.ribbon { padding-block: 96px 120px; text-align: center; }
.ribbon__title { font-size: clamp(40px, 8vw, 88px); letter-spacing: -0.04em; }
.ribbon__lede { margin: 18px auto 0; }
.ribbon__acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .mast__key { display: inline-flex; }
  .mast__nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); padding: 12px 24px 28px;
    flex-direction: column; align-items: stretch; gap: 12px;
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55);
    display: none;
  }
  .mast__nav.is-open { display: flex; }
  .mast__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .mast__link { min-height: 52px; padding: 0 14px; font-size: 17px; }
  .mast__cta { align-self: flex-start; }
  .bureau, .talk { grid-template-columns: minmax(0, 1fr); }
  .foot__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .band { padding-block: 56px; }
  .band--shelf, .band--desk, .band--asked, .band--voices { padding-block: 64px; }
  .node { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 28px; }
  .node--flip .node__frame { order: 0; }
  .picks { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .pick--lead { grid-column: auto; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pick--lead .pick__body { padding-top: 0; }
  .chatters { columns: 1; }
  .slabs { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .talk { padding: 32px 24px; }
  .talk__mail { justify-content: flex-start; }
  .head { margin-bottom: 32px; }
}

@media (max-width: 560px) {
  .beam { padding-inline: 18px; }
  .foot__rail { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .figures { grid-template-columns: minmax(0, 1fr); }
  .ticker { gap: 18px; }
  .ticker__node { width: 84px; }
  .crown__acts .pill { width: 100%; }
  .drop__key { padding: 16px 20px; }
  .drop__body { padding: 0 20px 20px; }
}

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