:root {
  --paper: #eef3ef;
  --card: #f8faf8;
  --ink: #17382e;
  --muted: #6f8179;
  --line: rgba(23, 56, 46, .13);
  --purple: #6957e8;
  --mint: #1eb98e;
  --red: #ed5864;
  --amber: #e4a52d;
  --blue: #51aee7;
  --shadow: 0 30px 80px rgba(30, 63, 51, .10);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #202128;
  --card: #2a2b35;
  --ink: #f1f2f6;
  --muted: #aaacb7;
  --line: rgba(220, 221, 235, .16);
  --shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.hidden { display: none !important; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.56), rgba(255,255,255,.56)),
    linear-gradient(90deg, rgba(37,72,59,.045) 1px, transparent 1px),
    linear-gradient(rgba(37,72,59,.045) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 40px 40px, 40px 40px, auto;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.guide-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 64px);
  background: rgba(238,243,239,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.guide-brand { display: inline-flex; align-items: center; color: var(--ink); direction: ltr; unicode-bidi: isolate; font-size: 21px; font-weight: 950; letter-spacing: -.08em; text-decoration: none; }
.guide-brand svg { width: 22px; height: 22px; margin: 0 -1px 0 1px; overflow: visible; }
.guide-brand svg .guide-brand__body { fill: #f3faf6; stroke: var(--purple); stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 1.1px rgb(157 145 255 / 82%)); }
.guide-brand svg .guide-brand__shot { fill: var(--purple); stroke: var(--purple); stroke-width: 1.15; stroke-linejoin: round; filter: drop-shadow(0 0 1.15px rgb(157 145 255 / 90%)); }
.guide-brand small { margin-left: 3px; color: var(--purple); font-size: 9px; font-weight: 950; letter-spacing: .02em; }
.guide-nav__actions { display: flex; align-items: center; gap: 12px; }
.guide-language { position: relative; direction: ltr; }
.guide-language-toggle {
  display: grid;
  width: 158px;
  height: 38px;
  grid-template-columns: auto 24px auto 9px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: var(--muted);
  background: rgba(255,255,255,.48);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.guide-language-caption { font-size: 7px; font-weight: 900; letter-spacing: .11em; }
.guide-language-toggle strong { color: var(--ink); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.language-flag { display: block; width: 24px; height: 17px; overflow: hidden; background: #fff; border-radius: 3px; box-shadow: 0 0 0 1px rgba(23,56,46,.16), 0 2px 5px rgba(23,56,46,.12); }
.guide-language-chevron { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.guide-language-toggle[aria-expanded="true"] .guide-language-chevron { transform: rotate(180deg); }
.guide-language-toggle:focus-visible,
.guide-language-menu .language-option:focus-visible { outline: 3px solid rgba(105,87,232,.34); outline-offset: 2px; }
.guide-language-menu {
  position: absolute;
  z-index: 60;
  top: 46px;
  left: 0;
  display: grid;
  width: min(358px, calc(100vw - 28px));
  max-height: min(430px, calc(100vh - 88px));
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 5px;
  padding: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  background: rgba(248,250,248,.99);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(25,49,41,.18);
}
.guide-language-menu .language-option {
  display: grid;
  min-width: 0;
  min-height: 43px;
  grid-template-columns: 28px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  color: #50635b;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.guide-language-menu .language-option .language-flag { width: 28px; height: 20px; border-radius: 4px; }
.guide-language-menu .language-option:hover { color: var(--purple); background: #f0edff; }
.guide-language-menu .language-option.is-current { color: #5745cf; background: #ebe7ff; border-color: rgba(105,87,232,.24); }
.guide-language-menu .language-option span { overflow: hidden; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.guide-language-menu .language-option small { color: #8d9c95; font-size: 7px; font-weight: 900; letter-spacing: .08em; }
.guide-language-menu .language-option.is-current small { color: #7668d7; }
.motion-toggle, .arena-link { height: 38px; border-radius: 999px; font-size: 8px; font-weight: 900; letter-spacing: .11em; }
.motion-toggle { display: flex; align-items: center; gap: 8px; padding: 0 15px; color: #597067; background: rgba(255,255,255,.48); border: 1px solid var(--line); cursor: pointer; }
.motion-toggle__dot { width: 6px; height: 6px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 4px rgba(30,185,142,.10); }
.motion-toggle[aria-pressed="true"] .motion-toggle__dot { background: var(--red); box-shadow: 0 0 0 4px rgba(237,88,100,.10); }
.arena-link { display: flex; align-items: center; gap: 14px; padding: 0 18px; color: #fff; background: var(--ink); text-decoration: none; }
.arena-link span { color: #8ce2c5; font-size: 14px; transition: transform .18s ease; }
.arena-link:hover span { transform: translateX(3px); }

main { overflow: hidden; }
[data-guide-section] { scroll-margin-top: 92px; }
.hero, .mechanic, .pace, .lifecycle, .worked-examples, .basics, .final-cta { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 5vw;
  padding: 90px 3vw 120px;
}
.kicker, .section-index { margin: 0 0 23px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.kicker { display: flex; align-items: center; gap: 11px; }
.kicker span { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 5px rgba(30,185,142,.11); }
h1, h2 { margin: 0; color: var(--ink); font-weight: 950; letter-spacing: -.07em; line-height: .88; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: clamp(58px, 7.2vw, 108px); }
h2 { font-size: clamp(44px, 4.6vw, 72px); }
h1 em, h2 em { color: var(--purple); font-style: normal; }
.hero-lede { width: min(620px, 92%); margin: 34px 0 28px; color: #526a60; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.55; }
.time-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.time-roles span { padding: 10px 14px; color: #547067; background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 999px; font-size: 9px; font-weight: 900; letter-spacing: .13em; }

.hero-orbit { position: relative; width: min(510px, 39vw); aspect-ratio: 1; justify-self: center; }
.hero-clock { position: absolute; z-index: 4; inset: 23%; display: grid; place-content: center; color: #fff; background: var(--ink); border: 13px solid rgba(255,255,255,.9); border-radius: 50%; text-align: center; box-shadow: 0 30px 65px rgba(23,56,46,.25); }
.hero-clock::after { position: absolute; inset: -20px; border: 1px solid rgba(105,87,232,.24); border-radius: 50%; content: ""; }
.hero-clock span { font-size: clamp(21px, 2.45vw, 36px); font-variant-numeric: tabular-nums; font-weight: 950; letter-spacing: -.045em; white-space: nowrap; }
.hero-clock small { margin-top: 7px; color: #99b7ac; font-size: 8px; font-weight: 900; letter-spacing: .17em; }
.hero-clock b { margin-top: 9px; color: #8ce2c5; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.orbit { position: absolute; border: 1px solid rgba(23,56,46,.18); border-radius: 50%; }
.orbit--outer { inset: 1%; animation: orbit-spin 18s linear infinite; }
.orbit--inner { inset: 15%; animation: orbit-spin 11s linear infinite reverse; }
.orbit i { position: absolute; width: 14px; height: 14px; background: var(--mint); border: 4px solid var(--paper); border-radius: 50%; box-shadow: 0 5px 13px rgba(23,56,46,.16); }
.orbit--outer i:nth-child(1) { top: 13%; left: 16%; width: 19px; height: 19px; background: var(--purple); }
.orbit--outer i:nth-child(2) { right: 0; top: 47%; }
.orbit--outer i:nth-child(3) { bottom: 7%; left: 24%; width: 11px; height: 11px; background: var(--amber); }
.orbit--inner i:nth-child(1) { left: -5px; top: 42%; background: var(--blue); }
.orbit--inner i:nth-child(2) { right: 9%; bottom: 8%; width: 18px; height: 18px; background: var(--red); }
.orbit-note { position: absolute; z-index: 5; padding: 8px 11px; color: var(--muted); background: rgba(248,250,248,.92); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 22px rgba(23,56,46,.08); font-size: 8px; font-weight: 950; letter-spacing: .14em; }
.orbit-note--one { top: 9%; right: 8%; }
.orbit-note--two { bottom: 14%; left: -1%; }
.orbit-note--three { bottom: 3%; right: 14%; }
.scroll-cue { position: absolute; bottom: 35px; left: 3vw; display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .16em; text-decoration: none; }
.scroll-cue i { display: grid; width: 31px; height: 31px; place-items: center; color: var(--purple); border: 1px solid rgba(105,87,232,.28); border-radius: 50%; font-style: normal; animation: cue-bob 1.8s ease-in-out infinite; }

.mechanic {
  display: grid;
  min-height: 780px;
  grid-template-columns: minmax(320px, .78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: clamp(42px, 6vw, 100px);
  padding: 120px 3vw;
  border-top: 1px solid var(--line);
}
.mechanic--reverse { grid-template-columns: minmax(560px, 1.22fr) minmax(320px, .78fr); }
.mechanic--reverse .mechanic-copy { grid-column: 2; grid-row: 1; }
.mechanic--reverse .arena-scene { grid-column: 1; grid-row: 1; }
.section-index { color: var(--purple); }
.mechanic-copy > p:not(.section-index) { max-width: 540px; margin: 31px 0 0; color: #5b7067; font-size: 16px; line-height: 1.65; }
.mechanic-copy strong { color: var(--ink); }
.rule-strip, .formula { display: flex; width: max-content; max-width: 100%; flex-wrap: wrap; align-items: center; row-gap: 7px; margin-top: 30px; padding: 11px 13px; background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 10px; }
.rule-strip span { color: #8a9993; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.rule-strip b { margin-left: 9px; color: var(--ink); font-size: 10px; }
.rule-strip i { width: 1px; height: 18px; margin: 0 16px; background: var(--line); }
.formula { gap: 10px; }
.formula span { color: var(--ink); font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.formula i { color: var(--purple); font-size: 11px; font-style: normal; font-weight: 950; }

.arena-scene { position: relative; min-height: 520px; overflow: hidden; background: rgba(249,251,249,.88); border: 1px solid rgba(23,56,46,.11); border-radius: 34px; box-shadow: var(--shadow); isolation: isolate; }
.arena-scene::after { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 0, rgba(238,243,239,.34) 72%); content: ""; }
.scene-grid { position: absolute; z-index: -2; inset: 0; opacity: .8; background-image: linear-gradient(rgba(23,56,46,.052) 1px, transparent 1px), linear-gradient(90deg, rgba(23,56,46,.052) 1px, transparent 1px); background-size: 36px 36px; }
.scene-caption { position: absolute; z-index: 10; color: #8a9993; font-size: 8px; font-weight: 950; letter-spacing: .16em; }
.scene-caption--top { top: 26px; left: 28px; }
.scene-caption--bottom { right: 28px; bottom: 25px; }

.shot-player { position: absolute; z-index: 4; top: 50%; left: 18%; display: grid; width: 126px; aspect-ratio: 1; place-items: center; transform: translateY(-50%); color: #fff; background: var(--ink); border: 9px solid #fff; border-radius: 50%; box-shadow: 0 20px 45px rgba(23,56,46,.22); animation: player-spend 3.8s ease-in-out infinite; }
.shot-player span { font-size: 18px; font-weight: 950; letter-spacing: -.04em; }
.shot-player i { position: absolute; right: -11px; width: 18px; height: 18px; background: var(--purple); border: 4px solid #fff; border-radius: 50%; }
.charge-wave { position: absolute; z-index: 2; top: 50%; left: calc(18% + 63px); width: 150px; aspect-ratio: 1; border: 2px solid rgba(105,87,232,.5); border-radius: 50%; transform: translate(-50%,-50%); animation: charge-pulse 3.8s ease-out infinite; }
.charge-wave--two { animation-delay: .45s; }
.aim-dashes { position: absolute; top: calc(50% - 1px); right: 15%; left: calc(18% + 126px); height: 2px; opacity: .55; background: repeating-linear-gradient(90deg, var(--purple) 0 8px, transparent 8px 18px); }
.fired-projectile { position: absolute; z-index: 5; top: 50%; left: 32%; display: grid; width: 62px; aspect-ratio: 1; place-items: center; color: #fff; background: var(--purple); clip-path: polygon(50% 0, 92% 24%, 88% 72%, 50% 100%, 11% 76%, 4% 31%); transform: translate(-50%,-50%); filter: drop-shadow(0 10px 11px rgba(105,87,232,.25)); animation: shot-fly 3.8s cubic-bezier(.22,.74,.38,1) infinite; }
.fired-projectile::before, .fired-projectile::after { position: absolute; top: 50%; right: 88%; height: 3px; background: rgba(105,87,232,.3); border-radius: 99px; content: ""; }
.fired-projectile::before { width: 42px; }
.fired-projectile::after { width: 72px; margin-top: 10px; }
.fired-projectile span { font-size: 8px; font-weight: 950; }

.impact-projectile { position: absolute; z-index: 4; top: 50%; left: 8%; width: 50px; aspect-ratio: 1; background: var(--purple); clip-path: polygon(50% 0, 92% 24%, 88% 72%, 50% 100%, 11% 76%, 4% 31%); transform: translateY(-50%); animation: impact-shot 3.4s cubic-bezier(.4,0,.5,1) infinite; }
.impact-target { position: absolute; z-index: 3; top: 50%; left: 62%; display: grid; width: 142px; aspect-ratio: 1; place-items: center; color: #fff; background: #38a9d7; border: 10px solid #fff; border-radius: 50%; box-shadow: 0 20px 45px rgba(42,139,183,.22); transform: translate(-50%,-50%); animation: target-recoil 3.4s ease-out infinite; }
.impact-target span { font-size: 19px; font-weight: 950; }
.impact-flash { position: absolute; z-index: 2; top: 50%; left: 58%; width: 140px; aspect-ratio: 1; background: rgba(237,88,100,.22); clip-path: polygon(50% 0, 60% 32%, 88% 15%, 70% 42%, 100% 50%, 68% 59%, 86% 86%, 58% 69%, 48% 100%, 40% 69%, 10% 87%, 29% 58%, 0 48%, 31% 40%, 12% 12%, 42% 31%); transform: translate(-50%,-50%) scale(0); animation: impact-flash 3.4s ease-out infinite; }
.damage-number { position: absolute; z-index: 9; top: 28%; left: 57%; color: var(--red); font-size: 21px; font-weight: 950; opacity: 0; animation: damage-rise 3.4s ease-out infinite; }
.shard { position: absolute; z-index: 7; top: 50%; left: 58%; display: block; width: 18px; height: 15px; background: #51b7df; clip-path: polygon(50% 0,100% 38%,78% 100%,8% 81%,0 26%); opacity: 0; animation: shard-burst 3.4s cubic-bezier(.17,.67,.2,1) infinite; }
.shard--1 { --sx: 150px; --sy: -96px; width: 20px; }
.shard--2 { --sx: 188px; --sy: -25px; width: 13px; }
.shard--3 { --sx: 155px; --sy: 94px; width: 25px; }
.shard--4 { --sx: 74px; --sy: 139px; width: 14px; }
.shard--5 { --sx: -70px; --sy: 121px; width: 22px; }
.shard--6 { --sx: -104px; --sy: -116px; width: 15px; }
.shard--7 { --sx: 48px; --sy: -153px; width: 12px; }
.shard--8 { --sx: 231px; --sy: 54px; width: 9px; }
.micro-fact { display: flex; width: max-content; align-items: center; gap: 13px; margin-top: 28px; }
.micro-fact > span { padding: 12px 15px; color: #fff; background: #bd3543; border-radius: 9px; font-size: 16px; font-weight: 950; }
.micro-fact p { margin: 0; color: #8a9993; font-size: 8px; font-weight: 850; letter-spacing: .08em; line-height: 1.45; }
.micro-fact b { color: var(--ink); }

.collider { position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; color: #fff; border: 8px solid #fff; border-radius: 50%; box-shadow: 0 18px 40px rgba(23,56,46,.16); }
.collider span { font-size: 24px; font-weight: 950; }
.collider small { font-size: 8px; font-weight: 900; opacity: .75; }
.collider--left { left: 9%; width: 112px; aspect-ratio: 1; background: var(--red); transform: translateY(-50%); animation: collide-left 3.8s ease-in-out infinite; }
.collider--right { right: 8%; width: 158px; aspect-ratio: 1; background: var(--mint); transform: translateY(-50%); animation: collide-right 3.8s ease-in-out infinite; }
.collision-burst { position: absolute; z-index: 6; top: 50%; left: 51%; width: 110px; aspect-ratio: 1; transform: translate(-50%,-50%); }
.collision-burst i { position: absolute; top: 48%; left: 48%; width: 55px; height: 4px; background: var(--red); border-radius: 10px; opacity: 0; transform-origin: 0 50%; animation: collision-lines 3.8s ease-out infinite; }
.collision-burst i:nth-child(2) { transform: rotate(90deg); }
.collision-burst i:nth-child(3) { transform: rotate(45deg); }
.collision-burst i:nth-child(4) { transform: rotate(-45deg); }
.collision-damage { position: absolute; z-index: 9; top: 28%; color: var(--red); font-size: 17px; opacity: 0; animation: damage-rise 3.8s ease-out infinite; }
.collision-damage--left { left: 37%; }
.collision-damage--right { right: 27%; animation-delay: .05s; }

.pace { padding: 125px 3vw; border-top: 1px solid var(--line); }
.pace-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 7vw; }
.pace-heading > p { max-width: 520px; margin: 0 0 5px; color: #5b7067; font-size: 16px; line-height: 1.65; }
.race-board { position: relative; display: grid; grid-template-columns: 1fr 70px 1fr; margin-top: 70px; padding: 26px; background: rgba(249,251,249,.88); border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow); }
.race-lane { min-width: 0; padding: 24px 5px 14px; }
.lane-meta { display: flex; align-items: center; justify-content: space-between; padding: 0 15px 20px; color: var(--muted); font-size: 9px; font-weight: 950; letter-spacing: .14em; }
.lane-meta strong { color: var(--ink); font-size: 23px; letter-spacing: -.05em; }
.race-lane--fast .lane-meta strong { color: var(--red); }
.lane-track { position: relative; height: 230px; overflow: hidden; background-image: linear-gradient(rgba(23,56,46,.052) 1px, transparent 1px), linear-gradient(90deg, rgba(23,56,46,.052) 1px, transparent 1px); background-size: 32px 32px; border: 1px solid var(--line); border-radius: 22px; }
.lane-track > i { position: absolute; top: var(--py, 40%); left: var(--px, 20%); width: var(--size, 12px); height: var(--size, 12px); background: var(--mint); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 5px 12px rgba(23,56,46,.12); }
.lane-track > i:nth-child(1) { --px: 18%; --py: 28%; --size: 15px; }
.lane-track > i:nth-child(2) { --px: 34%; --py: 70%; --size: 11px; background: var(--amber); }
.lane-track > i:nth-child(3) { --px: 52%; --py: 35%; --size: 18px; }
.lane-track > i:nth-child(4) { --px: 70%; --py: 62%; --size: 12px; background: var(--blue); }
.lane-track > i:nth-child(5) { --px: 88%; --py: 30%; --size: 9px; }
.slow-runner, .fast-runner { position: absolute; z-index: 4; top: 50%; display: grid; place-items: center; color: #fff; border: 6px solid #fff; border-radius: 50%; box-shadow: 0 13px 30px rgba(23,56,46,.2); }
.slow-runner { left: -70px; width: 76px; aspect-ratio: 1; background: var(--ink); animation: slow-run 7s linear infinite; }
.fast-runner { left: -80px; width: 68px; aspect-ratio: 1; background: var(--red); animation: fast-run 2.15s cubic-bezier(.15,.6,.25,1) infinite; }
.slow-runner span, .fast-runner span { font-size: 9px; font-weight: 950; }
.speed-streaks { position: absolute; top: 50%; left: 0; width: 62%; height: 78px; opacity: .38; background: repeating-linear-gradient(0deg, transparent 0 12px, rgba(237,88,100,.6) 13px 15px, transparent 16px 25px); transform: translateY(-50%); filter: blur(.4px); animation: streak-run 2.15s ease-out infinite; }
.race-lane > p { margin: 17px 14px 0; color: #8a9993; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.race-divider { position: relative; display: grid; place-items: center; }
.race-divider::before { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); content: ""; }
.race-divider span { z-index: 2; display: grid; width: 34px; height: 34px; place-items: center; color: var(--purple); background: var(--paper); border: 1px solid rgba(105,87,232,.25); border-radius: 50%; font-size: 8px; font-weight: 950; }

.lifecycle { padding: 125px 3vw; border-top: 1px solid var(--line); }
.lifecycle-copy { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 7vw; }
.lifecycle-copy > p:last-child { margin: 0 0 4px; color: #5b7067; font-size: 16px; line-height: 1.65; }
.life-steps { display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr; align-items: center; margin-top: 70px; }
.life-steps article { position: relative; min-width: 0; padding: 28px; background: rgba(249,251,249,.88); border: 1px solid var(--line); border-radius: 27px; box-shadow: 0 18px 45px rgba(30,63,51,.07); }
.life-number { position: absolute; top: 19px; left: 21px; color: #98a69f; font-size: 9px; font-weight: 950; }
.life-visual { position: relative; display: grid; height: 170px; place-items: center; overflow: hidden; background-image: radial-gradient(circle, rgba(23,56,46,.07) 1px, transparent 1px); background-size: 18px 18px; border-radius: 17px; }
.life-visual i { display: block; width: 58px; aspect-ratio: 1; background: var(--purple); clip-path: polygon(50% 0, 92% 24%, 88% 72%, 50% 100%, 11% 76%, 4% 31%); }
.life-visual--flying i { animation: life-flying 2s ease-in-out infinite; filter: drop-shadow(-25px 4px 0 rgba(105,87,232,.1)); }
.life-visual--armed i { animation: life-armed 1.5s ease-in-out infinite; }
.life-visual--armed b { position: absolute; width: 90px; aspect-ratio: 1; border: 2px solid rgba(237,88,100,.45); border-radius: 50%; animation: armed-ring 1.5s ease-out infinite; }
.life-visual--safe i { background: var(--mint); animation: life-safe 2s ease-in-out infinite; }
.life-visual--safe b, .life-visual--safe em { position: absolute; width: 10px; aspect-ratio: 1; background: var(--mint); border-radius: 50%; }
.life-visual--safe b { transform: translate(-65px,-30px); }
.life-visual--safe em { transform: translate(63px,35px); }
.life-steps h3 { margin: 24px 0 7px; color: var(--ink); font-size: 14px; font-weight: 950; letter-spacing: .08em; }
.life-steps article p { margin: 0; color: var(--muted); font-size: 12px; }
.life-arrow { color: var(--purple); font-size: 23px; font-weight: 900; text-align: center; }

.mechanic--anomaly { border-bottom: 1px solid var(--line); }
.anomaly-key { display: flex; gap: 7px; margin-top: 27px; }
.anomaly-key span { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: rgba(255,255,255,.56); border: 1px solid var(--line); border-radius: 9px; font-size: 10px; font-weight: 950; }
.anomaly-key i { width: 8px; aspect-ratio: 1; background: var(--purple); border-radius: 50%; }
.anomaly-key span:nth-child(2) i { background: #087f78; }
.anomaly-key span:nth-child(3) i { background: var(--amber); }
.anomaly-ring { position: absolute; display: grid; width: 290px; aspect-ratio: 1; place-items: start center; padding-top: 21px; border: 2px solid; border-radius: 50%; mix-blend-mode: multiply; animation: anomaly-drift 7s ease-in-out infinite alternate; }
.anomaly-ring span { font-size: 10px; font-weight: 950; }
.anomaly-ring--one { top: 9%; left: 9%; color: var(--purple); background: rgba(105,87,232,.09); border-color: rgba(105,87,232,.5); }
.anomaly-ring--two { top: 14%; right: 7%; color: var(--red); background: rgba(237,88,100,.08); border-color: rgba(237,88,100,.45); animation-delay: -2s; }
.anomaly-ring--three { right: 25%; bottom: -5%; color: #bd8016; background: rgba(228,165,45,.11); border-color: rgba(228,165,45,.5); animation-delay: -4s; }
.anomaly-core { position: absolute; z-index: 7; top: 54%; left: 51%; display: grid; width: 68px; aspect-ratio: 1; place-items: center; color: #fff; background: var(--ink); border: 6px solid rgba(255,255,255,.85); border-radius: 50%; font-size: 15px; font-weight: 950; box-shadow: 0 0 0 15px rgba(23,56,46,.06); transform: translate(-50%,-50%); animation: core-pulse 1.8s ease-in-out infinite; }
.rich-point { position: absolute; z-index: 8; width: 16px; aspect-ratio: 1; background: var(--mint); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 8px 16px rgba(23,56,46,.15); animation: rich-float 2.4s ease-in-out infinite; }
.rich-point--one { top: 32%; left: 39%; width: 23px; }
.rich-point--two { top: 61%; left: 64%; background: var(--amber); animation-delay: -.7s; }
.rich-point--three { top: 69%; left: 34%; width: 19px; background: var(--blue); animation-delay: -1.3s; }
.rich-point--four { top: 39%; left: 68%; width: 12px; animation-delay: -1.8s; }

.worked-examples { padding: 125px 3vw; border-bottom: 1px solid var(--line); }
.worked-examples-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 7vw; }
.worked-examples-heading > p { max-width: 520px; margin: 0 0 5px; color: #5b7067; font-size: 16px; line-height: 1.65; }
.worked-examples-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 64px; }
.worked-examples-grid article {
  position: relative;
  min-height: 238px;
  padding: 31px 32px 32px;
  overflow: hidden;
  background: linear-gradient(145deg,rgba(255,255,255,.88),rgba(249,251,249,.68));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(30,63,51,.055);
}
.worked-examples-grid article::after { position: absolute; right: -45px; bottom: -62px; width: 165px; aspect-ratio: 1; background: radial-gradient(circle,rgba(105,87,232,.13),transparent 68%); border-radius: 50%; content: ""; pointer-events: none; }
.worked-examples-grid article > span { display: grid; width: 29px; height: 29px; place-items: center; color: var(--purple); background: rgba(105,87,232,.09); border: 1px solid rgba(105,87,232,.17); border-radius: 50%; font-size: 8px; font-weight: 950; }
.worked-examples-grid h3 { margin: 28px 0 12px; color: var(--ink); font-size: 14px; font-weight: 950; letter-spacing: .08em; }
.worked-examples-grid p { max-width: 530px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.66; }
.worked-examples-grid strong { color: var(--ink); }
.gameplay-gallery { margin-top: 92px; }
.gameplay-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 25px; }
.gameplay-gallery-heading .section-index { margin: 0; }
.gameplay-gallery-heading h3 { margin: 0; color: var(--ink); font-size: clamp(20px,2vw,29px); font-weight: 950; letter-spacing: -.035em; }
.gameplay-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.gameplay-gallery figure { margin: 0; overflow: hidden; background: rgba(249,251,249,.84); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 45px rgba(30,63,51,.06); }
.gameplay-gallery img { display: block; width: 100%; height: auto; object-fit: contain; background: #202128; }
.gameplay-gallery figcaption { min-height: 82px; padding: 18px 20px 20px; color: var(--muted); font-size: 11px; line-height: 1.55; }

.basics { padding: 125px 3vw; border-bottom: 1px solid var(--line); }
.basics-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 7vw; }
.basics-heading > p { max-width: 520px; margin: 0 0 5px; color: #5b7067; font-size: 16px; line-height: 1.65; }
.basics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 65px; }
.basics-grid article { position: relative; min-height: 320px; padding: 30px 26px 86px; background: rgba(249,251,249,.8); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 45px rgba(30,63,51,.055); }
.basics-number { color: var(--purple); font-size: 9px; font-weight: 950; letter-spacing: .15em; }
.basics-grid h3 { margin: 48px 0 12px; color: var(--ink); font-size: 14px; font-weight: 950; letter-spacing: .08em; }
.basics-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.basics-grid strong { color: var(--ink); }
.basics-keys, .basics-signal { position: absolute; right: 25px; bottom: 23px; left: 25px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.basics-keys kbd { padding: 6px 8px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; font-family: inherit; font-size: 7px; font-weight: 950; }
.basics-keys b, .basics-signal b { color: #8a9993; font-size: 7px; letter-spacing: .12em; }
.basics-keys kbd:not(:first-child) { margin-left: 6px; }
.basics-spectrum { position: absolute; right: 26px; bottom: 27px; left: 26px; display: flex; align-items: center; gap: 9px; height: 25px; }
.basics-spectrum::before { position: absolute; right: 0; left: 0; height: 1px; background: var(--line); content: ""; }
.basics-spectrum i { z-index: 1; width: 7px; aspect-ratio: 1; background: var(--mint); border: 2px solid var(--card); border-radius: 50%; box-shadow: 0 0 0 1px rgba(30,185,142,.18); }
.basics-spectrum i:nth-child(2) { width: 9px; background: var(--blue); }
.basics-spectrum i:nth-child(3) { width: 12px; background: var(--purple); }
.basics-spectrum i:nth-child(4) { width: 16px; background: var(--amber); }
.basics-spectrum i:nth-child(5) { width: 22px; margin-left: auto; background: var(--red); }
.basics-signal i { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid var(--purple); }
.basics-signal i:nth-of-type(2) { margin-left: 8px; border-left-color: var(--red); }

.final-cta { display: grid; min-height: 720px; place-content: center; padding: 120px 24px; text-align: center; }
.final-cta .kicker { justify-content: center; }
.final-cta h2 { font-size: clamp(65px, 8.5vw, 126px); }
.final-cta > a { display: flex; width: max-content; min-width: 250px; height: 62px; align-items: center; justify-content: space-between; gap: 35px; margin: 47px auto 0; padding: 0 20px 0 25px; color: #fff; background: var(--purple); border-radius: 999px; box-shadow: 0 17px 37px rgba(105,87,232,.23); font-size: 10px; font-weight: 950; letter-spacing: .12em; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.final-cta > a:hover { background: #5140c5; transform: translateY(-3px); }
.final-cta > a span { display: grid; width: 30px; height: 30px; place-items: center; color: var(--ink); background: #fff; border-radius: 50%; font-size: 14px; }
.final-note { max-width: 660px; margin: 28px auto 0; color: #7c8c85; font-size: 10px; font-weight: 750; letter-spacing: .045em; line-height: 1.6; }
footer { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(22px,4vw,64px); color: #7d8e87; border-top: 1px solid var(--line); font-size: 8px; font-weight: 900; letter-spacing: .13em; }
footer a { text-decoration: none; }

/* The guide scenes below are not motion graphics. Each canvas is rendered by the
   same GameRenderer as the live arena and fed by a small local physics world. */
.guide-sim { position: relative; overflow: hidden; isolation: isolate; }
.guide-sim canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; background: var(--paper); }
.arena-scene.guide-sim::after { display: none; }
.sim-badge { position: absolute; z-index: 6; top: 20px; left: 21px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; color: #5f736b; background: rgba(248,250,248,.9); border: 1px solid rgba(23,56,46,.12); border-radius: 999px; box-shadow: 0 7px 22px rgba(23,56,46,.08); backdrop-filter: blur(9px); font-size: 7px; font-weight: 950; letter-spacing: .13em; }
.sim-badge i { width: 6px; height: 6px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 4px rgba(30,185,142,.12); }
.guide-sim.is-suspended .sim-badge i { background: #9aaba4; box-shadow: 0 0 0 4px rgba(116,136,128,.10); }
.guide-sim.is-suspended .sim-badge { color: #86958f; }
.race-board.guide-sim { display: block; height: 510px; padding: 0; }
.life-steps.guide-sim { display: block; height: 500px; margin-top: 70px; background: rgba(249,251,249,.88); border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow); }
.sim-lane-label { position: absolute; z-index: 5; right: 22px; left: 22px; display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; color: #71847c; background: rgba(248,250,248,.84); border: 1px solid rgba(23,56,46,.1); border-radius: 10px; backdrop-filter: blur(8px); font-size: 8px; font-weight: 950; letter-spacing: .13em; pointer-events: none; }
.sim-lane-label b { color: var(--ink); font-size: 15px; letter-spacing: -.04em; }
.sim-lane-label--top { top: 62px; }
.sim-lane-label--bottom { bottom: 20px; }
.sim-lane-label--bottom b { color: var(--red); }
.sim-stage-rail { position: absolute; z-index: 5; right: 22px; bottom: 20px; left: 22px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 11px; padding: 13px 16px; color: #819189; background: rgba(248,250,248,.9); border: 1px solid rgba(23,56,46,.12); border-radius: 13px; box-shadow: 0 8px 25px rgba(23,56,46,.08); backdrop-filter: blur(10px); font-size: 8px; font-weight: 950; letter-spacing: .11em; text-align: center; }
.sim-stage-rail i { color: #a3afa9; font-style: normal; }
.sim-stage-rail span.active { color: var(--purple); }

:root[data-theme="dark"] body {
  background:
    linear-gradient(rgba(32,33,40,.3), rgba(32,33,40,.3)),
    linear-gradient(90deg, rgba(220,221,235,.05) 1px, transparent 1px),
    linear-gradient(rgba(220,221,235,.05) 1px, transparent 1px),
    var(--paper);
}
:root[data-theme="dark"] .guide-nav {
  background: rgba(38,39,48,.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
:root[data-theme="dark"] .motion-toggle {
  color: #c7c8d0;
  background: rgba(54,55,66,.76);
}
:root[data-theme="dark"] .guide-language-toggle { color: #b6b8c2; background: rgba(54,55,66,.76); }
:root[data-theme="dark"] .guide-language-menu { background: rgba(43,44,54,.99); border-color: rgba(220,221,235,.18); box-shadow: 0 24px 70px rgba(0,0,0,.38); }
:root[data-theme="dark"] .guide-language-menu .language-option { color: #d0d1d8; }
:root[data-theme="dark"] .guide-language-menu .language-option:hover { color: #c8c0ff; background: rgba(137,116,255,.12); }
:root[data-theme="dark"] .guide-language-menu .language-option.is-current { color: #d5ceff; background: rgba(137,116,255,.2); border-color: rgba(169,156,255,.34); }
:root[data-theme="dark"] .guide-language-menu .language-option small { color: #989aa5; }
:root[data-theme="dark"] .arena-link { color: #f3f3f7; background: #3a3b48; }
:root[data-theme="dark"] .arena-link span { color: #beb6ff; }
:root[data-theme="dark"] .hero-lede,
:root[data-theme="dark"] .mechanic-copy > p:not(.section-index),
:root[data-theme="dark"] .pace-heading > p,
:root[data-theme="dark"] .lifecycle-copy > p:last-child,
:root[data-theme="dark"] .worked-examples-heading > p,
:root[data-theme="dark"] .basics-heading > p { color: #c3c5ce; }
:root[data-theme="dark"] .time-roles span,
:root[data-theme="dark"] .rule-strip,
:root[data-theme="dark"] .formula,
:root[data-theme="dark"] .anomaly-key span {
  color: #c8c9d1;
  background: rgba(53,54,65,.76);
}
:root[data-theme="dark"] .rule-strip span,
:root[data-theme="dark"] .scene-caption,
:root[data-theme="dark"] .micro-fact p,
:root[data-theme="dark"] .race-lane > p,
:root[data-theme="dark"] .final-note,
:root[data-theme="dark"] footer { color: #a8aab4; }
:root[data-theme="dark"] .hero-clock {
  color: #f5f5f8;
  background: #2d2e39;
  border-color: rgba(232,232,240,.88);
  box-shadow: 0 30px 65px rgba(0,0,0,.3);
}
:root[data-theme="dark"] .hero-clock small { color: #b1b3bd; }
:root[data-theme="dark"] .orbit { border-color: rgba(220,221,235,.2); }
:root[data-theme="dark"] .orbit i { border-color: var(--paper); }
:root[data-theme="dark"] .orbit-note {
  color: #c1c2cb;
  background: rgba(46,47,57,.95);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
:root[data-theme="dark"] .arena-scene,
:root[data-theme="dark"] .race-board,
:root[data-theme="dark"] .life-steps article,
:root[data-theme="dark"] .worked-examples-grid article,
:root[data-theme="dark"] .gameplay-gallery figure,
:root[data-theme="dark"] .basics-grid article,
:root[data-theme="dark"] .life-steps.guide-sim {
  background: rgba(43,44,54,.94);
  border-color: rgba(220,221,235,.15);
}
:root[data-theme="dark"] .lane-track,
:root[data-theme="dark"] .life-visual {
  background-color: rgba(37,38,47,.8);
}
:root[data-theme="dark"] .race-divider span { background: var(--paper); }
:root[data-theme="dark"] .sim-badge,
:root[data-theme="dark"] .sim-lane-label,
:root[data-theme="dark"] .sim-stage-rail {
  color: #b8bac4;
  background: rgba(48,49,60,.94);
  border-color: rgba(220,221,235,.16);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}
:root[data-theme="dark"] .sim-stage-rail i { color: #92949f; }
:root[data-theme="dark"] .final-cta > a span { color: #292a34; background: #f0f0f5; }

body.motion-paused *, body.motion-paused *::before, body.motion-paused *::after { animation-play-state: paused !important; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes cue-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes player-spend { 0%,24%,100% { transform: translateY(-50%) scale(1); } 43%,58% { transform: translateY(-50%) scale(.9); } 70% { transform: translateY(-50%) scale(.91); } }
@keyframes charge-pulse { 0%,6% { opacity: 0; transform: translate(-50%,-50%) scale(.72); } 32% { opacity: 1; } 53%,100% { opacity: 0; transform: translate(-50%,-50%) scale(1.7); } }
@keyframes shot-fly { 0%,43% { left: 32%; opacity: 0; transform: translate(-50%,-50%) scale(.25) rotate(0); } 48% { opacity: 1; } 75% { left: 82%; opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(150deg); } 85%,100% { left: 92%; opacity: 0; transform: translate(-50%,-50%) scale(.85) rotate(200deg); } }
@keyframes impact-shot { 0%,15% { left: 8%; opacity: 0; transform: translateY(-50%) rotate(0); } 20% { opacity: 1; } 48% { left: 54%; opacity: 1; transform: translateY(-50%) rotate(170deg); } 49%,100% { left: 56%; opacity: 0; transform: translateY(-50%) rotate(180deg); } }
@keyframes target-recoil { 0%,48% { transform: translate(-50%,-50%) scale(1); } 55% { transform: translate(-30%,-50%) scale(.87); } 74%,100% { transform: translate(-17%,-50%) scale(.88); } }
@keyframes impact-flash { 0%,46% { opacity: 0; transform: translate(-50%,-50%) scale(0); } 51% { opacity: 1; transform: translate(-50%,-50%) scale(1); } 68%,100% { opacity: 0; transform: translate(-50%,-50%) scale(1.6); } }
@keyframes damage-rise { 0%,48% { opacity: 0; transform: translateY(15px); } 54% { opacity: 1; } 75% { opacity: 0; transform: translateY(-46px); } 100% { opacity: 0; } }
@keyframes shard-burst { 0%,48% { opacity: 0; transform: translate(-50%,-50%) scale(.2) rotate(0); } 53% { opacity: 1; } 76% { opacity: 1; transform: translate(calc(-50% + var(--sx)),calc(-50% + var(--sy))) scale(1) rotate(180deg); } 90%,100% { opacity: 0; transform: translate(calc(-50% + var(--sx)),calc(-50% + var(--sy))) scale(.8) rotate(230deg); } }
@keyframes collide-left { 0%,15% { left: 9%; } 48% { left: 43%; } 56% { left: 29%; transform: translateY(-50%) scale(.88); } 78%,100% { left: 21%; transform: translateY(-50%) scale(.9); } }
@keyframes collide-right { 0%,15% { right: 8%; } 48% { right: 39%; } 56% { right: 23%; transform: translateY(-50%) scale(.94); } 78%,100% { right: 15%; transform: translateY(-50%) scale(.95); } }
@keyframes collision-lines { 0%,47% { opacity: 0; width: 0; } 51% { opacity: 1; width: 55px; } 65%,100% { opacity: 0; width: 75px; } }
@keyframes slow-run { 0% { left: -70px; transform: translateY(-50%); } 25% { transform: translateY(-15%); } 50% { transform: translateY(-70%); } 75% { transform: translateY(-20%); } 100% { left: calc(100% + 10px); transform: translateY(-70%); } }
@keyframes fast-run { 0% { left: -80px; transform: translateY(-50%) scale(.85); } 10% { opacity: 1; } 78% { left: calc(100% + 10px); opacity: 1; transform: translateY(-50%) scale(1); } 82%,100% { left: calc(100% + 10px); opacity: 0; } }
@keyframes streak-run { 0% { opacity: 0; transform: translate(-30%,-50%); } 30% { opacity: .4; } 80%,100% { opacity: 0; transform: translate(100%,-50%); } }
@keyframes life-flying { 0%,100% { transform: translateX(-18px) rotate(-8deg); } 50% { transform: translateX(20px) rotate(18deg); } }
@keyframes life-armed { 0%,100% { transform: scale(.92) rotate(0); } 50% { transform: scale(1.05) rotate(18deg); } }
@keyframes armed-ring { from { opacity: .8; transform: scale(.5); } to { opacity: 0; transform: scale(1.4); } }
@keyframes life-safe { 0%,100% { transform: translateY(4px) rotate(0); } 50% { transform: translateY(-6px) rotate(16deg); } }
@keyframes anomaly-drift { 0% { transform: translate(-10px,-7px); } 100% { transform: translate(13px,9px); } }
@keyframes core-pulse { 0%,100% { transform: translate(-50%,-50%) scale(.94); } 50% { transform: translate(-50%,-50%) scale(1.06); } }
@keyframes rich-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr .75fr; }
  .hero-orbit { width: min(390px, 38vw); }
  .mechanic, .mechanic--reverse { min-height: 680px; grid-template-columns: minmax(280px,.8fr) minmax(440px,1.2fr); gap: 40px; padding-inline: 1vw; }
  .arena-scene { min-height: 460px; }
  .shot-player { left: 14%; }
  .aim-dashes { left: calc(14% + 126px); }
  .charge-wave { left: calc(14% + 63px); }
  .anomaly-ring { width: 240px; }
}

@media (max-width: 780px) {
  .guide-nav { height: 64px; padding: 0 16px; }
  .motion-toggle { width: 38px; padding: 0; justify-content: center; }
  .motion-toggle > span:last-child { display: none; }
  .guide-language-toggle { width: 82px; grid-template-columns: 24px auto 9px; padding: 0 9px; }
  .guide-language-caption { display: none; }
  .guide-language-menu { position: fixed; top: 70px; right: 14px; left: auto; }
  .arena-link { height: 36px; padding: 0 14px; }
  .hero, .mechanic, .pace, .lifecycle, .worked-examples, .basics, .final-cta { width: min(100% - 28px, 650px); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 66px; padding: 88px 4px 110px; }
  .hero-orbit { width: min(440px, 90vw); }
  .hero-lede { width: 100%; }
  .scroll-cue { left: 4px; bottom: 32px; }
  .mechanic, .mechanic--reverse { display: flex; min-height: 0; flex-direction: column; gap: 45px; padding: 90px 0; }
  .mechanic--reverse .mechanic-copy, .mechanic--reverse .arena-scene { width: 100%; }
  .mechanic--reverse .mechanic-copy { order: 0; }
  .mechanic--reverse .arena-scene { order: 1; }
  .mechanic-copy { width: 100%; }
  .arena-scene { width: 100%; min-height: 440px; border-radius: 24px; }
  .pace { padding: 90px 0; }
  .pace-heading, .lifecycle-copy { grid-template-columns: 1fr; gap: 30px; }
  .pace-heading > p, .lifecycle-copy > p:last-child { margin: 0; }
  .race-board { grid-template-columns: 1fr; gap: 18px; margin-top: 46px; padding: 14px; border-radius: 25px; }
  .race-board.guide-sim { display: block; height: 470px; padding: 0; }
  .race-divider { height: 34px; }
  .race-divider::before { top: 50%; right: 0; bottom: auto; left: 0; width: auto; height: 1px; }
  .race-lane { padding-top: 15px; }
  .lifecycle { padding: 90px 0; }
  .life-steps { grid-template-columns: 1fr; gap: 15px; margin-top: 45px; }
  .life-steps.guide-sim { display: block; height: 440px; }
  .life-arrow { transform: rotate(90deg); }
  .anomaly-ring { width: 245px; }
  .worked-examples { padding: 90px 0; }
  .worked-examples-heading { grid-template-columns: 1fr; gap: 30px; }
  .worked-examples-heading > p { margin: 0; }
  .worked-examples-grid { margin-top: 45px; }
  .gameplay-gallery { margin-top: 65px; }
  .gameplay-gallery-heading { display: grid; gap: 10px; }
  .gameplay-gallery-grid { grid-template-columns: 1fr; }
  .gameplay-gallery figcaption { min-height: 0; }
  .basics { padding: 90px 0; }
  .basics-heading { grid-template-columns: 1fr; gap: 30px; }
  .basics-heading > p { margin: 0; }
  .basics-grid { grid-template-columns: 1fr 1fr; margin-top: 45px; }
  .final-cta { min-height: 620px; }
  footer { flex-wrap: wrap; justify-content: center; padding: 22px 16px; text-align: center; }
}

@media (max-width: 480px) {
  .guide-brand { font-size: 17px; }
  .guide-brand svg { width: 18px; height: 18px; }
  .guide-brand small { font-size: 7px; }
  .arena-link { gap: 7px; font-size: 7px; }
  .guide-nav__actions { gap: 6px; }
  .guide-language-toggle { width: 72px; gap: 5px; padding: 0 7px; }
  .guide-language-menu { position: fixed; top: 70px; right: 14px; left: 14px; width: auto; max-height: calc(100vh - 84px); }
  h1 { font-size: clamp(49px,15.5vw,68px); }
  h2 { font-size: clamp(43px,13vw,62px); }
  .hero { padding-top: 70px; }
  .hero-orbit { width: 95vw; margin-left: -4vw; }
  .orbit-note { font-size: 7px; }
  .arena-scene { min-height: 370px; }
  .shot-player { left: 8%; width: 96px; border-width: 7px; }
  .shot-player span { font-size: 14px; }
  .charge-wave { left: calc(8% + 48px); width: 115px; }
  .aim-dashes { left: calc(8% + 96px); right: 7%; }
  .fired-projectile { width: 48px; }
  .impact-target { left: 57%; width: 112px; }
  .shard--1 { --sx: 88px; --sy: -78px; }.shard--2 { --sx: 115px; --sy: -18px; }.shard--3 { --sx: 90px; --sy: 78px; }.shard--4 { --sx: 30px; --sy: 105px; }.shard--5 { --sx: -70px; --sy: 78px; }.shard--6 { --sx: -65px; --sy: -80px; }.shard--7 { --sx: 30px; --sy: -105px; }.shard--8 { --sx: 128px; --sy: 35px; }
  .collider--left { width: 82px; }
  .collider--right { width: 112px; }
  .collider span { font-size: 18px; }
  .collision-damage { font-size: 13px; }
  .race-board { padding: 8px; }
  .race-board.guide-sim { height: 420px; padding: 0; }
  .lane-track { height: 205px; }
  .life-steps article { padding: 20px; }
  .life-steps.guide-sim { height: 390px; padding: 0; }
  .sim-stage-rail { right: 10px; bottom: 10px; left: 10px; gap: 5px; padding: 11px 8px; font-size: 6px; letter-spacing: .06em; }
  .sim-lane-label { right: 10px; left: 10px; }
  .anomaly-ring { width: 190px; }
  .anomaly-ring--three { right: 20%; bottom: 2%; }
  .anomaly-core { top: 55%; }
  .anomaly-key { flex-wrap: wrap; }
  .worked-examples-grid { grid-template-columns: 1fr; }
  .worked-examples-grid article { min-height: 0; padding: 27px 24px; }
  .basics-grid { grid-template-columns: 1fr; }
  .basics-grid article { min-height: 245px; }
  .basics-grid h3 { margin-top: 35px; }
  .final-cta h2 { font-size: clamp(56px,17vw,80px); }
}

@media (max-width: 780px) and (max-height: 520px) {
  .guide-language-menu { gap: 3px; padding: 8px; }
  .guide-language-menu .language-option { min-height: 38px; padding: 5px 7px; }
}

:root[dir="rtl"] .hero-copy,
:root[dir="rtl"] .mechanic-copy,
:root[dir="rtl"] .pace-heading,
:root[dir="rtl"] .lifecycle-copy,
:root[dir="rtl"] .worked-examples-heading,
:root[dir="rtl"] .worked-examples-grid,
:root[dir="rtl"] .gameplay-gallery,
:root[dir="rtl"] .basics-heading,
:root[dir="rtl"] .basics-grid { text-align: right; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
