@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./assets/PlusJakartaSans-wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f1e7;
  --paper-deep: #ece5d7;
  --ink: #11120f;
  --ink-soft: #52534d;
  --line: #c8c0b1;
  --blue: #2d63f4;
  --blue-dark: #1746c6;
  --blue-wash: #e8eeff;
  --mint: #e2f4e8;
  --white: #fffdf8;
  --danger: #b42318;
  --radius: 14px;
  --page: min(1420px, calc(100vw - 48px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--blue) var(--paper-deep);
  scrollbar-width: thin;
}

body {
  font-weight: 450;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

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

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: var(--paper-deep);
}

body::-webkit-scrollbar-thumb {
  background: var(--blue);
  border: 2px solid var(--paper-deep);
}

a,
button,
input {
  font: inherit;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

.skip-link {
  position: absolute;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  text-decoration: none;
  transition: transform 180ms var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 74px;
  padding: 14px max(24px, calc((100vw - 1420px) / 2));
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 240ms ease, background 240ms ease;
}

.scroll-progress {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  overflow: hidden;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.site-header.is-scrolled {
  border-color: color-mix(in srgb, var(--ink) 16%, transparent);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-header > nav:not(.mobile-nav) {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header > nav:not(.mobile-nav) a {
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  transition: text-decoration-color 160ms ease;
}

.site-header > nav:not(.mobile-nav) a:hover {
  text-decoration-color: var(--ink);
}

.site-header > nav:not(.mobile-nav) .nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  text-decoration: none;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(36px, 5vw, 92px);
  width: var(--page);
  min-height: calc(100svh - 74px);
  margin: 0 auto;
  padding: 54px 0 72px;
}

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

.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.launch-note span {
  width: 9px;
  height: 9px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--blue-wash);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin-bottom: 32px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.91;
}

h1 em {
  color: var(--blue);
  font-weight: 500;
}

.hero-lede {
  max-width: 61ch;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms ease, box-shadow 220ms ease;
}

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

.button:active {
  transform: translateY(0) scale(0.975);
  transition-duration: 110ms;
}

.button-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 24px rgba(45, 99, 244, 0.18);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 28px rgba(45, 99, 244, 0.25);
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.text-action svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms var(--ease);
}

.text-action:hover svg {
  transform: translateX(4px);
}

.market-shell {
  position: relative;
  min-width: 0;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(17, 18, 15, 0.22), 0 8px 22px rgba(17, 18, 15, 0.18);
  overflow: hidden;
  transform: perspective(1200px) rotateY(var(--tilt-y, -2deg)) rotateX(var(--tilt-x, 1deg)) translate3d(var(--shift-x, 0), var(--shift-y, 0), 0);
  transform-origin: center left;
  transition: transform 900ms var(--ease), box-shadow 900ms var(--ease);
}

.market-shell.is-focused {
  transform: perspective(1200px) rotateY(0) rotateX(0) scale(1.015);
  box-shadow: 0 42px 110px rgba(17, 18, 15, 0.28), 0 12px 28px rgba(17, 18, 15, 0.2);
}

.market-topline,
.market-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.67rem;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbcbbf;
}

.live-indicator i {
  width: 7px;
  height: 7px;
  background: #72d993;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(114, 217, 147, 0.12);
}

.market-viewport {
  padding: 22px;
}

.market-grid {
  display: grid;
  grid-template-columns: 0.87fr 1.13fr;
  gap: 12px;
}

.order-book,
.clearing-window {
  min-height: 295px;
  background: #191a17;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.order-book {
  padding: 18px 16px;
}

.column-title,
.order-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.column-title {
  margin-bottom: 16px;
  color: #94958c;
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.column-title span:last-child,
.order-row span {
  text-align: right;
}

.order-row {
  position: relative;
  align-items: center;
  min-height: 42px;
  padding: 0 8px;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.order-row::before {
  content: "";
  position: absolute;
  inset: 4px auto 4px 0;
  z-index: 0;
  width: var(--fill);
  background: rgba(45, 99, 244, 0.16);
}

.order-row > * {
  position: relative;
  z-index: 1;
}

.order-row b {
  font-weight: 620;
}

.order-row span {
  color: #c5c5bd;
}

.order-row.active {
  color: var(--white);
  background: var(--blue);
}

.order-row.is-clearing {
  color: var(--white);
  background: color-mix(in srgb, var(--blue) 90%, white);
  animation: row-clear 520ms var(--ease) both;
}

.order-row.is-clearing span {
  color: var(--white);
}

@keyframes row-clear {
  0% { transform: scaleX(0.94); filter: brightness(0.8); }
  55% { transform: scaleX(1.015); filter: brightness(1.16); }
  100% { transform: scaleX(1); filter: brightness(1); }
}

.order-row.active::before {
  display: none;
}

.order-row.active span {
  color: var(--white);
}

.clearing-window {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
}

.clearing-window p {
  margin-bottom: 8px;
  color: #a9aaa1;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.clearing-window strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.98;
  font-variant-numeric: tabular-nums;
}

.clearing-window > span {
  color: #a9aaa1;
  font-size: 0.72rem;
}

.pulse-line {
  position: absolute;
  inset: auto 0 0;
  height: 105px;
  opacity: 0.9;
}

.pulse-line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pulse-line path {
  fill: none;
  stroke-linecap: round;
}

.trace-shadow {
  stroke: rgba(45, 99, 244, 0.2);
  stroke-width: 13;
}

.trace {
  stroke: #5681ff;
  stroke-width: 2;
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: draw-trace 2.2s 0.25s var(--ease) forwards;
}

@keyframes draw-trace {
  to { stroke-dashoffset: 0; }
}

.verification-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  overflow: hidden;
}

.verification-strip > div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.verification-strip > div:last-child {
  border-right: 0;
}

.verification-strip span {
  display: block;
  margin-bottom: 5px;
  color: #8f9088;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.verification-strip strong {
  font-size: 0.7rem;
  font-weight: 650;
  white-space: nowrap;
}

.verification-strip .verification-result {
  color: #11120f;
  background: #74da95;
}

.verification-strip .verification-result.is-confirming {
  animation: verify-confirm 620ms var(--ease) both;
}

@keyframes verify-confirm {
  0% { background: #2e4134; color: var(--white); clip-path: inset(0 100% 0 0); }
  58% { clip-path: inset(0); }
  100% { background: #74da95; color: #11120f; clip-path: inset(0); }
}

.verification-strip .verification-result span {
  color: #2d543a;
}

.market-caption {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 0;
  letter-spacing: 0;
}

.market-caption p {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
}

.market-caption span {
  color: #8f9088;
  font-size: 0.63rem;
  letter-spacing: 0.04em;
}

.premise {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(110px, 14vw, 190px) 0;
}

.premise > p {
  max-width: 1100px;
  margin-bottom: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.7rem, 5.8vw, 5.6rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.premise > .premise-answer {
  max-width: 1200px;
  color: var(--blue);
}

.premise-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--ink);
}

.premise-lines span {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.premise-lines span + span {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.mechanism {
  background: var(--ink);
  color: var(--white);
}

.mechanism-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 60px;
  width: var(--page);
  margin: 0 auto;
  padding: 120px 0 78px;
}

.mechanism-intro h2,
.difference h2,
.value h2,
.access h2 {
  margin-bottom: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(3rem, 5.6vw, 5.6rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.mechanism-intro > p,
.difference-heading > p,
.access-copy > p {
  max-width: 66ch;
  margin: 0;
  color: #aaa9a1;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
}

.mechanism-sticky {
  width: var(--page);
  margin: 0 auto;
  padding-bottom: 120px;
}

.step-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}

.step-tabs button {
  min-height: 64px;
  padding: 0 20px;
  background: transparent;
  color: #898a83;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.step-tabs button:last-child {
  border-right: 0;
}

.step-tabs button[aria-selected="true"] {
  color: white;
  background: var(--blue);
}

.step-stage {
  position: relative;
  min-height: 520px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  touch-action: pan-y;
  overflow: hidden;
}

.step-progress {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.step-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #74da95;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 650ms var(--ease);
}

.step-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
  min-height: 520px;
  padding: 68px 24px;
}

.step-panel[hidden] {
  display: none;
}

.step-panel.is-entering .step-copy,
.step-panel.is-entering .market-graphic {
  animation: panel-in 650ms var(--ease) both;
}

.step-panel.is-entering .market-graphic {
  animation-delay: 80ms;
}

@keyframes panel-in {
  from { opacity: 0.01; transform: translateX(var(--panel-enter-x, 28px)); filter: blur(9px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.step-panel.from-previous {
  --panel-enter-x: -28px;
}

.step-panel.from-next {
  --panel-enter-x: 28px;
}

.step-count {
  display: block;
  margin-bottom: 28px;
  color: #898a83;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-copy h3 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.4rem, 4.3vw, 4.4rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
}

.step-copy p {
  max-width: 58ch;
  margin: 0;
  color: #aaa9a1;
  font-size: 1rem;
  line-height: 1.72;
}

.market-graphic {
  min-height: 310px;
  padding: 34px;
  background: #181916;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

.book-labels,
.book-line {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 16px;
  align-items: center;
}

.book-labels {
  margin-bottom: 34px;
  color: #898a83;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.book-labels span:last-child {
  grid-column: 3;
  text-align: right;
}

.book-labels .book-synthetic {
  grid-column: 2;
  text-align: center;
}

.book-line {
  min-height: 62px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.book-line i {
  display: block;
  width: var(--w);
  height: 13px;
  background: #556177;
}

.book-line i:last-child {
  justify-self: end;
  background: #53484e;
}

.book-line b {
  text-align: center;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.book-line.selected {
  color: white;
}

.book-line.selected i {
  background: var(--blue);
}

.contract-graphic {
  display: grid;
  align-content: center;
}

.contract-graphic > div {
  display: grid;
  grid-template-columns: 1fr auto 12px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contract-graphic > div:last-child {
  border-bottom: 0;
}

.contract-graphic span,
.contract-graphic b {
  font-size: 0.76rem;
}

.contract-graphic span {
  color: #92938c;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #74da95;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(116, 218, 149, 0.12);
}

.measure-graphic {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.measure-axis,
.reputation-labels {
  display: flex;
  justify-content: space-between;
  color: #92938c;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.measure-track {
  position: relative;
  height: 56px;
  margin: 18px 0 24px;
  background: rgba(255, 255, 255, 0.06);
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.measure-track::before {
  content: "";
  position: absolute;
  inset: 0 30% 0 0;
  background: rgba(45, 99, 244, 0.2);
}

.measure-track i,
.measure-track b {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
}

.measure-track i {
  left: 70%;
  background: white;
}

.measure-track b {
  left: 56%;
  background: #74da95;
  box-shadow: 0 0 18px rgba(116, 218, 149, 0.4);
}

.measure-graphic p {
  margin: 0;
  color: #c4c5bd;
  font-size: 0.76rem;
}

.reputation-graphic {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reputation-path {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 52px 10px 34px;
}

.reputation-path::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: #50514b;
}

.reputation-path i,
.reputation-path b {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  background: #3d3e39;
  border: 4px solid #181916;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #61625c;
}

.reputation-path b {
  width: 24px;
  height: 24px;
  background: #74da95;
  box-shadow: 0 0 0 1px #74da95, 0 0 25px rgba(116, 218, 149, 0.25);
}

.swipe-hint {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: none;
  align-items: center;
  gap: 8px;
  color: #8e8f88;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swipe-hint svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.market-sides {
  padding: clamp(110px, 13vw, 180px) max(24px, calc((100vw - 1420px) / 2));
  color: var(--white);
  background: var(--blue);
  overflow: hidden;
}

.market-sides-heading {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 78px;
}

.market-sides-heading h2,
.questions h2 {
  margin-bottom: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(3rem, 5.6vw, 5.6rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.market-sides-heading > p {
  max-width: 64ch;
  margin: 0;
  color: #dfe7ff;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
}

.exchange-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.52fr) minmax(0, 1fr);
  align-items: stretch;
  border-block: 1px solid rgba(255, 255, 255, 0.34);
}

.market-role {
  padding: 36px 0 18px;
}

.buyer-role {
  padding-right: 42px;
}

.seller-role {
  padding-left: 42px;
}

.role-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.role-title span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.role-title b {
  color: #dfe7ff;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.market-role ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.market-role li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.market-role li span {
  color: #cdd9ff;
  font-size: 0.65rem;
  font-weight: 720;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.market-role li strong {
  max-width: 36ch;
  font-size: 0.88rem;
  font-weight: 580;
  line-height: 1.55;
}

.exchange-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  padding: 36px 28px;
  background: var(--ink);
  overflow: hidden;
}

.exchange-core::before,
.exchange-core::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: rgba(255, 255, 255, 0.32);
}

.exchange-core::before { left: 0; }
.exchange-core::after { right: 0; }

.exchange-core img {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  margin-bottom: 28px;
  filter: invert(1);
}

.exchange-core p {
  position: relative;
  z-index: 2;
  margin: 3px 0;
  color: #b9bab2;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 204px;
  height: 204px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.flow-orbit span {
  position: absolute;
  left: 50%;
  bottom: -10px;
  padding: 3px 8px;
  color: #91928b;
  background: var(--ink);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.flow-token {
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  background: #74da95;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(116, 218, 149, 0.12), 0 0 22px rgba(116, 218, 149, 0.45);
  transform-origin: 5px 107px;
}

.market-sides.is-visible .flow-token {
  animation: orbit-contract 4.8s linear infinite;
}

@keyframes orbit-contract {
  to { transform: rotate(360deg); }
}

.market-boundary {
  max-width: 760px;
  margin: 24px 0 0 auto;
  color: #cdd9ff;
  font-size: 0.7rem;
  line-height: 1.55;
  text-align: right;
}

.difference {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(110px, 13vw, 180px) 0;
}

.difference-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 84px;
}

.difference-heading > p {
  color: var(--ink-soft);
}

.position-map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 650px;
  padding: 0 0 44px 50px;
  border-left: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.position-map::before,
.position-map::after {
  content: "";
  position: absolute;
  background: var(--line);
}

.position-map::before {
  inset: 50% 0 auto 50px;
  height: 1px;
}

.position-map::after {
  inset: 0 auto 44px 50%;
  width: 1px;
}

.axis-label {
  position: absolute;
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.axis-y {
  left: -16px;
  top: 48%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
}

.axis-x {
  right: 0;
  bottom: 12px;
}

.quadrant {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  padding: 36px;
}

.quadrant span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.quadrant small {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.quadrant-muted {
  opacity: 0.38;
}

.quadrant:nth-of-type(1) {
  grid-column: 1;
  grid-row: 2;
}

.quadrant:nth-of-type(2) {
  grid-column: 2;
  grid-row: 2;
}

.quadrant:nth-of-type(3) {
  grid-column: 1;
  grid-row: 1;
}

.quadrant:nth-of-type(4) {
  grid-column: 2;
  grid-row: 1;
}

.quadrant-noesis {
  margin: 24px;
  padding: clamp(30px, 5vw, 64px);
  color: var(--white);
  background: var(--blue);
  border-radius: 12px;
  box-shadow: 0 24px 52px rgba(45, 99, 244, 0.22);
}

.quadrant-noesis img {
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  filter: invert(1);
}

.quadrant-noesis small {
  color: #dfe7ff;
}

.value {
  padding: clamp(100px, 12vw, 160px) max(24px, calc((100vw - 1420px) / 2));
  background: var(--paper-deep);
  overflow: hidden;
}

.value-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 68px;
}

.value-heading h2 {
  max-width: 850px;
}

.value-heading p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.value-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(370px, 32vw);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
}

.value-rail::-webkit-scrollbar {
  display: none;
}

.value-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.value-rail article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 34px;
  background: var(--white);
  border-top: 1px solid var(--ink);
  scroll-snap-align: start;
}

.value-rail article:nth-child(2) {
  color: white;
  background: var(--blue);
  border-top-color: var(--blue);
}

.value-rail article:nth-child(2) p,
.value-rail article:nth-child(2) > span {
  color: #dfe7ff;
}

.value-rail h3 {
  margin: auto 0 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
}

.value-rail p {
  max-width: 42ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.questions {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(54px, 9vw, 140px);
  width: var(--page);
  margin: 0 auto;
  padding: clamp(110px, 13vw, 180px) 0 40px;
}

.questions-heading {
  align-self: start;
  position: sticky;
  top: 116px;
}

.questions-heading p {
  max-width: 50ch;
  margin: 28px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.question-list {
  border-top: 1px solid var(--ink);
}

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

.question-list summary {
  position: relative;
  padding: 30px 58px 30px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.question-list summary::-webkit-details-marker {
  display: none;
}

.question-list summary::before,
.question-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 260ms var(--ease), background 180ms ease;
}

.question-list summary::after {
  transform: rotate(90deg);
}

.question-list details[open] summary {
  color: var(--blue-dark);
}

.question-list details[open] summary::after {
  transform: rotate(0);
  background: var(--blue);
}

.question-list details[open] summary::before {
  background: var(--blue);
}

.question-list details p {
  max-width: 67ch;
  margin: -4px 0 30px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

.access {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(52px, 9vw, 140px);
  width: var(--page);
  margin: 0 auto;
  padding: clamp(120px, 15vw, 210px) 0;
}

.access-copy h2 {
  margin-bottom: 30px;
}

.access-copy > p {
  color: var(--ink-soft);
}

.access-form {
  align-self: center;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.access-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 720;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.access-form input {
  min-width: 0;
  min-height: 54px;
  padding: 0 18px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  caret-color: var(--blue);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.access-form input::placeholder {
  color: #73746d;
}

.access-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-wash);
  outline: 0;
}

.access-form input[aria-invalid="true"] {
  border-color: var(--danger);
}

.access-form .button {
  border-radius: 0;
}

.form-note,
.form-status {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.5;
}

.form-status {
  min-height: 1.5em;
  color: var(--blue-dark);
  font-weight: 650;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  width: var(--page);
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.footer-brand {
  font-size: 1.15rem;
}

.footer-brand img {
  width: 30px;
  height: 30px;
}

@media (max-width: 1120px) {
  :root {
    --page: min(100% - 40px, 980px);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

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

  .market-shell {
    transform: none;
  }

  .market-shell.is-focused {
    transform: scale(1.01);
  }

  .mechanism-intro,
  .difference-heading,
  .market-sides-heading,
  .questions,
  .access {
    grid-template-columns: 1fr;
  }

  .mechanism-intro > p,
  .difference-heading > p,
  .access-copy > p {
    max-width: 70ch;
  }

  .step-panel {
    gap: 44px;
  }

  .questions-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100% - 32px);
  }

  .site-header {
    min-height: 66px;
    padding-inline: 16px;
  }

  .site-header > nav:not(.mobile-nav) {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 24px;
    height: 1px;
    background: var(--ink);
    transition: transform 220ms var(--ease);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-header .mobile-nav {
    position: absolute;
    inset: 66px 0 auto;
    display: grid;
    gap: 0;
    padding: 8px 16px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav[hidden] {
    display: none;
  }

  .mobile-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
  }

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

  .hero {
    display: block;
    min-height: auto;
    padding: 50px 0 84px;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 56px;
  }

  .hero-actions .launch-note {
    order: 3;
  }

  .market-topline,
  .market-caption {
    padding-inline: 16px;
  }

  .market-topline {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .market-viewport {
    padding: 10px;
  }

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

  .order-book {
    display: none;
  }

  .clearing-window {
    min-height: 290px;
  }

  .verification-strip {
    grid-template-columns: 1fr 1fr;
  }

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

  .verification-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .market-caption {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
    gap: 2px;
  }

  .premise {
    padding: 112px 0;
  }

  .premise > p {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .premise-lines {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .premise-lines span + span {
    padding-left: 0;
    border-left: 0;
  }

  .mechanism-intro {
    gap: 34px;
    padding: 94px 0 60px;
  }

  .step-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .step-tabs::-webkit-scrollbar {
    display: none;
  }

  .step-tabs button {
    flex: 0 0 42%;
    scroll-snap-align: start;
  }

  .step-stage,
  .step-panel {
    min-height: 670px;
  }

  .step-panel {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 40px;
    padding: 54px 0 70px;
  }

  .step-copy {
    padding: 0 4px;
  }

  .step-copy h3 {
    font-size: clamp(2.5rem, 11vw, 3.8rem);
  }

  .market-graphic {
    min-height: 290px;
    padding: 24px;
  }

  .book-line {
    grid-template-columns: 1fr 66px 1fr;
  }

  .swipe-hint {
    display: flex;
  }

  .difference {
    padding: 110px 0;
  }

  .market-sides {
    padding-inline: 16px;
  }

  .market-sides-heading {
    gap: 34px;
    margin-bottom: 58px;
  }

  .exchange-flow {
    grid-template-columns: 1fr;
  }

  .buyer-role,
  .seller-role {
    padding: 28px 0 14px;
  }

  .exchange-core {
    min-height: 330px;
    order: 2;
  }

  .seller-role {
    order: 3;
  }

  .market-boundary {
    margin-top: 20px;
    text-align: left;
  }

  .difference-heading {
    gap: 34px;
    margin-bottom: 64px;
  }

  .position-map {
    min-height: 620px;
    padding-left: 28px;
  }

  .position-map::before {
    left: 28px;
  }

  .quadrant {
    min-height: 270px;
    padding: 18px;
  }

  .quadrant span {
    font-size: 1.1rem;
  }

  .quadrant small {
    font-size: 0.62rem;
    line-height: 1.5;
  }

  .quadrant-noesis {
    margin: 10px;
  }

  .quadrant-noesis img {
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
  }

  .axis-y {
    left: -20px;
  }

  .value {
    padding-inline: 16px;
  }

  .value-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 48px;
  }

  .value-rail {
    grid-auto-columns: 86vw;
  }

  .value-rail article {
    min-height: 400px;
    padding: 28px;
  }

  .questions {
    gap: 50px;
    padding: 104px 0 20px;
  }

  .question-list summary {
    padding-block: 24px;
    padding-right: 46px;
  }

  .access {
    gap: 62px;
    padding: 116px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .access-form .button {
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

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

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

  .market-sides.is-visible .flow-token {
    animation: none;
  }
}
