:root {
  --bg: #0a0a0b;
  --surface: #131316;
  --surface-2: #1a1a1f;
  --line: #2a2a31;
  --text: #f4f4f0;
  --muted: #a3a3ac;
  --lime: #d7ff1f;
  --lime-ink: #0a0a0b;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: 16px;
  --tw: 200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
}

.logo {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.logo i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  margin-left: 4px;
  transform: translateY(1px);
}

.site-nav {
  display: none;
  gap: 4px;
  margin-left: 12px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface);
}

.head-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 4px 0 #8da80f;
}

.btn-lime:hover {
  background: #e4ff5c;
}

.btn-lime::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.7) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: glint 7.8s linear infinite;
  pointer-events: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: #3b3b44;
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: #55555f;
}

.btn-sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: var(--lime);
  margin: 0 0 12px;
  font-weight: 400;
}

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.94;
  margin: 0;
}

.hero {
  position: relative;
  padding: 36px 0 0;
  text-align: left;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -160px;
  width: 920px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(215, 255, 31, 0.16), rgba(215, 255, 31, 0));
  animation: pulse 7.8s linear infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(#000 0, transparent 70%);
  -webkit-mask-image: linear-gradient(#000 0, transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(54px, 15.5vw, 112px);
  max-width: 11ch;
}

.hero h1 b {
  color: var(--lime);
  font-weight: 400;
}

.hero-sub {
  margin: 18px 0 22px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 17px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
}

.flips {
  display: flex;
  gap: 10px;
  margin: 24px 0 28px;
  perspective: 600px;
}

.flip {
  flex: 1 1 0;
  max-width: 148px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 6px 8px;
  text-align: center;
  position: relative;
}

.flip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 9px);
  height: 1px;
  background: #000;
  opacity: 0.7;
}

.flip .num {
  display: block;
  font-family: var(--display);
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  transform-origin: 50% 0;
}

.flip .num.tick {
  animation: flipdown 0.26s ease-out;
}

.flip small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wall {
  position: relative;
  margin-top: 8px;
  padding: 6px 0 40px;
  display: grid;
  gap: 14px;
}

.wall-row {
  overflow: hidden;
}

.wall-track {
  display: flex;
  width: max-content;
  animation: slide 80s linear infinite;
}

.wall-row.rev .wall-track {
  animation-direction: reverse;
  animation-duration: 95s;
}

.wall:hover .wall-track,
.wall:focus-within .wall-track {
  animation-play-state: paused;
}

.wall-row.second {
  display: none;
}

.tile {
  position: relative;
  flex: 0 0 var(--tw);
  width: var(--tw);
  margin-right: 14px;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: #0c0c0e;
  border: 1px solid #25252b;
  transition: transform 0.2s var(--ease);
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-4px);
  border-color: #55555f;
}

.tile .tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  pointer-events: none;
}

.tile:hover .tag,
.tile:focus-visible .tag {
  opacity: 1;
  transform: none;
}

.tile svg {
  width: 100%;
  height: auto;
}

.tile:nth-child(3n + 1)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: glint 7s linear infinite;
  animation-delay: -2.3s;
  pointer-events: none;
}

.tile:nth-child(6n + 4)::after {
  animation-delay: -5.1s;
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(38px, 9.5vw, 76px);
  max-width: 14ch;
}

.section-lead {
  color: var(--muted);
  max-width: 52ch;
  margin: 14px 0 0;
}

.depth {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.depth-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  text-decoration: none;
}

.depth-row .fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: #1f1f25;
}

.depth-row.on {
  border-color: var(--lime);
}

.depth-row.on .fill {
  background: rgba(215, 255, 31, 0.16);
}

.depth-row > * {
  position: relative;
}

.depth-name {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  flex: 0 0 auto;
}

.depth-meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin-left: auto;
  text-align: right;
}

.depth-row.on .depth-meta {
  color: var(--text);
}

.depth-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 900;
  flex: 0 0 auto;
}

.axes-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.axis-tile {
  position: relative;
  padding: 14px 14px 16px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease);
}

.axis-tile:hover {
  transform: translateY(-4px);
  border-color: #55555f;
  background: var(--surface-2);
}

.axis-tile .n {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--lime);
}

.axis-tile h3 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.05;
}

.poles {
  margin-top: auto;
  padding-top: 12px;
}

.poles .track {
  position: relative;
  height: 4px;
  background: #2b2b33;
  border-radius: 2px;
}

.poles .track i {
  position: absolute;
  top: -4px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(215, 255, 31, 0.18);
  animation: pulse 7.8s linear infinite;
}

.poles .labels span:last-child {
  margin-left: auto;
  text-align: right;
}

.poles .labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 10px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.chips {
  margin-top: 26px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #3b3b44;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, var(--lime));
}

.chip[aria-pressed="true"] {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--lime);
}

.poster-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.poster-grid .tile {
  width: auto;
  margin-right: 0;
}

.faq {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 17px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 28px;
  color: var(--lime);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 62ch;
}

.final {
  margin-top: 56px;
  position: relative;
  overflow: hidden;
  padding: 34px 20px 28px;
  border-radius: 24px;
  background: var(--lime);
  color: var(--lime-ink);
}

.final::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: glint 7.8s linear infinite;
  pointer-events: none;
}

.final h2 {
  font-size: clamp(44px, 12vw, 108px);
  max-width: 11ch;
}

.final p {
  margin: 12px 0 22px;
  font-weight: 600;
  max-width: 40ch;
}

.final .btn {
  background: var(--lime-ink);
  color: var(--lime);
  box-shadow: none;
}

.final .btn::after {
  display: none;
}

.site-foot {
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

.q-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.q-main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px var(--pad) 20px;
  display: flex;
  flex-direction: column;
}

.q-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.q-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.q-link:hover:not(:disabled) {
  color: var(--text);
}

.q-link:disabled {
  opacity: 0.4;
  cursor: default;
}

.segs {
  display: flex;
  gap: 5px;
  margin-top: 6px;
}

.seg-group {
  flex: 1 1 0;
  display: flex;
  gap: 2px;
}

.seg {
  flex: 1 1 0;
  height: 8px;
  border-radius: 2px;
  background: #2b2b33;
  position: relative;
  overflow: hidden;
}

.seg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.seg.done::after {
  transform: scaleX(1);
}

.seg.now {
  box-shadow: inset 0 0 0 1px #fff;
}

.q-axis {
  margin: 18px 0 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 15px;
}

.q-axis > span:first-child {
  color: var(--lime);
  transition: opacity 0.2s var(--ease);
}

.q-axis.swap > span:first-child {
  opacity: 0;
}

.q-axis > span:last-child {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.q-text {
  margin: 14px 0 0;
  font-weight: 800;
  font-size: clamp(25px, 6.6vw, 40px);
  line-height: 1.13;
  letter-spacing: -0.02em;
  min-height: 3.4em;
}

.q-card {
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}

.q-card.out {
  transform: translateX(-36px);
  opacity: 0;
}

.q-card.pre {
  transform: translateX(36px);
  opacity: 0;
  transition: none;
}

.scale {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ans {
  width: 100%;
  min-height: clamp(56px, 8.6svh, 78px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}

.ans:hover {
  background: var(--surface-2);
  border-color: #55555f;
}

.ans .dot {
  flex: 0 0 auto;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  border: 2px solid #8a8a94;
  margin: calc((28px - var(--s)) / 2);
  box-sizing: content-box;
}

.ans[aria-pressed="true"] {
  background: var(--lime);
  color: var(--lime-ink);
  border-color: var(--lime);
}

.ans[aria-pressed="true"] .dot {
  border-color: var(--lime-ink);
  background: var(--lime-ink);
}

.ans:active {
  transform: scale(0.97);
}

.q-skip {
  margin: 10px auto 0;
  min-height: 48px;
}

.q-note {
  margin: auto 0 0;
  padding-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.result-main {
  padding: 22px 0 48px;
}

.result-grid {
  display: grid;
  gap: 28px;
}

.result-eyebrow {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: var(--lime);
}

.poster-hero {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #2e2e35;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.poster-hero svg {
  width: 100%;
  height: auto;
}

.poster-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: glint 7.8s linear infinite;
  pointer-events: none;
}

.share-row {
  width: min(100%, 440px);
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-status {
  width: min(100%, 440px);
  margin: 8px auto 0;
  min-height: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.result-side h2 {
  font-size: clamp(34px, 8.5vw, 56px);
  margin-bottom: 4px;
}

.result-line {
  color: var(--muted);
  margin: 10px 0 0;
  max-width: 52ch;
}

.block {
  margin-top: 34px;
}

.bars {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.bar-row .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.bar-row .nm {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bar-row .win {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bar-row .win.even {
  color: var(--muted);
}

.bar-row .rail {
  position: relative;
  height: 10px;
  margin-top: 8px;
  border-radius: 5px;
  background: #24242a;
}

.bar-row .rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  bottom: -3px;
  width: 1px;
  background: #4a4a54;
}

.bar-row .span {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 5px;
  background: var(--fc);
  transform-origin: var(--origin);
  animation: grow 0.32s var(--ease) both;
  animation-delay: calc(var(--i) * 45ms + 250ms);
}

.bar-row .dot {
  position: absolute;
  top: -4px;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--bg);
  box-sizing: border-box;
  animation: popin 0.3s var(--ease) both;
  animation-delay: calc(var(--i) * 45ms + 450ms);
}

.bar-row .ends {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.matches {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.match {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.match b {
  font-weight: 800;
  font-size: 16px;
}

.match small {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.match .pct {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 0.01em;
}

.match .meter {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 2px;
  background: #2b2b33;
  overflow: hidden;
}

.match .meter i {
  display: block;
  height: 100%;
  background: var(--fc);
}

@keyframes glint {
  0% {
    transform: translateX(-130%);
  }
  55%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes flipdown {
  from {
    transform: rotateX(-88deg);
    opacity: 0.2;
  }
  to {
    transform: rotateX(0);
    opacity: 1;
  }
}

@keyframes popin {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeup {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes confirm {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (min-width: 720px) {
  :root {
    --pad: 28px;
    --tw: 236px;
  }

  .site-nav {
    display: flex;
  }

  .hero {
    padding-top: 64px;
    text-align: center;
  }

  .hero h1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 24ch;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    font-size: 19px;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }

  .hero-cta .btn {
    min-width: 220px;
    width: auto;
  }

  .section h2 {
    font-size: clamp(38px, 5.4vw, 72px);
    max-width: 16ch;
  }

  .section .wrap.reveal {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: 56px;
  }

  .section .wrap.reveal > * {
    grid-column: 1 / -1;
  }

  .section .wrap.reveal > h2 {
    grid-column: 1;
  }

  .section .wrap.reveal > .section-lead {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin: 0 0 6px;
  }

  .flips {
    justify-content: center;
    margin: 22px 0 22px;
  }

  .flip {
    flex: 0 0 132px;
  }

  .wall-row.second {
    display: block;
  }

  .section {
    padding: 88px 0;
  }

  .axes-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .poster-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .depth-row {
    min-height: 84px;
    padding: 12px 24px;
  }

  .depth-name {
    font-size: 40px;
  }

  .final {
    padding: 64px 52px 56px;
  }

  .result-grid {
    grid-template-columns: minmax(320px, 440px) 1fr;
    gap: 64px;
    align-items: start;
  }

  .result-poster {
    position: sticky;
    top: 84px;
  }

  .poster-hero,
  .share-row,
  .share-status {
    margin-left: 0;
    margin-right: 0;
  }

  .q-text {
    min-height: 3.2em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .wall-row {
    overflow-x: auto;
  }

  .wall-track {
    width: auto;
  }

  .wall-track > .dup {
    display: none !important;
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.fade-up {
  animation: fadeup 0.4s var(--ease) both;
}

.fade-up.d1 {
  animation-delay: 0.08s;
}

.fade-up.d2 {
  animation-delay: 0.16s;
}

.btn.confirmed {
  animation: confirm 0.15s var(--ease);
}

.off .wall-track,
.off .tile::after,
.off.hero::before,
.off .btn-lime::after {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 719px) {
  .result-side > .eyebrow,
  #r-name {
    display: none;
  }

  #r-pct-wrap {
    margin-top: 6px !important;
  }
}

.depth-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}
