@font-face {
  font-family: "Wayon Pretendard";
  src: url("assets/Pretendard-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f5f2;
  --paper-pure: #ffffff;
  --ink: #0b0c0e;
  --ink-soft: #505258;
  --line: rgba(13, 15, 18, 0.14);
  --line-soft: rgba(13, 15, 18, 0.08);
  --night: #07080a;
  --night-raised: #101216;
  --night-soft: #191c21;
  --night-line: rgba(255, 255, 255, 0.14);
  --white: #f8f8fa;
  --muted: #a2a6ae;
  --red: #ff3b30;
  --green: #31d158;
  --hud: #4dff8a;
  --blue: #0a84ff;
  --cyan: #64d2ff;
  --amber: #ff9f0a;
  --violet: #bf5af2;
  --header-h: 64px;
  --content: 1240px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Wayon Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
summary {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(10, 132, 255, 0.42);
  outline-offset: 3px;
}

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

code {
  overflow-wrap: anywhere;
  color: inherit;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.65;
}

[hidden] {
  display: none !important;
}

html:not([data-language-ready="true"]) {
  overflow: hidden;
}

html[lang="zh-CN"] body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Wayon Pretendard", -apple-system, BlinkMacSystemFont, sans-serif;
}

html[lang="zh-CN"] .definition-intro h2,
html[lang="zh-CN"] .section-heading h2,
html[lang="zh-CN"] .links-intro h2,
html[lang="zh-CN"] .gallery-heading h2 {
  overflow-wrap: anywhere;
  word-break: normal;
}

.language-gate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  min-width: 320px;
  min-height: 100svh;
  overflow: hidden;
  background: #060709;
  color: #fff;
  transition: opacity 420ms cubic-bezier(0.2, 0.75, 0.2, 1), transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

html[data-language-ready="true"] .language-gate {
  display: none;
}

.language-gate.is-leaving {
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
}

.language-gate-rule {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.language-gate-rule-a {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: scaleY(0);
  transform-origin: top;
  animation: language-rule-y 1.2s 180ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.language-gate-rule-b {
  top: 33%;
  right: 0;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  animation: language-rule-x 1.2s 260ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.language-gate-inner {
  position: relative;
  display: grid;
  width: min(1240px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  grid-template-rows: auto 1fr auto;
  padding: 46px 0 54px;
}

.language-gate-brand {
  display: flex;
  align-items: baseline;
  gap: 11px;
  opacity: 0;
  animation: language-rise 720ms 120ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.language-gate-brand strong {
  font-size: 22px;
  font-weight: 600;
}

.language-gate-brand span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 11px;
}

.language-gate-copy {
  align-self: center;
  max-width: 900px;
  padding: 70px 0 52px;
}

.language-gate-copy > p {
  margin: 0 0 28px;
  color: var(--red);
  font-size: 10px;
  font-weight: 600;
}

.language-gate-copy h1 {
  display: grid;
  gap: 7px;
  margin: 0;
  font-size: clamp(46px, 6.6vw, 94px);
  font-weight: 600;
  line-height: 0.98;
}

.language-gate-copy h1 span {
  opacity: 0;
  transform: translateY(28px);
  animation: language-rise 760ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.language-gate-copy h1 span:nth-child(1) { animation-delay: 190ms; }
.language-gate-copy h1 span:nth-child(2) { animation-delay: 270ms; color: rgba(255, 255, 255, 0.58); }
.language-gate-copy h1 span:nth-child(3) { animation-delay: 350ms; color: rgba(255, 255, 255, 0.32); }

.language-gate-copy > small {
  display: block;
  max-width: 720px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  line-height: 1.8;
  opacity: 0;
  animation: language-rise 720ms 430ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.language-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  opacity: 0;
  animation: language-rise 720ms 500ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.language-options button {
  display: flex;
  min-width: 0;
  min-height: 126px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.language-options button:last-child {
  border-right: 0;
}

.language-options button:hover,
.language-options button:focus-visible {
  background: #fff;
  color: #08090b;
}

.language-options button > span {
  display: grid;
  min-width: 0;
  grid-template-columns: 30px 1fr;
  align-items: baseline;
  gap: 6px 10px;
}

.language-options button small {
  color: currentColor;
  font-size: 9px;
  opacity: 0.42;
}

.language-options button strong {
  font-size: 19px;
  font-style: normal;
  font-weight: 600;
}

.language-options button em {
  grid-column: 2;
  color: currentColor;
  font-size: 10px;
  font-style: normal;
  opacity: 0.42;
}

.language-options button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.language-options button:hover svg {
  transform: translateX(4px);
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2000;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 240ms ease, border-color 240ms ease;
}

.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(7, 8, 10, 0.86);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
}

.wordmark strong {
  font-size: 19px;
  font-weight: 600;
}

.wordmark span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-decoration: none;
  transition: color 160ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: #fff;
}

.desktop-nav a.active::after {
  background: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
}

.language-picker {
  position: relative;
}

.language-button {
  display: inline-flex;
  height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.language-button:hover,
.language-button[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.language-button svg:first-child {
  width: 14px;
  height: 14px;
}

.language-button svg:last-child {
  width: 11px;
  height: 11px;
  transition: transform 160ms ease;
}

.language-button[aria-expanded="true"] svg:last-child {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 184px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(9, 10, 12, 0.97);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px);
}

.language-menu button {
  display: flex;
  width: 100%;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button[aria-checked="true"] {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.language-menu button[aria-checked="true"]::before {
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.language-menu button span {
  flex: 1;
  text-align: left;
}

.language-menu button small {
  color: currentColor;
  font-size: 8px;
  opacity: 0.45;
}

.build-mark {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.build-mark span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(49, 209, 88, 0.75);
}

.menu-button {
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
  justify-self: end;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #fff;
}

.menu-button svg {
  width: 19px;
  height: 19px;
}

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px;
  border: 1px solid var(--night-line);
  border-radius: 8px;
  background: rgba(11, 12, 15, 0.96);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(24px);
}

.mobile-nav a {
  display: block;
  padding: 13px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  text-decoration: none;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.hero {
  --hero-progress: 0;
  position: relative;
  min-height: 760px;
  height: 96svh;
  max-height: 1080px;
  overflow: hidden;
  background: #08090b;
  color: #fff;
}

.hero-field {
  position: absolute;
  inset: 0;
  opacity: calc(1 - (var(--hero-progress) * 0.62));
  transform: translateY(calc(var(--hero-progress) * -54px));
  animation: hero-field-in 1.4s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  will-change: opacity, transform;
}

.hero-rule {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.08);
}

.hero-rule-a { top: 27%; right: 0; left: 0; height: 1px; }
.hero-rule-b { top: 0; bottom: 0; left: 50%; width: 1px; }
.hero-rule-c { right: 0; bottom: 26%; left: 0; height: 1px; }

.hero-signal {
  position: absolute;
  top: 27%;
  right: max(24px, calc((100vw - var(--content)) / 2));
  left: max(24px, calc((100vw - var(--content)) / 2));
  height: 132px;
  transform: translateY(-1px);
}

.signal-track {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.signal-packet {
  position: absolute;
  top: -1px;
  left: -42px;
  width: 42px;
  height: 3px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(255, 59, 48, 0.72);
  animation: hero-signal 6s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.signal-packet-b {
  width: 18px;
  animation-delay: -2.8s;
  animation-duration: 7.6s;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.58);
}

.signal-stations {
  position: absolute;
  top: -4px;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.signal-stations span {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

.signal-stations span:first-child { align-items: flex-start; text-align: left; }
.signal-stations span:last-child { align-items: flex-end; text-align: right; }

.signal-stations i {
  width: 9px;
  height: 9px;
  margin-bottom: 20px;
  border: 2px solid #08090b;
  border-radius: 50%;
  background: #6f737a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.signal-stations span:nth-child(2) i {
  background: var(--red);
  box-shadow: 0 0 0 1px rgba(255, 59, 48, 0.55), 0 0 18px rgba(255, 59, 48, 0.45);
}

.signal-stations b {
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 600;
}

.signal-stations small {
  margin-top: 5px;
  font-size: 7px;
}

.hero-coordinates {
  position: absolute;
  right: max(24px, calc((100vw - var(--content)) / 2));
  bottom: calc(26% + 16px);
  left: max(24px, calc((100vw - var(--content)) / 2));
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.24);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(var(--content), calc(100% - 48px));
  height: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 44px) 0 78px;
  opacity: calc(1 - (var(--hero-progress) * 0.76));
  transform: translateY(calc(var(--hero-progress) * 34px));
  will-change: opacity, transform;
}

.hero-copy {
  max-width: 790px;
  animation: hero-copy-in 1.1s 120ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.eyebrow {
  margin: 0 0 18px;
  color: #6e7279;
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.54);
}

.eyebrow.hud-green,
.hud-green {
  color: var(--hud);
}

.eyebrow.traverse-red,
.traverse-red {
  color: var(--red);
}

.hero h1 {
  margin: 0;
  font-size: 156px;
  font-weight: 600;
  line-height: 0.82;
  animation: hero-title-in 1.25s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero-lede {
  max-width: 620px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
}

.hero-facts {
  display: grid;
  width: 330px;
  flex: 0 0 330px;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  animation: hero-copy-in 1.1s 280ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.hero-facts div {
  min-width: 0;
  padding: 18px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-facts div:nth-child(2n) { border-right: 0; }
.hero-facts div:nth-child(n+3) { border-bottom: 0; }

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: 27px;
  font-weight: 600;
}

.hero-facts span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
}

.scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - var(--content)) / 2));
  bottom: 34px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  text-decoration: none;
}

.scroll-cue svg {
  width: 15px;
  height: 15px;
  animation: cue 1.8s ease-in-out infinite;
}

.wayon-definition {
  padding: 150px max(24px, calc((100vw - var(--content)) / 2));
  scroll-margin-top: var(--header-h);
  background: #e9e9e5;
}

.definition-intro {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 24px 100px;
  align-items: end;
  margin-bottom: 110px;
}

.definition-intro .eyebrow { grid-column: 1 / -1; margin: 0; }

.definition-intro h2 {
  margin: 0;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.02;
}

.definition-intro > p:last-child {
  max-width: 560px;
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
  word-break: keep-all;
}

.definition-sequence {
  border-top: 1px solid var(--line);
}

.definition-step {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(210px, 0.75fr) minmax(300px, 1.2fr) minmax(180px, 0.7fr);
  gap: 30px;
  min-height: 190px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.definition-step::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 13%;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms 240ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.definition-step.visible::after { transform: scaleX(1); }

.definition-step > div span,
.definition-step > div small,
.definition-step strong {
  display: block;
}

.definition-step > div span { font-size: 26px; }
.definition-step > div small { margin-top: 5px; color: #8d9095; font-size: 8px; }
.definition-step h3 { margin: 0; font-size: 25px; font-weight: 600; }
.definition-step p { margin: 0; color: #60636a; font-size: 13px; line-height: 1.75; }
.definition-step strong { color: #8b8e94; font-size: 9px; font-weight: 600; text-align: right; }

.definition-boundary {
  display: grid;
  grid-template-columns: 180px 1fr 1.2fr;
  gap: 34px;
  align-items: center;
  min-height: 112px;
  margin-top: 62px;
  padding: 24px 30px;
  background: #101114;
  color: #fff;
}

.definition-boundary span { color: var(--red); font-size: 8px; }
.definition-boundary p { margin: 0; color: #8f939b; font-size: 11px; line-height: 1.6; }
.definition-boundary strong { font-size: 12px; line-height: 1.6; }

.section {
  position: relative;
  padding: 150px max(24px, calc((100vw - var(--content)) / 2));
  scroll-margin-top: var(--header-h);
}

.system-section {
  padding-top: 150px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 80px;
  align-items: end;
  width: 100%;
  margin-bottom: 90px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: 62px;
  font-weight: 600;
  line-height: 1.08;
  word-break: keep-all;
}

.section p code,
.clean-list code,
.site-footer code {
  font-size: 0.86em;
}

.section-heading > p:last-child {
  max-width: 560px;
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.section-heading.on-dark h2 {
  color: #fff;
}

.section-heading.on-dark > p:last-child {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 780ms cubic-bezier(0.2, 0.75, 0.2, 1), transform 780ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: calc(var(--reveal-order, 0) * 45ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.system-section {
  background: var(--paper);
}

.system-map {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.system-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  min-height: 190px;
}

.system-node {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 24px 10px;
  border: 0;
  border-right: 1px solid var(--line-soft);
  background: transparent;
  color: #888b91;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}

.system-node:last-child {
  border-right: 0;
}

.system-node:hover,
.system-node.active {
  background: #fff;
  color: var(--ink);
}

.system-node.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--red);
  content: "";
}

.node-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.node-icon svg {
  width: 20px;
  height: 20px;
}

.system-node b {
  font-size: 13px;
  font-weight: 600;
}

.system-node small {
  overflow: hidden;
  max-width: 100%;
  color: #91949a;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-detail {
  display: grid;
  grid-template-columns: 100px 1fr 360px;
  gap: 48px;
  align-items: start;
  min-height: 280px;
  padding: 56px 40px;
  background: #fff;
}

.system-index {
  color: #c8c9cc;
  font-size: 52px;
  line-height: 1;
}

.detail-kicker {
  margin: 1px 0 14px;
  color: var(--red);
  font-size: 10px;
}

.system-detail h3 {
  margin: 0 0 18px;
  font-size: 27px;
}

.system-detail p:not(.detail-kicker) {
  max-width: 580px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.system-specs {
  margin: 0;
}

.system-specs div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.system-specs dt,
.system-specs dd {
  margin: 0;
  font-size: 11px;
}

.system-specs dt {
  color: #9b9da2;
}

.system-specs dd {
  text-align: right;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 90px;
  border-top: 1px solid var(--line);
}

.principles article {
  min-height: 230px;
  padding: 34px 28px 30px 0;
  border-right: 1px solid var(--line-soft);
}

.principles article:not(:first-child) {
  padding-left: 28px;
}

.principles article:last-child {
  border-right: 0;
}

.principles span {
  color: var(--red);
  font-size: 10px;
}

.principles h3 {
  margin: 52px 0 12px;
  font-size: 17px;
}

.principles p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.hardware-section {
  border-top: 1px solid var(--line-soft);
  background: #fff;
}

.hardware-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.55fr);
  min-height: 410px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hardware-photo,
.panda-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.hardware-photo {
  border-right: 1px solid var(--line);
  background: #101114;
}

.hardware-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 300ms ease;
}

.hardware-photo:hover img {
  opacity: 0.96;
  transform: scale(1.018);
}

.panda-photo {
  display: grid;
  place-items: center;
  padding: 44px 28px 96px;
  background: #f2f2ef;
}

.panda-photo img {
  width: min(280px, 88%);
  mix-blend-mode: multiply;
}

.hardware-photo figcaption,
.panda-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 20px;
  align-items: baseline;
  padding: 22px 24px;
}

.hardware-photo figcaption {
  background: rgba(6, 7, 9, 0.84);
  color: #fff;
  backdrop-filter: blur(12px);
}

.panda-photo figcaption {
  border-top: 1px solid var(--line);
  background: rgba(242, 242, 239, 0.94);
}

.hardware-photo figcaption span,
.panda-photo figcaption span {
  grid-row: 1 / 3;
  color: var(--red);
  font-size: 8px;
}

.hardware-photo figcaption strong,
.panda-photo figcaption strong {
  font-size: 12px;
  font-weight: 600;
}

.hardware-photo figcaption small,
.panda-photo figcaption small {
  color: #8c8f95;
  font-size: 9px;
}

.hardware-inventory {
  margin-top: 110px;
  border-top: 1px solid var(--line);
}

.hardware-inventory article {
  display: grid;
  grid-template-columns: 54px 44px minmax(0, 1fr) 280px;
  gap: 24px;
  min-height: 210px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.hardware-inventory article > svg {
  width: 25px;
  height: 25px;
  color: #7d8086;
  stroke-width: 1.4;
}

.hardware-number {
  align-self: start;
  padding-top: 4px;
  color: var(--red);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.hardware-inventory article > div > small {
  color: #96999f;
  font-size: 8px;
}

.hardware-inventory h3 {
  margin: 12px 0 12px;
  font-size: 20px;
  font-weight: 600;
}

.hardware-inventory article > div > p {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
  word-break: keep-all;
}

.hardware-inventory dl {
  margin: 0;
}

.hardware-inventory dl div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.hardware-inventory dt,
.hardware-inventory dd {
  margin: 0;
  font-size: 9px;
}

.hardware-inventory dt { color: #999ca2; }
.hardware-inventory dd { text-align: right; }
.hardware-inventory .service-row { color: #777a80; }

.hardware-flow {
  margin-top: 120px;
  padding: 62px 58px 48px;
  background: var(--night);
  color: #fff;
}

.hardware-flow-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 80px;
  align-items: end;
  margin-bottom: 54px;
}

.hardware-flow-heading .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--red);
}

.hardware-flow-heading h3 {
  margin: 0;
  font-size: 35px;
  line-height: 1.16;
}

.hardware-flow-heading > p:last-child {
  margin: 0;
  color: #969aa2;
  font-size: 12px;
  line-height: 1.75;
}

.hardware-flow ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--night-line);
  list-style: none;
}

.hardware-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 180px;
  gap: 22px;
  min-height: 126px;
  align-items: center;
  border-bottom: 1px solid var(--night-line);
}

.hardware-flow li > span {
  color: var(--red);
  font-size: 10px;
}

.hardware-flow li strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
}

.hardware-flow li p {
  max-width: 650px;
  margin: 0;
  color: #969aa2;
  font-size: 11px;
  line-height: 1.7;
}

.hardware-flow li > code {
  justify-self: end;
  color: #696d75;
  font-size: 9px;
  text-align: right;
}

.ownership-table {
  margin-top: 110px;
  border-top: 1px solid var(--line);
}

.ownership-table > div {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.2fr 0.9fr;
  gap: 24px;
  min-height: 72px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.ownership-table .ownership-head {
  min-height: 48px;
  color: #96999e;
  font-size: 8px;
}

.ownership-table strong,
.ownership-table span,
.ownership-table small,
.ownership-table code {
  min-width: 0;
  font-size: 10px;
}

.ownership-table strong { font-weight: 600; }
.ownership-table span,
.ownership-table small { color: #73767c; }
.ownership-table code { overflow-wrap: anywhere; color: #4f5258; }

.dark-section,
.app-section {
  background: var(--night);
  color: #fff;
}

.scrolly {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 72px;
  align-items: start;
}

.scrolly-stage {
  position: sticky;
  top: 98px;
  display: flex;
  height: calc(100svh - 150px);
  min-height: 520px;
  max-height: 720px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.scrolly-steps {
  min-width: 0;
}

.scroll-step {
  display: flex;
  min-height: 76svh;
  justify-content: center;
  flex-direction: column;
  padding: 60px 0;
  opacity: 0.28;
  transition: opacity 320ms ease;
}

.scroll-step.active {
  opacity: 1;
}

.scroll-step-content {
  display: contents;
}

.mobile-step-copy {
  display: none;
}

.step-kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 10px;
}

.scroll-step h3 {
  margin: 0 0 20px;
  font-size: 32px;
  line-height: 1.25;
}

.scroll-step > p:not(.step-kicker) {
  margin: 0;
  color: #a7aab1;
  font-size: 15px;
  line-height: 1.8;
}

.scroll-step details,
.mobile-copy details,
.commanav-copy details,
.transport-copy details {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.scroll-step summary,
.mobile-copy summary,
.commanav-copy summary,
.transport-copy summary {
  padding: 15px 0;
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  list-style-position: inside;
}

.scroll-step details p,
.scroll-step details code,
.mobile-copy details code,
.commanav-copy details code,
.transport-copy details code {
  display: block;
  margin: 0;
  padding: 0 0 17px;
  color: #8e939b;
}

.core-screen {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #0c0e11;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.42);
}

.core-topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.core-topbar span {
  font-size: 13px;
}

.core-topbar small {
  color: #777b84;
  font-size: 9px;
}

.core-panel {
  position: absolute;
  inset: 54px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  visibility: hidden;
  transition: opacity 220ms ease, transform 300ms cubic-bezier(0.2, 0.75, 0.2, 1), visibility 0s;
}

.core-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.screen-label {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 9px;
}

.screen-label.danger {
  color: var(--red);
}

.core-panel h3 {
  margin: 0;
  font-size: 42px;
  text-align: center;
}

.core-panel > p:last-child {
  margin: 12px 0 0;
  color: #8f939b;
  font-size: 13px;
  text-align: center;
}

.font-sample {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 40px;
  color: #676b73;
}

.font-sample strong {
  color: #fff;
  font-size: 20px;
}

.font-sample span {
  font-size: 10px;
}

.driver-orbit {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(10, 132, 255, 0.05), 0 0 48px rgba(10, 132, 255, 0.16);
}

.driver-orbit img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  animation: phone-pulse 2.2s ease-in-out infinite;
}

.autohold-icon {
  width: 84px;
  height: 84px;
  margin-bottom: 14px;
  object-fit: contain;
}

.timer-readout {
  margin: 2px 0 8px;
  font-size: 76px;
  line-height: 1;
}

.intrusion-road {
  position: relative;
  width: min(420px, 90%);
  height: 190px;
  margin-bottom: 20px;
  overflow: hidden;
  perspective: 500px;
}

.intrusion-road::before,
.intrusion-road::after,
.intrusion-road > i {
  position: absolute;
  bottom: -18px;
  width: 2px;
  height: 230px;
  background: rgba(255, 255, 255, 0.42);
  content: "";
  transform-origin: bottom;
}

.intrusion-road::before { left: 12%; transform: rotate(12deg); }
.intrusion-road::after { right: 12%; transform: rotate(-12deg); }
.intrusion-road > i:first-child { left: 37%; transform: rotate(5deg); }
.intrusion-road > i:nth-child(2) { right: 37%; transform: rotate(-5deg); background: var(--red); box-shadow: 0 0 20px rgba(255, 59, 48, 0.6); }

.intrusion-car {
  position: absolute;
  width: 32px;
  height: 52px;
  border-radius: 8px;
  background: #adb1b8;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38);
}

.intrusion-car.ego { right: calc(50% - 16px); bottom: 8px; }
.intrusion-car.left { left: 31%; top: 38px; transform: rotate(12deg); background: #ff5b52; animation: intrude 2.5s ease-in-out infinite; }

.stage-caption {
  display: flex;
  width: 100%;
  max-width: 760px;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  color: #767a82;
}

.stage-caption span {
  color: var(--red);
  font-size: 10px;
}

.stage-caption p {
  margin: 0;
  font-size: 10px;
}

.sound-lab {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(500px, 1.2fr);
  gap: 80px;
  align-items: end;
  margin-top: 110px;
  padding-top: 60px;
  border-top: 1px solid var(--night-line);
}

.sound-lab h3 {
  margin: 0 0 16px;
  font-size: 30px;
}

.sound-lab > div:first-child > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.sound-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
}

.sound-list button {
  display: grid;
  min-width: 0;
  height: 132px;
  align-content: end;
  justify-items: start;
  gap: 5px;
  padding: 20px 16px;
  border: 0;
  border-right: 1px solid var(--night-line);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 180ms ease;
}

.sound-list button:last-child { border-right: 0; }
.sound-list button:hover,
.sound-list button.playing { background: #17191e; }
.sound-list button.playing svg { color: var(--green); }
.sound-list svg { width: 16px; height: 16px; margin-bottom: 15px; color: #777b84; }
.sound-list span { overflow: hidden; max-width: 100%; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.sound-list small { color: #6f737b; font-size: 8px; }

.navdy-section {
  overflow: clip;
  background: #020303;
  color: #fff;
}

.navdy-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(77, 255, 138, 0.38);
  content: "";
}

.navdy-stage {
  perspective: 1100px;
}

.hud-shell {
  position: relative;
  width: min(780px, 100%);
  aspect-ratio: 1.48 / 1;
  padding: 36px 64px 58px;
  border: 1px solid #272a2f;
  border-radius: 48% 48% 10% 10% / 12% 12% 8% 8%;
  background: #111317;
  box-shadow: 0 54px 120px rgba(0, 0, 0, 0.72), inset 0 1px rgba(255, 255, 255, 0.08);
  transform: rotateX(4deg);
}

.hud-glass {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(111, 255, 160, 0.16);
  border-radius: 5px;
  background: #000;
  box-shadow: inset 0 0 45px rgba(77, 255, 138, 0.05), 0 0 26px rgba(77, 255, 138, 0.08);
}

.hud-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.018);
  visibility: hidden;
  transition: opacity 460ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1), visibility 0s linear 700ms;
}

.hud-frame.active {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.hud-reflection {
  position: absolute;
  right: 22%;
  bottom: 19px;
  left: 22%;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(4px);
}

.hud-caption span { color: var(--hud); }

.clean-list {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  padding-left: 14px;
  color: #7f838a;
  font-size: 11px;
}

.clean-list li::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 2px -14px;
  border-radius: 50%;
  background: var(--hud);
  content: "";
}

.navdy-spec-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.navdy-spec-band div {
  display: flex;
  min-width: 0;
  height: 150px;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.navdy-spec-band div:last-child { border-right: 0; }
.navdy-spec-band strong { color: var(--hud); font-size: 29px; font-weight: 600; }
.navdy-spec-band span { margin-top: 8px; color: #777c84; font-size: 9px; }

.transport-story {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  align-items: center;
  padding: 150px 0 70px;
}

.transport-copy h3 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.2;
}

.transport-copy > p:last-of-type {
  margin: 0;
  color: #8d9199;
  font-size: 14px;
  line-height: 1.75;
}

.transport-diagram {
  display: grid;
  grid-template-columns: 1fr 110px 1fr 110px 1fr;
  align-items: center;
}

.transport-node {
  display: flex;
  min-width: 0;
  height: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #0c0e11;
}

.transport-node svg { width: 25px; height: 25px; margin-bottom: 28px; color: var(--hud); }
.transport-node strong { font-size: 12px; }
.transport-node span { margin-top: 8px; color: #70747c; font-size: 9px; }

.transport-link {
  position: relative;
  height: 1px;
  background: rgba(77, 255, 138, 0.35);
}

.transport-link i {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hud);
  box-shadow: 0 0 10px var(--hud);
  animation: packet 2.2s linear infinite;
}

.transport-link small {
  position: absolute;
  top: 13px;
  right: 0;
  left: 0;
  color: #60646b;
  font-size: 8px;
  text-align: center;
}

.event-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
}

.event-strip article {
  display: flex;
  height: 104px;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-right: 0;
}

.event-strip article:last-child { border-right: 1px solid rgba(255, 255, 255, 0.11); }
.event-strip span { color: rgba(255, 255, 255, 0.55); font-size: 10px; }
.event-strip strong { font-size: 11px; }
.event-normal { background: rgba(0, 0, 0, 0.63); }
.event-prompt { background: rgba(255, 149, 0, 0.67); }
.event-critical { background: rgba(255, 0, 21, 0.71); }

.cloud-section,
.operations-section,
.history-section {
  background: #f4f4f1;
}

.cloud-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
  gap: 64px;
  align-items: start;
}

.browser-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid #cfd0d3;
  border-radius: 8px;
  background: #0b0c0e;
  box-shadow: 0 30px 80px rgba(27, 29, 34, 0.16);
}

.browser-bar {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #787c84;
  font-size: 9px;
}

.browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f4248;
}

.browser-bar span { margin-left: 7px; }
.browser-frame img {
  width: 100%;
  height: auto;
  transform: scale(1.025);
  transform-origin: center top;
  transition: transform 1.35s 180ms cubic-bezier(0.2, 0.75, 0.2, 1);
}
.cloud-showcase.visible .browser-frame img { transform: scale(1); }
.browser-frame figcaption { padding: 11px 14px; color: #747881; font-size: 8px; }

.cloud-copy {
  border-top: 1px solid var(--line);
}

.cloud-copy article {
  display: grid;
  grid-template-columns: 36px 1fr;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.cloud-copy span {
  grid-row: 1 / 3;
  color: var(--red);
  font-size: 9px;
}

.cloud-copy h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.cloud-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.cadence-table {
  margin-top: 110px;
  border-top: 1px solid var(--line);
}

.cadence-table > div {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 20px;
  min-height: 62px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.cadence-table span,
.cadence-table strong,
.cadence-table small {
  font-size: 11px;
}

.cadence-table strong { font-weight: 600; }
.cadence-table small { color: #8f9298; }
.cadence-head { color: #8f9298; }
.cadence-head span { font-size: 9px; }

.cloud-architecture {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px repeat(3, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 70px;
}

.cloud-architecture > div {
  display: flex;
  height: 122px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cloud-architecture > svg { width: 16px; height: 16px; justify-self: center; color: #a4a6aa; }
.cloud-architecture div svg { width: 19px; height: 19px; margin-bottom: 15px; color: var(--blue); }
.cloud-architecture strong { font-size: 11px; }
.cloud-architecture span { margin-top: 6px; color: #96999e; font-size: 8px; }

.mobile-showcase {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(320px, 0.85fr);
  gap: 100px;
  align-items: center;
  min-height: 780px;
}

.phone-stack {
  position: relative;
  height: 740px;
}

.phone-frame {
  position: absolute;
  top: 0;
  width: 330px;
  height: 700px;
  margin: 0;
  overflow: hidden;
  border: 7px solid #202329;
  border-radius: 48px;
  background: #000;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

.phone-frame::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 74px;
  height: 20px;
  border-radius: 14px;
  background: #08090a;
  content: "";
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-back {
  left: 5%;
  transform: rotate(-4deg) translateY(24px);
  opacity: 0.72;
}

.phone-front {
  right: 5%;
  z-index: 2;
  transform: rotate(3deg);
}

.mobile-showcase.visible .phone-back { animation: phone-float-back 7.5s 800ms ease-in-out infinite; }
.mobile-showcase.visible .phone-front { animation: phone-float-front 6.8s 500ms ease-in-out infinite; }

.mobile-copy h3 {
  margin: 0 0 22px;
  font-size: 38px;
  line-height: 1.2;
}

.mobile-copy > p:not(.eyebrow) {
  margin: 0;
  color: #9da1a9;
  font-size: 14px;
  line-height: 1.8;
}

.feature-lines {
  margin-top: 36px;
  border-top: 1px solid var(--night-line);
}

.feature-lines > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--night-line);
}

.feature-lines svg { width: 17px; height: 17px; color: var(--red); }
.feature-lines span { color: #777b83; font-size: 10px; }
.feature-lines strong { display: block; margin-bottom: 4px; color: #fff; font-size: 12px; }

.wear-band,
.commanav-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
  min-height: 580px;
  padding: 100px 0;
  border-top: 1px solid var(--night-line);
}

.watch-render {
  position: relative;
  display: grid;
  width: 330px;
  height: 390px;
  place-items: center;
  justify-self: center;
  border-radius: 118px;
  background: #22252a;
  box-shadow: inset 0 0 0 2px #353941, 0 40px 80px rgba(0, 0, 0, 0.45);
}

.watch-crown {
  position: absolute;
  top: 95px;
  right: -16px;
  width: 16px;
  height: 54px;
  border-radius: 0 8px 8px 0;
  background: #33363c;
}

.watch-face {
  display: flex;
  width: 286px;
  height: 286px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 5px solid #343a42;
  border-top-color: #64b5e8;
  border-right-color: #f2c14e;
  border-radius: 50%;
  background: #090b0e;
}

.watch-face > span { color: #aab0b7; font-size: 11px; }
.watch-face > small { margin-top: 17px; color: #757c84; font-size: 9px; }
.watch-face > strong { margin-top: 1px; font-size: 56px; }
.watch-face > div { display: flex; gap: 18px; margin-top: 22px; }
.watch-face b { font-size: 9px; font-weight: 600; }
.watch-face b:first-child { color: #64b5e8; }
.watch-face b:last-child { color: #f2c14e; }

.wear-band h3,
.commanav-band h3 {
  margin: 0 0 20px;
  font-size: 35px;
}

.wear-band > div:last-child > p:not(.eyebrow),
.commanav-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: #969aa2;
  font-size: 14px;
  line-height: 1.8;
}

.wear-metrics {
  display: flex;
  margin-top: 38px;
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
}

.wear-metrics span {
  flex: 1;
  padding: 18px 18px 18px 0;
  border-right: 1px solid var(--night-line);
  color: #fff;
  font-size: 18px;
}

.wear-metrics span:not(:first-child) { padding-left: 18px; }
.wear-metrics span:last-child { border-right: 0; }
.wear-metrics small { display: block; margin-top: 6px; color: #6f737b; font-size: 8px; }

.commanav-band {
  grid-template-columns: 0.8fr 1.2fr;
}

.camera-types {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 30px;
}

.camera-types span {
  padding: 8px 11px;
  border: 1px solid rgba(77, 255, 138, 0.35);
  border-radius: 4px;
  color: var(--hud);
  font-size: 9px;
}

.commanav-hud {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #000;
}

.commanav-hud img { width: 100%; }
.commanav-hud figcaption { padding: 12px 15px; color: #6f737b; font-size: 8px; }

.ambient-section {
  overflow: hidden;
  background: #090a0c;
  color: #fff;
}

.ambient-light {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 10px;
  background: #78ffbd;
  box-shadow: 0 0 28px rgba(91, 255, 175, 0.75), 0 0 100px rgba(91, 255, 175, 0.25);
}

.ambient-light i {
  position: absolute;
  top: 0;
  width: 24%;
  height: 100%;
  background: #64d2ff;
  box-shadow: 0 0 28px rgba(100, 210, 255, 0.85);
}

.ambient-light i:first-child { left: 0; }
.ambient-light i:nth-child(2) { right: 0; background: #ff6b63; box-shadow: 0 0 28px rgba(255, 83, 73, 0.82); }
.ambient-light i:nth-child(3) { right: 25%; width: 16%; background: #f2c14e; box-shadow: 0 0 24px rgba(242, 193, 78, 0.72); }

.ambient-states {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
}

.ambient-states article {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 34px 26px;
  border-right: 1px solid var(--night-line);
}

.ambient-states article:last-child { border-right: 0; }
.ambient-states svg { width: 20px; height: 20px; margin-bottom: 55px; color: #71757d; }
.ambient-states span { color: #7a7e86; font-size: 9px; }
.ambient-states strong { margin-top: 10px; font-size: 19px; }
.ambient-states p { margin: auto 0 0; color: #858991; font-size: 11px; line-height: 1.7; }
.ambient-danger { background: rgba(255, 59, 48, 0.12); }
.ambient-danger svg,
.ambient-danger strong { color: #ff6961; }

.ble-detail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 70px;
}

.ble-detail div {
  padding: 18px 18px 18px 0;
  border-right: 1px solid var(--night-line);
}

.ble-detail div:not(:first-child) { padding-left: 18px; }
.ble-detail div:last-child { border-right: 0; }
.ble-detail span { display: block; margin-bottom: 8px; color: #6e727a; font-size: 8px; }
.ble-detail code { color: #c9ccd1; font-size: 10px; }

.ambient-note {
  max-width: 820px;
  margin: 80px 0 0 auto;
  padding-left: 28px;
  border-left: 2px solid var(--cyan);
  color: #92969e;
  font-size: 13px;
  line-height: 1.8;
}

.operations-flow {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.operations-flow article {
  position: relative;
  height: 260px;
  padding: 30px 10px 30px 0;
}

.operations-flow article > span { color: #96999e; font-size: 9px; }
.operations-flow h3 { margin: 44px 0 12px; font-size: 18px; }
.operations-flow p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.flow-arrow { display: grid; place-items: center; color: #b0b2b6; }
.flow-arrow svg { width: 16px; height: 16px; }
.flow-state { position: absolute; right: 12px; bottom: 18px; width: 6px; height: 6px; border-radius: 50%; }
.flow-state.green { background: var(--green); }
.flow-state.amber { background: var(--amber); }
.flow-state.blue { background: var(--blue); }
.flow-state.red { background: var(--red); }

.safety-invariants {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  margin-top: 110px;
}

.safety-invariants h3 { margin: 0; font-size: 32px; }
.safety-invariants > div { display: grid; grid-column: 2; grid-template-columns: 44px 1fr; padding: 19px 0; border-top: 1px solid var(--line); }
.safety-invariants > div:last-child { border-bottom: 1px solid var(--line); }
.safety-invariants span { color: var(--red); font-size: 9px; }
.safety-invariants p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }

.history-controls {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.history-controls button {
  flex: 0 0 auto;
  padding: 17px 22px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #7d8086;
  font-size: 10px;
  cursor: pointer;
}

.history-controls button:hover,
.history-controls button.active { background: #fff; color: var(--ink); }
.history-controls button.active { box-shadow: inset 0 -2px var(--red); }
.history-controls span { margin-left: 7px; color: #b0b2b6; }

.commit-list {
  border-bottom: 1px solid var(--line);
}

.commit-row {
  display: grid;
  grid-template-columns: 92px 110px 1fr 90px;
  gap: 20px;
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  transition: background 160ms ease;
}

.commit-row:hover { background: rgba(255, 255, 255, 0.6); }
.commit-row code { color: #8d9096; font-size: 9px; }
.commit-row time { color: #8d9096; font-size: 9px; }
.commit-row strong { min-width: 0; overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.commit-tag { justify-self: end; padding: 5px 7px; border: 1px solid var(--line); border-radius: 3px; color: #73767c; font-size: 8px; }
.commit-row[hidden] { display: none; }

.history-more {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #66696f;
  font-size: 10px;
  cursor: pointer;
}

.history-more:hover { background: #fff; }
.history-more svg { width: 14px; height: 14px; transition: transform 180ms ease; }
.history-more.expanded svg { transform: rotate(180deg); }

.source-index {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  margin-top: 120px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.source-index h3 { margin: 0; font-size: 31px; }
.source-index dl { margin: 0; }
.source-index dl div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.source-index dt,
.source-index dd { margin: 0; font-size: 10px; }
.source-index dt { color: #85888e; }
.source-index dd { overflow-wrap: anywhere; font-family: "SFMono-Regular", Consolas, monospace; }

.links-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 90px;
  padding: 140px max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid var(--night-line);
  background: #0a0b0d;
  color: #fff;
}

.links-intro h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.1;
}

.links-intro > p:last-child {
  max-width: 480px;
  margin: 30px 0 0;
  color: #858991;
  font-size: 12px;
  line-height: 1.8;
}

.project-links {
  border-top: 1px solid var(--night-line);
}

.project-links > a {
  position: relative;
  display: grid;
  grid-template-columns: 142px 1fr 32px;
  gap: 22px;
  min-height: 132px;
  align-items: center;
  padding: 24px 4px;
  border-bottom: 1px solid var(--night-line);
  text-decoration: none;
  transition: background 180ms ease, padding 180ms ease;
}

.project-links > a:hover {
  padding-right: 14px;
  padding-left: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.project-links > a > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777b83;
}

.project-links > a > span svg {
  width: 17px;
  height: 17px;
}

.project-links > a > span small {
  font-size: 8px;
}

.project-links > a > strong {
  font-size: 19px;
  font-weight: 600;
}

.project-links > a > p {
  grid-column: 2;
  margin: -28px 0 0;
  color: #71757d;
  font-size: 9px;
}

.project-links > a > svg {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 17px;
  height: 17px;
  color: #6e727a;
  transition: color 180ms ease, transform 180ms ease;
}

.project-links > a:hover > svg {
  color: #fff;
  transform: translate(3px, -3px);
}

.gallery-section {
  overflow: hidden;
  padding: 140px 0 130px;
  background: var(--night);
  color: #fff;
}

.gallery-heading {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto 60px;
}

.gallery-heading h2 { max-width: 740px; margin: 0; font-size: 54px; line-height: 1.12; }

.gallery-track {
  display: flex;
  gap: 18px;
  width: 100%;
  overflow-x: auto;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2)) 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #383b42 transparent;
}

.gallery-track button {
  position: relative;
  flex: 0 0 520px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--night-line);
  border-radius: 6px;
  background: #000;
  color: #fff;
  cursor: zoom-in;
  scroll-snap-align: start;
}

.gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 220ms ease;
}

.gallery-track button:hover img { transform: scale(1.025); opacity: 0.78; }
.gallery-track span { position: absolute; right: 0; bottom: 0; left: 0; padding: 18px; background: rgba(0, 0, 0, 0.68); font-size: 10px; text-align: left; }

.site-footer {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px max(24px, calc((100vw - var(--content)) / 2));
  border-top: 1px solid var(--night-line);
  background: var(--night);
  color: #fff;
}

.site-footer > div { display: flex; align-items: baseline; gap: 12px; }
.site-footer strong { font-size: 24px; }
.site-footer span,
.site-footer p { color: #676b73; font-size: 9px; }
.site-footer p { margin: 0; }

.lightbox {
  width: min(1100px, calc(100% - 40px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #000;
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.7);
}

.lightbox::backdrop { background: rgba(0, 0, 0, 0.86); backdrop-filter: blur(12px); }
.lightbox img { width: 100%; max-height: 82svh; object-fit: contain; }
.lightbox button { position: absolute; top: -44px; right: 0; display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff; cursor: pointer; }
.lightbox button svg { width: 17px; height: 17px; }

@keyframes hero-field-in {
  from { clip-path: inset(0 50% 0 50%); }
  to { clip-path: inset(0); }
}

@keyframes language-rule-y {
  to { transform: scaleY(1); }
}

@keyframes language-rule-x {
  to { transform: scaleX(1); }
}

@keyframes language-rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-title-in {
  from { opacity: 0; transform: translateY(48px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-signal {
  from { left: -42px; }
  to { left: calc(100% + 42px); }
}

@keyframes phone-float-front {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-9px); }
}

@keyframes phone-float-back {
  0%, 100% { transform: rotate(-4deg) translateY(24px); }
  50% { transform: rotate(-3deg) translateY(14px); }
}

@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes phone-pulse {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  50% { transform: scale(1.05) rotate(2deg); }
}

@keyframes intrude {
  0%, 100% { left: 27%; transform: rotate(9deg); }
  50% { left: 38%; transform: rotate(15deg); }
}

@keyframes packet {
  from { left: 0; }
  to { left: calc(100% - 5px); }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .build-mark { display: none; }
  .menu-button { display: grid; }
  .hero h1 { font-size: 132px; }
  .hero-content { gap: 45px; }
  .hero-facts { width: 292px; flex-basis: 292px; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .section-heading h2 { font-size: 54px; }
  .section-heading > p:last-child { max-width: 680px; }
  .system-detail { grid-template-columns: 80px 1fr; }
  .system-specs { grid-column: 2; width: 100%; }
  .hardware-hero { grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr); }
  .hardware-inventory article { grid-template-columns: 48px 40px minmax(0, 1fr); }
  .hardware-inventory dl { grid-column: 3; display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
  .hardware-inventory dl div:first-child { padding-right: 20px; }
  .hardware-inventory dl div:last-child { padding-left: 20px; }
  .hardware-flow { padding: 54px 42px 42px; }
  .ownership-table > div { grid-template-columns: 1.1fr 1fr 1.1fr 0.8fr; gap: 16px; }
  .scrolly { grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); gap: 38px; }
  .sound-lab { grid-template-columns: 1fr; gap: 40px; }
  .transport-story { grid-template-columns: 1fr; gap: 65px; }
  .cloud-showcase { grid-template-columns: 1fr; }
  .cloud-copy { display: grid; grid-template-columns: repeat(2, 1fr); }
  .cloud-copy article:nth-child(odd) { padding-right: 22px; }
  .cloud-copy article:nth-child(even) { padding-left: 22px; }
  .cloud-architecture { grid-template-columns: repeat(3, 1fr); }
  .cloud-architecture > svg { display: none; }
  .mobile-showcase { grid-template-columns: 1fr 1fr; gap: 50px; }
  .phone-frame { width: 280px; height: 610px; border-radius: 42px; }
  .phone-stack { height: 650px; }
  .wear-band,
  .commanav-band { gap: 60px; }
  .operations-flow { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .flow-arrow { display: none; }
  .operations-flow article { padding-right: 22px; border-right: 1px solid var(--line); }
  .operations-flow article:not(:first-child) { padding-left: 22px; }
  .operations-flow article:last-child { border-right: 0; }
  .links-section { grid-template-columns: 1fr; gap: 60px; }
  .links-intro > p:last-child { max-width: 680px; }
}

@media (max-width: 800px) {
  :root { --header-h: 58px; }
  .site-header { padding: 0 18px; }
  .wordmark span { display: none; }
  .header-actions { gap: 5px; }
  .language-button { width: 36px; padding: 0; justify-content: center; }
  .language-button span,
  .language-button svg:last-child { display: none; }
  .language-button svg:first-child { width: 17px; height: 17px; }
  .language-menu { top: calc(100% + 8px); right: -40px; }
  .language-gate-inner { width: calc(100% - 36px); padding: 26px 0 30px; }
  .language-gate-copy { padding: 64px 0 38px; }
  .language-gate-copy h1 { gap: 8px; font-size: clamp(36px, 11vw, 58px); line-height: 1.02; }
  .language-gate-copy > small { max-width: 520px; margin-top: 24px; }
  .language-options { grid-template-columns: 1fr; }
  .language-options button { min-height: 76px; padding: 15px 18px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .language-options button:last-child { border-bottom: 0; }
  .language-options button > span { grid-template-columns: 28px 1fr; }
  .language-options button strong { font-size: 16px; }
  .hero { min-height: 700px; height: 94svh; }
  .hero-rule-a { top: 23%; }
  .hero-rule-b { left: 72%; }
  .hero-rule-c { bottom: 35%; }
  .hero-signal { top: 23%; right: 18px; left: 18px; }
  .signal-stations small { display: none; }
  .signal-stations b { font-size: 7px; }
  .signal-stations i { margin-bottom: 15px; }
  .hero-coordinates { display: none; }
  .hero-content {
    width: calc(100% - 36px);
    align-items: stretch;
    justify-content: flex-end;
    flex-direction: column;
    gap: 34px;
    padding-bottom: 70px;
  }
  .hero h1 { font-size: 92px; }
  .hero-lede { max-width: 500px; font-size: 15px; }
  .hero-facts { width: 100%; flex: 0 0 auto; }
  .hero-facts div { padding: 14px 12px; }
  .scroll-cue { display: none; }
  .wayon-definition { padding: 100px 18px; }
  .definition-intro { grid-template-columns: 1fr; gap: 26px; margin-bottom: 70px; }
  .definition-intro .eyebrow { grid-column: 1; }
  .definition-intro h2 { font-size: 52px; }
  .definition-intro > p:last-child { font-size: 14px; }
  .definition-step { grid-template-columns: 58px 1fr; gap: 12px 22px; min-height: 0; padding: 34px 0; }
  .definition-step h3 { font-size: 22px; }
  .definition-step p,
  .definition-step strong { grid-column: 2; }
  .definition-step strong { margin-top: 5px; text-align: left; }
  .definition-boundary { grid-template-columns: 1fr; gap: 14px; padding: 28px 22px; }
  .section { padding: 100px 18px; }
  .system-section { padding-top: 100px; }
  .section-heading { margin-bottom: 62px; }
  .section-heading h2 { font-size: 42px; }
  .section-heading > p:last-child { font-size: 14px; }
  .system-rail { grid-template-columns: repeat(3, 1fr); }
  .system-node { min-height: 142px; border-bottom: 1px solid var(--line-soft); }
  .system-node:nth-child(3) { border-right: 0; }
  .system-node:nth-child(n+4) { border-bottom: 0; }
  .system-detail { grid-template-columns: 1fr; gap: 24px; padding: 38px 22px; }
  .system-index { font-size: 36px; }
  .system-specs { grid-column: 1; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principles article:nth-child(2) { border-right: 0; }
  .principles article:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .hardware-hero { grid-template-columns: 1fr; }
  .hardware-photo { min-height: 290px; border-right: 0; border-bottom: 1px solid var(--line); }
  .panda-photo { min-height: 300px; }
  .hardware-inventory { margin-top: 75px; }
  .hardware-inventory article { grid-template-columns: 38px 1fr; gap: 16px 18px; padding: 34px 0; }
  .hardware-inventory article > svg { grid-column: 1; grid-row: 2; }
  .hardware-inventory article > div { grid-column: 2; grid-row: 1 / 3; }
  .hardware-inventory dl { grid-column: 2; display: block; }
  .hardware-inventory dl div { padding: 10px 0 !important; }
  .hardware-flow { margin-top: 85px; padding: 38px 22px 28px; }
  .hardware-flow-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
  .hardware-flow-heading .eyebrow { grid-column: 1; }
  .hardware-flow-heading h3 { font-size: 29px; }
  .hardware-flow li { grid-template-columns: 38px 1fr; gap: 12px; padding: 22px 0; }
  .hardware-flow li > code { grid-column: 2; justify-self: start; text-align: left; }
  .ownership-table { overflow: visible; margin-top: 75px; }
  .ownership-table .ownership-head { display: none; }
  .ownership-table > div:not(.ownership-head) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
    min-width: 0;
    padding: 28px 0;
  }
  .ownership-table > div:not(.ownership-head) > strong { grid-column: 1 / -1; font-size: 13px; }
  .ownership-table > div:not(.ownership-head) > small { grid-column: 1 / -1; }
  .ownership-table > div:not(.ownership-head) > *::before,
  .cadence-table > div:not(.cadence-head) > *::before {
    display: block;
    margin-bottom: 7px;
    color: #a0a2a7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 7px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    content: attr(data-label);
  }
  .scrolly { display: block; }
  .scrolly-stage {
    top: 66px;
    z-index: 3;
    height: calc(100svh - 72px);
    min-height: 0;
    max-height: none;
    justify-content: flex-start;
    padding: 10px 0 0;
    overflow: hidden;
    background: var(--night);
  }
  .scroll-step { min-height: 72svh; padding: 0; opacity: 1; }
  .scroll-step-content { display: none; }
  .mobile-step-copy {
    display: block;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    margin-top: 10px;
    padding: 15px 4px 18px;
    overflow-y: auto;
    border-top: 1px solid var(--night-line);
    scrollbar-width: thin;
    scrollbar-color: #3b3e45 transparent;
  }
  .mobile-step-copy .step-kicker { margin-bottom: 9px; font-size: 8px; }
  .mobile-step-copy h3 { margin: 0 0 11px; font-size: 21px; line-height: 1.24; }
  .mobile-step-copy > p:not(.step-kicker) { margin: 0; color: #a7aab1; font-size: 11px; line-height: 1.65; }
  .mobile-step-copy details { margin-top: 13px; border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
  .mobile-step-copy summary { padding: 10px 0; color: #fff; font-size: 9px; cursor: pointer; list-style-position: inside; }
  .mobile-step-copy details p,
  .mobile-step-copy details code { display: block; margin: 0; padding: 0 0 12px; color: #8e939b; font-size: 9px; line-height: 1.6; }
  .mobile-step-copy .clean-list { gap: 5px; margin-top: 12px; }
  .mobile-step-copy .clean-list li { font-size: 9px; }
  .core-screen { width: min(100%, 620px); max-height: clamp(200px, 38svh, 320px); flex: 0 0 auto; }
  .core-panel {
    transition: opacity 180ms ease, transform 240ms cubic-bezier(0.2, 0.75, 0.2, 1), visibility 0s;
  }
  .hud-frame {
    transition: opacity 180ms ease, transform 260ms cubic-bezier(0.2, 0.75, 0.2, 1), visibility 0s;
  }
  .core-panel { padding: 22px; }
  .core-panel h3 { font-size: 28px; }
  .driver-orbit { width: 86px; height: 86px; margin-bottom: 14px; }
  .driver-orbit img { width: 46px; height: 46px; }
  .autohold-icon { width: 56px; height: 56px; }
  .timer-readout { font-size: 52px; }
  .intrusion-road { height: 125px; }
  .stage-caption { display: none; }
  .sound-list { grid-template-columns: repeat(2, 1fr); }
  .sound-list button { height: 112px; border-bottom: 1px solid var(--night-line); }
  .sound-list button:nth-child(2n) { border-right: 0; }
  .sound-list button:last-child { border-right: 1px solid var(--night-line); }
  .hud-shell { width: min(100%, 600px); padding: 20px 32px 38px; border-radius: 42% 42% 8% 8% / 11% 11% 8% 8%; }
  .navdy-spec-band { grid-template-columns: repeat(2, 1fr); }
  .navdy-spec-band div { height: 110px; border-bottom: 1px solid var(--night-line); }
  .navdy-spec-band div:nth-child(2n) { border-right: 0; }
  .navdy-spec-band div:last-child { border-right: 1px solid var(--night-line); }
  .transport-diagram { grid-template-columns: 1fr; gap: 12px; }
  .transport-link { width: 1px; height: 48px; justify-self: center; }
  .transport-link i { top: 0; left: -2px; animation: packet-vertical 2.2s linear infinite; }
  .transport-link small { display: none; }
  .transport-node { width: min(360px, 100%); height: 125px; justify-self: center; }
  .transport-node svg { margin-bottom: 14px; }
  .event-strip { grid-template-columns: 1fr; }
  .event-strip article { height: 82px; border-right: 1px solid rgba(255, 255, 255, 0.11); border-bottom: 0; }
  .event-strip article:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.11); }
  .cadence-table { overflow: visible; }
  .cadence-table .cadence-head { display: none; }
  .cadence-table > div:not(.cadence-head) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    min-width: 0;
    padding: 25px 0;
  }
  .cadence-table > div:not(.cadence-head) > strong,
  .cadence-table > div:not(.cadence-head) > small { grid-column: 1 / -1; }
  .cadence-table > div:not(.cadence-head) > strong { font-size: 13px; }
  .cloud-architecture { grid-template-columns: repeat(2, 1fr); }
  .mobile-showcase { grid-template-columns: 1fr; }
  .phone-stack { height: 610px; }
  .phone-frame { width: 255px; height: 555px; }
  .phone-back { left: calc(50% - 240px); }
  .phone-front { right: calc(50% - 240px); }
  .wear-band,
  .commanav-band { grid-template-columns: 1fr; }
  .watch-render { width: 280px; height: 330px; border-radius: 96px; }
  .watch-face { width: 240px; height: 240px; }
  .commanav-hud { grid-row: 1; }
  .ambient-states { grid-template-columns: repeat(2, 1fr); }
  .ambient-states article:nth-child(2) { border-right: 0; }
  .ambient-states article:nth-child(n+3) { border-top: 1px solid var(--night-line); }
  .ble-detail { grid-template-columns: repeat(2, 1fr); }
  .ble-detail div { border-bottom: 1px solid var(--night-line); }
  .ble-detail div:nth-child(2n) { border-right: 0; }
  .operations-flow { grid-template-columns: repeat(2, 1fr); }
  .operations-flow article:nth-child(2) { border-right: 0; }
  .operations-flow article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .safety-invariants { grid-template-columns: 1fr; gap: 40px; }
  .safety-invariants > div { grid-column: 1; }
  .commit-row { grid-template-columns: 74px 1fr 70px; }
  .commit-row time { display: none; }
  .source-index { grid-template-columns: 1fr; gap: 40px; }
  .links-section { padding: 100px 18px; }
  .links-intro h2 { font-size: 42px; }
  .project-links > a { grid-template-columns: 112px 1fr 28px; }
  .gallery-heading h2 { font-size: 42px; }
  .gallery-track button { flex-basis: 74vw; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .language-gate-brand strong { font-size: 19px; }
  .language-gate-copy > p { margin-bottom: 20px; }
  .language-gate-copy > small { font-size: 8px; line-height: 1.7; }
  .hero h1 { font-size: 72px; }
  .hero-lede { font-size: 14px; }
  .hero-facts strong { font-size: 22px; }
  .signal-stations span:nth-child(3) b,
  .signal-stations span:nth-child(4) b { color: rgba(255, 255, 255, 0.42); }
  .definition-intro h2 { font-size: 42px; }
  .section-heading h2 { font-size: 36px; }
  .system-node small { display: none; }
  .node-icon { width: 42px; height: 42px; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: 180px; padding-left: 0 !important; border-right: 0; border-top: 1px solid var(--line-soft); }
  .principles h3 { margin-top: 36px; }
  .hardware-photo { min-height: 235px; }
  .hardware-photo figcaption,
  .panda-photo figcaption { grid-template-columns: 1fr; gap: 4px; padding: 18px; }
  .hardware-photo figcaption span,
  .panda-photo figcaption span { grid-row: auto; }
  .hardware-inventory h3 { font-size: 18px; }
  .hardware-inventory article > div > p { font-size: 11px; }
  .hardware-flow { margin-right: -4px; margin-left: -4px; }
  .links-intro h2 { font-size: 36px; }
  .project-links > a { grid-template-columns: 1fr 26px; gap: 8px 14px; min-height: 126px; }
  .project-links > a > span { grid-column: 1; }
  .project-links > a > strong { grid-column: 1; font-size: 17px; }
  .project-links > a > p { grid-column: 1; margin: 0; }
  .project-links > a > svg { grid-column: 2; grid-row: 1 / 4; }
  .core-screen { aspect-ratio: 1.36 / 1; }
  .core-topbar { height: 44px; }
  .core-panel { inset: 44px 0 0; }
  .core-panel h3 { font-size: 23px; }
  .core-panel > p:last-child { font-size: 10px; }
  .scroll-step h3 { font-size: 27px; }
  .sound-list { grid-template-columns: 1fr; }
  .sound-list button { height: 90px; border-right: 0 !important; }
  .sound-list svg { margin-bottom: 7px; }
  .hud-shell { padding: 16px 24px 28px; }
  .navdy-spec-band div { padding: 17px; }
  .navdy-spec-band strong { font-size: 24px; }
  .cloud-copy { grid-template-columns: 1fr; }
  .cloud-copy article { padding: 20px 0 !important; }
  .cloud-architecture { grid-template-columns: 1fr; }
  .phone-stack { height: 500px; }
  .phone-frame { width: 205px; height: 455px; border-width: 5px; border-radius: 35px; }
  .phone-back { left: 0; }
  .phone-front { right: 0; }
  .watch-render { width: 245px; height: 290px; }
  .watch-face { width: 208px; height: 208px; }
  .watch-face > strong { font-size: 46px; }
  .wear-metrics { display: grid; grid-template-columns: 1fr; }
  .wear-metrics span { padding-left: 0 !important; border-right: 0; border-bottom: 1px solid var(--night-line); }
  .ambient-states { grid-template-columns: 1fr; }
  .ambient-states article { min-height: 230px; border-right: 0; border-top: 1px solid var(--night-line); }
  .ambient-states svg { margin-bottom: 30px; }
  .ble-detail { grid-template-columns: 1fr; }
  .ble-detail div { padding-left: 0 !important; border-right: 0; }
  .operations-flow { grid-template-columns: 1fr; }
  .operations-flow article { height: 210px; padding-left: 0 !important; border-right: 0; border-top: 1px solid var(--line); }
  .commit-row { grid-template-columns: 68px 1fr; }
  .commit-row { min-height: 0; align-items: start; padding: 15px 0; }
  .commit-row strong { overflow: visible; line-height: 1.5; text-overflow: clip; white-space: normal; }
  .commit-tag { display: none; }
  .sound-list button { height: auto; min-height: 90px; }
  .sound-list span { overflow: visible; line-height: 1.4; text-overflow: clip; white-space: normal; }
  .source-index dl div { grid-template-columns: 1fr; gap: 6px; }
  .gallery-track button { flex-basis: 86vw; }
}

@keyframes packet-vertical {
  from { top: 0; }
  to { top: calc(100% - 5px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-field,
  .hero-content { opacity: 1; transform: none; }
}
