/* Public landing page styles. */
:root {
  --paper: #f4f6fc;
  --paper-deep: #e8ecf8;
  --white: #ffffff;
  --ink: #12141b;
  --muted: #626878;
  --line: #ccd3e3;
  --line-dark: #9fa9bd;
  --cobalt: #4b4dff;
  --cobalt-dark: #3537d8;
  --coral: #ff705a;
  --mint: #5ed3ad;
  --yellow: #f3c75f;
  --display: "Syne", sans-serif;
  --body: "Manrope", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --shadow: 0 24px 70px rgba(33, 38, 72, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(75, 77, 255, 0.11) 1px, transparent 0) 0 0 / 24px 24px,
    var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--white);
  background: var(--cobalt);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1240px, calc(100% - 28px));
  min-height: 72px;
  margin: 14px auto 0;
  padding: 0 18px 0 22px;
  border: 1px solid rgba(159, 169, 189, 0.72);
  border-radius: 18px;
  background: rgba(244, 246, 252, 0.88);
  box-shadow: 0 8px 30px rgba(31, 36, 64, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark,
.router-mark {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
}

.brand-mark::before,
.router-mark::before {
  position: absolute;
  top: 11px;
  left: 3px;
  width: 19px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: rotate(-32deg);
}

.brand-mark i,
.router-mark i {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--paper);
}

.brand-mark i:nth-child(1),
.router-mark i:nth-child(1) { top: 2px; right: 1px; }
.brand-mark i:nth-child(2),
.router-mark i:nth-child(2) { bottom: 2px; left: 1px; }
.brand-mark i:nth-child(3),
.router-mark i:nth-child(3) { right: 1px; bottom: 1px; background: var(--cobalt); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a,
.footer-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--cobalt);
}

.header-cta {
  justify-self: end;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 48px;
  align-items: center;
  min-height: 760px;
  padding-top: 54px;
  padding-bottom: 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker {
  margin: 0 0 22px;
  color: var(--cobalt-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(94, 211, 173, 0.2);
  animation: breathe 2.2s ease-in-out infinite;
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(58px, 6.8vw, 96px);
}

.hero h1 span,
.section-heading h2 span {
  color: var(--cobalt);
}

.hero-lede {
  max-width: 570px;
  margin: 30px 0 0;
  color: #4f5564;
  font-size: 18px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 0 19px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--cobalt);
}

.button-primary:hover {
  box-shadow: 7px 7px 0 var(--cobalt);
}

.button-quiet {
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.55);
}

.button-quiet:hover {
  background: var(--white);
}

.install-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  max-width: 570px;
  min-height: 58px;
  margin-top: 38px;
  padding: 8px 9px 8px 16px;
  border: 1px solid #262a36;
  border-radius: 12px;
  color: #f8f9ff;
  background: #181b25;
  box-shadow: 0 15px 30px rgba(24, 27, 37, 0.14);
}

.install-bar .prompt {
  color: var(--mint);
  font-family: var(--mono);
}

.install-bar code {
  min-width: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  min-width: 62px;
  padding: 8px 11px;
  border: 1px solid #3a3f50;
  border-radius: 8px;
  color: #dce1ef;
  background: #252936;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.copy-button:hover {
  border-color: var(--cobalt);
  background: #303546;
}

.install-note {
  margin: 10px 0 0 2px;
  color: #7c8291;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.network-wrap {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.network-title,
.network-log {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 49px;
  padding: 0 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.network-title {
  border-bottom: 1px solid var(--line);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #347d66;
}

.live-indicator i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.network-stage {
  position: relative;
  aspect-ratio: 620 / 540;
  min-height: 480px;
  overflow: hidden;
  background:
    linear-gradient(rgba(75, 77, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 77, 255, 0.055) 1px, transparent 1px),
    #f7f8fd;
  background-size: 32px 32px;
}

.network-stage::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 80px rgba(88, 98, 132, 0.08);
}

.connections {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
}

.wire {
  stroke: #c3cad9;
  stroke-width: 1.5;
}

.signal {
  stroke: var(--cobalt);
  stroke-dasharray: 1 28;
  stroke-linecap: round;
  stroke-width: 5;
  animation: signal-run 3.6s linear infinite;
}

.signal-b { animation-delay: -1.8s; }
.signal-c { animation-delay: -2.7s; }
.signal-d { animation-delay: -0.9s; }

.repo-node {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  width: 180px;
  min-height: 70px;
  padding: 11px;
  border: 1px solid #bac3d5;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(45, 50, 82, 0.08);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.repo-node.is-active {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 4px rgba(75, 77, 255, 0.11), 0 12px 30px rgba(45, 50, 82, 0.12);
  transform: translateY(-3px);
}

.node-one { top: 14%; left: 4%; }
.node-two { top: 14%; right: 4%; }
.node-three { bottom: 13%; left: 5%; }
.node-four { right: 5%; bottom: 13%; }

.node-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 9px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
}

.node-icon.scout { color: #d4543f; background: #fff0ed; }
.node-icon.analyst { color: #277a62; background: #e8faf4; }
.node-icon.hub { color: #8c6a13; background: #fff8e4; }
.node-icon.maker { color: #4b4dff; background: #ececff; }

.repo-node strong,
.repo-node small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.repo-node strong {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.repo-node small {
  color: var(--muted);
  font-size: 9px;
}

.node-state {
  grid-column: 2;
  width: fit-content;
  margin-top: -6px;
  padding: 2px 6px;
  border-radius: 10px;
  color: #767d8d;
  background: #edf0f7;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.router-card {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 205px;
  padding: 22px 16px 15px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--cobalt);
  transform: translate(-50%, -50%);
}

.router-mark {
  margin-bottom: 9px;
  color: var(--white);
}

.router-mark i {
  background: var(--ink);
}

.router-card strong {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: -0.04em;
}

.router-card small {
  margin-top: 2px;
  color: #aeb5c6;
  font-family: var(--mono);
  font-size: 8px;
}

.message-pill {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 7px;
  align-items: center;
  width: 100%;
  margin-top: 17px;
  padding: 8px 9px;
  border: 1px solid #3b4151;
  border-radius: 8px;
  color: #cbd1e1;
  background: #222631;
  font-family: var(--mono);
  font-size: 8px;
}

.message-pill span:last-child {
  overflow: hidden;
  color: #8f91ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.network-log {
  justify-content: flex-start;
  border-top: 1px solid var(--line);
  background: #eef1f8;
  text-transform: none;
}

.network-log b {
  color: var(--ink);
  font-weight: 500;
}

.log-time {
  color: #868d9c;
}

.log-proof {
  margin-left: auto;
  color: #357c66;
}

.proof-strip {
  border-block: 1px solid var(--line-dark);
  background: rgba(232, 236, 248, 0.88);
}

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

.proof-list span {
  padding: 19px 20px;
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.proof-list span:first-child {
  border-left: 1px solid var(--line);
}

.proof-list i {
  margin-right: 8px;
  color: var(--cobalt);
  font-style: normal;
}

.section {
  padding-top: 140px;
  padding-bottom: 140px;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(42px, 5.2vw, 72px);
}

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

.protocol-heading {
  display: grid;
  grid-template-columns: 1fr 430px;
  column-gap: 60px;
  align-items: end;
}

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

.protocol-heading > p:last-child {
  margin: 0 0 4px;
  font-size: 17px;
}

.manifest-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 0;
  margin-top: 70px;
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.file-window {
  min-width: 0;
  color: #dce1ef;
  background: #181b25;
}

.file-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid #343948;
  font-family: var(--mono);
  font-size: 11px;
}

.file-tab small {
  margin-left: auto;
  color: #7f8799;
}

.yaml-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--coral);
  transform: rotate(15deg);
}

.file-window pre {
  min-height: 440px;
  margin: 0;
  padding: 34px 40px 38px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: clamp(12px, 1.45vw, 15px);
  line-height: 1.8;
}

.file-window code {
  font: inherit;
}

.file-window .key {
  color: #9294ff;
}

.file-window mark {
  padding: 2px 5px;
  border-radius: 4px;
  color: #181b25;
  background: var(--mint);
}

.manifest-notes {
  display: flex;
  flex-direction: column;
  background: var(--paper-deep);
}

.note {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.note + .note {
  border-top: 1px solid var(--line-dark);
}

.note > span {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #9da5b6;
  font-family: var(--mono);
  font-size: 10px;
}

.note strong {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.note p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.process-section {
  color: var(--white);
  background: #171a23;
}

.process-section .kicker {
  color: #9294ff;
}

.process-section .section-heading h2 span {
  color: #9294ff;
}

.section-heading.compact {
  max-width: 880px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 70px 0 0;
  padding: 0;
  border: 1px solid #3a3f4f;
  border-radius: 22px;
  overflow: hidden;
  list-style: none;
}

.process-grid li {
  position: relative;
  min-height: 330px;
  padding: 34px;
  background: #1d202a;
}

.process-grid li + li {
  border-left: 1px solid #3a3f4f;
}

.step-number {
  color: #72798b;
  font-family: var(--mono);
  font-size: 10px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: 42px;
  border: 1px solid #484e60;
  border-radius: 15px;
  color: #a9aaff;
  font-family: var(--mono);
  font-size: 24px;
  background: #252936;
}

.process-grid h3 {
  margin: 25px 0 0;
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: -0.04em;
}

.process-grid p {
  margin: 11px 0 0;
  color: #a9b0c0;
  font-size: 14px;
}

.process-grid code {
  position: absolute;
  bottom: 28px;
  left: 34px;
  color: #767d8e;
  font-family: var(--mono);
  font-size: 10px;
}

.terminal-card {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid #42485a;
  border-radius: 22px;
  background: #11141c;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
}

.terminal-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid #343948;
  color: #7f8798;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #414757;
}

.terminal-dots i:nth-child(1) { background: var(--coral); }
.terminal-dots i:nth-child(2) { background: var(--yellow); }
.terminal-dots i:nth-child(3) { background: var(--mint); }

.terminal-secure {
  justify-self: end;
  color: var(--mint);
}

.terminal-body {
  padding: 35px 42px 40px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
}

.terminal-body p {
  margin: 0 0 13px;
  white-space: pre-wrap;
}

.term-prompt {
  margin-right: 10px;
  color: var(--mint);
}

.term-indent {
  display: block;
  padding-left: 24px;
}

.terminal-body i {
  color: #c1c2ff;
  font-style: normal;
}

.term-result {
  color: #9da5b6;
}

.term-result b {
  margin-right: 8px;
  color: var(--mint);
}

.term-event {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 520px;
  margin: 19px 0;
  padding: 15px 17px;
  border: 1px solid #373c4b;
  border-left: 3px solid var(--cobalt);
  border-radius: 8px;
  color: #808899;
  background: #191c25;
}

.term-event b {
  color: var(--white);
  font-weight: 500;
}

.term-event em {
  padding: 3px 7px;
  border-radius: 20px;
  color: var(--mint);
  background: rgba(94, 211, 173, 0.1);
  font-size: 9px;
  font-style: normal;
  text-transform: uppercase;
}

.term-muted {
  color: #626a7b;
}

.section-heading.split {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 70px;
  align-items: end;
}

.section-heading.split > p {
  margin: 0 0 3px;
  font-size: 17px;
}

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

.principle-grid article {
  position: relative;
  min-height: 250px;
  padding: 38px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(244, 246, 252, 0.62);
  transition: background 220ms ease;
}

.principle-grid article:hover {
  background: var(--white);
}

.principle-mark {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  color: var(--cobalt-dark);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.principle-grid h3 {
  margin: 45px 0 0;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.045em;
}

.principle-grid p {
  max-width: 430px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  padding: 110px 0;
  color: var(--white);
  background: var(--cobalt);
}

.final-cta .kicker {
  color: #d4d5ff;
}

.final-inner {
  display: grid;
  grid-template-columns: 1fr minmax(430px, 0.78fr);
  gap: 70px;
  align-items: end;
}

.final-cta h2 {
  max-width: 680px;
}

.final-action {
  padding-bottom: 5px;
}

.final-action .install-bar {
  margin: 0;
}

.final-action > a {
  display: inline-flex;
  gap: 12px;
  margin-top: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
}

.site-footer {
  color: #b7bece;
  background: #11141c;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 120px;
  font-size: 12px;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand-mark i {
  background: #11141c;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.toast {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  padding: 12px 16px;
  border-radius: 9px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 10px 30px rgba(18, 20, 27, 0.22);
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}

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

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

@keyframes signal-run {
  to { stroke-dashoffset: -58; }
}

@keyframes breathe {
  50% { box-shadow: 0 0 0 8px rgba(94, 211, 173, 0.08); }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 90px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .network-wrap {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .protocol-heading,
  .section-heading.split,
  .final-inner {
    grid-template-columns: 1fr;
  }

  .protocol-heading > p:last-child,
  .section-heading.split > p {
    max-width: 650px;
    margin-top: 28px;
  }

  .final-action {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 620px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 62px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    gap: 55px;
    padding-top: 72px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .network-wrap {
    transform: none;
  }

  .network-stage {
    min-height: 450px;
  }

  .repo-node {
    width: 154px;
    min-height: 62px;
    padding: 8px;
  }

  .node-one,
  .node-three { left: 2%; }
  .node-two,
  .node-four { right: 2%; }

  .repo-node strong { font-size: 9px; }
  .repo-node small { font-size: 8px; }
  .node-icon { width: 29px; height: 29px; }

  .router-card {
    width: 180px;
    padding: 18px 12px 13px;
  }

  .network-log span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .log-proof {
    display: none;
  }

  .proof-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-list span:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .proof-list span:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding-top: 95px;
    padding-bottom: 95px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(39px, 11vw, 58px);
  }

  .manifest-panel {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .file-window pre {
    min-height: auto;
    padding: 27px 22px;
    font-size: 11px;
  }

  .manifest-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .note {
    min-height: 260px;
    padding: 32px 24px;
  }

  .note + .note {
    border-top: 0;
    border-left: 1px solid var(--line-dark);
  }

  .process-grid {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .process-grid li {
    min-height: 340px;
  }

  .process-grid li + li {
    border-top: 1px solid #3a3f4f;
    border-left: 0;
  }

  .terminal-body {
    padding: 28px 22px;
    overflow-x: auto;
  }

  .terminal-body p,
  .term-event {
    min-width: 500px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: 85px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .site-header {
    width: calc(100% - 18px);
    margin-top: 9px;
    padding: 0 10px 0 15px;
    border-radius: 14px;
  }

  .header-cta {
    padding: 8px 11px;
  }

  .hero-actions {
    display: grid;
  }

  .install-bar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .install-bar .copy-button {
    grid-column: 1 / -1;
  }

  .network-stage {
    min-height: 430px;
  }

  .repo-node {
    width: 132px;
  }

  .repo-node small,
  .node-state {
    display: none;
  }

  .router-card {
    width: 164px;
  }

  .network-title span:first-child {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .proof-list span {
    padding: 15px 12px;
    font-size: 8px;
  }

  .manifest-notes {
    grid-template-columns: 1fr;
  }

  .note + .note {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .principle-grid article {
    min-height: 230px;
    padding: 30px;
  }

  .final-action {
    min-width: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
