:root {
  color-scheme: dark;
  --bg: #06080d;
  --bg-deep: #03050a;
  --surface: #0d111b;
  --surface-soft: #101622;
  --surface-bright: #151c2a;
  --line: rgb(155 175 210 / 14%);
  --line-bright: rgb(155 190 230 / 28%);
  --text: #f5f7fb;
  --muted: #b4bdd0;
  --dim: #929db5;
  --cyan: #53d9ff;
  --cyan-soft: rgb(83 217 255 / 15%);
  --coral: #ff6878;
  --coral-soft: rgb(255 104 120 / 15%);
  --amber: #ffbd66;
  --green: #65e59a;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1240px, calc(100% - 48px));
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 30px 90px rgb(0 0 0 / 38%);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(1000px 760px at 78% 4%, rgb(42 100 142 / 13%), transparent 62%),
    radial-gradient(720px 540px at 0% 27%, rgb(111 41 80 / 10%), transparent 66%),
    linear-gradient(180deg, #080b12 0%, var(--bg) 42%, var(--bg-deep) 100%);
  background-color: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
}

::selection {
  color: #071018;
  background: var(--cyan);
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
figure {
  margin-top: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #061019;
  background: var(--cyan);
  border-radius: 10px;
  font-weight: 800;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 6%);
  background: rgb(6 8 13 / 74%);
  backdrop-filter: blur(18px);
}

.masthead {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.masthead > p {
  margin: 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
}

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

.brand-mark::before {
  position: absolute;
  inset: 4px 4px 2px;
  content: "";
  border: 4px solid var(--cyan);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  filter: drop-shadow(0 0 7px rgb(83 217 255 / 55%));
}

.brand-mark::after,
.brand-mark > span::after {
  position: absolute;
  bottom: 1px;
  width: 6px;
  height: 8px;
  content: "";
  border-radius: 4px;
}

.brand-mark::after {
  left: 4px;
  background: var(--coral);
  box-shadow: 0 0 8px rgb(255 104 120 / 60%);
}

.brand-mark > span::after {
  right: 4px;
  background: var(--amber);
  box-shadow: 0 0 8px rgb(255 189 102 / 60%);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(66px, 8vw, 116px) 0 clamp(78px, 9vw, 132px);
  overflow: clip;
}

.hero::after {
  position: absolute;
  right: -18%;
  bottom: -38%;
  width: 68vw;
  height: 68vw;
  content: "";
  border: 1px solid rgb(83 217 255 / 9%);
  border-radius: 50%;
  box-shadow: inset 0 0 110px rgb(83 217 255 / 4%);
  pointer-events: none;
}

.hero-ambient,
.hero-ambient i {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-ambient i:nth-child(1) {
  inset: 8% auto auto 43%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgb(83 217 255 / 9%);
  filter: blur(100px);
}

.hero-ambient i:nth-child(2) {
  inset: auto auto 4% 2%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgb(255 104 120 / 7%);
  filter: blur(95px);
}

.hero-ambient i:nth-child(3) {
  inset: 15% 2% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgb(255 189 102 / 6%);
  filter: blur(85px);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(580px, 1.22fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}

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

.eyebrow,
.section-kicker,
.panel-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
}

h1 {
  max-width: 660px;
  margin-bottom: 27px;
  font-size: clamp(61px, 7.2vw, 104px);
  font-weight: 850;
  letter-spacing: -.075em;
  line-height: .9;
}

h1 em {
  color: transparent;
  background: linear-gradient(100deg, var(--cyan) 8%, #bfedff 42%, var(--amber) 92%);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
  filter: drop-shadow(0 12px 28px rgb(83 217 255 / 13%));
}

.hero-lede {
  max-width: 500px;
  margin-bottom: 15px;
  color: #d9deea;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.48;
  letter-spacing: -.015em;
}

.hero-detail {
  max-width: 470px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
}

.hero-range {
  max-width: 430px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 0 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-range span {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-range small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-range strong {
  font-family: var(--mono);
  font-size: 21px;
}

.hero-range span:first-child strong {
  color: var(--green);
}

.hero-range span:last-child strong {
  color: var(--amber);
}

.hero-range > i {
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--cyan) 48%, var(--amber));
  box-shadow: 0 0 12px rgb(83 217 255 / 25%);
}

.hands-off {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 21px 0 0;
  color: var(--dim);
  font-size: 14px;
  font-weight: 650;
}

.hands-off span {
  width: 8px;
  height: 8px;
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px rgb(101 229 154 / 48%);
}

.instrument {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 2.6vw, 34px);
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(460px 260px at 50% 43%, rgb(83 217 255 / 8%), transparent 72%),
    linear-gradient(155deg, rgb(18 25 39 / 97%), rgb(8 12 20 / 97%));
  box-shadow: var(--shadow), inset 0 1px rgb(255 255 255 / 5%);
  isolation: isolate;
}

.instrument::before {
  position: absolute;
  inset: 0 15% auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px var(--cyan);
  opacity: .7;
}

.instrument::after {
  position: absolute;
  z-index: -1;
  inset: auto -30% -65% 35%;
  height: 500px;
  content: "";
  border-radius: 50%;
  background: rgb(83 217 255 / 6%);
  filter: blur(80px);
}

.instrument-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.panel-kicker {
  margin-bottom: 6px;
  font-size: 13px;
}

.instrument h2 {
  margin: 0;
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.deviation-readout {
  position: absolute;
  top: 29px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.deviation-readout > span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.deviation-readout output {
  color: var(--text);
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.field-meter {
  --spot-position: 50%;
  --field-edge-inset: 6%;
  --tether-left: 50%;
  --tether-width: 1%;
  --field-alpha: .1;
  --field-blur: 12px;
  position: relative;
  height: 292px;
  overflow: hidden;
  user-select: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 54%, rgb(255 189 102 / 7%), transparent 25%),
    linear-gradient(90deg, rgb(255 104 120 / 5%), transparent 43%, transparent 57%, rgb(83 217 255 / 5%)),
    #090d16;
}

.field-grid {
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    linear-gradient(rgb(150 175 210 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(150 175 210 / 8%) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

.field-meter::before,
.field-meter::after {
  position: absolute;
  top: 50%;
  width: 42%;
  height: 160px;
  content: "";
  transform: translateY(-50%);
  filter: blur(var(--field-blur));
  opacity: var(--field-alpha);
  transition: opacity .2s ease;
}

.field-meter::before {
  left: -12%;
  background: radial-gradient(ellipse, var(--coral), transparent 68%);
}

.field-meter::after {
  right: -12%;
  background: radial-gradient(ellipse, var(--cyan), transparent 68%);
}

.field-rings,
.field-rings i {
  position: absolute;
  top: 52%;
  left: 50%;
  border: 1px solid rgb(255 189 102 / 15%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.field-rings {
  width: 72px;
  height: 72px;
  box-shadow: 0 0 30px rgb(255 189 102 / 5%);
}

.field-rings i:nth-child(1) { width: 128px; height: 128px; }
.field-rings i:nth-child(2) { width: 198px; height: 198px; opacity: .66; }
.field-rings i:nth-child(3) { width: 278px; height: 278px; opacity: .35; }

.field-axis {
  position: absolute;
  top: 52%;
  right: 6%;
  left: 6%;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), rgb(255 255 255 / 12%) 43%, var(--amber) 50%, rgb(255 255 255 / 12%) 57%, var(--cyan));
  box-shadow: 0 0 12px rgb(83 217 255 / 12%);
}

.field-tether {
  position: absolute;
  top: calc(52% - 1px);
  left: var(--tether-left);
  width: var(--tether-width);
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  box-shadow: 0 0 14px rgb(83 217 255 / 45%);
  transform-origin: center;
}

.is-negative .field-tether {
  background: linear-gradient(90deg, var(--coral), var(--amber));
}

.field-tether i {
  position: absolute;
  inset: -3px;
  border-radius: 99px;
  animation: tetherPulse 1.9s ease-in-out infinite;
}

.average-pin,
.spot-orb {
  position: absolute;
  top: 52%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}

.average-pin {
  left: 50%;
  z-index: 3;
}

.average-pin i {
  width: 28px;
  height: 28px;
  display: block;
  border: 2px solid var(--amber);
  border-radius: 50%;
  background: #11131a;
  box-shadow: 0 0 0 7px rgb(255 189 102 / 8%), 0 0 22px rgb(255 189 102 / 28%);
}

.average-pin i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--amber);
  transform: translate(-50%, -50%);
}

.spot-orb {
  left: var(--spot-position);
  z-index: 4;
  pointer-events: none;
  transition: left .12s linear;
}

.field-slider {
  --slider-thumb-size: 56px;
  position: absolute;
  top: calc(52% - 32px);
  left: calc(var(--field-edge-inset) - var(--slider-thumb-size) / 2);
  z-index: 6;
  width: calc(100% - var(--field-edge-inset) - var(--field-edge-inset) + var(--slider-thumb-size));
  height: 64px;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  outline: none;
  background: transparent;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}

.field-slider[hidden] {
  display: none;
}

.field-slider::-webkit-slider-runnable-track {
  height: 64px;
  border: 0;
  background: transparent;
}

.field-slider::-webkit-slider-thumb {
  width: var(--slider-thumb-size);
  height: var(--slider-thumb-size);
  margin-top: 4px;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.field-slider::-moz-range-track {
  height: 64px;
  border: 0;
  background: transparent;
}

.field-slider::-moz-range-thumb {
  width: var(--slider-thumb-size);
  height: var(--slider-thumb-size);
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.field-slider.is-dragging {
  cursor: grabbing;
}

.field-slider:disabled {
  pointer-events: none;
}

.spot-orb > i {
  position: relative;
  width: 41px;
  height: 41px;
  display: block;
  border: 1px solid rgb(83 217 255 / 80%);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #dff8ff, var(--cyan) 14%, #147594 48%, #07131b 74%);
  box-shadow: 0 0 0 8px rgb(83 217 255 / 8%), 0 0 31px rgb(83 217 255 / 48%);
  transition: box-shadow .18s ease, transform .18s ease;
}

.field-slider:focus-visible ~ .spot-orb > i {
  outline: 3px solid #f5f7fb;
  outline-offset: 7px;
  box-shadow: 0 0 0 11px rgb(83 217 255 / 13%), 0 0 38px rgb(83 217 255 / 62%);
}

.spot-orb.is-dragging {
  cursor: grabbing;
  transition: none;
}

.spot-orb.is-dragging > i {
  transform: scale(1.08);
}

.spot-orb.is-negative > i {
  border-color: rgb(255 104 120 / 88%);
  background: radial-gradient(circle at 38% 32%, #ffe9ec, var(--coral) 14%, #962f45 48%, #18080d 74%);
  box-shadow: 0 0 0 8px rgb(255 104 120 / 8%), 0 0 31px rgb(255 104 120 / 48%);
}

.spot-orb > i::before,
.spot-orb > i::after {
  position: absolute;
  inset: -13px;
  content: "";
  border: 1px solid rgb(83 217 255 / 18%);
  border-radius: 50%;
  animation: orbPulse 2.4s ease-out infinite;
}

.spot-orb > i::after {
  animation-delay: 1.2s;
}

.spot-orb.is-negative > i::before,
.spot-orb.is-negative > i::after {
  border-color: rgb(255 104 120 / 20%);
}

.average-pin b,
.spot-orb b {
  position: absolute;
  top: 35px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.spot-orb b {
  top: -34px;
  color: #d7f7ff;
}

.spot-orb.is-negative b {
  color: #ffdce2;
}

.drag-cue {
  position: absolute;
  bottom: 15px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cbd4e5;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .06em;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.drag-cue i {
  color: var(--amber);
  font-size: 16px;
  font-style: normal;
  line-height: 1;
}

.spot-orb.is-disabled ~ .drag-cue {
  display: none;
}

.field-state {
  position: absolute;
  top: 18px;
  left: 50%;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.field-zone,
.field-caption {
  position: absolute;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.field-zone {
  top: 22px;
}

.field-zone-sell { left: 22px; color: #ff9ba7; }
.field-zone-buy { right: 22px; color: #9cecff; }
.field-caption { bottom: 16px; }
.field-caption-left { left: 22px; }
.field-caption-right { right: 22px; }

.field-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
  opacity: .5;
  animation: driftParticle 8s ease-in-out infinite;
}

.field-particle-one { top: 32%; left: 15%; }
.field-particle-two { top: 73%; left: 68%; animation-delay: -2.7s; }
.field-particle-three { top: 20%; left: 82%; animation-delay: -5.1s; }

.fee-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 13px;
}

.fee-card {
  position: relative;
  min-width: 0;
  padding: 17px 18px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(10 14 23 / 78%);
}

.fee-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  content: "";
}

.fee-card-buy::before { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.fee-card-sell::before { background: var(--coral); box-shadow: 0 0 12px var(--coral); }

.fee-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fee-card-top > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.fee-card-top i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
}

.fee-card-buy .fee-card-top i { background: var(--cyan); box-shadow: 0 0 7px var(--cyan); }
.fee-card-sell .fee-card-top i { background: var(--coral); box-shadow: 0 0 7px var(--coral); }

.fee-card-top strong {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .07em;
}

.fee-card output {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: clamp(27px, 2.5vw, 38px);
  font-weight: 850;
  letter-spacing: -.055em;
}

.fee-card-buy output { color: #a7edff; }
.fee-card-sell output { color: #ffabb5; }

.fee-card p {
  min-height: 21px;
  margin: 0 0 9px;
  color: var(--dim);
  font-size: 13px;
}

.fee-bar {
  height: 3px;
  display: block;
  overflow: hidden;
  border-radius: 99px;
  background: rgb(255 255 255 / 7%);
}

.fee-bar i {
  height: 100%;
  display: block;
  border-radius: inherit;
  transition: width .2s ease;
}

.fee-card-buy .fee-bar i { background: linear-gradient(90deg, #1d7288, var(--cyan)); }
.fee-card-sell .fee-bar i { background: linear-gradient(90deg, #7d2838, var(--coral)); }

.instrument-caption {
  margin: 16px 0 -2px;
  color: var(--dim);
  font-size: 13px;
  text-align: center;
}

.content-section {
  position: relative;
  padding: clamp(88px, 10vw, 150px) 0;
  border-top: 1px solid rgb(255 255 255 / 6%);
}

.mechanism-section {
  background:
    radial-gradient(700px 420px at 14% 24%, rgb(83 217 255 / 5%), transparent 70%),
    linear-gradient(180deg, rgb(10 13 20 / 40%), transparent);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(42px, 5vw, 66px);
}

.section-kicker {
  margin-bottom: 12px;
}

.section-heading h2,
.closing-inner h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 820;
  letter-spacing: -.06em;
  line-height: 1;
}

.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.mechanism-grid article {
  min-height: 215px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgb(18 24 36 / 74%), rgb(8 11 18 / 56%));
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.mechanism-grid article:hover {
  border-color: var(--line-bright);
  background: linear-gradient(145deg, rgb(21 29 43 / 85%), rgb(9 13 21 / 66%));
  transform: translateY(-3px);
}

.mechanism-grid article > span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
}

.mechanism-grid h3 {
  margin: 33px 0 10px;
  font-size: 23px;
  letter-spacing: -.025em;
}

.mechanism-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.curve-panel {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: 0 22px 60px rgb(0 0 0 / 22%);
}

.curve-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 27px;
  border-bottom: 1px solid var(--line);
}

.curve-head > span:first-child {
  display: flex;
  flex-direction: column;
}

.curve-head small {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.curve-head strong {
  margin-top: 2px;
  font-size: 20px;
}

.curve-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.curve-legend span::before {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  content: "";
  border-radius: 50%;
}

.legend-buy::before { background: var(--cyan); }
.legend-sell::before { background: var(--coral); }
.legend-average::before { background: var(--amber); }

#feeCurve {
  width: 100%;
  height: clamp(300px, 32vw, 410px);
  display: block;
}

.chart-summary {
  margin: 0;
  padding: 18px 27px 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.liquidity-section {
  overflow: hidden;
  background:
    radial-gradient(660px 420px at 50% 52%, rgb(255 189 102 / 5%), transparent 69%),
    var(--bg-deep);
}

/* A lede paragraph under any section heading, centered or not. */
.section-heading > p:not(.section-kicker) {
  max-width: 610px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
}

.centered-heading {
  margin-inline: auto;
  text-align: center;
}

.centered-heading .section-kicker {
  justify-content: center;
}

.centered-heading > p:last-child {
  max-width: 610px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.liquidity-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
}

.liquidity-flow::before {
  position: absolute;
  top: 64px;
  right: 16%;
  left: 16%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--coral), var(--amber) 50%, var(--cyan));
  opacity: .42;
}

.liquidity-flow li {
  position: relative;
  z-index: 1;
  text-align: center;
}

.liquidity-flow li > span {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--surface-bright), #090c14);
  box-shadow: 0 18px 42px rgb(0 0 0 / 30%), inset 0 1px rgb(255 255 255 / 5%);
}

.liquidity-flow li > span i {
  position: relative;
  width: 32px;
  height: 32px;
  display: block;
}

.liquidity-flow li:nth-child(1) > span i::before,
.liquidity-flow li:nth-child(1) > span i::after {
  position: absolute;
  left: 3px;
  width: 26px;
  height: 1px;
  content: "";
  background: var(--coral);
  box-shadow: 0 0 7px rgb(255 104 120 / 45%);
}

.liquidity-flow li:nth-child(1) > span i::before { top: 10px; transform: rotate(9deg); }
.liquidity-flow li:nth-child(1) > span i::after { bottom: 10px; transform: rotate(-9deg); }

.liquidity-flow li:nth-child(2) > span i {
  border: 2px solid var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 12px rgb(255 189 102 / 25%);
}

.liquidity-flow li:nth-child(2) > span i::after {
  position: absolute;
  inset: 8px;
  content: "";
  border: 2px solid var(--amber);
  border-radius: 50%;
}

.liquidity-flow li:nth-child(3) > span i::before,
.liquidity-flow li:nth-child(3) > span i::after {
  position: absolute;
  content: "";
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px rgb(83 217 255 / 23%);
}

.liquidity-flow li:nth-child(3) > span i::before { inset: 0 9px; }
.liquidity-flow li:nth-child(3) > span i::after { inset: 9px 0; }

.liquidity-flow small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.liquidity-flow h3 {
  margin: 7px 0 6px;
  font-size: 24px;
}

.liquidity-flow p {
  max-width: 280px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
}

.closing-section {
  position: relative;
  padding: clamp(100px, 13vw, 190px) 0;
  overflow: hidden;
  border-top: 1px solid rgb(255 255 255 / 6%);
  background:
    radial-gradient(560px 300px at 50% 50%, rgb(83 217 255 / 9%), transparent 72%),
    linear-gradient(180deg, #070a11, #04060a);
}

.closing-section::before,
.closing-section::after {
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  content: "";
  opacity: .35;
}

.closing-section::before {
  left: -5%;
  background: linear-gradient(90deg, transparent, var(--coral));
}

.closing-section::after {
  right: -5%;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.closing-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.closing-inner .section-kicker {
  justify-content: center;
}

.closing-inner h2 {
  margin-inline: auto;
}

.closing-inner > p:last-child {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 7%);
  background: #03050a;
}

.footer-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin: 0;
  color: var(--dim);
  font-size: 14px;
}

.data-plumbing[hidden] {
  display: none !important;
}

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

@keyframes orbPulse {
  0% { opacity: .6; transform: scale(.72); }
  78%, 100% { opacity: 0; transform: scale(1.38); }
}

@keyframes tetherPulse {
  0%, 100% { box-shadow: 0 0 0 rgb(83 217 255 / 0%); }
  50% { box-shadow: 0 0 15px rgb(83 217 255 / 45%); }
}

@keyframes driftParticle {
  0%, 100% { opacity: .25; transform: translate(0, 0); }
  35% { opacity: .65; transform: translate(14px, -9px); }
  70% { opacity: .38; transform: translate(-8px, 13px); }
}

@media (max-width: 1060px) {
  .hero {
    min-height: auto;
  }

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

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

  .instrument {
    max-width: 820px;
    width: 100%;
  }

  h1 {
    font-size: clamp(68px, 11vw, 104px);
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 30px, 1240px);
    --radius-lg: 23px;
  }

  .masthead {
    min-height: 68px;
  }

  .masthead > p {
    display: none;
  }

  .hero {
    padding: 58px 0 86px;
  }

  .hero-layout {
    gap: 46px;
  }

  h1 {
    font-size: clamp(56px, 17vw, 82px);
  }

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

  .instrument {
    padding: 19px;
  }

  .instrument-head {
    padding-right: 0;
  }

  .instrument h2 {
    max-width: 230px;
    font-size: 23px;
  }

  .deviation-readout {
    top: 22px;
    right: 20px;
  }

  .deviation-readout > span {
    max-width: 94px;
    text-align: right;
  }

  .deviation-readout output {
    font-size: 20px;
  }

  .field-meter {
    height: 250px;
  }

  .field-zone {
    top: 17px;
  }

  .field-zone-sell,
  .field-caption-left { left: 14px; }

  .field-zone-buy,
  .field-caption-right { right: 14px; }

  .fee-card {
    padding: 15px 13px 14px;
  }

  .fee-card output {
    font-size: 26px;
  }

  .fee-card p {
    font-size: 13px;
  }

  .instrument-caption {
    padding-inline: 8px;
    line-height: 1.45;
  }

  .mechanism-grid,
  .liquidity-flow {
    grid-template-columns: 1fr;
  }

  .mechanism-grid article {
    min-height: 0;
  }

  .mechanism-grid h3 {
    margin-top: 18px;
  }

  .curve-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .curve-legend {
    flex-wrap: wrap;
    gap: 10px 15px;
  }

  .chart-summary {
    font-size: 14px;
  }

  .liquidity-flow {
    gap: 48px;
  }

  .liquidity-flow::before {
    top: 64px;
    bottom: 64px;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--coral), var(--amber), var(--cyan));
  }

  .liquidity-flow li {
    padding-bottom: 2px;
  }

  .footer-inner {
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
}

@media (max-width: 430px) {
  .hero-range {
    gap: 12px;
  }

  .hero-range span {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .fee-card-top > span {
    font-size: 13px;
  }

  .fee-card-top strong {
    font-size: 13px;
  }

  .field-caption {
    display: none;
  }
}

@media (max-width: 560px) {
  .field-state {
    display: none;
  }
}

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

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

/* ─────────────────────────────────────────────────────────────────────────────
   Documentation page
   ───────────────────────────────────────────────────────────────────────────── */

.masthead-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  letter-spacing: .01em;
}

.masthead-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.masthead-nav a:hover,
.masthead-nav a:focus-visible {
  color: var(--text);
}

.masthead-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--cyan);
}

.docs {
  background:
    radial-gradient(860px 620px at 98% 7%, rgb(83 217 255 / 6%), transparent 70%),
    radial-gradient(720px 540px at 0% 40%, rgb(255 104 120 / 4%), transparent 72%);
}

.docs-hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(70px, 8vw, 116px) 0 clamp(82px, 9vw, 132px);
  overflow: hidden;
  border-bottom: 1px solid rgb(255 255 255 / 7%);
}

.docs-hero-glow {
  position: absolute;
  top: 12%;
  right: -16%;
  width: min(68vw, 900px);
  aspect-ratio: 1;
  pointer-events: none;
  border: 1px solid rgb(83 217 255 / 7%);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgb(83 217 255 / 2.5%),
    0 0 0 190px rgb(255 104 120 / 1.5%);
}

.docs-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.docs-hero-copy {
  max-width: 590px;
}

.docs-hero .eyebrow {
  margin-bottom: 22px;
}

.docs-hero h1 {
  margin: 0;
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 850;
  letter-spacing: -.07em;
  line-height: .92;
}

.docs-hero h1 em {
  color: transparent;
  background: linear-gradient(95deg, var(--cyan), #d7f8ff 42%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
  filter: drop-shadow(0 0 28px rgb(83 217 255 / 12%));
}

.docs-hero-lede {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.62;
}

.docs-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 38px;
}

.docs-toc a {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgb(255 255 255 / 1.5%);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.docs-toc a span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
}

.docs-toc a:hover,
.docs-toc a:focus-visible {
  color: var(--text);
  border-color: var(--line-bright);
  background: rgb(255 255 255 / 3.5%);
  transform: translateY(-2px);
}

.mechanics-map {
  position: relative;
  margin: 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(460px 260px at 50% 42%, rgb(83 217 255 / 8%), transparent 72%),
    linear-gradient(145deg, rgb(20 27 41 / 92%), rgb(7 10 17 / 94%));
  box-shadow: var(--shadow), inset 0 1px rgb(255 255 255 / 5%);
}

.mechanics-map::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgb(160 188 220 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(160 188 220 / 3%) 1px, transparent 1px);
  background-size: 31px 31px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 75%, transparent);
}

.mechanics-map figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.mechanics-map figcaption span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mechanics-map figcaption strong {
  margin-top: 4px;
  font-size: 21px;
  letter-spacing: -.02em;
}

.map-field {
  position: relative;
  height: 236px;
  margin: 14px 0 4px;
  overflow: hidden;
}

.map-field::before,
.map-field::after {
  position: absolute;
  top: 28px;
  bottom: 26px;
  width: 50%;
  content: "";
  opacity: .55;
}

.map-field::before {
  left: 0;
  background: radial-gradient(ellipse at 100% 55%, transparent 0 13%, rgb(255 104 120 / 9%) 14%, transparent 50%);
}

.map-field::after {
  right: 0;
  background: radial-gradient(ellipse at 0% 55%, transparent 0 13%, rgb(83 217 255 / 9%) 14%, transparent 50%);
}

.map-zone {
  position: absolute;
  top: 22px;
  z-index: 3;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.map-zone-sell { left: 4px; color: var(--coral); }
.map-zone-buy { right: 4px; color: var(--cyan); }

.map-line {
  position: absolute;
  top: 55%;
  right: 2%;
  left: 2%;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), rgb(255 255 255 / 28%) 46%, rgb(255 255 255 / 28%) 54%, var(--cyan));
  box-shadow: 0 0 14px rgb(83 217 255 / 12%);
}

.map-orbit {
  position: absolute;
  top: calc(55% - 74px);
  z-index: 1;
  width: 148px;
  height: 148px;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 50%;
}

.map-orbit-left { left: calc(50% - 128px); }
.map-orbit-right { right: calc(50% - 128px); }

.map-center,
.map-price {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
}

.map-center {
  top: 55%;
  left: 50%;
}

.map-center i {
  width: 30px;
  height: 30px;
  display: block;
  border: 1px solid var(--amber);
  border-radius: 50%;
  background: rgb(255 189 102 / 8%);
  box-shadow: 0 0 0 9px rgb(255 189 102 / 5%), 0 0 28px rgb(255 189 102 / 22%);
}

.map-price {
  top: 55%;
  left: 68%;
}

.map-price i {
  width: 18px;
  height: 18px;
  display: block;
  border: 4px solid #dff8ff;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgb(83 217 255 / 8%), 0 0 30px rgb(83 217 255 / 42%);
}

.map-center b,
.map-price b {
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.map-price b { color: var(--text); }

.map-range {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--line);
}

.map-range > span {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.map-range small,
.map-destinations small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.map-range strong { font-size: 21px; }

.map-range > i {
  height: 3px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--amber), var(--coral) 44%, var(--cyan));
  box-shadow: 0 0 12px rgb(83 217 255 / 20%);
}

.map-destinations {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.map-destinations > span {
  position: relative;
  display: grid;
  grid-template-columns: 10px 1fr;
  column-gap: 9px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgb(255 255 255 / 2%);
}

.map-destinations > span > i {
  grid-row: 1 / 3;
  align-self: center;
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
}

.map-dot-buy { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.map-dot-sell { background: var(--coral); box-shadow: 0 0 10px var(--coral); }

.map-destinations strong {
  margin-top: 2px;
  font-size: 15px;
}

.docs .content-section {
  padding: clamp(70px, 8.5vw, 118px) 0;
  scroll-margin-top: 76px;
}

.docs-chapter-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 870px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.docs-chapter-head > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  background: rgb(83 217 255 / 5%);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
}

.docs-chapter-head .section-kicker {
  margin-bottom: 11px;
}

.docs-chapter-head h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 830;
  letter-spacing: -.055em;
  line-height: 1;
}

.docs-chapter-head > div > p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.docs-card,
.response-card,
.route-card,
.bid-stack,
.launch-card,
.gates-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgb(17 23 35 / 88%), rgb(8 11 18 / 75%));
  box-shadow: 0 24px 64px rgb(0 0 0 / 18%);
}

.docs-card-label {
  margin: 0 0 18px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pricing-chapter {
  background:
    radial-gradient(700px 480px at 9% 30%, rgb(83 217 255 / 5%), transparent 74%),
    linear-gradient(180deg, rgb(10 14 22 / 45%), transparent);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 18px;
}

.reference-card {
  position: relative;
  min-height: 440px;
  padding: clamp(27px, 3.4vw, 42px);
  overflow: hidden;
}

.reference-card::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  content: "";
  border: 1px solid rgb(83 217 255 / 10%);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgb(83 217 255 / 2.5%), 0 0 0 90px rgb(83 217 255 / 1.5%);
}

.reference-card h3,
.route-card h3,
.launch-card h3,
.gates-card h3 {
  margin: 0 0 17px;
  font-size: clamp(26px, 2.7vw, 36px);
  letter-spacing: -.04em;
  line-height: 1.08;
}

.reference-card > p:not(.docs-card-label),
.route-card > p:last-child,
.launch-card > p:not(.docs-card-label) {
  position: relative;
  z-index: 1;
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.reference-pulse {
  position: absolute;
  right: 38px;
  bottom: 30px;
  left: 38px;
  height: 70px;
  display: flex;
  align-items: end;
  gap: 8px;
  opacity: .6;
}

.reference-pulse::before {
  position: absolute;
  right: 0;
  bottom: 9px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.reference-pulse i {
  flex: 1;
  min-width: 4px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(to top, rgb(83 217 255 / 9%), rgb(83 217 255 / 50%));
}

.reference-pulse i:nth-child(1) { height: 24%; }
.reference-pulse i:nth-child(2) { height: 42%; }
.reference-pulse i:nth-child(3) { height: 34%; }
.reference-pulse i:nth-child(4) { height: 62%; }
.reference-pulse i:nth-child(5) { height: 48%; }
.reference-pulse i:nth-child(6) { height: 78%; }

.reference-pulse span {
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 11px;
  height: 11px;
  border: 2px solid #dff8ff;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.response-card {
  margin: 0;
  overflow: hidden;
}

.response-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 27px;
  border-bottom: 1px solid var(--line);
}

.response-card figcaption > span:first-child {
  display: flex;
  flex-direction: column;
}

.response-card figcaption small {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.response-card figcaption strong {
  margin-top: 3px;
  font-size: 21px;
}

.response-bounds {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.response-bounds i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}

.response-chart {
  position: relative;
  height: 310px;
  margin: 0 24px;
  overflow: hidden;
  background-image:
    linear-gradient(rgb(155 175 210 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(155 175 210 / 5%) 1px, transparent 1px);
  background-size: 100% 25%, 12.5% 100%;
}

.response-y {
  position: absolute;
  left: 0;
  z-index: 3;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
}

.response-y-top { top: 24px; }
.response-y-bottom { bottom: 48px; }

.response-gridline {
  position: absolute;
  right: 0;
  left: 42px;
  z-index: 1;
  height: 1px;
  background: rgb(255 255 255 / 9%);
}

.response-gridline-top { top: 31px; }
.response-gridline-bottom { bottom: 55px; background: rgb(255 189 102 / 25%); }

.response-centerline {
  position: absolute;
  top: 24px;
  bottom: 36px;
  left: 50%;
  z-index: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgb(255 189 102 / 55%), transparent);
}

.response-stroke {
  position: absolute;
  z-index: 2;
  bottom: 54px;
  width: calc(50% - 34px);
  height: 4px;
  border-radius: 999px;
}

.response-stroke::before,
.response-stroke::after {
  position: absolute;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: inherit;
}

.response-stroke-sell {
  left: 43px;
  width: calc(50% - 43px);
  background: linear-gradient(90deg, var(--coral), #ff9ba6);
  box-shadow: 0 0 14px rgb(255 104 120 / 30%);
  transform: rotate(17deg);
  transform-origin: right center;
}

.response-stroke-sell::before { left: -2px; top: -2px; }

.response-stroke-buy {
  right: auto;
  left: 50%;
  width: 50%;
  background: linear-gradient(90deg, #9beeff, var(--cyan));
  box-shadow: 0 0 14px rgb(83 217 255 / 30%);
  transform: rotate(-17deg);
  transform-origin: left center;
}

.response-stroke-buy::after { right: -2px; top: -2px; }

.response-node {
  position: absolute;
  bottom: 49px;
  left: calc(50% - 6px);
  z-index: 4;
  width: 12px;
  height: 12px;
  border: 2px solid #fff3df;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 16px rgb(255 189 102 / 60%);
}

.response-axis-label {
  position: absolute;
  bottom: 17px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.response-axis-left { left: 0; color: var(--coral); }
.response-axis-center { left: 50%; transform: translateX(-50%); color: var(--amber); }
.response-axis-right { right: 0; color: var(--cyan); }

.response-key {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 17px 27px 20px;
  color: var(--dim);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.response-key span { display: flex; align-items: center; gap: 7px; }
.response-key i { width: 7px; height: 7px; display: block; border-radius: 50%; }
.key-sell { background: var(--coral); }
.key-buy { background: var(--cyan); }

.pricing-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.pricing-rules article {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 1.8%);
}

.pricing-rules article > span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.pricing-rules h3 {
  margin: 26px 0 9px;
  font-size: 21px;
  letter-spacing: -.025em;
}

.pricing-rules p,
.bid-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.technical-note {
  margin: 20px 0 0;
  padding: 17px 20px;
  color: var(--dim);
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgb(83 217 255 / 5%), transparent 70%);
  font-size: 14px;
  line-height: 1.65;
}

.technical-note strong { color: var(--text); }
.technical-note code { color: var(--cyan); font-family: var(--mono); font-size: .92em; }

.routing-chapter {
  overflow: hidden;
  background:
    radial-gradient(700px 470px at 12% 50%, rgb(83 217 255 / 5%), transparent 73%),
    radial-gradient(700px 470px at 88% 50%, rgb(255 104 120 / 5%), transparent 73%),
    var(--bg-deep);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  position: relative;
  min-height: 510px;
  padding: clamp(28px, 3.4vw, 42px);
  overflow: hidden;
}

.route-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .45;
}

.route-card-buy::before { background: radial-gradient(420px 240px at 50% 44%, rgb(83 217 255 / 12%), transparent 70%); }
.route-card-sell::before { background: radial-gradient(420px 240px at 50% 44%, rgb(255 104 120 / 11%), transparent 70%); }

.route-card header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.route-card header > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 800;
}

.route-card header > span i {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
}

.route-card-buy header > span i { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.route-card-sell header > span i { background: var(--coral); box-shadow: 0 0 12px var(--coral); }

.route-card header small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.route-visual {
  position: relative;
  z-index: 1;
  height: 178px;
  margin: 20px 0 10px;
}

.route-visual::before {
  position: absolute;
  top: 50%;
  right: 12%;
  left: 12%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 30%), transparent);
}

.route-visual span {
  position: absolute;
  top: calc(50% - 14px);
  left: 13%;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.route-visual i {
  position: absolute;
  top: calc(50% - 5px);
  left: 44%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.route-card-buy .route-visual span { border-color: var(--cyan); box-shadow: 0 0 20px rgb(83 217 255 / 24%); }
.route-card-buy .route-visual i { background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.route-card-sell .route-visual span { border-color: var(--coral); box-shadow: 0 0 20px rgb(255 104 120 / 24%); }
.route-card-sell .route-visual i { background: var(--coral); box-shadow: 0 0 16px var(--coral); }

.route-visual b {
  position: absolute;
  top: calc(50% - 33px);
  right: 13%;
  width: 66px;
  height: 66px;
  display: block;
}

.route-card-buy .route-visual b {
  border: 1px solid rgb(83 217 255 / 55%);
  border-radius: 50%;
  box-shadow: inset 0 0 30px rgb(83 217 255 / 8%), 0 0 0 12px rgb(83 217 255 / 3%);
}

.route-card-buy .route-visual b::before,
.route-card-buy .route-visual b::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 31px;
  height: 1px;
  content: "";
  background: var(--cyan);
}

.route-card-buy .route-visual b::before { transform: translate(-50%, -50%) rotate(45deg); }
.route-card-buy .route-visual b::after { transform: translate(-50%, -50%) rotate(-45deg); }

.route-card-sell .route-visual b {
  border-bottom: 4px solid var(--coral);
  box-shadow: 0 9px 0 -5px rgb(255 104 120 / 65%), 0 18px 0 -7px rgb(255 104 120 / 38%);
}

.route-destination {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.route-card-sell .route-destination { color: var(--coral); }

.route-card h3,
.route-card > p:last-child {
  position: relative;
  z-index: 1;
}

.route-caption {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 14px;
  text-align: center;
}

.bid-chapter {
  background:
    radial-gradient(800px 550px at 92% 24%, rgb(255 189 102 / 5%), transparent 74%),
    linear-gradient(180deg, rgb(8 11 18 / 50%), transparent);
}

.bid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.bid-stack {
  position: relative;
  min-height: 500px;
  margin: 0;
  padding: 30px;
  overflow: hidden;
}

.bid-stack::before {
  position: absolute;
  inset: 85px 28px 86px;
  content: "";
  background-image:
    linear-gradient(rgb(155 175 210 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(155 175 210 / 5%) 1px, transparent 1px);
  background-size: 100% 52px, 52px 100%;
}

.bid-stack figcaption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.bid-stack figcaption span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bid-stack figcaption strong { font-size: 18px; }

.bid-market,
.bid-band {
  position: absolute;
  right: 30px;
  left: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
}

.bid-market { top: 150px; }
.bid-band-one { top: 232px; }
.bid-band-two { top: 290px; }
.bid-band-three { top: 348px; }

.bid-market span,
.bid-band span {
  width: 90px;
  flex: 0 0 auto;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bid-market span { color: var(--text); }

.bid-market i,
.bid-band i {
  height: 4px;
  display: block;
  border-radius: 999px;
}

.bid-market i {
  width: 72%;
  background: linear-gradient(90deg, var(--cyan), #d9f8ff);
  box-shadow: 0 0 18px rgb(83 217 255 / 32%);
}

.bid-band i {
  background: linear-gradient(90deg, rgb(255 189 102 / 25%), var(--amber));
  box-shadow: 0 0 12px rgb(255 189 102 / 20%);
}

.bid-band-one i { width: 62%; }
.bid-band-two i { width: 48%; opacity: .78; }
.bid-band-three i { width: 38%; opacity: .58; }

.bid-stack > p {
  position: absolute;
  right: 30px;
  bottom: 25px;
  left: 30px;
  z-index: 2;
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.55;
}

.bid-copy {
  display: grid;
  gap: 12px;
}

.bid-copy article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 1.7%);
}

.bid-copy article > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--amber);
  border: 1px solid rgb(255 189 102 / 23%);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
}

.bid-copy h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -.02em;
}

.launch-and-gates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.launch-card,
.gates-card {
  min-height: 390px;
  padding: clamp(27px, 3.4vw, 40px);
}

.launch-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
}

.launch-flow span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.launch-flow i {
  height: 1px;
  display: block;
  background: linear-gradient(90deg, var(--coral), var(--amber));
}

.gates-list {
  display: grid;
  gap: 10px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.gates-list li {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgb(255 255 255 / 1.5%);
}

.gates-list li > i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgb(83 217 255 / 24%);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.gates-list li > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.gates-list strong {
  display: block;
  margin-bottom: 1px;
  color: var(--text);
  font-size: 14px;
}

.parameters-chapter {
  background: var(--bg-deep);
}

.parameter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.parameter-grid > div {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgb(17 23 35 / 72%), rgb(8 11 18 / 65%));
  transition: border-color .2s ease, transform .2s ease;
}

.parameter-grid > div:hover {
  border-color: var(--line-bright);
  transform: translateY(-2px);
}

.parameter-grid dt {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.parameter-grid dd {
  margin: 12px 0 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(23px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -.04em;
}

.parameter-grid p {
  margin: auto 0 0;
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.docs-footer .footer-inner {
  min-height: 112px;
}

.docs-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease;
}

.docs-back:hover,
.docs-back:focus-visible { color: var(--text); }
.docs-back span { color: var(--cyan); }

@media (max-width: 1060px) {
  .docs-hero { min-height: auto; }
  .docs-hero-grid { grid-template-columns: 1fr; }
  .docs-hero-copy { max-width: 720px; }
  .mechanics-map { width: min(100%, 760px); }
  .pricing-layout { grid-template-columns: 1fr; }
  .reference-card { min-height: 380px; }
  .bid-layout { grid-template-columns: 1fr; }
  .bid-stack { min-height: 470px; }
}

@media (max-width: 760px) {
  .masthead-nav { gap: 18px; }
  .masthead-nav a { min-height: 44px; }

  .docs-hero {
    padding: 62px 0 76px;
  }

  .docs-hero h1 {
    font-size: clamp(52px, 15vw, 76px);
  }

  .docs-hero-lede { font-size: 17px; }

  .mechanics-map { padding: 21px; border-radius: 24px; }
  .map-field { height: 205px; }
  .map-zone { font-size: 13px; }
  .map-price { left: 70%; }
  .map-destinations { grid-template-columns: 1fr; }

  .docs .content-section { padding: 66px 0; }

  .docs-chapter-head {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .docs-chapter-head > span {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .docs-chapter-head h2 { font-size: clamp(38px, 11vw, 54px); }
  .docs-chapter-head > div > p:last-child { font-size: 16px; }

  .pricing-rules,
  .route-grid,
  .launch-and-gates,
  .parameter-grid {
    grid-template-columns: 1fr;
  }

  .reference-card { min-height: 430px; }
  .route-card { min-height: 490px; }

  .response-card figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .response-chart { height: 275px; margin-inline: 17px; }
  .response-stroke-sell { left: 41px; width: calc(50% - 41px); }

  .bid-stack { min-height: 440px; padding: 23px; }
  .bid-market,
  .bid-band { right: 23px; left: 23px; }
  .bid-market span,
  .bid-band span { width: 78px; font-size: 13px; }
  .bid-stack > p { right: 23px; left: 23px; }

  .launch-flow {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .launch-flow i {
    width: 1px;
    height: 18px;
    margin-left: 20px;
    background: linear-gradient(to bottom, var(--coral), var(--amber));
  }

  .launch-flow span { text-align: left; }
}

@media (max-width: 430px) {
  .docs-toc { grid-template-columns: 1fr; }
  .docs-toc a { min-height: 48px; }
  .mechanics-map figcaption strong { font-size: 18px; }
  .map-range { gap: 9px; }
  .map-range small { display: none; }
  .map-range strong { font-size: 18px; }
  .map-zone { display: none; }
  .map-orbit { width: 122px; height: 122px; top: calc(55% - 61px); }
  .map-orbit-left { left: calc(50% - 106px); }
  .map-orbit-right { right: calc(50% - 106px); }

  .docs-chapter-head {
    grid-template-columns: 1fr;
  }

  .reference-card,
  .route-card,
  .launch-card,
  .gates-card { padding: 24px; }

  .response-axis-label { font-size: 13px; }
  .response-axis-left { max-width: 62px; }
  .response-axis-right { max-width: 62px; text-align: right; }
  .response-key { justify-content: flex-start; }

  .bid-copy article {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .bid-stack { min-height: 420px; }
  .bid-market i { width: 62%; }
  .bid-band-one i { width: 54%; }
  .bid-band-two i { width: 41%; }
  .bid-band-three i { width: 31%; }

  .docs-footer .footer-inner {
    min-height: 126px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
}
