:root {
  --bg: #0c0d0f;
  --bg-elev: #14161a;
  --text: #f2f3f5;
  --muted: #8b8f98;
  --accent: #ff5500;
  --accent-hot: #ff6a1a;
  --line: rgba(255, 255, 255, 0.08);
  --font-display: "Space Grotesk", Manrope, sans-serif;
  --font-body: Manrope, "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font: 500 16px/1.55 var(--font-body);
  background:
    radial-gradient(120% 90% at 50% -10%, #2a1208 0%, transparent 55%),
    radial-gradient(90% 60% at 100% 40%, rgba(255, 85, 0, 0.06), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

/* ---- Brand mark (SVG wordmark + stripes) ---- */

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-mark {
  display: block;
  width: auto;
  height: 1.15rem;
  max-width: 100%;
}

.site-nav .brand-mark {
  height: 1.2rem;
}

.brand-hero {
  /* Nudge right so stripe left edge lines up with the headline “R” */
  margin: 0.85rem 0 0 0.1rem;
  animation: hero-brand-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.brand-hero .brand-mark {
  height: clamp(2.6rem, 7vw, 4.5rem);
  width: auto;
}

.brand-cta .brand-mark {
  height: clamp(1.7rem, 3.2vw, 2.25rem);
}

.brand-foot .brand-mark {
  height: 1.05rem;
}

@keyframes brand-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-brand-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes hero-line-in {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes nav-drop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes veil-settle {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0 1.15rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-hot), var(--accent));
  color: #140a04;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 85, 0, 0.55);
  color: #fff;
}

.btn-lg {
  min-height: 50px;
  padding: 0 1.45rem;
  font-size: 0.82rem;
}

/* ---- Nav ---- */

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  height: 64px;
  padding: 0 var(--pad);
  background: rgba(12, 13, 15, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: nav-drop 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-left: 0.5rem;
  align-items: stretch;
  height: 64px;
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
}

/* ---- Hero ---- */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 12px var(--accent);
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(64px + 4rem) var(--pad) 4.5rem;
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 3px;
  background: repeating-linear-gradient(
    115deg,
    var(--accent) 0 18px,
    transparent 18px 30px
  );
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #08090b;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 45%;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 7.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide.is-leaving {
  opacity: 0;
  transform: scale(1.03);
  z-index: 2;
  transition:
    opacity 1.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.92) 0%, rgba(8, 9, 11, 0.55) 42%, rgba(8, 9, 11, 0.2) 70%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.95) 0%, transparent 42%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.55) 0%, transparent 28%);
  animation: veil-settle 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 36rem;
}

.hero h1 {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 .h1-lead,
.hero h1 .h1-sub {
  display: block;
}

.hero h1 .h1-lead {
  animation: hero-line-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.hero h1 .h1-sub {
  color: rgba(242, 243, 245, 0.72);
  font-weight: 600;
  letter-spacing: -0.02em;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.lede {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  max-width: 30rem;
  line-height: 1.6;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.54s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.66s both;
}

.hero-cta .btn {
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
}

.hero-cta .btn-primary {
  box-shadow: 0 0 0 0 rgba(255, 85, 0, 0);
}

.hero-cta .btn:hover {
  transform: translateY(-2px);
}

.hero-cta .btn-primary:hover {
  box-shadow: 0 10px 28px -12px rgba(255, 85, 0, 0.65);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Sections ---- */

.section {
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-copy {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* About */

.about {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.about-stage {
  position: relative;
  min-height: clamp(22rem, 52vh, 34rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.about-shot {
  position: absolute;
  inset: 0;
  margin: 0;
}

.about-shot img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}

.about-intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 34rem;
  min-height: inherit;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: linear-gradient(
    90deg,
    rgba(8, 9, 11, 0.92) 0%,
    rgba(8, 9, 11, 0.72) 55%,
    transparent 100%
  );
}

.about-intro h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
}

.about-intro p:not(.eyebrow) {
  margin: 0;
  color: #b9bcc4;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 28rem;
}

.about-feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.feat {
  display: grid;
  gap: 0.55rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: rgba(18, 19, 22, 0.92);
}

.feat-n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.feat h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.feat p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 18rem;
}

/* Modes: sliding panel (neighbors move L/R as focus shifts) */

.modes {
  padding-bottom: clamp(3rem, 6vw, 4rem);
}

.modes-head {
  margin-bottom: 2rem;
}

.mode-rail {
  --mode-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mode-dur: 0.75s;
  display: grid;
  /* Explicit 1fr list (not repeat()) so first hover + leave interpolate like card↔card */
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: var(--max);
  height: min(34rem, 70vh);
  margin: 0 auto;
  padding: 0 var(--pad);
  background: none;
  transition: grid-template-columns var(--mode-dur) var(--mode-ease);
}

/* Focused panel grows; others slide left/right into the freed space */
.mode-rail[data-active="0"] {
  grid-template-columns: 2.45fr 0.85fr 0.85fr 0.85fr;
}

.mode-rail[data-active="1"] {
  grid-template-columns: 0.85fr 2.45fr 0.85fr 0.85fr;
}

.mode-rail[data-active="2"] {
  grid-template-columns: 0.85fr 0.85fr 2.45fr 0.85fr;
}

.mode-rail[data-active="3"] {
  grid-template-columns: 0.85fr 0.85fr 0.85fr 2.45fr;
}

.mcard {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.35s ease;
}

.mode-rail[data-active] .mcard.is-active,
.mcard:focus-visible {
  border-color: rgba(255, 85, 0, 0.7);
  outline: none;
}

.mcard img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.8);
  transform: scale(1.03);
  transition:
    transform var(--mode-dur) var(--mode-ease),
    filter 0.55s ease;
}

.mcard.is-active img {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(0.95);
}

.mcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(8, 9, 11, 0.35) 0%,
    transparent 30%,
    rgba(8, 9, 11, 0.96) 100%
  );
}

.mcard-tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-width: calc(100% - 2rem);
}

.mcard-tag {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: #140a04;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mcard-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  max-width: 100%;
  padding: 1.4rem;
  pointer-events: none;
}

/* Title stays last in the stack (bottom). Details open above it in-flow. */
.mcard h3 {
  order: 3;
  margin: 0;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  transition: color 0.45s var(--mode-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.mode-rail[data-active] .mcard.is-active h3 {
  color: var(--accent);
}

.mcard p {
  order: 1;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  color: #c9ccd3;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 18rem;
  opacity: 0;
  transform: translateY(10px);
  transition:
    max-height 0.55s var(--mode-ease),
    margin 0.55s var(--mode-ease),
    opacity 0.4s var(--mode-ease),
    transform 0.4s var(--mode-ease);
}

.mcard ul {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  list-style: none;
  opacity: 0;
  transform: translateY(8px);
  transition:
    max-height 0.55s var(--mode-ease),
    margin 0.55s var(--mode-ease),
    opacity 0.4s var(--mode-ease),
    transform 0.4s var(--mode-ease);
}

.mcard li {
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

/* IN: details expand above the title; no overlap */
.mcard.is-active p {
  max-height: 5.5rem;
  margin-bottom: 0.7rem;
  opacity: 1;
  transform: none;
  transition-delay: 0.12s, 0.12s, 0.18s, 0.18s;
}

.mcard.is-active ul {
  max-height: 2.75rem;
  margin-bottom: 0.75rem;
  opacity: 1;
  transform: none;
  transition-delay: 0.16s, 0.16s, 0.26s, 0.26s;
}

/* OUT: collapse layout space so other titles stay aligned */
.mcard:not(.is-active) p,
.mcard:not(.is-active) ul {
  transition-delay: 0s;
}

/* How */

.how {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.steps {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* CTA */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
}

/* Launcher-style orange edge wash; beads down L/R when CTA is on screen */
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(48vw, 26rem);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta::before {
  left: 0;
  background:
    radial-gradient(ellipse 100% 85% at 0% 18%, rgba(255, 85, 0, 0.28), transparent 72%),
    radial-gradient(circle 420px at 0% 55%, rgba(255, 85, 0, 0.1), transparent 70%);
}

.cta::after {
  right: 0;
  background:
    radial-gradient(ellipse 100% 85% at 100% 18%, rgba(255, 85, 0, 0.28), transparent 72%),
    radial-gradient(circle 420px at 100% 55%, rgba(255, 85, 0, 0.1), transparent 70%);
}

.cta.is-lit::before,
.cta.is-lit::after {
  opacity: 1;
}

.cta-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem 3rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
}

.cta-copy {
  flex: 1 1 18rem;
  max-width: 32rem;
}

.cta-copy .eyebrow {
  margin-bottom: 0.65rem;
}

.cta-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
}

.cta-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 28rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex: 0 0 auto;
}

/* Ranks / Elo path */

.ranks {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
}

.ranks-head {
  margin-bottom: 2.25rem;
}

.rank-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: var(--max);
  margin: 0 auto 1.5rem;
  padding: 1.25rem 0 0.5rem;
}

.rank-path::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: calc(1.25rem + 1.55rem);
  height: 2px;
  background: linear-gradient(
    90deg,
    #c48a5a,
    #b9c1ce,
    #e2b44f,
    #5fd6c9,
    #5aa9ff,
    #b672ff,
    #ff5c62,
    #ff5500
  );
  opacity: 0.55;
  pointer-events: none;
}

.rank-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.25rem 0.5rem;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.rank-node:hover,
.rank-node:focus-visible,
.rank-node.is-on {
  transform: translateY(-4px);
  outline: none;
}

.rank-shield {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.3rem;
  border-radius: 50%;
  background: rgba(12, 13, 15, 0.92);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--rk) 45%, transparent);
  transition:
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.rank-shield svg {
  width: 1.85rem;
  height: auto;
}

.rank-shield path:first-of-type {
  fill: var(--rk);
  fill-opacity: 0.18;
  stroke: var(--rk);
  stroke-width: 1.6;
}

.rank-shield path:nth-of-type(2) {
  fill: none;
  stroke: var(--rk);
  stroke-opacity: 0.45;
  stroke-width: 1.2;
}

.rank-node.is-on .rank-shield,
.rank-node:hover .rank-shield,
.rank-node:focus-visible .rank-shield {
  background: color-mix(in srgb, var(--rk) 16%, #0c0d0f);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--rk) 70%, transparent),
    0 0 28px color-mix(in srgb, var(--rk) 35%, transparent);
}

.rank-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.15;
}

.rank-elo {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.rank-node.is-on .rank-elo,
.rank-node:hover .rank-elo {
  color: var(--rk);
}

.rank-node-apex .rank-name {
  color: var(--accent);
}

.rank-spotlight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.35rem 1.75rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(80% 120% at 0% 50%, color-mix(in srgb, var(--rk, #ff5500) 18%, transparent), transparent 60%),
    rgba(18, 19, 22, 0.65);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.rank-spot-badge {
  width: 5.5rem;
  height: 5.9rem;
}

.rank-spot-badge svg {
  width: 100%;
  height: 100%;
}

.rank-spot-badge path {
  fill: var(--rk, #c48a5a);
  fill-opacity: 0.16;
  stroke: var(--rk, #c48a5a);
  stroke-width: 1.5;
}

.rank-spot-badge text {
  font-family: var(--font-display);
  font-weight: 700;
  fill: var(--rk, #c48a5a);
}

.rank-spot-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rk, var(--accent));
}

.rank-spot-copy h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
}

.rank-spot-desc {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.rank-divs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.rank-divs li {
  padding: 0.3rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--rk, #fff) 35%, transparent);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e8eaef;
  background: rgba(0, 0, 0, 0.28);
}

.rank-divs li span {
  color: var(--muted);
  font-weight: 500;
  margin-left: 0.35rem;
}

/* Footer */

.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  padding: 1.75rem var(--pad) 2.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-foot p {
  margin: 0;
  flex: 1 1 16rem;
}

.foot-links {
  display: flex;
  gap: 1.1rem;
}

.foot-links a:hover {
  color: #fff;
}

/* Toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 50;
  transform: translateX(-50%) translateY(12px);
  max-width: min(92vw, 28rem);
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 85, 0, 0.4);
  background: rgba(18, 19, 22, 0.96);
  color: var(--text);
  font-size: 0.9rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(4px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.mcard.reveal {
  transition-delay: 0s;
}

.mcard.reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.mcard.reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.mcard.reveal:nth-child(4) {
  transition-delay: 0.18s;
}

/* ---- Responsive ---- */

@media (max-width: 980px) {
  .about-feats {
    grid-template-columns: 1fr;
  }

  .about-intro {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(8, 9, 11, 0.55) 35%,
      rgba(8, 9, 11, 0.94) 100%
    );
    max-width: none;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .site-nav.is-open .nav-links,
  .site-nav.is-open .nav-actions {
    display: flex;
  }

  .site-nav.is-open {
    flex-wrap: wrap;
    height: auto;
    padding-top: 0.85rem;
    padding-bottom: 1rem;
  }

  .site-nav.is-open .nav-links {
    order: 3;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    margin: 0.75rem 0 0;
    gap: 0;
  }

  .site-nav.is-open .nav-links a {
    height: 44px;
    width: 100%;
  }

  .site-nav.is-open .nav-actions {
    order: 4;
    width: 100%;
    margin: 0.5rem 0 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    align-items: end;
    padding-bottom: 3rem;
  }

  .mode-rail,
  .mode-rail[data-active="0"],
  .mode-rail[data-active="1"],
  .mode-rail[data-active="2"],
  .mode-rail[data-active="3"] {
    grid-template-columns: 1fr;
    height: auto;
  }

  .mcard {
    min-height: 15rem;
  }

  .mcard p,
  .mcard ul {
    max-height: none;
    margin-bottom: 0.7rem;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mcard ul {
    margin-bottom: 0.75rem;
  }

  .rank-path {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem 0.5rem;
  }

  .rank-path::before {
    display: none;
  }

  .rank-spotlight {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .rank-spot-badge {
    width: 4.25rem;
    height: 4.5rem;
  }

  .steps li {
    grid-template-columns: 3.2rem minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .rank-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (hover: none) {
  .mcard p,
  .mcard ul {
    max-height: none;
    margin-bottom: 0.7rem;
    opacity: 1;
    transform: none;
  }

  .mcard ul {
    margin-bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide,
  .brand-hero,
  .hero h1 .h1-lead,
  .hero h1 .h1-sub,
  .lede,
  .hero-cta,
  .hero-veil,
  .site-nav,
  .mode-rail,
  .mcard,
  .mcard img,
  .mcard h3,
  .mcard p,
  .mcard ul,
  .progress,
  .reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }

  .hero-slide {
    opacity: 0 !important;
  }

  .hero-slide.is-active {
    opacity: 1 !important;
  }

  .brand-hero,
  .hero h1 .h1-lead,
  .hero h1 .h1-sub,
  .lede,
  .hero-cta,
  .site-nav,
  .hero-veil,
  .reveal {
    opacity: 1 !important;
  }
}
