:root {
  --ink: #080807;
  --ink-soft: #10100e;
  --surface: #151512;
  --paper: #e9e5d8;
  --paper-dim: #b6b1a5;
  --line: rgba(233, 229, 216, 0.18);
  --line-soft: rgba(233, 229, 216, 0.09);
  --acid: #d3ff63;
  --copper: #b96945;
  --rust: #7d3d29;
  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: 'DM Mono', monospace;
  --gutter: clamp(1.25rem, 3.8vw, 4.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.055;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 2px;
  background: transparent;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease), background 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(8, 8, 7, 0.86);
  backdrop-filter: blur(20px);
  border-color: var(--line-soft);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--paper);
  transition: transform 0.8s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(120deg);
}

.brand-type {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand-type strong {
  font-size: 0.86rem;
  font-weight: 700;
}

.brand-type small {
  margin-top: 0.28rem;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.36em;
  color: var(--paper-dim);
}

.desktop-nav {
  display: flex;
  gap: clamp(1.4rem, 2.8vw, 3.2rem);
}

.desktop-nav a {
  position: relative;
  color: var(--paper-dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.5rem;
  height: 1px;
  background: var(--acid);
  transition: right 0.35s var(--ease);
}

.desktop-nav a:hover {
  color: var(--paper);
}

.desktop-nav a:hover::after {
  right: 0;
}

.nav-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-cta svg,
.button svg,
.waitlist-form button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.nav-cta:hover {
  color: var(--ink);
  border-color: var(--acid);
  background: var(--acid);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: var(--paper);
  transition: transform 0.3s ease;
}

.menu-toggle.open > span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.open > span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 150px var(--gutter) 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: center;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #080807 0%, rgba(8, 8, 7, 0.97) 29%, rgba(8, 8, 7, 0.36) 64%, rgba(8, 8, 7, 0.12) 100%),
    linear-gradient(0deg, #080807 0%, transparent 22%, transparent 72%, rgba(8, 8, 7, 0.4) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 58%;
  top: 22%;
  width: 30vw;
  height: 30vw;
  border-radius: 50%;
  background: rgba(185, 105, 69, 0.14);
  filter: blur(110px);
}

.hero-art {
  --pointer-x: 0px;
  --pointer-y: 0px;
  position: absolute;
  z-index: -2;
  top: 0;
  right: -1px;
  width: 74%;
  height: 100%;
  transform: translate(var(--pointer-x), var(--pointer-y)) scale(1.025);
  transition: transform 1.2s var(--ease);
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 45%, transparent 0 24%, rgba(211, 255, 99, 0.04) 24.5% 25%, transparent 25.5%),
    radial-gradient(circle at 70% 50%, rgba(185, 105, 69, 0.24), transparent 32%),
    url('assets/ghostdance-hero.png') center center / cover no-repeat;
  filter: saturate(0.82) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 22%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 22%, black 100%);
}

.orbit {
  position: absolute;
  left: 65%;
  top: 50%;
  border: 1px solid rgba(233, 229, 216, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: min(51vw, 760px);
  aspect-ratio: 1;
  animation: orbit-pulse 7s ease-in-out infinite;
}

.orbit-two {
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border-style: dashed;
  animation: orbit-spin 36s linear infinite;
}

.signal-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px 5px rgba(211, 255, 99, 0.28);
}

.signal-dot-one {
  top: 27%;
  right: 25%;
}

.signal-dot-two {
  right: 9%;
  bottom: 25%;
  background: var(--copper);
  box-shadow: 0 0 16px 4px rgba(185, 105, 69, 0.3);
  animation-delay: -2s;
}

.signal-dot::after {
  content: '';
  position: absolute;
  inset: -9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  animation: dot-ping 2.4s ease-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 860px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--acid);
}

.eyebrow::after {
  content: '';
  width: 74px;
  height: 1px;
  margin-left: 0.4rem;
  background: var(--line);
}

.hero h1 {
  max-width: 920px;
  margin: 2.2rem 0 1.8rem;
  color: var(--paper);
  font-size: clamp(4.25rem, 7.7vw, 9.2rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.075em;
}

.hero h1 em,
.display-copy em,
.agent h2 em,
.markets h2 em,
.origin h2 em,
.access h2 em {
  color: var(--acid);
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.045em;
}

.hero-lede {
  max-width: 620px;
  margin: 0;
  color: rgba(233, 229, 216, 0.7);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.6rem;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 1.4rem;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-primary {
  color: var(--ink);
  background: var(--acid);
  transition: background 0.25s ease, transform 0.25s ease;
}

.button-primary:hover {
  background: var(--paper);
  transform: translateY(-2px);
}

.text-link {
  color: var(--paper-dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link span {
  display: inline-block;
  margin-left: 0.6rem;
  color: var(--acid);
  transition: transform 0.3s var(--ease);
}

.text-link:hover span {
  transform: translateY(5px);
}

.hero-readout {
  position: absolute;
  z-index: 3;
  top: 22%;
  right: var(--gutter);
  width: min(300px, 24vw);
  border: 1px solid var(--line);
  background: rgba(8, 8, 7, 0.66);
  backdrop-filter: blur(16px);
}

.readout-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.readout-head small {
  color: var(--paper-dim);
  font-size: 0.54rem;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(211, 255, 99, 0.72);
  animation: live-blink 2s ease-in-out infinite;
}

.readout-body {
  padding: 0.6rem 1rem;
}

.readout-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.readout-row span {
  color: var(--paper-dim);
}

.readout-row strong {
  font-weight: 400;
  text-align: right;
}

.readout-row .accent {
  color: var(--acid);
}

.hero-foot {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(233, 229, 216, 0.45);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scroll-cue i {
  position: relative;
  width: 52px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.scroll-cue i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--acid);
  animation: scroll-line 2.5s ease-in-out infinite;
}

.market-tape {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--acid);
  color: var(--ink);
}

.tape-track {
  display: flex;
  width: max-content;
  animation: tape 28s linear infinite;
}

.tape-track span {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 2.3rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tape-track i {
  font-style: normal;
}

.section {
  padding: clamp(6.5rem, 11vw, 11rem) var(--gutter);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-index span:first-child {
  color: var(--acid);
}

.statement {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 16% 84%;
  align-items: start;
  background:
    radial-gradient(circle at 89% 13%, rgba(185, 105, 69, 0.1), transparent 25%),
    var(--ink);
}

.statement-content {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 0.28fr);
  gap: clamp(2rem, 6vw, 7rem);
}

.display-copy {
  margin: 0;
  font-size: clamp(3.4rem, 6.6vw, 8.3rem);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.statement-notes {
  align-self: end;
  padding-bottom: 0.8rem;
}

.statement-notes p:first-child {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.75;
}

.mono-note {
  margin: 2.4rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.system {
  position: relative;
  background: var(--paper);
  color: var(--ink);
}

.system::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image: linear-gradient(rgba(8, 8, 7, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(8, 8, 7, 0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(180deg, black, transparent 78%);
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

.section-heading {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.32fr);
  align-items: end;
  gap: 3rem;
}

.system .section-kicker {
  color: rgba(8, 8, 7, 0.58);
}

.section-heading h2 {
  margin: 1.2rem 0 0;
  font-size: clamp(3.5rem, 6.3vw, 7.3rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.section-heading > p {
  max-width: 440px;
  margin: 0 0 0.8rem;
  color: rgba(8, 8, 7, 0.63);
  font-size: 0.95rem;
  line-height: 1.7;
}

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(5rem, 8vw, 8rem);
  border-top: 1px solid rgba(8, 8, 7, 0.22);
  border-bottom: 1px solid rgba(8, 8, 7, 0.22);
}

.pipeline-line {
  position: absolute;
  z-index: 3;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  overflow: hidden;
}

.pipeline-line span {
  display: block;
  width: var(--pipeline-progress, 0%);
  height: 100%;
  background: var(--rust);
  transition: width 0.2s linear;
}

.pipeline-step {
  position: relative;
  min-height: 485px;
  padding: 1rem clamp(1rem, 2vw, 2.2rem) 1.8rem;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(8, 8, 7, 0.18);
  transition: background 0.35s ease, color 0.35s ease;
}

.pipeline-step:last-child {
  border-right: 1px solid rgba(8, 8, 7, 0.18);
}

.pipeline-step:hover {
  color: var(--paper);
  background: var(--ink);
}

.step-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.step-top i {
  color: var(--rust);
  font-style: normal;
}

.pipeline-step:hover .step-top i {
  color: var(--acid);
}

.step-icon {
  width: 88px;
  height: 88px;
  margin-top: 4.4rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(8, 8, 7, 0.23);
  border-radius: 50%;
  transition: border-color 0.35s ease, transform 0.5s var(--ease);
}

.pipeline-step:hover .step-icon {
  border-color: rgba(233, 229, 216, 0.28);
  transform: rotate(-8deg);
}

.step-icon svg {
  width: 56px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.pipeline-step h3 {
  margin: 2.2rem 0 0.7rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.pipeline-step p {
  margin: 0;
  color: rgba(8, 8, 7, 0.62);
  font-size: 0.82rem;
  line-height: 1.7;
  transition: color 0.35s ease;
}

.pipeline-step:hover p {
  color: var(--paper-dim);
}

.pipeline-step > small {
  margin-top: auto;
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.agent {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 52%, rgba(185, 105, 69, 0.14), transparent 36%),
    var(--ink-soft);
}

.agent::after {
  content: '';
  position: absolute;
  right: -10vw;
  bottom: -18vw;
  width: 46vw;
  aspect-ratio: 1;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(233, 229, 216, 0.012), 0 0 0 120px rgba(233, 229, 216, 0.009);
}

.agent-copy,
.agent-console {
  position: relative;
  z-index: 2;
}

.agent h2,
.markets h2,
.origin h2 {
  margin: 1.4rem 0 2rem;
  font-size: clamp(3.3rem, 5.3vw, 6.6rem);
  font-weight: 300;
  line-height: 0.91;
  letter-spacing: -0.06em;
}

.agent-copy > p,
.markets-intro > p,
.origin-copy > p {
  max-width: 520px;
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
}

.agent-list {
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.agent-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: rgba(233, 229, 216, 0.8);
  font-size: 0.75rem;
}

.agent-list span {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.agent-console {
  border: 1px solid rgba(233, 229, 216, 0.24);
  background: rgba(10, 10, 9, 0.9);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.42);
}

.console-header {
  min-height: 49px;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.51rem;
  letter-spacing: 0.08em;
}

.console-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--paper);
}

.console-actions {
  justify-self: end;
  display: flex;
  gap: 0.4rem;
}

.console-actions i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--paper-dim);
  border-radius: 50%;
}

.console-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 575px;
}

.console-sidebar {
  padding: 1.3rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-right: 1px solid var(--line-soft);
}

.console-sidebar span {
  padding: 0.65rem;
  color: rgba(233, 229, 216, 0.42);
  font-family: var(--font-mono);
  font-size: 0.51rem;
}

.console-sidebar .active {
  color: var(--acid);
  background: rgba(211, 255, 99, 0.07);
}

.console-main {
  padding: clamp(1rem, 2.2vw, 2rem);
  display: flex;
  flex-direction: column;
}

.agent-message span,
.metric-grid span,
.chart-label,
.agent-prompt {
  color: rgba(233, 229, 216, 0.5);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-message p {
  max-width: 620px;
  margin: 0.8rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 300;
  line-height: 1.55;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 2rem;
}

.metric-grid > div {
  min-height: 100px;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
}

.metric-grid strong {
  margin-top: 0.7rem;
  font-size: 1.35rem;
  font-weight: 400;
}

.metric-grid strong small {
  margin-left: 0.2rem;
  color: rgba(233, 229, 216, 0.45);
  font-family: var(--font-mono);
  font-size: 0.48rem;
}

.metric-grid i {
  position: relative;
  height: 2px;
  margin-top: auto;
  background: var(--line);
}

.metric-grid i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--score);
  background: var(--acid);
}

.chart-card {
  margin-top: 0.65rem;
  border: 1px solid var(--line-soft);
}

.chart-label {
  padding: 0.75rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-soft);
}

.chart-label small {
  font-size: inherit;
}

.chart-card svg {
  display: block;
  width: 100%;
  height: 180px;
}

.grid-lines path {
  fill: none;
  stroke: rgba(233, 229, 216, 0.08);
  stroke-width: 1;
}

.chart-area {
  fill: url(#area);
}

.chart-line {
  fill: none;
  stroke: var(--acid);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.agent-console.visible .chart-line {
  animation: draw-line 1.8s 0.5s var(--ease) both;
}

.agent-prompt {
  min-height: 44px;
  margin-top: 0.65rem;
  padding-left: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
}

.agent-prompt button {
  align-self: stretch;
  width: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--acid);
  color: var(--ink);
  cursor: pointer;
}

.markets {
  display: grid;
  grid-template-columns: minmax(300px, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(3rem, 8vw, 10rem);
  background: var(--ink);
}

.market-list {
  align-self: center;
  border-top: 1px solid var(--line);
}

.market-row {
  position: relative;
  min-height: 105px;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 44px 1fr 0.75fr auto 30px;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: color 0.35s ease;
}

.market-row::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--paper);
  transform: translateY(102%);
  transition: transform 0.45s var(--ease);
}

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

.market-row.active {
  color: var(--ink);
}

.market-row.active::before {
  transform: translateY(0);
}

.market-num,
.market-state {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.market-num {
  color: var(--acid);
}

.market-row.active .market-num,
.market-row.active .market-state {
  color: var(--rust);
}

.market-row h3 {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.market-row p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.72rem;
}

.market-row.active p {
  color: rgba(8, 8, 7, 0.56);
}

.market-arrow {
  font-size: 1rem;
}

.principles {
  background: var(--paper);
  color: var(--ink);
}

.principles .section-kicker {
  color: rgba(8, 8, 7, 0.55);
}

.principles-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.principles-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 5.8vw, 7rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid rgba(8, 8, 7, 0.22);
  border-bottom: 1px solid rgba(8, 8, 7, 0.22);
}

.principle {
  min-height: 430px;
  padding: 1.3rem clamp(1.2rem, 2.5vw, 2.7rem) 2rem;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(8, 8, 7, 0.22);
}

.principle:last-child {
  border-right: 1px solid rgba(8, 8, 7, 0.22);
}

.principle > span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.principle svg {
  width: 76px;
  margin: 4.2rem 0 auto;
  fill: none;
  stroke: var(--rust);
  stroke-width: 1.2;
}

.principle h3 {
  margin: 2.5rem 0 0.8rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.principle p {
  max-width: 360px;
  margin: 0;
  color: rgba(8, 8, 7, 0.6);
  font-size: 0.82rem;
  line-height: 1.7;
}

.origin {
  min-height: 850px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8vw;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.2), rgba(8, 8, 7, 0.96)),
    radial-gradient(circle at 25% 50%, rgba(125, 61, 41, 0.55), transparent 38%),
    #0a0908;
}

.origin-mark {
  position: relative;
  display: grid;
  place-items: center;
}

.origin-mark::before,
.origin-mark::after {
  content: '';
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgba(233, 229, 216, 0.08);
  border-radius: 50%;
}

.origin-mark::after {
  width: 100%;
}

.origin-mark svg {
  width: min(520px, 42vw);
  fill: none;
  stroke: var(--paper);
  stroke-width: 1;
  opacity: 0.7;
  animation: origin-turn 48s linear infinite;
}

.origin-mark svg circle:last-child {
  fill: var(--acid);
  stroke: none;
}

.origin-copy {
  max-width: 620px;
}

.access {
  position: relative;
  min-height: 760px;
  padding: 8rem var(--gutter);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--acid);
  color: var(--ink);
  text-align: center;
}

.access-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(30deg, transparent 24%, var(--ink) 25%, var(--ink) 26%, transparent 27%, transparent 74%, var(--ink) 75%, var(--ink) 76%, transparent 77%),
    linear-gradient(150deg, transparent 24%, var(--ink) 25%, var(--ink) 26%, transparent 27%, transparent 74%, var(--ink) 75%, var(--ink) 76%, transparent 77%);
  background-size: 56px 98px;
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 67%);
  mask-image: radial-gradient(circle at center, black, transparent 67%);
}

.access-copy {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
}

.access .section-kicker {
  justify-content: center;
  color: rgba(8, 8, 7, 0.6);
}

.access h2 {
  margin: 1.6rem 0 1.4rem;
  font-size: clamp(3.7rem, 7vw, 8.6rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.075em;
}

.access h2 em {
  color: var(--rust);
}

.access-copy > p {
  margin: 0;
  color: rgba(8, 8, 7, 0.62);
  font-size: 0.9rem;
}

.waitlist-form {
  width: min(650px, 100%);
  margin: 3rem auto 0;
  text-align: left;
}

.waitlist-form label {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  background: var(--paper);
  border: 1px solid var(--ink);
}

.waitlist-form input {
  min-width: 0;
  height: 62px;
  padding: 0 1.2rem;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.waitlist-form input::placeholder {
  color: rgba(8, 8, 7, 0.38);
}

.waitlist-form button {
  padding: 0 1.35rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
}

.waitlist-form button:hover {
  background: var(--rust);
}

.form-message {
  min-height: 1.2em;
  margin: 0.8rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.form-message.error {
  color: var(--rust);
}

.form-message.success {
  color: #294400;
}

.site-footer {
  padding: 4.5rem var(--gutter) 2rem;
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 3rem;
  align-items: start;
  padding-bottom: 5rem;
}

.footer-top > p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.75rem;
  line-height: 1.65;
}

.footer-top nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2.5rem;
}

.footer-top nav a {
  color: var(--paper-dim);
  font-size: 0.72rem;
}

.footer-top nav a:hover {
  color: var(--acid);
}

.footer-bottom {
  padding-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: rgba(233, 229, 216, 0.38);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom span:last-child {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.pipeline-step:nth-child(3),
.principle:nth-child(2) {
  transition-delay: 0.1s;
}

.pipeline-step:nth-child(4),
.principle:nth-child(3) {
  transition-delay: 0.2s;
}

.pipeline-step:nth-child(5) {
  transition-delay: 0.3s;
}

@keyframes orbit-pulse {
  0%, 100% { opacity: 0.25; transform: translate(-50%, -50%) scale(0.97); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.03); }
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes dot-ping {
  0% { opacity: 0.8; transform: scale(0.3); }
  70%, 100% { opacity: 0; transform: scale(1.35); }
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes tape {
  to { transform: translateX(-50%); }
}

@keyframes draw-line {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes origin-turn {
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    z-index: 80;
    inset: 0;
    padding: 110px var(--gutter) 3rem;
    display: flex;
    align-items: center;
    background: rgba(8, 8, 7, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.4s var(--ease);
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu nav {
    width: 100%;
  }

  .mobile-menu a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 8vw, 4.5rem);
  }

  .mobile-menu a span {
    color: var(--acid);
    font-family: var(--font-mono);
    font-size: 0.6rem;
  }

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

  .hero-art {
    width: 83%;
    opacity: 0.82;
  }

  .hero-readout {
    top: auto;
    bottom: 84px;
    width: 290px;
  }

  .statement {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .statement-content {
    grid-template-columns: 1fr;
  }

  .statement-notes {
    max-width: 520px;
    margin-left: auto;
  }

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

  .pipeline-step:nth-child(3) {
    border-right: 1px solid rgba(8, 8, 7, 0.18);
  }

  .pipeline-step:nth-child(n + 4) {
    border-top: 1px solid rgba(8, 8, 7, 0.18);
  }

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

  .agent-copy {
    max-width: 650px;
  }

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

  .markets-intro {
    max-width: 650px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 74px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 1060px;
    padding-top: 125px;
    align-items: start;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 8, 7, 0.9) 0%, rgba(8, 8, 7, 0.25) 42%, #080807 78%),
      linear-gradient(90deg, #080807 0%, rgba(8, 8, 7, 0.32) 100%);
  }

  .hero-art {
    top: 12%;
    right: -44%;
    width: 150%;
    height: 72%;
    opacity: 0.7;
  }

  .hero-image {
    -webkit-mask-image: linear-gradient(180deg, black 0%, black 64%, transparent 100%);
    mask-image: linear-gradient(180deg, black 0%, black 64%, transparent 100%);
  }

  .hero h1 {
    margin-top: 1.8rem;
    font-size: clamp(4rem, 19vw, 6rem);
  }

  .hero-lede {
    max-width: 93%;
    font-size: 0.94rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-readout {
    right: var(--gutter);
    bottom: 82px;
    left: var(--gutter);
    width: auto;
  }

  .coordinates,
  .scroll-cue span {
    display: none;
  }

  .hero-foot {
    justify-content: flex-end;
  }

  .section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }

  .statement {
    min-height: 0;
  }

  .display-copy {
    font-size: clamp(3.3rem, 15vw, 5rem);
  }

  .statement-notes {
    margin-left: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-heading h2 {
    font-size: clamp(3.3rem, 14vw, 5.2rem);
  }

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

  .pipeline-step,
  .pipeline-step:nth-child(3) {
    min-height: 390px;
    border-right: 1px solid rgba(8, 8, 7, 0.18);
    border-bottom: 1px solid rgba(8, 8, 7, 0.18);
  }

  .pipeline-step + .pipeline-step {
    border-top: 0;
  }

  .pipeline-line {
    width: 2px;
    height: 100%;
  }

  .pipeline-line span {
    width: 100%;
    height: var(--pipeline-progress, 0%);
  }

  .step-icon {
    margin-top: 3rem;
  }

  .agent h2,
  .markets h2,
  .origin h2 {
    font-size: clamp(3.5rem, 14vw, 5.2rem);
  }

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

  .console-sidebar {
    padding: 0.6rem;
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

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

  .console-main {
    padding: 1rem;
  }

  .chart-card svg {
    height: 140px;
  }

  .market-row {
    min-height: 92px;
    grid-template-columns: 30px 1fr auto;
  }

  .market-row p,
  .market-state {
    display: none;
  }

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

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

  .principle,
  .principle:last-child {
    min-height: 360px;
    border-right: 1px solid rgba(8, 8, 7, 0.22);
    border-bottom: 1px solid rgba(8, 8, 7, 0.22);
  }

  .principle svg {
    margin-top: 3rem;
  }

  .origin {
    min-height: 900px;
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .origin-mark {
    order: 2;
  }

  .origin-mark svg {
    width: min(85vw, 420px);
  }

  .access {
    min-height: 720px;
  }

  .access h2 {
    font-size: clamp(3.6rem, 16vw, 5.7rem);
  }

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

  .waitlist-form button {
    min-height: 56px;
    justify-content: space-between;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding-bottom: 3rem;
  }

  .footer-top nav {
    max-width: 260px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .footer-bottom span:last-child {
    text-align: left;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
