@font-face {
  font-family: "Oxanium Variable";
  src: url("./assets/oxanium-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("./assets/nunito-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("./assets/nunito-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --red: #f12c43;
  --red-hot: #ff4a60;
  --cyan: #46dcff;
  --green: #44e497;
  --ink: #f7f9ff;
  --muted: #aab3c7;
  --faint: #737e96;
  --deep: #050712;
  --panel: #0b101e;
  --line: rgba(255, 255, 255, 0.13);
  --line-hot: rgba(70, 220, 255, 0.4);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --race: "Oxanium Variable", "Arial Narrow", sans-serif;
  --copy: "Nunito", system-ui, sans-serif;
  --container: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--deep); }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 18%, rgba(67, 62, 185, 0.2), transparent 30rem),
    radial-gradient(circle at 8% 62%, rgba(0, 173, 220, 0.1), transparent 35rem),
    var(--deep);
  font-family: var(--copy);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, figure, blockquote, dl, dd { margin-top: 0; }
button, a, summary { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #050712;
  background: var(--cyan);
  font-weight: 900;
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(to bottom, rgba(4, 6, 14, 0.92), rgba(4, 6, 14, 0.34));
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(210px, 340px) 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1380px, calc(100% - 48px));
  min-height: 82px;
  margin-inline: auto;
}

.brand img { width: min(100%, 330px); height: auto; }

.site-header nav { display: flex; gap: clamp(10px, 1.45vw, 24px); justify-content: flex-end; }

.site-header nav a,
.footer-nav a {
  color: #c0c8d9;
  font-family: var(--race);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible { color: #fff; }

.nav-play,
.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  color: white;
  background: var(--red);
  clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
  font-family: var(--race);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-header .nav-play { color: white; }
.nav-play:hover, .button:hover { background: var(--red-hot); transform: translateY(-2px); }

.button-ghost { border: 1px solid rgba(255, 255, 255, 0.23); color: white; background: rgba(5, 8, 18, 0.62); }
.button-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.eyebrow {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 17px;
  color: #d0d6e5;
  font-family: var(--race);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before { width: 34px; height: 3px; background: var(--red); content: ""; transform: skewX(-28deg); }

h1, h2, h3, h4 { font-family: var(--race); letter-spacing: -0.035em; line-height: 1.04; text-transform: uppercase; }
h1 { font-size: clamp(3.3rem, 6.2vw, 6.2rem); }
h2 { font-size: clamp(2.35rem, 4.7vw, 4.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); }
.outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72); }

.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(960px, 100svh);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.page-hero-image,
.cta-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero .hero-image { object-position: center; }

.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 14, 0.98) 0%, rgba(4, 6, 14, 0.91) 31%, rgba(4, 6, 14, 0.37) 60%, rgba(4, 6, 14, 0.13) 100%),
    linear-gradient(180deg, rgba(4, 6, 14, 0.2) 42%, #050712 100%);
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(70, 220, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 220, 255, 0.09) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, black, transparent 74%);
}

.hero-inner { display: grid; align-items: center; min-height: 850px; padding: 142px 0 170px; }
.hero-copy { max-width: 920px; }
.hero-copy h1 { margin-bottom: 25px; font-style: italic; line-height: 0.9; }
.hero-copy h1 span { display: block; }

.hero-lead { max-width: 670px; margin-bottom: 31px; color: #c4cad9; font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.trust-list { display: flex; flex-wrap: wrap; gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.trust-list li { color: #a2abc0; font-family: var(--race); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.trust-list li::before { margin-right: 7px; color: var(--green); content: "✓"; }

.fact-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-bottom: 0;
  background: rgba(6, 9, 19, 0.9);
  backdrop-filter: blur(18px);
}

.fact-rail div { padding: 20px 28px; border-right: 1px solid var(--line); }
.fact-rail div:last-child { border-right: 0; }
.fact-rail strong { display: block; color: white; font-family: var(--race); font-size: 1.65rem; line-height: 1; }
.fact-rail span { color: var(--faint); font-size: 0.66rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }

.section { position: relative; padding: 112px 0; }
.section-dark { background: rgba(7, 11, 23, 0.7); }
.section-rule { border-top: 1px solid var(--line); }
.section-heading { max-width: 830px; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading > p:not(.eyebrow) { max-width: 720px; color: var(--muted); font-size: 1.05rem; }

.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr); gap: 70px; align-items: end; max-width: none; }
.split-heading > p:not(.eyebrow) { margin-bottom: 8px; }

.loop-grid, .link-grid, .card-grid, .mode-grid, .system-grid { display: grid; gap: 14px; }
.loop-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }

.loop-grid li,
.info-card,
.mode-card,
.system-card { min-width: 0; padding: 28px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(14, 21, 39, 0.94), rgba(7, 10, 21, 0.84)); }

.loop-grid b, .card-index { display: block; margin-bottom: 24px; color: var(--red-hot); font-family: var(--race); font-size: 0.76rem; letter-spacing: 0.15em; }
.loop-grid h3 { margin-bottom: 10px; font-size: 1.03rem; }
.loop-grid p, .info-card p, .mode-card p, .system-card p { margin-bottom: 0; color: var(--muted); font-size: 0.88rem; }

.story-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr); gap: clamp(45px, 7vw, 95px); align-items: center; }
.story-grid.reverse { grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.08fr); }
.story-copy h2 { margin-bottom: 22px; }
.story-copy > p:not(.eyebrow) { margin-bottom: 25px; color: var(--muted); font-size: 1.02rem; }

.image-card { position: relative; overflow: hidden; border: 1px solid rgba(70, 220, 255, 0.24); background: #080c17; box-shadow: var(--shadow); }
.image-card img { width: 100%; height: auto; }
.image-card figcaption { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 12px 15px; border: 1px solid var(--line); color: #c7cede; background: rgba(5, 8, 18, 0.83); font-size: 0.73rem; backdrop-filter: blur(12px); }
.image-card figcaption b { margin-right: 12px; color: var(--cyan); font-family: var(--race); letter-spacing: 0.08em; text-transform: uppercase; }

.feature-list { margin: 0 0 28px; padding: 0; list-style: none; }
.feature-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.feature-list b { display: block; margin-bottom: 3px; color: #edf2fb; font-family: var(--race); font-size: 0.86rem; text-transform: uppercase; }
.feature-list span { color: #909bb2; font-size: 0.86rem; }

.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--cyan); font-family: var(--race); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }

.link-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.link-card { min-height: 260px; padding: 25px; border: 1px solid var(--line); background: rgba(11, 16, 30, 0.83); transition: border-color 0.2s ease, transform 0.2s ease; }
.link-card:hover { border-color: var(--line-hot); transform: translateY(-3px); }
.link-card small { color: var(--red-hot); font-family: var(--race); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.link-card h3 { margin: 33px 0 12px; font-size: 1.16rem; }
.link-card p { margin-bottom: 22px; color: var(--muted); font-size: 0.84rem; }
.link-card span { color: var(--cyan); font-family: var(--race); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }

.discipline-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); }
.discipline-strip div { min-width: 0; padding: 21px 15px; border-right: 1px solid var(--line); text-align: center; }
.discipline-strip div:last-child { border-right: 0; }
.discipline-strip b { display: block; color: var(--red); font-family: var(--race); font-size: 0.68rem; }
.discipline-strip span { color: #dce2ee; font-family: var(--race); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }

.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.faq-grid details { border: 1px solid var(--line); background: rgba(11, 16, 30, 0.76); }
.faq-grid summary { padding: 20px 22px; cursor: pointer; font-family: var(--race); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.faq-grid details p { padding: 0 22px 22px; margin-bottom: 0; color: var(--muted); font-size: 0.9rem; }

.page-hero { position: relative; isolation: isolate; display: grid; min-height: 690px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero-image { object-position: center; filter: saturate(0.85); }
.page-hero::after { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 14, 0.98), rgba(4, 6, 14, 0.83) 42%, rgba(4, 6, 14, 0.32)), linear-gradient(180deg, rgba(4, 6, 14, 0.24), #050712 100%); content: ""; }
.page-hero-inner { align-self: end; max-width: 850px; padding: 150px 0 90px; }
.page-hero h1 { margin-bottom: 23px; font-size: clamp(3rem, 6vw, 6rem); font-style: italic; }
.page-hero .hero-lead { margin-bottom: 0; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; color: #919bb0; font-family: var(--race); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--cyan); }

.page-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.page-facts div { padding: 25px; border-right: 1px solid var(--line); text-align: center; }
.page-facts div:last-child { border-right: 0; }
.page-facts dt { color: white; font-family: var(--race); font-size: 1.05rem; font-weight: 800; text-transform: uppercase; }
.page-facts dd { color: var(--faint); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }

.article-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(45px, 7vw, 95px); align-items: start; }
.toc { position: sticky; top: 28px; padding: 22px; border: 1px solid var(--line); background: rgba(11, 16, 30, 0.82); }
.toc strong { display: block; margin-bottom: 14px; color: #fff; font-family: var(--race); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.toc nav { display: grid; }
.toc a { padding: 9px 0; border-top: 1px solid var(--line); color: #9ba6bb; font-size: 0.76rem; }
.toc a:hover { color: var(--cyan); }

.article-content { min-width: 0; }
.content-section { padding: 0 0 76px; scroll-margin-top: 25px; }
.content-section + .content-section { padding-top: 76px; border-top: 1px solid var(--line); }
.section-number { display: block; margin-bottom: 20px; color: var(--red-hot); font-family: var(--race); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; }
.content-section h2 { max-width: 800px; margin-bottom: 25px; font-size: clamp(2rem, 4vw, 3.75rem); }
.content-section > p { max-width: 840px; color: #b2bacb; font-size: 1rem; }
.content-section > ul { color: #b2bacb; }

.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 34px; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.team-card { position: relative; min-height: 340px; overflow: hidden; border: 1px solid var(--line); background: #080b14; }
.team-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5, 7, 14, 0.97)); content: ""; }
.team-card div { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 24px; }
.team-card small { color: var(--red-hot); font-family: var(--race); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.team-card h3 { margin: 8px 0; }
.team-card p { margin-bottom: 0; color: #c0c7d5; font-size: 0.84rem; }

.parts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.part-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.part-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #050812; }
.part-card div { position: absolute; inset: 0 auto 0 0; display: grid; width: 68%; padding: clamp(14px, 2vw, 22px); align-content: center; background: linear-gradient(90deg, rgba(3, 5, 12, 0.98), rgba(3, 5, 12, 0.78) 72%, transparent); }
.part-card h3 { margin-bottom: 7px; font-size: 0.95rem; }
.part-card p { margin-bottom: 0; color: #b9c2d3; font-size: 0.74rem; line-height: 1.45; }

.tradeoff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 34px 0; border: 1px solid var(--line); background: var(--line); }
.tradeoff div { padding: 25px; background: #090e1a; }
.tradeoff b { display: block; margin-bottom: 6px; color: white; font-family: var(--race); font-size: 0.83rem; text-transform: uppercase; }
.tradeoff span { color: var(--muted); font-size: 0.82rem; }

.setting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.setting-card { overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.setting-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.setting-card div { padding: 22px; }
.setting-card h3 { margin-bottom: 8px; font-size: 1.04rem; }
.setting-card p { margin-bottom: 0; color: var(--muted); font-size: 0.84rem; }

.direction-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.direction-row div { padding: 20px; border-left: 3px solid var(--cyan); background: rgba(70, 220, 255, 0.07); }
.direction-row b { display: block; color: white; font-family: var(--race); font-size: 0.78rem; text-transform: uppercase; }
.direction-row span { color: var(--muted); font-size: 0.82rem; }

.system-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
.system-card h3, .mode-card h3, .info-card h3 { margin-bottom: 11px; font-size: 1.05rem; }
.system-card strong { display: block; margin-bottom: 16px; color: var(--cyan); font-family: var(--race); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.mode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; }
.mode-card b { display: block; margin-bottom: 22px; color: var(--red-hot); font-family: var(--race); font-size: 1rem; }

.callout { margin: 30px 0; padding: 25px 28px; border: 1px solid rgba(70, 220, 255, 0.26); border-left: 4px solid var(--cyan); background: rgba(70, 220, 255, 0.06); }
.callout strong { display: block; margin-bottom: 8px; font-family: var(--race); font-size: 0.83rem; text-transform: uppercase; }
.callout p { margin-bottom: 0; color: #aeb8ca; }

.cta-panel { position: relative; isolation: isolate; display: grid; min-height: 510px; place-items: center; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.cta-panel::after { position: absolute; z-index: -2; inset: 0; background: rgba(4, 6, 14, 0.78); content: ""; }
.cta-panel .cta-image { filter: saturate(0.8); }
.cta-content { width: min(780px, calc(100% - 48px)); padding: 90px 0; }
.cta-content h2 { margin-bottom: 20px; }
.cta-content p { margin: 0 auto 28px; color: var(--muted); }

.related { padding: 80px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related-card { padding: 24px; border: 1px solid var(--line); background: rgba(11, 16, 30, 0.76); }
.related-card:hover { border-color: var(--line-hot); }
.related-card h3 { margin-bottom: 10px; font-size: 1rem; }
.related-card p { margin-bottom: 15px; color: var(--muted); font-size: 0.83rem; }
.related-card span { color: var(--cyan); font-family: var(--race); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; }

footer { border-top: 1px solid var(--line); background: #040610; }
.footer-inner { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 30px; align-items: center; padding: 52px 0; }
.footer-brand img { width: min(100%, 310px); height: auto; }
.footer-copy { margin: 12px 0 0; color: var(--faint); font-size: 0.78rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-end; }
.copyright { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); color: #666f84; font-size: 0.72rem; }

@media (max-width: 1120px) {
  .header-inner { grid-template-columns: minmax(190px, 280px) 1fr auto; }
  .site-header nav a:nth-child(1), .site-header nav a:nth-child(5) { display: none; }
  .loop-grid, .link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .parts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discipline-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .discipline-strip div:nth-child(3) { border-right: 0; }
  .discipline-strip div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .container { width: min(100% - 32px, var(--container)); }
  .header-inner { display: flex; gap: 16px; justify-content: space-between; width: calc(100% - 32px); min-height: 72px; }
  .brand img { width: 230px; }
  .site-header nav { display: none; }
  .nav-play { min-height: 44px; padding-inline: 18px; }
  .home-hero { min-height: 830px; }
  .home-hero .hero-image { object-position: 62% center; }
  .hero-inner { min-height: 750px; padding-top: 125px; }
  .fact-rail { grid-template-columns: repeat(2, 1fr); }
  .fact-rail div:nth-child(2) { border-right: 0; }
  .fact-rail div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-heading, .story-grid, .story-grid.reverse, .article-layout { grid-template-columns: 1fr; }
  .story-grid.reverse .story-copy { order: 2; }
  .story-grid.reverse .image-card { order: 1; }
  .toc { position: static; }
  .toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .system-grid, .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-facts { grid-template-columns: repeat(2, 1fr); }
  .page-facts div:nth-child(2) { border-right: 0; }
  .page-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .brand img { width: 188px; }
  .nav-play { min-width: auto; padding-inline: 15px; font-size: 0.64rem; }
  .home-hero { min-height: 900px; }
  .home-hero .hero-image { object-position: 68% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4, 6, 14, 0.98), rgba(4, 6, 14, 0.72)), linear-gradient(180deg, transparent 42%, #050712 100%); }
  .hero-inner { align-items: end; min-height: 790px; padding-bottom: 180px; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-actions .button { width: 100%; }
  .fact-rail div { padding: 15px 17px; }
  .fact-rail strong { font-size: 1.3rem; }
  .section { padding: 82px 0; }
  .loop-grid, .link-grid, .card-grid, .team-grid, .parts-grid, .setting-grid, .system-grid, .mode-grid, .faq-grid, .related-grid, .tradeoff, .direction-row { grid-template-columns: 1fr; }
  .loop-grid li, .link-card { min-height: 0; }
  .discipline-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discipline-strip div:nth-child(3) { border-right: 1px solid var(--line); }
  .discipline-strip div:nth-child(2n) { border-right: 0; }
  .discipline-strip div:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .page-hero { min-height: 650px; }
  .page-hero::after { background: linear-gradient(90deg, rgba(4, 6, 14, 0.97), rgba(4, 6, 14, 0.64)), linear-gradient(180deg, transparent, #050712); }
  .page-hero-inner { padding-top: 125px; }
  .page-hero h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
  .toc nav { grid-template-columns: 1fr; }
  .team-card { min-height: 290px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

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