:root {
  --deep: #08082a;
  --deck: #101040;
  --deck-2: #191952;
  --deck-3: #232366;
  --edge: #2f2f74;
  --edge-lift: #46dcf0;
  --ink: #f2f3fa;
  --ink-soft: #a7addb;
  --flare: #e01b3c;
  --flare-lift: #f43757;
  --flare-ink: #ffffff;
  --flare-run: linear-gradient(180deg, #f43757 0%, #d0122f 100%);
  --flare-run-lift: linear-gradient(180deg, #ff4f6c 0%, #e01b3c 100%);
  --plate-run: linear-gradient(135deg, #f43757 0%, #a80d26 100%);
  --beam: #46dcf0;
  --curve: 10px;
  --rail: 1110px;
  --pad: 15px;
  --type: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  font: 16px/1.6 var(--type);
  color: var(--ink);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
  overflow-wrap: break-word;
}
h1 { font-size: 40px; letter-spacing: -.5px; }
h2 { font-size: 29px; }
h3 { font-size: 21px; }
p { margin: 0 0 16px; overflow-wrap: break-word; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin-bottom: 7px; }
strong { font-weight: 700; }
a:focus-visible, label:focus-visible, .hop:focus-visible {
  outline: 3px solid var(--beam);
  outline-offset: 3px;
}

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 30px; }
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  border-radius: var(--curve);
  overflow: hidden;
}
th, td {
  padding: 13px 15px;
  border: 1px solid var(--edge);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
th { background: var(--deck-3); font-weight: 700; }
td { background: var(--deck-2); }
tbody tr:nth-child(even) td { background: var(--deck); }
td:first-child { font-weight: 700; }
table tr:first-child th:first-child { border-top-left-radius: var(--curve); }
table tr:first-child th:last-child { border-top-right-radius: var(--curve); }

.shell { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
.spine {
  max-width: calc(var(--rail) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad) 44px;
}
.hop { cursor: pointer; -webkit-user-select: none; user-select: none; }

.crown {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--deck);
  border-bottom: 1px solid var(--edge);
}
.crown__row {
  max-width: calc(var(--rail) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 66px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.emblem img { height: 44px; width: auto; }
.crown .emblem { margin-right: auto; }
.helm__list { display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; }
.helm__list li { margin: 0; }
.helm__list .hop {
  display: block;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.helm__list .hop:hover { background: var(--deck-2); border-color: var(--edge); }
.helm__pair { display: none; }
.crown__pair { display: flex; gap: 10px; }
.drawer-switch { position: absolute; opacity: 0; pointer-events: none; }
.stack-icon {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 7px;
  cursor: pointer;
}
.stack-icon span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}

.enter-btn, .signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 17px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s;
}
.enter-btn { background: var(--deck-2); color: var(--beam); border: 1px solid var(--beam); }
.enter-btn:hover { background: var(--deck-3); }
.signup-btn { background: var(--flare-run); color: var(--flare-ink); }
.signup-btn:hover { background: var(--flare-run-lift); }

@keyframes flare-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
.act-btn, .signup-btn, .voices__btn { will-change: transform; }
.act-btn:not(.act-btn--quiet), .signup-btn, .voices__btn {
  animation: flare-breathe 2.8s ease-in-out infinite;
}
.act-btn:not(.act-btn--quiet):hover, .signup-btn:hover, .voices__btn:hover {
  animation-play-state: paused;
  transform: scale(1.045);
}
.act-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 350px;
  min-height: 58px;
  margin: 10px auto 0;
  padding: 12px 22px;
  border-radius: var(--curve);
  background: var(--flare-run);
  color: var(--flare-ink);
  box-shadow: 0 6px 20px rgba(224, 27, 60, .32);
  font-size: 18px;
  font-weight: 700;
  transition: background .2s, transform .1s;
}
.act-btn:hover { background: var(--flare-run-lift); }
.act-btn:active { transform: scale(.98); }

.opening { padding: 30px 0 42px; text-align: center; }
.opening__head { margin-bottom: 18px; }
.opening__board {
  display: block;
  margin: 0 auto 24px;
  border-radius: var(--curve);
  overflow: hidden;
  border: 1px solid var(--edge);
}
.opening__board img { width: 100%; height: auto; }
.opening__lede { margin: 0 auto 22px; text-align: left; font-size: 17px; }
.opening__lede p:last-child { margin-bottom: 0; }
.plateau { margin: 6px 0 42px; }
.plateau .hop { display: block; }
.plateau img { width: 100%; border-radius: var(--curve); border: 1px solid var(--edge); }

.facts { margin: 0 0 46px; }
.facts__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  margin: 0 0 22px;
  padding: 12px 20px;
  border-radius: var(--curve);
  background: var(--plate-run);
  color: var(--flare-ink);
  text-align: center;
  font-size: 24px;
}
.facts td:first-child { width: 30%; }

.chapter, .shelf, .voices, .answers {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}
.chapter { margin: 0 0 46px; }
.chapter > h2 { margin-top: 6px; }
.chapter__head { text-align: center; }
.prose p, .prose li { font-size: 17px; }
.prose h3 { margin-top: 26px; }
.prose table { font-size: 15px; }
.prose > *:last-child { margin-bottom: 0; }

.balance__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.balance__pane {
  padding: 24px;
  border-radius: var(--curve);
  background: var(--deck);
  border: 1px solid var(--edge);
}
.balance__pane h3 { margin-bottom: 12px; }
.balance__pane ul { margin: 0; padding: 0; list-style: none; }
.balance__pane li { position: relative; padding-left: 27px; margin-bottom: 10px; }
.balance__pane li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.balance__pane--plus li::before { background: #3fd18a; }
.balance__pane--minus li::before { background: var(--flare-lift); }

.shelf { margin: 0 0 52px; }
.shelf > h2 { text-align: center; margin-bottom: 22px; }
.shelf__switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.shelf__switch li { margin: 0; }
.shelf__pick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  border-radius: 7px;
  background: var(--deck-2);
  border: 1px solid var(--edge);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.shelf__pick svg { fill: currentColor; flex: none; }
.shelf__pick:hover, .shelf__pick.live { background: var(--deck-3); border-color: var(--beam); }
.panel { display: none; }
.panel.live { display: block; }
.shelf__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 16px; }
.shelf__grid--logo { grid-template-columns: repeat(5, 1fr); gap: 18px 14px; }
.tile { display: block; color: var(--ink); }
.tile__art {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--deck-2);
  border: 1px solid var(--edge);
  aspect-ratio: 360 / 472;
}
.tile__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.tile:hover .tile__art { border-color: var(--beam); }
.tile:hover .tile__art img { transform: scale(1.04); }
.tile__name {
  display: block;
  margin-top: 9px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: break-word;
}
.tile small { display: block; font-size: 12px; color: var(--ink-soft); }
.tile--logo .tile__art {
  aspect-ratio: auto;
  height: 82px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #e7eaf6 100%);
  border-color: #c8cee6;
  padding: 8px;
}
.tile--logo .tile__art img { width: auto; height: auto; object-fit: contain; }
.tile--logo:hover .tile__art img { transform: none; }
.tile--logo .tile__name { text-align: center; font-size: 14px; }

.voices { margin: 0 0 52px; }
.voices > h2 { text-align: center; margin-bottom: 22px; }
.voices__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 20px;
  border-radius: var(--curve);
  background: var(--deck);
  border: 1px solid var(--edge);
}
.voices__label { font-size: 14px; color: var(--ink-soft); margin-bottom: 4px; }
.voices__score { display: flex; align-items: center; gap: 11px; }
.voices__score > span { font-size: 26px; font-weight: 700; }
.voices__score small { color: var(--ink-soft); font-size: 13px; }
.pips { display: inline-flex; gap: 2px; }
.pips svg { width: 18px; height: 18px; fill: var(--beam); }
.voices__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 7px;
  background: var(--flare-run);
  color: var(--flare-ink);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.voices__btn:hover { background: var(--flare-run-lift); }
.voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voice {
  padding: 20px;
  border-radius: var(--curve);
  background: var(--deck);
  border: 1px solid var(--edge);
  min-width: 0;
}
.voice__who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.voice__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--plate-run);
  font-weight: 700;
  font-size: 18px;
  color: var(--flare-ink);
}
.voice__who span { display: block; font-weight: 700; }
.voice__who small { color: var(--ink-soft); font-size: 12px; }
.voice__pips { margin-bottom: 10px; }
.voice p { margin: 0; font-size: 15px; }

.answers { margin: 0 0 38px; }
.answers > h2 { text-align: center; }
.answers__row {
  padding: 19px 24px;
  margin-bottom: 12px;
  border-radius: var(--curve);
  background: var(--deck);
  border: 1px solid var(--edge);
}
.answers__row h3 { font-size: 18px; margin-bottom: 8px; }
.answers__row p { margin: 0; font-size: 16px; }

.stamp { margin: 0 0 18px; }
.stamp__box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-radius: var(--curve);
  background: var(--deck);
  border: 1px solid var(--edge);
  font-size: 15px;
  color: var(--ink-soft);
}
.stamp__box svg { fill: var(--beam); flex: none; }

.base { background: var(--deck); border-top: 1px solid var(--edge); }
.base__row {
  max-width: calc(var(--rail) + var(--pad) * 2);
  margin: 0 auto;
  padding: 40px var(--pad);
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.base__row > * { min-width: 0; }
.base__brand .emblem img { height: 54px; width: auto; margin-bottom: 18px; }
.base__note { max-width: 400px; font-size: 14px; color: var(--ink-soft); }
.social-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.social-row a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--deck-2);
  border: 1px solid var(--edge);
}
.social-row a:hover { border-color: var(--beam); }
.social-row img, .social-row svg { width: 18px; height: 18px; }
.social-row svg { fill: var(--ink); }
.base__cols { display: flex; gap: 56px; }
.base-nav__label { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--ink); }
.base-nav__list { list-style: none; margin: 0; padding: 0; }
.base-nav__list li { margin-bottom: 8px; }
.base-nav__list .hop, .base-nav__list a { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.base-nav__list .hop:hover, .base-nav__list a:hover { color: var(--ink); text-decoration: underline; }

.till-row {
  max-width: calc(var(--rail) + var(--pad) * 2);
  margin: 0 auto;
  padding: 22px var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  border-top: 1px solid var(--edge);
}
.till-row img {
  height: 32px;
  width: auto;
  padding: 7px 13px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #e7eaf6 100%);
}
.crest-row {
  max-width: calc(var(--rail) + var(--pad) * 2);
  margin: 0 auto;
  padding: 20px var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 16px;
  border-top: 1px solid var(--edge);
}
.crest-row img { height: 40px; width: auto; opacity: .9; }
.crest-row a:hover img { opacity: 1; }
.crest-plate img {
  height: 34px;
  padding: 5px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #e7eaf6 100%);
  opacity: 1;
}
.base__legal {
  max-width: calc(var(--rail) + var(--pad) * 2);
  margin: 0 auto;
  padding: 20px var(--pad) 26px;
  border-top: 1px solid var(--edge);
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.base__legal p { margin: 0 0 7px; }
.base__legal p:last-child { margin-bottom: 0; }

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

@media (max-width: 1180px) {
  .crown__row { gap: 12px; }
  .helm__list .hop { padding: 8px 9px; font-size: 14px; }
  .shelf__grid--logo { grid-template-columns: repeat(5, 1fr); }
  .base__cols { gap: 34px; }
}
@media (max-width: 980px) {
  .shelf__grid--logo { grid-template-columns: repeat(4, 1fr); }
  .voices__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .shelf__grid { grid-template-columns: repeat(4, 1fr); }
  .stack-icon { display: flex; order: 3; }
  .crown__pair { order: 2; margin-left: auto; }
  .crown .emblem { margin-right: 0; }
  .helm {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    padding: 12px var(--pad) 20px;
    background: var(--deck);
    border-bottom: 1px solid var(--edge);
  }
  .drawer-switch:checked ~ .helm { display: block; }
  .drawer-switch:checked ~ .stack-icon span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .drawer-switch:checked ~ .stack-icon span:nth-child(2) { opacity: 0; }
  .drawer-switch:checked ~ .stack-icon span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .helm__list { flex-direction: column; gap: 0; }
  .helm__list .hop {
    padding: 12px 8px;
    font-size: 16px;
    border: 0;
    border-bottom: 1px solid var(--edge);
    border-radius: 0;
  }
  .helm__pair { display: flex; gap: 10px; margin-top: 16px; }
  .helm__pair > span { flex: 1; }
  .base__row { flex-direction: column; gap: 30px; }
  .base__note { max-width: none; }
}
@media (max-width: 700px) {
  :root { --pad: 18px; }
  h1 { font-size: 29px; }
  h2 { font-size: 23px; }
  h3 { font-size: 18px; }
  .prose p, .prose li, .opening__lede { font-size: 16px; }
  th, td { padding: 10px 9px; font-size: 13px; }
  .facts td:first-child { width: 36%; }
  .facts__head { font-size: 18px; min-height: 54px; }
  .shelf__switch { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .shelf__pick { height: 44px; font-size: 13px; gap: 5px; }
  .shelf__pick svg { width: 17px; height: 17px; }
  .shelf__grid { gap: 16px 12px; }
  .shelf__grid--logo { grid-template-columns: repeat(3, 1fr); }
  .tile__name { font-size: 14px; }
  .act-btn { min-height: 52px; font-size: 16px; }
  .voices__bar { flex-direction: column; align-items: flex-start; }
  .voices__btn { width: 100%; }
  .voices__grid { grid-template-columns: 1fr; }
  .balance__grid { grid-template-columns: 1fr; }
  .chapter, .shelf, .voices { margin-bottom: 34px; }
  .base__cols { gap: 28px; flex-wrap: wrap; }
  .crest-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .shelf__grid { grid-template-columns: repeat(3, 1fr); }
  .crown__row { gap: 8px; height: 60px; }
  .helm { top: 60px; }
  .crown__pair { gap: 6px; }
  .enter-btn, .signup-btn { height: 36px; padding: 0 11px; font-size: 13px; }
  .emblem img { height: 34px; }
  .stack-icon { width: 38px; padding: 8px; }
  .answers__row { padding: 16px 17px; }
  .crest-row { grid-template-columns: repeat(2, 1fr); }
  .till-row img { height: 22px; padding: 5px 9px; }
}
@media (max-width: 400px) {
  :root { --pad: 14px; }
  .emblem img { height: 28px; }
  .enter-btn, .signup-btn { padding: 0 9px; font-size: 12px; }
  .shelf__grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .shelf__grid--logo { grid-template-columns: repeat(2, 1fr); }
  .voice { padding: 16px; }
  .stamp__box { padding: 13px 15px; font-size: 14px; }
}
