:root {
  --bg: #040506;
  --panel: rgba(12, 15, 18, 0.85);
  --panel-strong: rgba(18, 22, 26, 0.94);
  --text: #eef3f7;
  --muted: #8d98a4;
  --line: rgba(196, 211, 225, 0.15);
  --accent: #c7d2da;
  --accent-strong: #f4f7fa;
  --glow: rgba(151, 221, 255, 0.14);
  --success: #95ffd2;
  --warning: #ffb77c;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top, rgba(133, 153, 173, 0.12), transparent 28%),
    linear-gradient(180deg, #020304 0%, #07090c 52%, #030405 100%);
  color: var(--text);
}

.preload {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  gap: 1.5rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(151, 221, 255, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(3, 5, 7, 0.98), rgba(3, 5, 7, 0.94));
  transition: opacity 600ms ease, visibility 600ms ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 210px;
  height: 210px;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(199, 210, 218, 0.2);
}

.ring-one {
  animation: spin 5.4s linear infinite;
}

.ring-two {
  inset: 18px;
  border-style: dashed;
  animation: spinReverse 4.2s linear infinite;
}

.ring-three {
  inset: 38px;
  border-color: rgba(149, 255, 210, 0.35);
  box-shadow: 0 0 40px rgba(151, 221, 255, 0.12), inset 0 0 20px rgba(151, 221, 255, 0.08);
  animation: pulseHalo 2.8s ease-in-out infinite;
}

.loader-center {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle, rgba(224, 232, 239, 0.12), rgba(10, 12, 15, 0.94));
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.06), 0 0 50px rgba(151, 221, 255, 0.08);
}

.loader-mark {
  font-family: "JetBrains Mono", monospace;
  font-size: 2rem;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
}

.loader-center small,
.loader-copy span {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
}

.loader-copy {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}

.loader-copy strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.8rem;
  color: var(--accent-strong);
}

.flash-stack {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  gap: 0.75rem;
  padding: 1rem 4vw 0;
}

.flash-message {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(10, 14, 18, 0.94);
  color: var(--accent-strong);
  box-shadow: var(--shadow);
  animation: flashRise 500ms ease;
}

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

.shell-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.starfield,
.orbit,
.radar-ring,
.pulse {
  position: absolute;
  border-radius: 50%;
}

.starfield {
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 65%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle at 35% 80%, rgba(255, 255, 255, 0.15) 0 1px, transparent 1px);
  background-size: 320px 320px;
  opacity: 0.6;
}

.orbit {
  border: 1px solid rgba(199, 210, 218, 0.12);
  filter: blur(0.4px);
}

.orbit-a {
  width: 70vw;
  height: 70vw;
  top: -20vw;
  right: -18vw;
  animation: spin 32s linear infinite;
}

.orbit-b {
  width: 52vw;
  height: 52vw;
  bottom: -16vw;
  left: -12vw;
  animation: spinReverse 28s linear infinite;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 4vw;
  background: rgba(3, 5, 7, 0.7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar,
.atlas-strip,
.page-shell,
.flash-stack {
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
}

body.preload .topbar,
body.preload .atlas-strip,
body.preload .page-shell,
body.preload .flash-stack {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "JetBrains Mono", monospace;
}

.brand strong,
.nav,
.eyebrow,
.chip,
.button,
button,
textarea,
input {
  font-family: "JetBrains Mono", monospace;
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 0.15rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(129, 143, 156, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 30px rgba(151, 221, 255, 0.08);
  animation: brandPulse 5s ease-in-out infinite;
}

.nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-shell {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 1px;
  margin: 0.26rem auto;
  background: var(--accent-strong);
  transition: transform 220ms ease, opacity 220ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(0.37rem) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-0.37rem) rotate(-45deg);
}

.nav a {
  position: relative;
}

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

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 247, 250, 0.85), transparent);
  transform: scaleX(0.2);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.page {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.atlas-strip {
  width: min(1180px, 92vw);
  margin: 1.1rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.atlas-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background-color: rgba(10, 12, 15, 0.94);
  box-shadow: var(--shadow);
}

.atlas-card::before,
.atlas-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.atlas-card::before {
  background:
    radial-gradient(circle at 30% 20%, rgba(151, 221, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 55%);
}

.atlas-card::after {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.9;
}

.atlas-card-satellite::after {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(244, 247, 250, 0.9) 0 6px, transparent 7px),
    radial-gradient(circle at 50% 50%, transparent 0 54px, rgba(199, 210, 218, 0.24) 55px 56px, transparent 57px),
    linear-gradient(90deg, transparent 26%, rgba(255, 255, 255, 0.14) 26% 29%, transparent 29% 71%, rgba(255, 255, 255, 0.14) 71% 74%, transparent 74%),
    linear-gradient(0deg, transparent 36%, rgba(149, 255, 210, 0.22) 36% 39%, transparent 39% 61%, rgba(149, 255, 210, 0.22) 61% 64%, transparent 64%);
}

.atlas-card-vault::after {
  background-image:
    linear-gradient(90deg, transparent 0 16%, rgba(151, 221, 255, 0.1) 16% 17%, transparent 17% 83%, rgba(151, 221, 255, 0.1) 83% 84%, transparent 84%),
    radial-gradient(circle at 50% 52%, rgba(244, 247, 250, 0.8) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 52%, transparent 0 44px, rgba(199, 210, 218, 0.22) 45px 46px, transparent 47px),
    linear-gradient(180deg, transparent 0 24%, rgba(255, 255, 255, 0.08) 24% 26%, transparent 26% 74%, rgba(255, 255, 255, 0.08) 74% 76%, transparent 76%);
}

.atlas-card-trajectory::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 54%, rgba(149, 255, 210, 0.75) 54% 56%, transparent 56%),
    radial-gradient(circle at 72% 32%, rgba(244, 247, 250, 0.8) 0 4px, transparent 5px);
  background-size: 100% 25%, 20% 100%, cover, cover;
}

.atlas-card {
  animation: atlasFloat 5.8s ease-in-out infinite;
}

.atlas-card:nth-child(2) {
  animation-delay: 0.8s;
}

.atlas-card:nth-child(3) {
  animation-delay: 1.6s;
}

.atlas-copy {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.1rem;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
}

.atlas-copy span {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.atlas-copy strong {
  font-size: 1.05rem;
}

.hero-split {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: stretch;
}

.page-visual {
  min-height: 360px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-visual::before,
.page-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page-visual::before {
  background:
    radial-gradient(circle at 25% 20%, rgba(151, 221, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 58%);
}

.page-visual::after {
  opacity: 0.92;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.visual-badge,
.visual-caption {
  position: absolute;
  z-index: 2;
}

.visual-badge {
  top: 1rem;
  left: 1rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 9, 12, 0.65);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.visual-caption {
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.visual-caption strong {
  font-size: 1.15rem;
}

.visual-caption span {
  color: var(--muted);
  line-height: 1.5;
}

.visual-orbit::after {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(244, 247, 250, 0.9) 0 5px, transparent 6px),
    radial-gradient(circle at 50% 50%, transparent 0 56px, rgba(244, 247, 250, 0.24) 57px 58px, transparent 59px),
    radial-gradient(circle at 50% 50%, transparent 0 104px, rgba(149, 255, 210, 0.22) 105px 106px, transparent 107px),
    linear-gradient(90deg, transparent 22%, rgba(255, 255, 255, 0.12) 22% 26%, transparent 26% 74%, rgba(255, 255, 255, 0.12) 74% 78%, transparent 78%);
  animation: orbitSweep 18s linear infinite;
}

.visual-foundry::after {
  background-image:
    linear-gradient(125deg, transparent 0 42%, rgba(255, 255, 255, 0.1) 42% 46%, transparent 46%),
    linear-gradient(55deg, transparent 0 36%, rgba(149, 255, 210, 0.14) 36% 38%, transparent 38% 62%, rgba(149, 255, 210, 0.14) 62% 64%, transparent 64%),
    radial-gradient(circle at 30% 74%, rgba(244, 247, 250, 0.22), transparent 24%);
  animation: foundryShift 7s ease-in-out infinite;
}

.visual-flow::after {
  background-image:
    linear-gradient(90deg, transparent 14%, rgba(244, 247, 250, 0.08) 14% 15%, transparent 15% 85%, rgba(244, 247, 250, 0.08) 85% 86%, transparent 86%),
    linear-gradient(0deg, transparent 20%, rgba(149, 255, 210, 0.3) 20% 22%, transparent 22% 48%, rgba(149, 255, 210, 0.4) 48% 50%, transparent 50% 76%, rgba(149, 255, 210, 0.28) 76% 78%, transparent 78%),
    radial-gradient(circle at 62% 26%, rgba(244, 247, 250, 0.82) 0 4px, transparent 5px),
    radial-gradient(circle at 32% 58%, rgba(244, 247, 250, 0.82) 0 4px, transparent 5px),
    radial-gradient(circle at 74% 74%, rgba(244, 247, 250, 0.82) 0 4px, transparent 5px);
  animation: flowPulse 4.8s ease-in-out infinite;
}

.visual-signal::after {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(149, 255, 210, 0.45) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 50%, rgba(244, 247, 250, 0.85) 0 4px, transparent 5px),
    radial-gradient(circle at 80% 50%, rgba(149, 255, 210, 0.45) 0 3px, transparent 4px),
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.08) 18% 82%, transparent 82%),
    radial-gradient(circle at 50% 50%, transparent 0 90px, rgba(199, 210, 218, 0.18) 91px 92px, transparent 93px);
  animation: signalWave 5.5s ease-in-out infinite;
}

.visual-vault::after {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(244, 247, 250, 0.78) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 50%, transparent 0 48px, rgba(199, 210, 218, 0.22) 49px 50px, transparent 51px),
    radial-gradient(circle at 50% 50%, transparent 0 108px, rgba(149, 255, 210, 0.14) 109px 110px, transparent 111px),
    linear-gradient(90deg, transparent 0 22%, rgba(255, 255, 255, 0.12) 22% 23%, transparent 23% 77%, rgba(255, 255, 255, 0.12) 77% 78%, transparent 78%);
  animation: vaultLock 6.2s ease-in-out infinite;
}

.visual-gateway::after {
  background-image:
    radial-gradient(circle at 50% 50%, transparent 0 36px, rgba(244, 247, 250, 0.18) 37px 38px, transparent 39px),
    radial-gradient(circle at 50% 50%, transparent 0 82px, rgba(149, 255, 210, 0.16) 83px 84px, transparent 85px),
    linear-gradient(90deg, transparent 0 34%, rgba(255, 255, 255, 0.09) 34% 35%, transparent 35% 65%, rgba(255, 255, 255, 0.09) 65% 66%, transparent 66%),
    linear-gradient(0deg, transparent 0 20%, rgba(149, 255, 210, 0.2) 20% 22%, transparent 22% 78%, rgba(149, 255, 210, 0.2) 78% 80%, transparent 80%);
  animation: gatewayTunnel 7s linear infinite;
}

.visual-dualcode::after {
  background-image:
    linear-gradient(90deg, transparent 0 28%, rgba(244, 247, 250, 0.09) 28% 29%, transparent 29% 71%, rgba(244, 247, 250, 0.09) 71% 72%, transparent 72%),
    radial-gradient(circle at 29% 24%, rgba(149, 255, 210, 0.7) 0 4px, transparent 5px),
    radial-gradient(circle at 71% 70%, rgba(149, 255, 210, 0.7) 0 4px, transparent 5px),
    linear-gradient(180deg, transparent 0 18%, rgba(149, 255, 210, 0.22) 18% 20%, transparent 20% 44%, rgba(149, 255, 210, 0.22) 44% 46%, transparent 46% 74%, rgba(149, 255, 210, 0.22) 74% 76%, transparent 76%);
  animation: codeBlink 2.6s steps(4, end) infinite;
}

.visual-alignment::after {
  background-image:
    radial-gradient(circle at 50% 30%, rgba(244, 247, 250, 0.12), transparent 28%),
    radial-gradient(circle at 50% 50%, transparent 0 74px, rgba(199, 210, 218, 0.2) 75px 76px, transparent 77px),
    linear-gradient(90deg, transparent 0 50%, rgba(255, 255, 255, 0.12) 50% 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 0 38%, rgba(149, 255, 210, 0.2) 38% 39%, transparent 39% 61%, rgba(149, 255, 210, 0.2) 61% 62%, transparent 62%);
  animation: alignmentSweep 4.6s ease-in-out infinite;
}

.visual-command::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 68% 34%, rgba(149, 255, 210, 0.9) 0 4px, transparent 5px),
    linear-gradient(135deg, transparent 0 60%, rgba(149, 255, 210, 0.65) 60% 61%, transparent 61%);
  background-size: 100% 20%, 16% 100%, cover, cover;
  animation: commandTrack 5.4s ease-in-out infinite;
}

.visual-vaultgrid::after {
  background-image:
    radial-gradient(circle at 20% 64%, rgba(244, 247, 250, 0.85) 0 4px, transparent 5px),
    radial-gradient(circle at 46% 34%, rgba(244, 247, 250, 0.85) 0 4px, transparent 5px),
    radial-gradient(circle at 74% 56%, rgba(244, 247, 250, 0.85) 0 4px, transparent 5px),
    linear-gradient(135deg, transparent 0 34%, rgba(149, 255, 210, 0.25) 34% 35%, transparent 35% 61%, rgba(149, 255, 210, 0.25) 61% 62%, transparent 62%);
  animation: vaultDrift 6.8s ease-in-out infinite;
}

.visual-liquidity::after {
  background-image:
    linear-gradient(90deg, transparent 0 14%, rgba(244, 247, 250, 0.08) 14% 15%, transparent 15% 85%, rgba(244, 247, 250, 0.08) 85% 86%, transparent 86%),
    linear-gradient(135deg, transparent 0 28%, rgba(149, 255, 210, 0.62) 28% 30%, transparent 30% 44%, rgba(149, 255, 210, 0.52) 44% 46%, transparent 46% 64%, rgba(149, 255, 210, 0.42) 64% 66%, transparent 66%),
    radial-gradient(circle at 76% 26%, rgba(244, 247, 250, 0.8) 0 4px, transparent 5px);
  animation: liquidityFlow 5.2s linear infinite;
}

.visual-escrow::after {
  background-image:
    linear-gradient(180deg, transparent 0 16%, rgba(244, 247, 250, 0.08) 16% 17%, transparent 17% 37%, rgba(149, 255, 210, 0.15) 37% 39%, transparent 39% 61%, rgba(149, 255, 210, 0.15) 61% 63%, transparent 63% 83%, rgba(244, 247, 250, 0.08) 83% 84%, transparent 84%),
    linear-gradient(90deg, transparent 0 22%, rgba(255, 255, 255, 0.1) 22% 23%, transparent 23% 77%, rgba(255, 255, 255, 0.1) 77% 78%, transparent 78%);
  animation: escrowDrop 5.8s ease-in-out infinite;
}

.longform-grid {
  align-items: stretch;
}

.detail-stack {
  padding: 1.5rem;
}

.story-grid {
  align-items: stretch;
}

.story-card {
  min-height: 14rem;
}

.story-card h3 {
  margin: 0.35rem 0 0.8rem;
}

.story-card p {
  color: #c7d1db;
  line-height: 1.7;
}

.page-shell > * {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 700ms ease, transform 700ms ease;
}

.page-shell > *.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 24, 28, 0.86), rgba(10, 12, 15, 0.94));
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 34%);
  pointer-events: none;
}

.panel::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 40%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(18deg) translateX(-220%);
  opacity: 0;
  pointer-events: none;
}

.panel:hover,
.panel:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.panel:hover::after,
.panel:focus-within::after {
  opacity: 1;
  animation: sheen 1.2s ease;
}

.hero,
.page-heading,
.hold-panel,
.form-panel {
  padding: 2rem;
}

.hero h1,
.page-heading h1,
.hold-panel h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0.3rem 0 1rem;
  max-width: 11ch;
}

.page-heading h1 {
  max-width: 13ch;
}

.lede {
  max-width: 62ch;
  color: #c7d1db;
  line-height: 1.7;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.warning {
  margin-top: 1rem;
  color: var(--warning);
  max-width: 54ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-primary {
  background: linear-gradient(135deg, rgba(245, 247, 250, 0.16), rgba(130, 146, 158, 0.12));
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-140%);
  opacity: 0;
}

.button:hover::after,
.button:focus-visible::after {
  opacity: 1;
  animation: buttonSweep 850ms ease;
}

.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split {
  grid-template-columns: 1.2fr 0.8fr;
}

.stat-card,
.timeline-step,
.report-row,
.telemetry-row,
.bullet-card,
.feature-card,
.prose-panel {
  padding: 1.25rem;
}

.stat-card {
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.stat-label,
.stat-detail,
.report-row small,
.telemetry-row span,
.radar-label,
.hold-core small,
.check-item,
label {
  color: var(--muted);
}

.stat-value {
  font-size: 2rem;
  margin: 0.45rem 0;
}

.radar-panel {
  min-height: 340px;
  display: grid;
  place-items: center;
}

.radar-core {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.35);
}

.radar-ring {
  border: 1px solid rgba(199, 210, 218, 0.15);
}

.ring-1 {
  width: 110px;
  height: 110px;
}

.ring-2 {
  width: 190px;
  height: 190px;
}

.ring-3 {
  width: 270px;
  height: 270px;
}

.radar-label {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1rem;
  align-items: start;
}

.step-index {
  font-family: "JetBrains Mono", monospace;
  font-size: 2rem;
  color: var(--accent-strong);
}

.step-copy h2 {
  margin: 0.2rem 0 0.4rem;
}

.chip-row,
.inline-inputs,
.stack,
.ledger,
.report-table,
.telemetry-list,
.checklist {
  display: grid;
  gap: 0.8rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
}

.mock-form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.choice-group {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.choice-group legend {
  padding: 0 0.35rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
}

.radio-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.radio-grid li label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.radio-grid input[type="radio"] {
  width: 1rem;
  min-height: 1rem;
  margin: 0;
}

textarea,
input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  outline: none;
}

textarea {
  min-height: 8.5rem;
  padding: 1rem;
  resize: vertical;
}

textarea:focus,
input:focus {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 4px rgba(151, 221, 255, 0.08);
}

.hold-panel {
  text-align: center;
}

.hold-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  margin: 1.2rem 0 1.6rem;
}

.hold-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle, rgba(222, 235, 244, 0.12), rgba(10, 12, 15, 0.82));
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.05), 0 0 60px rgba(151, 221, 255, 0.09);
}

#hold-minutes {
  font-family: "JetBrains Mono", monospace;
  font-size: 2.2rem;
}

.pulse {
  border: 1px solid rgba(199, 210, 218, 0.16);
  animation: pulse 4.2s ease-out infinite;
}

.pulse-a {
  width: 220px;
  height: 220px;
}

.pulse-b {
  width: 300px;
  height: 300px;
  animation-delay: 1.3s;
}

.pulse-c {
  width: 380px;
  height: 380px;
  animation-delay: 2.6s;
}

.checklist {
  width: min(680px, 100%);
  margin: 0 auto 1.4rem;
}

.check-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.check-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 16px rgba(149, 255, 210, 0.45);
}

.chart-shell {
  position: relative;
  height: 180px;
  margin-top: 1.2rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 20% 100%;
}

.chart-line {
  position: absolute;
  inset: 25% 8% 18% 8%;
  background: linear-gradient(transparent 52%, rgba(255, 255, 255, 0.12) 52%);
  clip-path: polygon(0 72%, 14% 56%, 28% 63%, 41% 35%, 58% 47%, 73% 22%, 86% 41%, 100% 4%, 100% 100%, 0 100%);
  animation: chartDrift 4.8s ease-in-out infinite;
}

.report-row,
.telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.stack {
  margin-bottom: 1rem;
}

.bullet-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.feature-card h3,
.prose-panel h2 {
  margin: 0.3rem 0 0.8rem;
}

.feature-card p,
.prose-panel p,
.step-copy p {
  color: #c7d1db;
  line-height: 1.7;
}

.top-gap {
  margin-top: 1rem;
}

button {
  cursor: pointer;
}

.auth-layout {
  align-items: start;
}

.face-panel {
  padding: 2rem;
}

.face-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(222, 235, 244, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.face-outline {
  position: relative;
  width: 220px;
  height: 280px;
  border: 1px solid rgba(199, 210, 218, 0.18);
  border-radius: 45% 45% 42% 42% / 34% 34% 54% 54%;
  box-shadow: inset 0 0 40px rgba(151, 221, 255, 0.06);
}

.face-outline::before,
.face-outline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(199, 210, 218, 0.14);
}

.face-outline::before {
  top: 78px;
  width: 120px;
  height: 1px;
}

.face-outline::after {
  top: 48px;
  width: 1px;
  height: 150px;
}

.face-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
}

.node-a { top: 62px; left: 62px; }
.node-b { top: 62px; right: 62px; }
.node-c { top: 122px; left: 50%; transform: translateX(-50%); }
.node-d { bottom: 82px; left: 78px; }
.node-e { bottom: 82px; right: 78px; }

.face-scan-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(149, 255, 210, 0.8), transparent);
  box-shadow: 0 0 20px rgba(149, 255, 210, 0.5);
  animation: scan 3.2s ease-in-out infinite;
}

.form-alert,
.form-success {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.6;
}

.form-success {
  color: var(--success);
}

.field-error {
  color: var(--warning);
  font-size: 0.82rem;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes pulse {
  0% {
    transform: scale(0.82);
    opacity: 0;
  }
  35% {
    opacity: 0.45;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

@keyframes brandPulse {
  0%,
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 30px rgba(151, 221, 255, 0.08);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 42px rgba(151, 221, 255, 0.18);
  }
}

@keyframes pulseHalo {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(-80px);
    opacity: 0.25;
  }
  50% {
    transform: translateY(130px);
    opacity: 1;
  }
}

@keyframes sheen {
  from {
    transform: rotate(18deg) translateX(-220%);
  }
  to {
    transform: rotate(18deg) translateX(420%);
  }
}

@keyframes buttonSweep {
  from {
    transform: translateX(-140%);
  }
  to {
    transform: translateX(140%);
  }
}

@keyframes chartDrift {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

@keyframes atlasFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes orbitSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes foundryShift {
  0%,
  100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(8px) scale(1.03); }
}

@keyframes flowPulse {
  0%,
  100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes signalWave {
  0%,
  100% { transform: scaleX(0.96); opacity: 0.72; }
  50% { transform: scaleX(1.03); opacity: 1; }
}

@keyframes vaultLock {
  0%,
  100% { transform: scale(0.98); opacity: 0.82; }
  50% { transform: scale(1.02); opacity: 1; }
}

@keyframes gatewayTunnel {
  from { transform: translateY(-8px); }
  50% { transform: translateY(8px); }
  to { transform: translateY(-8px); }
}

@keyframes codeBlink {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@keyframes alignmentSweep {
  0%,
  100% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
}

@keyframes commandTrack {
  0%,
  100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

@keyframes vaultDrift {
  0%,
  100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

@keyframes liquidityFlow {
  from { transform: translateX(-10px); }
  50% { transform: translateX(10px); }
  to { transform: translateX(-10px); }
}

@keyframes escrowDrop {
  0%,
  100% { transform: translateY(0); opacity: 0.82; }
  50% { transform: translateY(8px); opacity: 1; }
}

@keyframes flashRise {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  body.preload {
    overflow: auto;
  }

  .site-loader {
    display: none;
  }

  body.preload .topbar,
  body.preload .page-shell,
  body.preload .flash-stack {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .page-shell > * {
    opacity: 1;
    transform: none;
  }

  .atlas-card,
  .page-visual::after {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    align-items: center;
  }

  .three-up,
  .split,
  .timeline-step {
    grid-template-columns: 1fr;
  }

  .page {
    width: min(94vw, 1180px);
  }

  .atlas-strip {
    width: min(94vw, 1180px);
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: inline-grid;
    place-content: center;
    margin-left: auto;
  }

  .nav-shell {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 260ms ease, opacity 260ms ease, transform 260ms ease;
  }

  body.nav-open .nav-shell {
    max-height: 24rem;
    opacity: 1;
    transform: translateY(0);
  }

  .nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 0 0.25rem;
  }
}
