:root {
  --ink: #111815;
  --ink-soft: #435049;
  --paper: #f5f7f4;
  --white: #ffffff;
  --night: #050908;
  --night-raised: #0a100e;
  --line: #d8dfda;
  --line-dark: #25302b;
  --green: #32e875;
  --green-deep: #0d8f45;
  --cyan: #51d8d1;
  --amber: #f1b84b;
  --shell: 1200px;
  --header-height: 72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #041008;
  background: var(--green);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.section-shell,
.nav-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 9, 8, 0.94);
  border-color: var(--line-dark);
  backdrop-filter: blur(14px);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 760;
  line-height: 1;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #051008;
  background: var(--green);
  border-radius: 5px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 13px;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav > a { transition: color 160ms ease; }
.site-nav > a:hover { color: var(--green); }

.site-nav .nav-github {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 5px;
}

.site-nav .nav-github:hover { border-color: var(--green); }

.nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  padding: 10px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  display: block;
  margin: 4px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: calc(100svh - 42px);
  max-height: 880px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-color: var(--night);
  background-image: url("rcmaker-hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(1, 5, 4, 0.27);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--shell));
  margin: 48px auto 0;
}

.hero-inner > * { max-width: 650px; }

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--green-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero h1 {
  margin: 0;
  font-size: 88px;
  font-weight: 820;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.3);
}

.hero-slogan {
  margin: 26px 0 18px;
  font-size: 34px;
  font-weight: 680;
  line-height: 1.32;
}

.hero-copy {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  transition: transform 160ms ease, color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: #041008; background: var(--green); }
.button-primary:hover { background: #59f28f; }
.button-secondary { color: var(--white); background: rgba(4, 9, 7, 0.42); border-color: rgba(255, 255, 255, 0.4); }
.button-secondary:hover { border-color: var(--green); }
.button-dark { color: var(--white); background: var(--night); }
.button-dark:hover { background: #18211d; }
.button-plain { color: var(--ink); border-color: rgba(7, 16, 13, 0.38); }
.button-plain:hover { border-color: var(--night); }

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.hero-signals li {
  padding: 0 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-signals li:first-child { padding-left: 0; border-left: 0; }

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100% - var(--shell)) / 2));
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 700;
}

.scroll-cue i {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.scroll-cue i::after { content: "↓"; font-style: normal; }

.value-strip { color: var(--white); background: #0a110e; border-top: 1px solid var(--line-dark); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-grid p {
  margin: 0;
  padding: 27px 32px;
  border-left: 1px solid var(--line-dark);
}

.value-grid p:first-child { padding-left: 0; border-left: 0; }
.value-grid strong, .value-grid span { display: block; }
.value-grid strong { font-size: 15px; }
.value-grid span { margin-top: 2px; color: #94a39b; font-size: 13px; }

.section { padding: 118px 0; }

.performance { background: var(--white); }

.performance-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 90px;
  align-items: end;
}

.performance-heading h2 {
  margin: 0;
  font-size: 50px;
  font-weight: 790;
  line-height: 1.17;
}

.performance-heading > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.benchmark-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benchmark-grid > div {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 42px;
  border-left: 1px solid var(--line);
}

.benchmark-grid > div:first-child { padding-left: 0; border-left: 0; }

.benchmark-grid strong {
  color: var(--ink);
  font-size: 58px;
  font-weight: 820;
  line-height: 1;
}

.benchmark-primary strong { color: var(--green-deep); font-size: 78px; }
.benchmark-grid sup { font-size: 28px; }
.benchmark-grid small { font-size: 22px; }

.benchmark-grid span {
  margin-top: 15px;
  color: var(--green-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.benchmark-grid p { margin: 4px 0 0; color: #7b8881; font-size: 13px; }

.benchmark-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 25px;
}

.benchmark-note code {
  flex: none;
  color: #d8e4dd;
  background: var(--night);
  padding: 11px 14px;
  border-radius: 4px;
  font: 11px/1.4 Consolas, "SFMono-Regular", monospace;
}

.benchmark-note p { max-width: 570px; margin: 0; color: #7b8881; font-size: 12px; text-align: right; }

.static-acceleration { color: var(--white); background: #0a120f; }
.static-acceleration .section-kicker { color: var(--green); }

.preload-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.preload-copy h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 790;
  line-height: 1.18;
}

.preload-copy > p:not(.section-kicker) {
  margin: 25px 0 27px;
  color: #99a79f;
  font-size: 16px;
}

.preload-flow { border-top: 1px solid #304038; }

.preload-flow article {
  min-height: 135px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #304038;
}

.preload-flow article > span {
  color: var(--green);
  font: 12px/1 Consolas, "SFMono-Regular", monospace;
}

.preload-flow h3 { margin: 0 0 5px; font-size: 19px; }
.preload-flow p { margin: 0; color: #87958d; font-size: 13px; }
.preload-flow code,
.preload-platforms code { color: #bdeacc; font-family: Consolas, "SFMono-Regular", monospace; font-size: 0.92em; }

.preload-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 76px;
  border-top: 1px solid #304038;
  border-bottom: 1px solid #304038;
}

.preload-platforms > div { padding: 27px 34px; border-left: 1px solid #304038; }
.preload-platforms > div:first-child { padding-left: 0; border-left: 0; }
.preload-platforms strong { color: var(--cyan); font-family: Consolas, monospace; font-size: 13px; }
.preload-platforms p { margin: 7px 0 0; color: #8d9b93; font-size: 13px; }

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 62px;
}

.section-heading .section-kicker { grid-column: 1 / -1; }

.section-heading h2,
.process-copy h2,
.compatibility h2,
.final-cta h2 {
  margin: 0;
  font-size: 50px;
  font-weight: 790;
  line-height: 1.17;
  letter-spacing: 0;
}

.section-heading > p:last-child,
.process-copy > p,
.delivery-heading > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.advantage-item {
  position: relative;
  min-height: 280px;
  padding: 35px 32px 30px;
  background: rgba(255, 255, 255, 0.44);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease, transform 180ms ease;
}

.advantage-item:hover { z-index: 1; background: var(--white); transform: translateY(-4px); }

.item-index {
  position: absolute;
  top: 25px;
  right: 28px;
  color: #9ba8a1;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.feature-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  color: #06200f;
  background: var(--green);
  border-radius: 5px;
  font-family: Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.advantage-item:nth-child(2) .feature-icon,
.advantage-item:nth-child(5) .feature-icon { background: var(--cyan); }
.advantage-item:nth-child(3) .feature-icon,
.advantage-item:nth-child(6) .feature-icon { background: var(--amber); }

.advantage-item h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.35; }
.advantage-item p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.advantage-item a { position: absolute; left: 32px; bottom: 28px; color: var(--green-deep); font-size: 13px; font-weight: 800; }

.components { background: #e8eeea; }

.components-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.components-heading h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 790;
  line-height: 1.18;
}

.components-heading > p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.component-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #c5d0c9;
  border-left: 1px solid #c5d0c9;
}

.component-groups article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 30px 27px;
  background: rgba(255, 255, 255, 0.34);
  border-right: 1px solid #c5d0c9;
  border-bottom: 1px solid #c5d0c9;
}

.component-groups article > span { color: var(--green-deep); font: 11px/1.3 Consolas, monospace; font-weight: 800; }
.component-groups h3 { margin: 38px 0 13px; font-size: 20px; }
.component-groups p { margin: 0; color: #59675f; font-size: 13px; line-height: 1.85; }
.component-groups a { margin-top: auto; padding-top: 22px; color: var(--green-deep); font-size: 12px; font-weight: 800; }

.components-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
}

.components-note p { margin: 0; color: #65726b; font-size: 13px; }
.components-note strong { color: var(--ink); }

.processes { color: var(--white); background: var(--night); }
.processes .section-kicker { color: var(--green); }

.process-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 84px;
  align-items: center;
}

.process-copy > p { margin: 24px 0; color: #9aa8a1; }

.check-list { margin: 30px 0 28px; padding: 0; list-style: none; }
.check-list li { margin: 10px 0; color: #dce4df; font-size: 14px; }
.check-list span { margin-right: 10px; color: var(--green); }
.text-link { color: var(--green); font-size: 14px; font-weight: 800; }

.process-visual {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1fr 100px 1.18fr;
  align-items: stretch;
  padding: 24px;
  background-color: #09100d;
  background-image: linear-gradient(rgba(45, 232, 114, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 232, 114, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
}

.process-apps,
.process-groups { display: flex; flex-direction: column; justify-content: space-around; gap: 18px; }

.app-node,
.group-node {
  position: relative;
  min-height: 89px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
  background: #0d1512;
  border: 1px solid #2b3832;
  border-radius: 5px;
}

.app-node span,
.group-node strong { font-family: Consolas, monospace; font-size: 14px; }
.app-node small,
.group-node small { margin-top: 6px; color: #718078; font-size: 11px; }
.group-node > div { display: flex; align-items: center; gap: 9px; }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(50, 232, 117, 0.75);
}

.group-cyan .status-dot { background: var(--cyan); box-shadow: 0 0 14px rgba(81, 216, 209, 0.75); }
.group-amber .status-dot { background: var(--amber); box-shadow: 0 0 14px rgba(241, 184, 75, 0.65); }

.flow-lines { display: flex; flex-direction: column; justify-content: space-around; padding: 0 10px; }
.flow-lines i { position: relative; height: 1px; background: #3a4b42; overflow: visible; }
.flow-lines i::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: flow 2.2s linear infinite;
}
.flow-lines i:nth-child(2)::after { animation-delay: -0.7s; background: var(--cyan); }
.flow-lines i:nth-child(3)::after { animation-delay: -1.4s; background: var(--amber); }

@keyframes flow { from { transform: translateX(0); } to { transform: translateX(80px); } }

.code-stage {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 84px;
  align-items: center;
  margin-top: 100px;
  padding-top: 82px;
  border-top: 1px solid var(--line-dark);
}

.code-caption h3 { margin: 0 0 18px; font-size: 30px; line-height: 1.3; }
.code-caption > p:last-child { margin: 0; color: #89968f; }
.code-caption code { color: #bdeacc; font-family: Consolas, "SFMono-Regular", monospace; font-size: 0.92em; }

.code-window { overflow: hidden; background: #0d1512; border: 1px solid #2b3832; border-radius: 6px; box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28); }
.code-toolbar { height: 45px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #121c18; border-bottom: 1px solid #27322d; }
.code-toolbar span { width: 8px; height: 8px; border-radius: 50%; background: #5f6c65; }
.code-toolbar span:first-child { background: #eb6f63; }
.code-toolbar span:nth-child(2) { background: var(--amber); }
.code-toolbar span:nth-child(3) { background: var(--green); }
.code-toolbar em { margin-left: auto; color: #76837c; font-family: Consolas, monospace; font-size: 11px; font-style: normal; }
.code-window pre { margin: 0; padding: 26px 28px 30px; overflow-x: auto; color: #dbe5df; font: 14px/1.75 Consolas, "SFMono-Regular", monospace; }
.code-muted { color: #8b9891; }
.code-string { color: #8cddd8; }
.code-accent { color: #65ed95; }
.code-bool { color: #efbd5c; }

.delivery { background: var(--white); }
.delivery-heading { max-width: none; }

.delivery-flow {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: center;
  margin-top: 70px;
}

.delivery-step { min-height: 250px; padding: 32px 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.delivery-step > span { color: var(--green-deep); font-family: Consolas, monospace; font-size: 12px; font-weight: 800; }
.delivery-step h3 { margin: 54px 0 10px; font-size: 30px; }
.delivery-step p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.delivery-arrow { color: #a9b5ae; font-size: 28px; font-style: normal; text-align: center; }

.command-bar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 72px;
  padding: 19px 22px 19px 26px;
  color: #e6efe9;
  background: var(--night);
  border-radius: 6px;
}

.command-bar > div { min-width: 0; }
.command-label { display: block; margin-bottom: 6px; color: var(--green); font: 10px/1 Consolas, monospace; }
.command-bar code { display: block; overflow: hidden; font: 14px/1.5 Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }

.copy-button {
  flex: none;
  min-width: 92px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  background: #17221d;
  border: 1px solid #344239;
  border-radius: 5px;
  cursor: pointer;
}

.copy-button:hover { border-color: var(--green); }
.copy-button em { font-size: 12px; font-style: normal; font-weight: 750; }

.compatibility { padding: 84px 0; color: var(--white); background: #111714; }
.compatibility .section-kicker { color: var(--cyan); }
.compatibility-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: end; }
.compatibility h2 { max-width: 680px; font-size: 38px; }
.compatibility ul { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; border-top: 1px solid #344039; list-style: none; }
.compatibility li { padding: 16px 0; border-bottom: 1px solid #344039; }
.compatibility li:nth-child(odd) { padding-right: 20px; }
.compatibility strong, .compatibility span { display: block; }
.compatibility strong { font-size: 13px; }
.compatibility span { color: #8f9e96; font-family: Consolas, monospace; font-size: 12px; }

.open-source { color: var(--white); background: #07100d; }

.open-source .section-kicker { color: var(--green); }

.open-source-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

.open-source-copy h2 {
  margin: 0;
  font-size: 54px;
  font-weight: 790;
  line-height: 1.15;
}

.open-source-copy > p:not(.section-kicker) {
  max-width: 620px;
  margin: 25px 0 0;
  color: #9eaca4;
  font-size: 17px;
}

.open-source-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button-source { color: var(--white); border-color: #46534c; }
.button-source:hover { border-color: var(--green); }

.license-panel {
  overflow: hidden;
  background: #0c1712;
  border: 1px solid #2b3a32;
  border-radius: 6px;
}

.license-heading {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 30px;
  background: var(--green);
  color: #061009;
}

.license-heading span { font: 11px/1.4 Consolas, monospace; font-weight: 800; }
.license-heading strong { margin-top: 5px; font-size: 33px; line-height: 1.2; }
.license-panel dl { margin: 0; }
.license-panel dl > div { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 30px; border-top: 1px solid #26342d; }
.license-panel dt { color: #84938b; font-size: 13px; }
.license-panel dd { margin: 0; color: #edf5f0; font-size: 14px; font-weight: 750; text-align: right; }

.final-cta { padding: 112px 0; background: var(--green); }
.final-cta .section-kicker { color: #07552b; }
.final-cta-inner h2 { font-size: 56px; }
.final-cta-inner > p:not(.section-kicker) { max-width: 620px; margin: 23px 0 0; color: #164825; font-size: 18px; }

.site-footer { padding: 72px 0 24px; color: var(--white); background: var(--night); }
.footer-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
.footer-brand { margin-bottom: 18px; }
.footer-grid > div:first-child p { max-width: 300px; margin: 0; color: #7e8c84; font-size: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.footer-links > div { display: flex; flex-direction: column; gap: 8px; }
.footer-links strong { margin-bottom: 8px; color: #8b9991; font-size: 11px; text-transform: uppercase; }
.footer-links a { color: #d2dad5; font-size: 13px; }
.footer-links a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 20px; color: #5e6b64; border-top: 1px solid #222c27; font-size: 11px; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 980px) {
  .site-nav { gap: 18px; }
  .section { padding: 90px 0; }
  .performance-heading { grid-template-columns: 1fr; gap: 25px; }
  .performance-heading h2 { font-size: 43px; }
  .benchmark-grid > div { padding: 30px 25px; }
  .benchmark-primary strong { font-size: 65px; }
  .benchmark-grid strong { font-size: 48px; }
  .benchmark-note { align-items: flex-start; flex-direction: column; }
  .benchmark-note p { max-width: 700px; text-align: left; }
  .preload-layout { grid-template-columns: 1fr; gap: 54px; }
  .preload-copy h2 { font-size: 43px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading h2, .process-copy h2 { font-size: 43px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .components-heading { grid-template-columns: 1fr; gap: 24px; }
  .components-heading h2 { font-size: 43px; }
  .component-groups { grid-template-columns: repeat(2, 1fr); }
  .process-layout, .code-stage, .compatibility-inner { grid-template-columns: 1fr; }
  .open-source-layout { grid-template-columns: 1fr; gap: 58px; }
  .process-layout, .code-stage { gap: 55px; }
  .process-visual { max-width: 720px; width: 100%; }
  .code-stage { margin-top: 74px; }
  .delivery-flow { grid-template-columns: 1fr 46px 1fr 46px 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .section-shell, .nav-shell { width: min(calc(100% - 32px), var(--shell)); }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 24px;
    color: var(--white);
    background: rgba(5, 9, 8, 0.98);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav > a { padding: 16px 4px; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .site-nav .nav-github { margin-top: 14px; padding: 14px; text-align: center; border: 1px solid #3a4840; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

  .hero {
    min-height: calc(100svh - 34px);
    max-height: none;
    background-position: 61% center;
  }
  .hero-shade { background: rgba(1, 5, 4, 0.53); }
  .hero-inner { width: min(calc(100% - 32px), var(--shell)); margin-top: 38px; }
  .hero-inner > * { max-width: 100%; }
  .hero h1 { font-size: 57px; }
  .hero-slogan { margin-top: 20px; font-size: 27px; }
  .hero-copy { max-width: 520px; padding-right: 8px; overflow-wrap: anywhere; font-size: 15px; line-height: 1.7; }
  .hero-actions { margin-top: 24px; }
  .hero-signals { margin-top: 25px; }
  .hero-signals li { padding: 0 9px; }
  .scroll-cue { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid p, .value-grid p:first-child { padding: 17px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .value-grid p:first-child { border-top: 0; }
  .section { padding: 76px 0; }
  .performance-heading h2 { font-size: 36px; }
  .performance-heading > p { font-size: 15px; }
  .benchmark-grid { grid-template-columns: 1fr; margin-top: 46px; }
  .benchmark-grid > div,
  .benchmark-grid > div:first-child { min-height: 170px; padding: 27px 0; border-left: 0; border-top: 1px solid var(--line); }
  .benchmark-grid > div:first-child { border-top: 0; }
  .benchmark-primary strong { font-size: 62px; }
  .benchmark-grid strong { font-size: 44px; }
  .benchmark-note code { width: 100%; overflow-x: auto; white-space: nowrap; }
  .preload-copy h2 { font-size: 36px; }
  .preload-platforms { grid-template-columns: 1fr; margin-top: 52px; }
  .preload-platforms > div,
  .preload-platforms > div:first-child { padding: 23px 0; border-left: 0; border-top: 1px solid #304038; }
  .preload-platforms > div:first-child { border-top: 0; }
  .section-heading { margin-bottom: 43px; }
  .section-heading h2, .process-copy h2, .final-cta-inner h2 { font-size: 36px; }
  .section-heading > p:last-child { font-size: 15px; }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage-item { min-height: 280px; }
  .components-heading { margin-bottom: 42px; }
  .components-heading h2 { font-size: 36px; }
  .component-groups { grid-template-columns: 1fr; }
  .component-groups article { min-height: 220px; }
  .components-note { align-items: flex-start; flex-direction: column; }
  .process-visual { min-height: 390px; grid-template-columns: 1fr 50px 1.2fr; padding: 13px; }
  .app-node, .group-node { min-height: 78px; padding: 11px; }
  .app-node span, .group-node strong { font-size: 11px; }
  .app-node small, .group-node small { font-size: 9px; overflow-wrap: anywhere; }
  .flow-lines { padding: 0 5px; }
  @keyframes flow { from { transform: translateX(0); } to { transform: translateX(35px); } }
  .code-stage { margin-top: 62px; padding-top: 62px; }
  .code-window pre { padding: 22px 18px 25px; font-size: 12px; }
  .delivery-heading { margin-bottom: 0; }
  .delivery-flow { grid-template-columns: 1fr; margin-top: 46px; }
  .delivery-step { min-height: 205px; }
  .delivery-step h3 { margin-top: 36px; }
  .delivery-arrow { padding: 10px 0; transform: rotate(90deg); }
  .command-bar { align-items: stretch; padding: 17px; }
  .command-bar code { max-width: calc(100vw - 155px); font-size: 12px; }
  .copy-button { min-width: 50px; }
  .copy-button em { display: none; }
  .compatibility { padding: 70px 0; }
  .compatibility-inner { gap: 46px; }
  .compatibility h2 { font-size: 30px; }
  .compatibility ul { grid-template-columns: 1fr; }
  .compatibility li:nth-child(odd) { padding-right: 0; }
  .open-source-copy h2 { font-size: 38px; }
  .open-source-copy > p:not(.section-kicker) { font-size: 15px; }
  .open-source-actions .button { width: 100%; }
  .license-panel dl > div { padding: 12px 20px; }
  .final-cta { padding: 78px 0; }
  .final-cta-inner > p:not(.section-kicker) { font-size: 16px; }
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 38px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

@media (max-width: 430px) {
  .hero .eyebrow { margin-bottom: 13px; font-size: 11px; }
  .hero h1 { font-size: 49px; }
  .hero-slogan { font-size: 24px; }
  .hero-actions .button { width: 100%; }
  .hero-signals { display: grid; grid-template-columns: repeat(3, max-content); row-gap: 8px; }
  .hero-signals li:nth-child(4) { padding-left: 0; border-left: 0; }
  .feature-icon { margin-bottom: 34px; }
  .process-visual { grid-template-columns: 1fr 28px 1.25fr; }
  .process-visual { padding: 8px; }
  .app-node, .group-node { padding: 8px; }
  .flow-lines { padding: 0 2px; }
  @keyframes flow { from { transform: translateX(0); } to { transform: translateX(20px); } }
  .footer-links { grid-template-columns: 1fr; }
}

@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; }
}
