:root {
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --bg: #0b0d0e;
  --bg-deep: #070809;
  --surface: #141719;
  --inset: #101315;
  --hover: #252a2d;
  --line: rgba(241, 238, 230, 0.09);
  --line-strong: rgba(241, 238, 230, 0.16);
  --text: #f1eee6;
  --dim: #aab0b3;
  --faint: #737c81;
  --gold: #c7aa73;
  --gold-hi: #e0b76c;
  --gold-dim: #8f774e;
  --loss: #fb7185;
  --gain: #22d3a0;
  --neural: #f052a7;
  --neural-hot: #ffb0df;
  --electric: #36d9ff;
  --violet: #7657ff;
  --font-display: var(--font-serif), Georgia, serif;
  --font-body: var(--font-sans), system-ui, sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.eyebrow.neural {
  color: var(--neural);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
.gold-text {
  background: linear-gradient(100deg, var(--gold-hi), #f3dfb0 45%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--line-strong);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  color: #17130a;
  border-color: transparent;
  box-shadow: 0 10px 30px -8px rgba(224, 183, 108, 0.45);
}
.btn-gold:hover {
  box-shadow: 0 14px 40px -6px rgba(224, 183, 108, 0.6);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(199, 170, 115, 0.08);
}
.btn-neural {
  border-color: rgba(240, 82, 167, 0.5);
  color: var(--neural-hot);
  background: rgba(240, 82, 167, 0.08);
}
.btn-neural:hover {
  background: rgba(240, 82, 167, 0.16);
  box-shadow: 0 0 40px -6px rgba(240, 82, 167, 0.5);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 13, 14, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 116px;
  gap: 24px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}
.logo span {
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  color: var(--faint);
  margin-top: 5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links > a,
.dd-btn {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--dim);
  background: none;
  border: none;
  transition: color 0.2s, background 0.2s;
}
.nav-links > a:hover,
.dd-btn:hover {
  color: var(--text);
  background: rgba(241, 238, 230, 0.05);
}
.nav-links .xaura-link {
  color: var(--neural-hot);
}
.dd {
  position: relative;
}
.dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 340px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(20, 23, 25, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
}
.dd:hover .dd-menu,
.dd:focus-within .dd-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dd-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  transition: background 0.2s;
}
.dd-menu a:hover {
  background: var(--hover);
}
.dd-menu strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}
.dd-menu small {
  color: var(--faint);
  font-size: 0.78rem;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta .btn {
  padding: 10px 20px;
  font-size: 0.86rem;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: none;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  margin: 5px auto;
  transition: transform 0.25s;
}
.mobile-menu {
  display: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 130px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: radial-gradient(60% 55% at 78% 45%, rgba(240, 82, 167, 0.16), transparent 70%),
    radial-gradient(45% 45% at 15% 20%, rgba(199, 170, 115, 0.13), transparent 70%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.55;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  width: 100%;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  margin: 22px 0 26px;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero h1 .line > span {
  display: inline-block;
}
.hero p.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--dim);
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-note {
  margin-top: 26px;
  font-size: 0.78rem;
  color: var(--faint);
  max-width: 480px;
}
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
}
.hero-art .halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 82, 167, 0.35), rgba(118, 87, 255, 0.12) 50%, transparent 70%);
  filter: blur(30px);
}
.hero-art .brain-stack {
  width: 72%;
  margin-inline: auto;
}
.hero-art img {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 0 60px rgba(240, 82, 167, 0.35));
}
.float-card {
  position: absolute;
  z-index: 5;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(20, 23, 25, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
}
.float-card .k {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--faint);
  text-transform: uppercase;
}
.float-card .v {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  margin-top: 2px;
}
.fc-1 {
  top: 8%;
  left: -2%;
}
.fc-2 {
  bottom: 14%;
  left: 2%;
}
.fc-3 {
  top: 30%;
  right: -3%;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid;
}
.pill.bear {
  color: var(--loss);
  border-color: rgba(251, 113, 133, 0.4);
  background: rgba(251, 113, 133, 0.08);
}
.pill.gain {
  color: var(--gain);
  border-color: rgba(34, 211, 160, 0.4);
  background: rgba(34, 211, 160, 0.08);
}
.pill.gold {
  color: var(--gold-hi);
  border-color: rgba(224, 183, 108, 0.4);
  background: rgba(224, 183, 108, 0.08);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue i {
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%,
  100% {
    transform: scaleY(0.3);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ---------- market strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--bg-deep);
  overflow: hidden;
  padding: 16px 0;
}
.strip-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.strip:hover .strip-track {
  animation-play-state: paused;
}
.tick {
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
  font-size: 0.85rem;
}
.tick b {
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--faint);
  font-weight: 600;
}
.tick .up {
  color: var(--gain);
}
.tick .down {
  color: var(--loss);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- section basics ---------- */
section.block {
  padding-block: clamp(80px, 11vw, 150px);
  position: relative;
}
.sec-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-head h2 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  margin: 16px 0 18px;
}
.sec-head p {
  color: var(--dim);
  font-size: 1.05rem;
  max-width: 560px;
}

/* ---------- XAURA story ---------- */
.story {
  position: relative;
  background: radial-gradient(70% 60% at 65% 50%, rgba(240, 82, 167, 0.11), transparent 70%), var(--bg-deep);
  border-block: 1px solid var(--line);
}
.story-pin {
  min-height: 100svh;
  padding-block: 96px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-head {
  margin-bottom: 34px;
}
.story-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  margin-top: 14px;
}
.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 340px) 1fr;
  gap: 0;
  min-height: 460px;
}
.feeds {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: 10px;
}
.feed {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(20, 23, 25, 0.85);
  border: 1px solid var(--line);
  border-left: 3px solid var(--c);
}
.feed svg {
  flex: none;
  color: var(--c);
}
.feed strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
}
.feed small {
  font-size: 0.7rem;
  color: var(--faint);
}
.feed::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--c);
  box-shadow: 0 0 12px var(--c);
}
.wires {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}
.wire-dot {
  transform-box: fill-box;
  filter: drop-shadow(0 0 6px currentColor);
}
.wire-dot .ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.5);
    opacity: 0.9;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
.wires path {
  fill: none;
  stroke: var(--c);
  stroke-width: 1.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px var(--c));
}
.brain-zone {
  position: relative;
  display: grid;
  place-items: center;
  padding-left: clamp(0px, 8vw, 120px);
}
.brain-zone .halo {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 82, 167, 0.4), transparent 68%);
  filter: blur(40px);
}
.brain-zone img {
  position: relative;
  width: min(100%, 520px);
  filter: drop-shadow(0 0 50px rgba(240, 82, 167, 0.4));
}
.thought {
  margin-top: 30px;
  padding: 22px 26px;
  border-radius: 18px;
  border: 1px solid rgba(240, 82, 167, 0.28);
  background: linear-gradient(135deg, rgba(240, 82, 167, 0.09), rgba(20, 23, 25, 0.7));
  max-width: 820px;
}
.thought .eyebrow {
  display: block;
  margin-bottom: 8px;
}
.thought p {
  color: #e6dfe3;
  font-size: 1rem;
}
.thought em {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--faint);
  font-style: normal;
}

/* ---------- flow (4 insights) ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.card {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface), var(--inset));
  border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 170, 115, 0.4);
  box-shadow: 0 30px 60px -30px rgba(199, 170, 115, 0.25);
}
.card .step {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-dim);
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  margin: 8px 0 6px;
  line-height: 1.1;
}
.card p {
  color: var(--dim);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.mini {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.75rem;
}
.mini .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  color: var(--dim);
}
.bar {
  flex: 1;
  height: 5px;
  border-radius: 9px;
  background: var(--hover);
  overflow: hidden;
  min-width: 40px;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-hi));
  transform-origin: left;
}
.bar i.red {
  background: linear-gradient(90deg, #a83a4d, var(--loss));
}
.gauge {
  display: block;
  margin: 4px auto 0;
}
.sample-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--faint);
  text-transform: uppercase;
}

/* ---------- dashboard showcase ---------- */
.showcase {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.showcase.rev {
  grid-template-columns: 1.2fr 0.8fr;
}
.showcase h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin: 16px 0 18px;
}
.showcase p {
  color: var(--dim);
  margin-bottom: 22px;
  max-width: 460px;
}
.ticks {
  list-style: none;
  display: grid;
  gap: 12px;
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.95rem;
}
.ticks li::before {
  content: "";
  flex: none;
  margin-top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.window {
  border-radius: 22px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--inset);
}
.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hover);
}
.window-bar span {
  margin-left: 12px;
  font-size: 0.7rem;
  color: var(--faint);
  letter-spacing: 0.1em;
}
.window-body {
  padding: 24px;
}
.dash-greet {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.1;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.panel {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.panel h4 {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
}
.spark {
  width: 100%;
  height: 70px;
  margin-top: 10px;
}
.sess {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--line);
}
.sess:last-child {
  border: none;
}
.sess .open {
  color: var(--gain);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}
.sess .closed {
  color: var(--faint);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}
.habit {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  padding: 5px 0;
  color: var(--dim);
}
.habit i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-dim);
  flex: none;
}
.habit.done i {
  background: var(--gold);
  border-color: var(--gold);
}
.habit.done {
  color: var(--text);
}

/* ---------- calendar / analytics ---------- */
.cal-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.stat {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.stat small {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--faint);
  text-transform: uppercase;
}
.stat b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
}
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal .dow {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--faint);
  text-align: center;
  padding-bottom: 4px;
}
.day {
  aspect-ratio: 1 / 0.82;
  border-radius: 9px;
  background: var(--inset);
  border: 1px solid var(--line);
  padding: 5px 6px;
  font-size: 0.6rem;
  color: var(--faint);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.day.w {
  background: rgba(34, 211, 160, 0.1);
  border-color: rgba(34, 211, 160, 0.3);
}
.day.l {
  background: rgba(251, 113, 133, 0.09);
  border-color: rgba(251, 113, 133, 0.28);
}
.day b {
  font-size: 0.68rem;
  font-weight: 600;
}
.day.w b {
  color: var(--gain);
}
.day.l b {
  color: var(--loss);
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin-top: 16px;
  padding: 14px 14px 10px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.bars i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-dim));
  transform-origin: bottom;
}

/* ---------- trust ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.trust-grid .card h3 {
  font-size: 1.35rem;
}
.trust-grid .card p {
  margin: 0;
}
.trust-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(199, 170, 115, 0.1);
  color: var(--gold);
  margin-bottom: 16px;
  border: 1px solid rgba(199, 170, 115, 0.25);
}

/* ---------- CTA + footer ---------- */
.cta {
  text-align: center;
  padding-block: clamp(90px, 12vw, 170px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 50% 60%, rgba(199, 170, 115, 0.2), transparent 70%);
}
.cta h2 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  max-width: 900px;
  margin: 18px auto 28px;
}
.cta p {
  color: var(--dim);
  max-width: 480px;
  margin: 0 auto 34px;
}
.footer {
  border-top: 1px solid var(--line);
  padding-block: 50px 40px;
  background: var(--bg-deep);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(40px, 7vw, 90px);
  flex-wrap: wrap;
}
.footer h5 {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer li a {
  color: var(--dim);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer li a:hover {
  color: var(--gold-hi);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 160px));
  gap: clamp(24px, 4vw, 56px);
  flex: 1;
}
.disclaimer {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--faint);
  max-width: 900px;
  line-height: 1.7;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner,
  .showcase,
  .showcase.rev {
    grid-template-columns: 1fr;
  }
  .hero-art {
    max-width: 520px;
    margin-inline: auto;
  }
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .nav-links,
  .nav-cta .btn-ghost {
    display: none;
  }
  .burger {
    display: block;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 76px 0 0 0;
    z-index: 49;
    background: rgba(11, 13, 14, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px var(--gutter);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    overflow-y: auto;
  }
  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .mobile-menu a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .mobile-menu .grp {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin: 22px 0 4px;
    text-transform: uppercase;
  }
  .mobile-menu .btn {
    margin-top: 24px;
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid transparent;
  }
}
@media (max-width: 720px) {
  .stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .wires {
    display: none;
  }
  .feeds {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }
  .brain-zone {
    padding: 24px 0 0;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .cal-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .float-card {
    display: none;
  }
  .scroll-cue {
    display: none;
  }
}
@media (max-width: 480px) {
  .feeds {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .strip-track,
  .scroll-cue i {
    animation: none;
  }
}

/* keep nav CTA on one line on small screens */
.btn {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .nav-cta .btn {
    padding: 9px 14px;
    font-size: 0.78rem;
  }
  .nav-inner {
    gap: 10px;
  }
}

/* ---------- brain stack + activity canvas ---------- */
.brain-stack {
  position: relative;
  width: 100%;
}
.brain-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.brain-zone .brain-stack {
  width: min(100%, 520px);
}
.brain-zone .brain-stack img {
  width: 100%;
}
/* hero brain is assembled by script; hidden until it starts building */
@media (prefers-reduced-motion: no-preference) {
  .hero .brain-stack img {
    opacity: 0;
  }
}

.hero-inner > div:first-child {
  position: relative;
  z-index: 3;
}

/* ============================================================
   SIMPLE PAGE (/simple) — plain hero, no canvas/brain, CSS-only reveal
   ============================================================ */
.s-hero {
  padding-top: 150px;
  padding-bottom: 70px;
  text-align: center;
  position: relative;
  isolation: isolate;
}
.s-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 50% 0%, rgba(199, 170, 115, 0.14), transparent 70%);
}
.s-hero .eyebrow {
  display: block;
}
.s-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 780px;
  margin: 18px auto 20px;
}
.s-hero .lede {
  color: var(--dim);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto;
}
.s-hero .hero-actions {
  justify-content: center;
  margin-top: 30px;
}
.s-hero .hero-note {
  margin: 22px auto 0;
  text-align: center;
}

/* reveal: fades + rises once into view (IntersectionObserver adds .in) */
/* Initial reveal state is set by GSAP (gsap.set) in GsapReveal.tsx / Motion.tsx,
   not CSS — avoids double-animating opacity via both a CSS transition and GSAP. */

/* ============================================================
   LIVE DATA UI (gold price ticker, macro table, nav active state)
   ============================================================ */
.lg-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
  margin-right: 5px;
}
.lg-pulse.on {
  background: var(--gain);
  box-shadow: 0 0 8px var(--gain);
  animation: lg-blink 1.8s ease-in-out infinite;
}
@keyframes lg-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.lg-dot {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
}
.lg-num {
  transition: color 0.4s ease;
}
.lg-num.lg-up { color: var(--gain); }
.lg-num.lg-down { color: var(--loss); }

.nav-links a.active,
.dd-menu a.active {
  color: var(--gold-hi);
}
.dd-menu a.active strong {
  color: var(--gold-hi);
}

/* macro data table */
.macro-group {
  margin-bottom: 34px;
}
.macro-group h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--gold-hi);
}
.macro-table {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.macro-row {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr 0.9fr;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface);
  font-size: 0.86rem;
}
.macro-row.head {
  background: var(--inset);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.macro-row .val {
  font-family: var(--font-display);
  font-size: 1rem;
}
.macro-row .chg {
  font-size: 0.78rem;
}
.macro-row .chg.up { color: var(--gain); }
.macro-row .chg.down { color: var(--loss); }
.macro-row .date {
  color: var(--faint);
  font-size: 0.76rem;
}

.page-hero {
  padding-top: 150px;
  padding-bottom: 48px;
}
.page-hero .eyebrow { display: block; }
.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin: 14px 0 16px;
  max-width: 760px;
}
.page-hero p {
  color: var(--dim);
  max-width: 620px;
  font-size: 1.02rem;
}
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gain);
  border: 1px solid rgba(34, 211, 160, 0.35);
  background: rgba(34, 211, 160, 0.08);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.badge-sample {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line-strong);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.crumb {
  font-size: 0.78rem;
  color: var(--faint);
  margin-bottom: 18px;
}
.crumb a { color: var(--dim); }
.crumb a:hover { color: var(--gold-hi); }

@media (max-width: 720px) {
  .macro-row {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }
  .macro-row .date { display: none; }
}

/* cards/feeds are also used as <Link> anchors on the simple pages */
a.card,
a.feed {
  display: block;
}

/* static (non-scrolling) ticker variant, used on /simple's live strip */
.strip-track.static {
  width: 100%;
  animation: none !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px clamp(24px, 5vw, 56px);
  padding-inline: var(--gutter);
}

/* ---------- logo mark (replaces the DTG text wordmark) ---------- */
.logo-mark {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.logo-mark img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 3px rgba(199, 170, 115, 0.16);
  transition: box-shadow 0.25s ease;
}
.logo-mark:hover img {
  box-shadow: 0 0 0 3px rgba(199, 170, 115, 0.36);
}
.footer .logo-mark img {
  width: 112px;
  height: 112px;
}
@media (max-width: 480px) {
  .logo-mark img {
    width: 64px;
    height: 64px;
  }
  .footer .logo-mark img {
    width: 84px;
    height: 84px;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
  }
}
@media (max-width: 420px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- hero: clean rotating "forming lines" ring (replaces neuron glow) ---------- */
.hero-art .ring-lines {
  position: absolute;
  inset: -3%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-art.built .ring-lines {
  opacity: 1;
}
.hero-art .ring-lines::before,
.hero-art .ring-lines::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1.5px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 260deg,
    var(--gold-hi) 300deg,
    var(--neural-hot) 335deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ring-spin 7s linear infinite;
}
.hero-art .ring-lines::after {
  inset: 4%;
  animation-duration: 10s;
  animation-direction: reverse;
  opacity: 0.6;
}
@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art .ring-lines::before,
  .hero-art .ring-lines::after {
    animation: none;
  }
}

.legal-content {
  max-width: 820px;
  color: var(--text);
  line-height: 1.7;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text);
  margin: 36px 0 14px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--gold-hi);
  margin: 26px 0 10px;
}
.legal-content p {
  color: var(--dim);
  margin: 0 0 14px;
}
.legal-content ul,
.legal-content ol {
  color: var(--dim);
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-content li {
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--gold);
}
.legal-content strong {
  color: var(--text);
}
.legal-content .legal-updated {
  color: var(--faint);
  font-size: 0.85rem;
  margin-bottom: 28px;
}
