:root {
  --ink: #07131f;
  --ink-2: #142536;
  --ink-3: #48586a;
  --navy: #06121f;
  --navy-2: #0a1d2f;
  --navy-3: #102a41;
  --paper: #f2f4f2;
  --surface: #fbfcfa;
  --surface-blue: #e8efff;
  --line: #cfd6dc;
  --line-dark: #31465b;
  --blue: #2f67ff;
  --blue-deep: #1e49c9;
  --orange: #ff6b2c;
  --orange-deep: #c94814;
  --orange-pale: #fff0e8;
  --green: #24875a;
  --green-pale: #e6f4ed;
  --red: #c43d32;
  --red-pale: #fbe9e7;
  --white: #ffffff;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --mono: "Azeret Mono", ui-monospace, monospace;
  --content: min(1480px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
}

svg {
  display: block;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  padding: 0 max(32px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 44px;
  color: var(--ink);
  background: var(--surface);
  border-bottom: 1px solid #dbe0e4;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 36px;
  height: 36px;
  fill: var(--blue);
}

.brand-mark-voltage {
  fill: var(--blue);
}

.brand-wordmark {
  width: 133px;
  height: auto;
  display: block;
  overflow: visible;
}

.brand-wordmark .wordmark-btc {
  fill: var(--ink);
}

.brand-wordmark .wordmark-spark {
  fill: var(--orange-deep);
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a,
.site-footer nav a {
  color: #344556;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.site-footer nav a:hover {
  color: var(--blue-deep);
}

.nav-cta {
  position: relative;
  justify-self: end;
  min-height: 40px;
  padding: 0 14px 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  background: var(--blue);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-cta i {
  position: relative;
  width: 16px;
  height: 1px;
  display: block;
  background: currentColor;
  transform: scaleX(0.62);
  transform-origin: right center;
  transition: transform 160ms cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-cta i::after {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.nav-cta:hover {
  background: var(--blue-deep);
  box-shadow: 0 9px 19px rgba(30, 73, 201, 0.22);
  transform: translateY(-1px);
}

.nav-cta:hover i {
  transform: scaleX(0.88);
}

.hero-stage {
  position: relative;
  min-height: calc(100svh - 76px);
  color: var(--white);
  background:
    radial-gradient(circle at 72% 44%, rgba(47, 103, 255, 0.18), transparent 26%),
    linear-gradient(118deg, #06121f 0%, #0a1928 60%, #131b26 100%);
  overflow: hidden;
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-stage::before {
  background: linear-gradient(90deg, rgba(6, 18, 31, 0.95) 0%, rgba(6, 18, 31, 0.78) 32%, rgba(6, 18, 31, 0.34) 58%, rgba(6, 18, 31, 0.42) 100%);
}

.hero-stage::after {
  background: linear-gradient(180deg, rgba(6, 18, 31, 0.34) 0%, transparent 25%, transparent 68%, rgba(6, 18, 31, 0.62) 100%);
}

.hero-shader {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms cubic-bezier(0.19, 1, 0.22, 1);
}

.shader-ready .hero-shader {
  opacity: 0.82;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(168, 189, 211, 0.14);
  border-radius: 50%;
  opacity: 1;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.shader-ready .hero-orbit {
  opacity: 0;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: inherit;
  border-radius: inherit;
}

.hero-orbit::after {
  inset: 33%;
}

.hero-orbit-one {
  width: 720px;
  height: 720px;
  top: -270px;
  right: -170px;
}

.hero-orbit-two {
  width: 520px;
  height: 520px;
  left: -340px;
  bottom: -220px;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("/assets/hero-noise.png?v=0.1.0") repeat;
  background-size: 192px 192px;
  mix-blend-mode: soft-light;
  opacity: 0.11;
  pointer-events: none;
}

.hero-main {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: var(--content);
  min-height: calc(100svh - 212px);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 132px) 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(500px, 0.82fr);
  align-items: center;
  gap: clamp(68px, 8vw, 140px);
}

.hero-copy {
  grid-column: 1;
}

.hero-copy h1 {
  max-width: 860px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(68px, 7.4vw, 96px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-copy h1 span {
  color: #85a7ff;
}

.hero-copy > p {
  max-width: 620px;
  margin: 34px 0 0;
  color: #cbd6e1;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  --button-rule: rgba(255, 255, 255, 0.22);
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 180ms cubic-bezier(0.19, 1, 0.22, 1);
}

.button::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.18;
  transform: scaleX(0.24);
  transform-origin: left center;
  transition: opacity 160ms ease, transform 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.button-label {
  flex: 1 1 auto;
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.button-command {
  width: 50px;
  min-height: 52px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--button-rule);
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms cubic-bezier(0.19, 1, 0.22, 1);
}

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

.button:hover::after {
  opacity: 0.34;
  transform: scaleX(1);
}

.button:hover .button-command svg {
  transform: translateX(3px);
}

.button:active {
  transform: translateY(0) scale(0.99);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.button:disabled::after {
  transform: scaleX(0.24);
}

.button.loading .button-command svg {
  opacity: 0;
}

.button.loading .button-command::after {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: command-spin 700ms linear infinite;
}

.button-signal {
  --button-rule: rgba(6, 18, 31, 0.24);
  color: var(--navy);
  background: var(--orange);
  box-shadow: 0 13px 30px rgba(255, 107, 44, 0.2);
}

.button-signal:hover {
  background: #ff7c44;
  box-shadow: 0 17px 36px rgba(255, 107, 44, 0.27);
}

.text-link {
  color: #d9e3ed;
  text-decoration-color: rgba(217, 227, 237, 0.4);
  text-underline-offset: 5px;
  font-weight: 700;
}

.text-link:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

.spline-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  isolation: isolate;
  overflow: hidden;
}

.spline-scene__fallback,
.spline-scene__canvas,
.spline-scene__veil {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.spline-scene__fallback {
  z-index: 0;
  background:
    radial-gradient(circle at 72% 44%, rgba(47, 103, 255, 0.2), transparent 26%),
    radial-gradient(circle at 67% 58%, rgba(255, 107, 44, 0.14), transparent 28%);
  filter: blur(30px);
}

.spline-scene__canvas {
  z-index: 1;
  inset: 0 auto 0 14%;
  width: 100%;
  height: 100%;
  background: transparent;
  filter: saturate(0.78) contrast(1.03);
  pointer-events: auto;
}

.spline-scene__veil {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 18, 31, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(6, 18, 31, 0.12), transparent 25%, transparent 77%, rgba(6, 18, 31, 0.28));
}

.spline-scene.is-ready .spline-scene__fallback,
.spline-scene.is-ready .spline-scene__veil {
  display: none;
}

.hero-guarantees {
  position: relative;
  z-index: 2;
  width: var(--content);
  min-height: 136px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(151, 178, 202, 0.22);
}

.hero-guarantees > div {
  padding: 26px 26px 24px 0;
  border-right: 1px solid rgba(151, 178, 202, 0.18);
}

.hero-guarantees > div:not(:first-child) {
  padding-left: 26px;
}

.hero-guarantees > div:last-child {
  border-right: 0;
}

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

.hero-guarantees strong {
  color: #ecf3f9;
  font-size: 14px;
}

.hero-guarantees span {
  margin-top: 7px;
  color: #8299ae;
  font-size: 12px;
  line-height: 1.45;
}

.thesis-section {
  padding: clamp(94px, 10vw, 160px) max(32px, calc((100vw - 1480px) / 2));
  background: var(--surface);
}

.thesis-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.6fr);
  gap: clamp(64px, 10vw, 170px);
  align-items: end;
}

.thesis-lead h2,
.sandbox-intro h2,
.protocol-copy h2,
.security-statement h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.thesis-lead h2 {
  max-width: 900px;
  font-size: clamp(52px, 6vw, 86px);
  line-height: 0.97;
}

.thesis-lead p,
.sandbox-intro p,
.protocol-copy > p,
.security-statement > p {
  margin: 0;
  color: var(--ink-3);
  font-size: 18px;
  line-height: 1.65;
}

.mechanism-list {
  margin-top: clamp(74px, 9vw, 130px);
  border-top: 1px solid var(--line);
}

.mechanism-row {
  min-height: 170px;
  display: grid;
  grid-template-columns: 100px minmax(280px, 0.9fr) minmax(360px, 1.15fr) 140px;
  align-items: center;
  gap: 42px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.mechanism-code,
.mechanism-output {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.mechanism-code {
  color: var(--blue-deep);
}

.mechanism-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 2.8vw, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.mechanism-row p {
  margin: 0;
  color: var(--ink-3);
  line-height: 1.6;
}

.mechanism-output {
  justify-self: end;
  padding: 8px 10px;
  color: var(--ink-2);
  background: #e8ecef;
  border-radius: 6px;
}

.sandbox-section {
  padding: clamp(94px, 10vw, 150px) max(32px, calc((100vw - 1480px) / 2));
  background: #dfe6ec;
}

.sandbox-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.65fr);
  align-items: end;
  gap: 86px;
  margin-bottom: 54px;
}

.sandbox-intro h2 {
  color: var(--ink);
  font-size: clamp(52px, 5vw, 76px);
  line-height: 0.94;
}

.sandbox-intro p {
  max-width: 680px;
  margin-top: 24px;
}

.sandbox-legend {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #425365;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.sandbox-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.blue { background: var(--blue); }
.legend-dot.orange { background: var(--orange); }
.legend-dot.green { background: var(--green); }

.mission-console {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(7, 19, 31, 0.14);
  overflow: hidden;
}

.console-rail {
  min-height: 42px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #8fa7ba;
  background: var(--navy);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.mission-command {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.72fr);
  gap: 70px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.mission-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #617284;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.mission-copy h3 {
  max-width: 700px;
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.mission-copy > p {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--ink-3);
  line-height: 1.5;
}

.mission-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button-primary {
  --button-rule: rgba(255, 255, 255, 0.24);
  min-width: 184px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 11px 25px rgba(47, 103, 255, 0.19);
}

.button-primary:hover {
  background: var(--blue-deep);
  box-shadow: 0 15px 30px rgba(30, 73, 201, 0.24);
}

.button-secondary {
  --button-rule: rgba(49, 70, 91, 0.18);
  color: #35485a;
  background: var(--surface);
  border: 0;
  box-shadow: inset 0 0 0 1px #b8c4ce;
  clip-path: none;
}

.button-secondary::after {
  right: 0;
}

.button-secondary:hover {
  color: var(--ink);
  background: #edf1f3;
  box-shadow: inset 0 0 0 1px #8fa0af;
}

.button-secondary:hover .button-command svg {
  transform: rotate(-42deg);
}

.toggle-row {
  margin-top: 18px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.toggle-row strong,
.toggle-row small {
  display: block;
}

.toggle-row strong {
  color: var(--ink-2);
  font-size: 13px;
}

.toggle-row small {
  margin-top: 4px;
  color: #68788a;
  font-size: 11px;
}

.toggle-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.toggle {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  padding: 3px;
  background: #bdc6ce;
  border-radius: 999px;
  transition: background 160ms ease;
}

.toggle span {
  display: block;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 3px 7px rgba(7, 19, 31, 0.18);
  transition: transform 180ms cubic-bezier(0.19, 1, 0.22, 1);
}

.toggle-row input:checked + .toggle {
  background: var(--orange);
}

.toggle-row input:checked + .toggle span {
  transform: translateX(18px);
}

.sandbox-warning {
  min-height: 44px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #734021;
  background: var(--orange-pale);
  border-bottom: 1px solid #f1d4c3;
}

.sandbox-warning svg {
  flex: 0 0 auto;
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.sandbox-warning p {
  margin: 0;
  font-size: 12px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.metric-card {
  min-height: 150px;
  padding: 25px 26px;
  border-right: 1px solid var(--line);
}

.metric-card:last-child {
  border-right: 0;
}

.metric-card > span,
.metric-card > strong,
.metric-card > p {
  display: block;
}

.metric-card > span {
  color: #68788a;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric-card > strong {
  margin-top: 19px;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.metric-card > strong small {
  margin-left: 4px;
  color: #5f7081;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
}

.metric-card > p {
  margin: 12px 0 0;
  color: #71808f;
  font-size: 11px;
}

.status-metric {
  background: var(--surface-blue);
}

.status-metric > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-metric > strong {
  font-size: 34px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #98a5b1;
}

.live-dot.running { background: var(--orange); }
.live-dot.success { background: var(--green); }
.live-dot.error { background: var(--red); }

.control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(400px, 0.78fr);
  gap: 1px;
  background: var(--line);
}

.control-left,
.control-right {
  min-width: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
}

.panel {
  min-width: 0;
  padding: 28px;
  background: var(--surface);
}

.panel-header {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel-header > div > span {
  display: block;
  margin-bottom: 8px;
  color: #738292;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.panel-header h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-chip.neutral {
  color: #5e6f7e;
  background: #e8ecef;
}

.status-chip.success {
  color: #17643f;
  background: var(--green-pale);
}

.status-chip.running {
  color: #8f3f18;
  background: var(--orange-pale);
}

.status-chip.error {
  color: #8e2c25;
  background: var(--red-pale);
}

.quiet-label,
.mono {
  color: #748392;
  font-family: var(--mono);
  font-size: 9px;
}

.policy-list {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.policy-item {
  min-height: 100px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #f6f8f7;
}

.policy-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--green-pale);
  border-radius: 50%;
}

.policy-icon svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-item strong,
.policy-item small {
  display: block;
}

.policy-item strong {
  font-size: 12px;
}

.policy-item small {
  margin-top: 5px;
  color: #6b7b8a;
  font-size: 10px;
  line-height: 1.35;
}

.provider-list {
  margin-top: 25px;
  border-top: 1px solid var(--line);
}

.provider-card {
  position: relative;
  min-height: 74px;
  padding: 13px 0;
  display: grid;
  grid-template-columns: 42px minmax(190px, 1fr) 78px 76px 62px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, opacity 160ms ease;
}

.provider-card.selected {
  padding-inline: 12px;
  background: var(--orange-pale);
  box-shadow: inset 0 0 0 1px #efb792;
}

.provider-card.selected::after {
  content: "SELECTED";
  position: absolute;
  top: 8px;
  right: 8px;
  color: #9a461a;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
}

.provider-card.ineligible {
  opacity: 0.46;
}

.provider-card.failed {
  background: var(--red-pale);
}

.provider-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #153e9a;
  background: #dce7ff;
  border-radius: 9px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.provider-logo.purple {
  color: #5f3c94;
  background: #eee6fa;
}

.provider-logo.blue {
  color: #44566a;
  background: #e5e9ed;
}

.provider-details,
.provider-stat,
.provider-price {
  min-width: 0;
}

.provider-details strong,
.provider-details span,
.provider-stat small,
.provider-stat strong,
.provider-price strong,
.provider-price small {
  display: block;
}

.provider-details strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-details span {
  margin-top: 4px;
  color: #758493;
  font-size: 10px;
}

.provider-stat small,
.provider-price small {
  color: #788795;
  font-family: var(--mono);
  font-size: 7px;
  text-transform: uppercase;
}

.provider-stat strong {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
}

.provider-price {
  text-align: right;
}

.provider-price strong {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 600;
}

.timeline-panel {
  min-height: 410px;
}

.timeline {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-step {
  position: relative;
  min-height: 60px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.timeline-step::before {
  content: "";
  position: absolute;
  top: 23px;
  bottom: 0;
  left: 10px;
  width: 1px;
  background: var(--line);
}

.timeline-step:last-child::before {
  display: none;
}

.step-marker {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  background: #e2e7eb;
  border-radius: 50%;
}

.step-marker > span {
  width: 6px;
  height: 6px;
  background: #91a0ad;
  border-radius: 50%;
}

.timeline-step.success .step-marker {
  background: var(--green);
}

.timeline-step.success .step-marker > span {
  width: 7px;
  height: 4px;
  background: transparent;
  border-left: 1.5px solid white;
  border-bottom: 1.5px solid white;
  border-radius: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

.timeline-step.active .step-marker {
  background: var(--orange);
}

.timeline-step.error .step-marker {
  background: var(--red);
}

.timeline-step strong {
  display: block;
  margin-top: 2px;
  font-size: 11px;
}

.timeline-step p {
  max-width: 46ch;
  margin: 4px 0 0;
  color: #70808e;
  font-size: 9px;
  line-height: 1.45;
}

.timeline-step > small {
  margin-top: 3px;
  color: #80909e;
  font-family: var(--mono);
  font-size: 7px;
}

.receipt-panel {
  min-height: 390px;
}

.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #647586;
  background: #eef1f3;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.icon-button:hover:not(:disabled) {
  color: var(--blue-deep);
  background: var(--surface-blue);
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.icon-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.transaction-summary {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.transaction-summary > div {
  min-height: 54px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  background: #f0f3f4;
  border-radius: 9px;
}

.transaction-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #a54316;
  background: var(--orange-pale);
  border-radius: 8px;
}

.transaction-icon.delivery {
  color: var(--green);
  background: var(--green-pale);
}

.transaction-icon svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.transaction-summary small,
.transaction-summary strong {
  display: block;
}

.transaction-summary small {
  color: #768592;
  font-family: var(--mono);
  font-size: 7px;
  text-transform: uppercase;
}

.transaction-summary strong {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.receipt-empty {
  min-height: 250px;
  margin-top: 22px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  color: #7b8996;
  background: #f2f4f4;
  border-radius: 10px;
  text-align: center;
}

.receipt-empty svg {
  width: 38px;
  fill: none;
  stroke: #91a0ad;
  stroke-width: 1.2;
}

.receipt-empty p {
  max-width: 34ch;
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.receipt-json {
  max-height: 340px;
  margin: 18px 0 0;
  padding: 18px;
  overflow: auto;
  color: #cad9e5;
  background: var(--navy);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.json-key { color: #8eb0ff; }
.json-string { color: #ffb38f; }
.json-number { color: #8ed6b2; }

.protocol-section {
  padding: clamp(100px, 10vw, 158px) max(32px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 0.9fr);
  gap: clamp(72px, 10vw, 170px);
  align-items: center;
  color: var(--white);
  background: var(--blue);
}

.protocol-copy h2 {
  max-width: 760px;
  font-size: clamp(54px, 5.7vw, 84px);
  line-height: 0.94;
}

.protocol-copy > p {
  max-width: 650px;
  margin-top: 28px;
  color: #dfe7ff;
}

.protocol-links {
  margin-top: 34px;
  display: flex;
  gap: 26px;
}

.protocol-links a {
  color: var(--white);
  font-weight: 700;
  text-underline-offset: 5px;
}

.api-window {
  background: #071522;
  border-radius: 14px;
  box-shadow: 0 28px 64px rgba(4, 12, 22, 0.24);
  overflow: hidden;
}

.api-tabs {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 20px;
  color: #6e879c;
  border-bottom: 1px solid #293e51;
  font-family: var(--mono);
  font-size: 9px;
}

.api-tabs .active {
  color: #dfe9f1;
}

.api-window pre {
  margin: 0;
  padding: 28px;
  overflow: auto;
  color: #dbe6ee;
  font-family: var(--mono);
  font-size: clamp(10px, 0.9vw, 13px);
  line-height: 1.75;
}

.code-muted { color: #657e92; }
.code-key { color: #8faeff; }
.code-value { color: #ffb28c; }
.code-number { color: #88dfb3; }
.code-ok { color: #8be7b9; }

.security-section {
  min-height: 760px;
  padding: clamp(100px, 10vw, 158px) max(32px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(460px, 0.72fr);
  gap: clamp(80px, 11vw, 180px);
  align-items: center;
  background: var(--orange);
}

.security-statement h2 {
  max-width: 840px;
  font-size: clamp(64px, 6.8vw, 96px);
  line-height: 0.84;
}

.security-statement > p {
  max-width: 600px;
  margin-top: 30px;
  color: #542510;
}

.button-dark {
  --button-rule: rgba(255, 255, 255, 0.22);
  margin-top: 34px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(75, 28, 7, 0.18);
}

.button-dark:hover {
  background: #102b42;
}

.safety-register {
  border-top: 1px solid rgba(67, 27, 9, 0.32);
}

.safety-register > div {
  min-height: 126px;
  display: grid;
  grid-template-columns: 88px minmax(130px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(67, 27, 9, 0.32);
}

.safety-register span {
  color: #773514;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
}

.safety-register strong {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.safety-register p {
  margin: 0;
  color: #5d2a12;
  font-size: 14px;
  line-height: 1.45;
}

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 28px;
  max-width: min(460px, calc(100vw - 32px));
  padding: 13px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 9px;
  box-shadow: 0 18px 40px rgba(7, 19, 31, 0.24);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.error {
  background: #7d211b;
}

.contact-section {
  padding: clamp(94px, 10vw, 148px) max(32px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.1fr);
  align-items: start;
  gap: clamp(56px, 7vw, 112px);
  color: var(--white);
  background: var(--blue);
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-copy h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 6.2vw, 92px);
  font-weight: 600;
  line-height: 0.93;
  letter-spacing: -0.035em;
}

.contact-copy p {
  max-width: 570px;
  margin: 34px 0 0;
  color: #dfe7ff;
  font-size: 18px;
  line-height: 1.62;
}

.contact-copy > a {
  display: inline-block;
  margin-top: 30px;
  color: var(--white);
  font-weight: 700;
  text-underline-offset: 5px;
}

.contact-form {
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
  color: var(--ink);
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(7, 19, 31, 0.18);
}

.contact-form-heading {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.contact-form-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
}

.contact-form-heading p {
  margin: 10px 0 0;
  color: var(--ink-3);
  font-size: 14px;
}

.contact-field-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.contact-field,
.contact-field span,
.contact-field small {
  display: block;
}

.contact-field {
  min-width: 0;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-field > span {
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 700;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  color: var(--ink);
  background: #f1f4f5;
  border: 1px solid #aebbc6;
  border-radius: 0;
  outline: 0;
}

.contact-field input {
  min-height: 52px;
  padding: 0 14px;
}

.contact-field textarea {
  min-height: 132px;
  padding: 14px;
  line-height: 1.5;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: inset 0 -3px 0 var(--blue);
}

.contact-field small {
  margin-top: 8px;
  color: #657688;
  font-size: 12px;
  line-height: 1.45;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-check {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #3e5061;
  font-size: 14px;
  line-height: 1.45;
}

.contact-check + .contact-check {
  margin-top: 12px;
}

.contact-check input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.contact-check a {
  color: var(--blue-deep);
  font-weight: 700;
  text-underline-offset: 3px;
}

.contact-submit-row {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.contact-submit {
  flex: 0 0 auto;
}

.contact-status {
  min-width: 0;
  margin: 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-status.success {
  color: #17643f;
  font-weight: 700;
}

.contact-status.error {
  color: #a12f27;
  font-weight: 700;
}

.site-footer {
  min-height: 240px;
  padding: 56px max(32px, calc((100vw - 1480px) / 2));
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  align-items: start;
  gap: 72px;
  color: #b8c6d2;
  background: var(--navy);
}

.brand-footer .brand-wordmark .wordmark-btc {
  fill: var(--white);
}

.site-footer > div:first-child > p {
  max-width: 420px;
  margin: 18px 0 0;
  color: #8297aa;
  font-size: 14px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 16px 34px;
  justify-self: end;
}

.site-footer nav a {
  color: #b7c7d5;
}

.site-footer nav button,
.legal-footer nav button {
  padding: 0;
  color: #b7c7d5;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.site-footer nav button:hover,
.legal-footer nav button:hover {
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  right: max(18px, calc((100vw - 1480px) / 2));
  bottom: 18px;
  left: max(18px, calc((100vw - 1480px) / 2));
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #aebbc6;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(7, 19, 31, 0.24);
}

.cookie-banner strong {
  display: block;
  font-size: 16px;
}

.cookie-banner p {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--blue-deep);
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-actions button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-secondary {
  color: var(--ink);
  background: #e7ecef;
}

.cookie-primary {
  color: var(--white);
  background: var(--blue);
}

.legal-page {
  background: var(--surface);
}

.legal-topbar {
  min-height: 76px;
  padding: 0 max(32px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--surface);
  border-bottom: 1px solid #dbe0e4;
}

.legal-logo img {
  width: 200px;
  height: auto;
  display: block;
}

.legal-return {
  color: var(--blue-deep);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.legal-main {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(84px, 10vw, 140px) 0;
}

.legal-header > p {
  margin: 0;
  color: #66798b;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-header h1 {
  max-width: 900px;
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(66px, 9vw, 106px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.legal-lead {
  max-width: 760px;
  margin: 38px 0 0 auto;
  padding-inline-start: 28px;
  border-inline-start: 1px solid var(--blue);
}

.legal-lead p {
  margin: 0;
  color: #344759;
  font-size: 19px;
  line-height: 1.65;
}

.legal-main a {
  color: var(--blue-deep);
  font-weight: 700;
}

.legal-section {
  margin-top: 68px;
  padding-top: 30px;
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 48px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.legal-section p {
  margin: 0;
  color: #3f5264;
  font-size: 16px;
  line-height: 1.7;
}

.legal-section p + p {
  margin-top: 18px;
}

.legal-inline-action {
  margin-top: 22px;
  padding: 0;
  color: var(--blue-deep);
  background: transparent;
  border: 0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.legal-primary-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.legal-footer {
  min-height: 112px;
  padding: 34px max(32px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #b8c6d2;
  background: var(--navy);
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.legal-footer a {
  color: #b7c7d5;
  font-weight: 700;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #ffbd9e;
  outline-offset: 3px;
}

@keyframes command-spin {
  to { transform: rotate(1turn); }
}

@media (max-width: 1180px) {
  :root {
    --content: min(100% - 48px, 1120px);
  }

  .primary-nav {
    gap: 22px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.86fr);
    gap: 54px;
  }

  .hero-copy h1 {
    font-size: clamp(66px, 8.8vw, 98px);
  }

  .thesis-section,
  .sandbox-section,
  .protocol-section,
  .security-section,
  .site-footer {
    padding-inline: 24px;
  }

  .mechanism-row {
    grid-template-columns: 74px minmax(250px, 0.9fr) minmax(300px, 1.1fr) 110px;
    gap: 28px;
  }

  .mission-command {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mission-controls {
    max-width: 560px;
  }

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

  .control-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .protocol-section,
  .security-section {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .safety-register > div {
    grid-template-columns: 76px 1fr;
  }

  .safety-register p {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .topbar {
    height: 70px;
    padding-inline: 24px;
    grid-template-columns: auto 1fr;
  }

  .primary-nav {
    display: none;
  }

  .contact-section {
    padding-inline: 24px;
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .contact-copy h2,
  .contact-copy p {
    max-width: 760px;
  }

  .contact-form {
    max-width: 760px;
  }

  .hero-grid {
    min-height: clamp(680px, 86svh, 800px);
    padding: 84px 0 230px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(70px, 13vw, 104px);
  }

  .spline-scene {
    width: 100%;
    height: 100%;
  }

  .spline-scene__canvas {
    inset: 19% auto -8% 2%;
    width: 118%;
    height: 89%;
  }

  .hero-guarantees {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-guarantees > div:nth-child(2) {
    border-right: 0;
  }

  .hero-guarantees > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(151, 178, 202, 0.18);
  }

  .thesis-lead,
  .sandbox-intro,
  .protocol-section,
  .security-section {
    grid-template-columns: 1fr;
  }

  .thesis-lead,
  .sandbox-intro,
  .protocol-section,
  .security-section {
    gap: 48px;
  }

  .sandbox-legend {
    justify-self: start;
    justify-content: flex-start;
  }

  .mechanism-row {
    grid-template-columns: 62px minmax(230px, 0.9fr) minmax(260px, 1fr);
  }

  .mechanism-output {
    display: none;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-card:nth-child(2) {
    border-right: 0;
  }

  .metric-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .protocol-copy h2,
  .security-statement h2 {
    max-width: 800px;
  }

  .api-window {
    max-width: 760px;
  }

  .safety-register {
    max-width: 760px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --content: calc(100% - 36px);
  }

  html {
    scroll-padding-top: 70px;
  }

  .topbar {
    padding-inline: 18px;
  }

  .nav-cta {
    display: none;
  }

  .contact-section {
    padding: 82px 18px;
  }

  .contact-copy h2 {
    font-size: clamp(52px, 16vw, 68px);
  }

  .contact-copy p {
    margin-top: 26px;
    font-size: 16px;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .contact-field-grid {
    grid-template-columns: 1fr;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .contact-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-actions button {
    padding-inline: 10px;
  }

  .legal-topbar {
    min-height: 70px;
    padding-inline: 18px;
  }

  .legal-logo img {
    width: 168px;
  }

  .legal-return {
    font-size: 14px;
  }

  .legal-main {
    width: calc(100% - 36px);
    padding: 72px 0 84px;
  }

  .legal-header h1 {
    font-size: clamp(58px, 18vw, 78px);
  }

  .legal-lead {
    margin-top: 30px;
    padding-inline-start: 18px;
  }

  .legal-lead p {
    font-size: 17px;
  }

  .legal-section {
    margin-top: 52px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .legal-footer {
    padding: 32px 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid {
    min-height: 720px;
    padding: 64px 0 250px;
  }

  .hero-copy h1 {
    font-size: clamp(58px, 18vw, 82px);
    line-height: 0.88;
  }

  .hero-copy > p {
    margin-top: 26px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .button-signal {
    width: 100%;
  }

  .spline-scene {
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .spline-scene__canvas {
    inset: 28% auto -10% -8%;
    width: 128%;
    height: 82%;
  }

  .hero-guarantees {
    grid-template-columns: 1fr;
  }

  .hero-guarantees > div,
  .hero-guarantees > div:not(:first-child) {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(151, 178, 202, 0.18);
  }

  .hero-guarantees > div:last-child {
    border-bottom: 0;
  }

  .thesis-section,
  .sandbox-section,
  .protocol-section,
  .security-section,
  .site-footer {
    padding-inline: 18px;
  }

  .thesis-section,
  .sandbox-section,
  .protocol-section,
  .security-section {
    padding-block: 82px;
  }

  .thesis-lead h2,
  .sandbox-intro h2,
  .protocol-copy h2 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .thesis-lead p,
  .sandbox-intro p,
  .protocol-copy > p,
  .security-statement > p {
    font-size: 16px;
  }

  .mechanism-list {
    margin-top: 64px;
  }

  .mechanism-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 0;
  }

  .mechanism-row h3 {
    max-width: 440px;
    font-size: 37px;
  }

  .mechanism-row p {
    max-width: 55ch;
  }

  .sandbox-intro {
    margin-bottom: 38px;
  }

  .sandbox-legend {
    display: none;
  }

  .console-rail {
    padding-inline: 16px;
  }

  .console-rail span:nth-child(2) {
    display: none;
  }

  .mission-command {
    padding: 24px 20px;
  }

  .mission-copy h3 {
    font-size: 38px;
  }

  .mission-actions {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .button-primary {
    min-width: 0;
  }

  .sandbox-warning {
    align-items: flex-start;
    padding: 12px 16px;
  }

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

  .metric-card,
  .metric-card:nth-child(2) {
    min-height: 126px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-card:last-child {
    border-bottom: 0;
  }

  .control-right {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 24px 20px;
  }

  .policy-list {
    grid-template-columns: 1fr;
  }

  .policy-item {
    min-height: 82px;
  }

  .provider-card {
    grid-template-columns: 40px minmax(130px, 1fr) 56px;
    gap: 10px;
  }

  .provider-stat {
    display: none;
  }

  .provider-price strong {
    font-size: 22px;
  }

  .transaction-summary > div {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .transaction-summary .status-chip {
    display: none;
  }

  .protocol-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .api-window pre {
    padding: 20px 16px;
    font-size: 9px;
  }

  .security-statement h2 {
    font-size: clamp(58px, 17vw, 78px);
  }

  .safety-register > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .safety-register p {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .site-footer nav {
    justify-self: start;
  }
}

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