@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext-variable.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0b0c11;
  --bg-deep: #08090d;
  --surface: #12141b;
  --surface-raised: #171a23;
  --surface-soft: #0f1117;
  --line: #2c303c;
  --line-soft: rgba(169, 176, 199, 0.14);
  --text: #eff0f4;
  --text-soft: #c9cbd2;
  --muted: #9296a1;
  --muted-dark: #7f8492;
  --accent: #6f8fd6;
  --accent-light: #a8bbe8;
  --bullish: #78a98a;
  --bearish: #b97878;
  --mixed: #8895b0;
  --neutral: #9498a2;
  --uncertain: #aa9369;
  --radius: 4px;
  --container: 1280px;
  --section-space: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(141, 149, 174, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 149, 174, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0, transparent 52rem);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--text);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(11, 12, 17, 0.88);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-header[data-scrolled="true"] {
  border-color: var(--line-soft);
  background: rgba(11, 12, 17, 0.96);
}

.header-inner {
  width: min(calc(100% - 48px), var(--container));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.wordmark-mark {
  width: 29px;
  height: 18px;
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-soft);
  font-size: 13px;
}

.primary-nav > a:not(.button) {
  transition: color 160ms ease;
}

.primary-nav > a:not(.button):hover {
  color: var(--text);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.button-small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 12px;
}

.button-solid {
  color: #0d1018;
  border-color: var(--accent-light);
  background: var(--accent-light);
}

.button-solid:hover {
  border-color: #bed0f3;
  background: #bed0f3;
}

.button-quiet {
  color: var(--text-soft);
  background: transparent;
}

.button-quiet:hover {
  color: var(--text);
  border-color: #48505e;
  background: var(--surface);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}

.not-found-panel {
  width: min(100%, 720px);
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.not-found-panel .wordmark {
  width: max-content;
  margin-bottom: clamp(64px, 12vh, 120px);
}

.not-found-panel h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.not-found-panel > p:not(.eyebrow) {
  max-width: 520px;
  margin: 28px 0;
  color: var(--text-soft);
  font-size: 18px;
}

.hero {
  padding: 94px 0 var(--section-space);
}

.hero-grid {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(40px, 4.5vw, 72px);
}

.hero-copy {
  padding-bottom: 26px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent-light);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 580px;
  font-size: clamp(58px, 5.8vw, 86px);
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-line:first-child {
  margin-inline-start: -0.012em;
}

.hero-title-line:nth-child(3) {
  margin-block-start: 4px;
}

.hero-summary {
  max-width: 490px;
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.product-stage {
  min-width: 0;
}

.dashboard {
  overflow: hidden;
  border: 1px solid #363c4c;
  border-radius: 6px;
  background: var(--surface-soft);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.dashboard-bar {
  min-height: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: #11131a;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

.instrument-mark {
  width: 6px;
  height: 22px;
  border-radius: 1px;
  background: var(--accent);
}

.dashboard-brand div {
  display: grid;
  gap: 1px;
}

.dashboard-brand strong {
  font-size: 11px;
  letter-spacing: 0.16em;
}

.dashboard-brand span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-label {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.connection-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9db9a6;
}

.connection-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bullish);
}

.dashboard-grid {
  min-height: 510px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.watchlist-panel {
  border-right: 1px solid var(--line);
  background: #0f1117;
}

.panel-heading {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker-list {
  display: grid;
}

.ticker-row {
  position: relative;
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 2px 7px;
  padding: 10px 10px 9px 12px;
  border: 0;
  border-bottom: 1px solid #232734;
  color: var(--text);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.ticker-row::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  content: "";
  background: transparent;
}

.ticker-row:hover {
  background: #151923;
}

.ticker-row.is-selected {
  background: #19202c;
}

.ticker-row.is-selected::before {
  background: var(--accent);
}

.ticker-id {
  display: grid;
  gap: 2px;
}

.ticker-id strong,
.ticker-value {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.ticker-id small {
  overflow: hidden;
  color: var(--muted-dark);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-chart {
  width: 100%;
  height: 28px;
  overflow: visible;
}

.mini-chart .mini-zero {
  stroke: #4b5160;
  stroke-width: 0.8;
  stroke-dasharray: 2 3;
  vector-effect: non-scaling-stroke;
}

.mini-chart .mini-price,
.mini-chart .mini-flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.mini-chart .mini-price {
  stroke: #747985;
  stroke-width: 1;
  opacity: 0.78;
}

.mini-chart .mini-flow {
  stroke: var(--accent);
  stroke-width: 1.55;
}

.ticker-value {
  color: var(--text-soft);
  text-align: right;
}

.direction {
  grid-column: 2 / 4;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bullish {
  color: var(--bullish) !important;
}

.bearish {
  color: var(--bearish) !important;
}

.mixed {
  color: var(--mixed) !important;
}

.neutral {
  color: var(--neutral) !important;
}

.uncertain {
  color: var(--uncertain) !important;
}

.chart-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #11131a;
}

.chart-toolbar {
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 13px 0 16px;
  border-bottom: 1px solid var(--line);
}

.selected-ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.selected-ticker > span:first-child {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
}

.selected-ticker .direction {
  font-size: 8px;
}

.scenario-label {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.layout-switcher {
  display: flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #0d1016;
}

.layout-switcher button {
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 2px;
  color: var(--muted);
  background: transparent;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  cursor: pointer;
}

.layout-switcher button.is-active {
  color: var(--text);
  background: #232936;
}

.chart-meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 24px;
  padding: 10px 16px 2px;
}

.chart-meta div {
  display: grid;
  gap: 2px;
}

.chart-meta span,
.chart-meta strong {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

.chart-meta span {
  color: var(--muted-dark);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chart-meta strong {
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 550;
}

.chart-wrap {
  position: relative;
  flex: 1;
  min-height: 320px;
  margin: 0 8px;
}

.main-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-grid line {
  stroke: rgba(160, 168, 192, 0.09);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.panel-divider {
  stroke: #343945;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: opacity 180ms ease;
}

.zero-line {
  stroke: #596174;
  stroke-width: 1;
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
}

.lead-marker {
  stroke-width: 1;
  stroke-dasharray: 3 5;
  opacity: 0.72;
  vector-effect: non-scaling-stroke;
}

.flow-marker {
  stroke: var(--accent-light);
  opacity: 0.86;
}

.price-marker {
  stroke: #7b8190;
  opacity: 0.7;
}

.secondary-marker {
  display: none;
}

.marker-text {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.flow-marker-text {
  fill: var(--accent-light);
}

.price-marker-text {
  fill: #a7acb7;
}

.price-path,
.flow-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: d 240ms ease, opacity 180ms ease;
}

.price-path {
  stroke: #7c8291;
  stroke-width: 1.25;
  opacity: 0.72;
}

.flow-path {
  stroke: var(--accent-light);
  stroke-width: 2;
}

.current-point {
  fill: var(--accent-light);
}

.current-point-halo {
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1;
  opacity: 0.3;
  transform-box: fill-box;
  transform-origin: center;
  animation: point-pulse 2.8s ease-out infinite;
}

@keyframes point-pulse {
  0%, 45% {
    opacity: 0.34;
    transform: scale(0.55);
  }
  85%, 100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

.chart-label,
.chart-zero-label {
  position: absolute;
  z-index: 2;
  color: var(--muted-dark);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.09em;
  pointer-events: none;
}

.price-label {
  top: 4%;
  left: 8px;
}

.flow-label {
  top: 56%;
  left: 8px;
}

.chart-zero-label {
  top: calc(76% - 5px);
  right: 4px;
}

.chart-wrap[data-chart-layout="overlay"] .panel-divider {
  opacity: 0;
}

.chart-wrap[data-chart-layout="overlay"] .flow-label {
  top: 4%;
  left: auto;
  right: 8px;
}

.chart-wrap[data-chart-layout="overlay"] .chart-zero-label {
  top: calc(50% - 5px);
}

.chart-axis {
  position: absolute;
  right: 5px;
  bottom: 2px;
  left: 5px;
  display: flex;
  justify-content: space-between;
  color: var(--muted-dark);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.preview-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.preview-caption span {
  color: var(--accent-light);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.principle-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(15, 17, 23, 0.6);
}

.principle-inner {
  width: min(calc(100% - 48px), var(--container));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.principle-inner p {
  margin: 0;
  padding: 0 26px;
  border-right: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-size: 13px;
  text-align: center;
}

.principle-inner p:first-child {
  padding-left: 0;
  text-align: left;
}

.principle-inner p:last-child {
  padding-right: 0;
  border: 0;
  text-align: right;
}

.section {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 58px;
}

.section h2,
.final-cta h2 {
  font-size: clamp(42px, 5vw, 70px);
}

.section-heading > p:last-child,
.audience-intro > p:last-child,
.context-copy > p:last-child,
.attention-copy > p:last-child {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.audience-section {
  border-bottom: 1px solid var(--line-soft);
}

.audience-intro {
  max-width: 900px;
  margin-bottom: 42px;
}

.audience-intro h2 {
  max-width: 900px;
}

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

.audience-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.audience-card:first-child {
  background:
    linear-gradient(145deg, rgba(111, 143, 214, 0.08), transparent 58%),
    var(--surface);
}

.audience-card-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--accent-light);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.audience-card-heading span {
  color: var(--muted-dark);
}

.audience-card-heading p {
  margin: 0;
}

.audience-card h3 {
  max-width: 520px;
  margin: 34px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 540;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.audience-card > p {
  max-width: 540px;
  margin: auto 0 0;
  padding-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.audience-boundary {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 12px;
  padding: 20px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.audience-boundary p,
.audience-boundary strong {
  margin: 0;
}

.audience-boundary-copy {
  display: grid;
  gap: 4px;
}

.audience-boundary-copy > strong {
  text-align: left;
}

.audience-boundary p {
  color: var(--muted);
  font-size: 13px;
}

.audience-boundary strong {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-align: right;
}

.card-index {
  margin: 0;
  color: var(--accent-light);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compact-heading {
  margin-bottom: 42px;
}

.layout-preview-tabs {
  display: none;
}

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

.layout-card {
  min-width: 0;
  padding: 12px 12px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.layout-visual {
  height: 180px;
  margin-bottom: 21px;
  overflow: hidden;
  border: 1px solid #272c38;
  border-radius: 2px;
  background:
    linear-gradient(rgba(151, 158, 182, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 158, 182, 0.05) 1px, transparent 1px),
    #0d0f15;
  background-size: 40px 40px;
}

.layout-card .card-index,
.layout-card h3,
.layout-card > p:last-child {
  margin-right: 15px;
  margin-left: 15px;
}

.layout-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 550;
}

.layout-card > p:last-child {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.oscillator-grid {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
}

.oscillator-grid span {
  height: 35px;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  border: 1px solid #232834;
  background: #11141b;
}

.oscillator-grid i {
  width: 21px;
  height: 5px;
  border-radius: 1px;
  background: #6f7688;
}

.oscillator-grid svg {
  width: 100%;
  height: 27px;
  fill: none;
}

.oscillator-grid svg line {
  stroke: #4b5160;
  stroke-width: 0.8;
  stroke-dasharray: 2 3;
  vector-effect: non-scaling-stroke;
}

.oscillator-grid svg path {
  stroke: var(--accent);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.overlay-visual svg,
.separate-visual svg {
  width: 100%;
  height: 100%;
}

.overlay-visual line,
.separate-visual line {
  stroke: #4c5262;
  stroke-width: 1;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}

.visual-price,
.visual-flow {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.visual-price {
  stroke: #747985;
  stroke-width: 1.3;
}

.visual-flow {
  stroke: var(--accent-light);
  stroke-width: 1.8;
}

.visual-marker.flow {
  stroke: var(--accent-light);
  opacity: 0.6;
}

.visual-marker.price {
  stroke: #818796;
  opacity: 0.5;
}

.context-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(520px, 1.25fr);
  align-items: center;
  gap: clamp(60px, 9vw, 140px);
  border-top: 1px solid var(--line-soft);
}

.context-copy {
  max-width: 490px;
}

.context-instrument {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.context-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
}

.context-head div {
  display: grid;
  gap: 2px;
}

.context-head span,
.context-head strong {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

.context-head span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.context-head strong {
  font-size: 16px;
}

.session-list {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

.session-list {
  margin: 0;
  padding: 8px 22px;
  list-style: none;
}

.session-list li {
  min-height: 54px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #262a34;
}

.session-list li:last-child {
  border: 0;
}

.session-list span,
.session-list strong {
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.session-list span {
  color: var(--muted);
}

.session-list strong {
  text-align: right;
}

.session-oscillator {
  width: 100%;
  height: 28px;
  min-width: 0;
  overflow: visible;
}

.session-zero,
.session-wave {
  vector-effect: non-scaling-stroke;
}

.session-zero {
  stroke: #424856;
  stroke-width: 0.8;
  stroke-dasharray: 2 4;
}

.session-wave {
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.session-oscillator.is-bullish .session-wave {
  stroke: var(--bullish);
}

.session-oscillator.is-mixed .session-wave {
  stroke: var(--mixed);
}

.session-oscillator.is-bearish .session-wave {
  stroke: var(--bearish);
}

.instrument-note {
  margin: 0;
  padding: 15px 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-dark);
  font-size: 11px;
}

.attention-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: start;
  column-gap: clamp(60px, 10vw, 160px);
  border-top: 1px solid var(--line-soft);
}

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

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

.quiet-list li {
  min-height: 63px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 15px;
}

.quiet-list span {
  color: var(--muted-dark);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.trader-strip {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  padding: 0 0 108px;
}

.trader-note {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.trader-note-item {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 34px;
}

.trader-note-scalp {
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(111, 143, 214, 0.09), transparent 60%),
    var(--surface);
}

.trader-note-api {
  background: var(--surface-soft);
}

.trader-note-label {
  margin: 0;
  color: var(--muted-dark);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trader-note-message {
  max-width: 370px;
  margin: 40px 0 0;
  color: var(--text-soft);
  font-size: clamp(21px, 2.25vw, 32px);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.api-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid #394154;
  border-radius: 2px;
  color: var(--accent-light);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.api-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.api-copy {
  max-width: 760px;
  margin-top: 32px;
}

.api-copy h3 {
  max-width: 620px;
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 2.7vw, 40px);
  font-weight: 540;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.api-intro {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.api-status {
  margin-top: 21px;
}

.final-cta {
  width: min(calc(100% - 48px), var(--container));
  min-height: 350px;
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 60px;
  padding: 54px;
  border-radius: 6px;
  color: #16181f;
  background: var(--accent-light);
}

.final-cta .eyebrow {
  color: #3b496a;
}

.final-cta-action {
  display: grid;
  justify-items: start;
}

.button-light {
  color: var(--text);
  border-color: #151820;
  background: #151820;
}

.button-light:hover {
  border-color: #2a2e39;
  background: #2a2e39;
}

.final-cta-action small {
  max-width: 430px;
  margin-top: 15px;
  color: #414650;
  font-size: 11px;
  line-height: 1.45;
}

.site-footer {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  padding: 45px 0 34px;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-top {
  align-items: center;
  padding-bottom: 28px;
}

.footer-top > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom {
  align-items: flex-end;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:first-child {
  max-width: 880px;
  line-height: 1.55;
}

.footer-bottom a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1120px) {
  .hero {
    padding-top: 72px;
  }

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

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

  .hero h1 {
    font-size: clamp(64px, 10vw, 96px);
  }

  .product-stage {
    width: 100%;
  }

  .context-section {
    gap: 60px;
  }
}

@media (max-width: 820px) {
  :root {
    --section-space: 78px;
  }

  .header-inner,
  .hero-grid,
  .principle-inner,
  .section,
  .trader-strip,
  .final-cta,
  .site-footer {
    width: min(calc(100% - 32px), var(--container));
  }

  .primary-nav {
    gap: 16px;
  }

  .nav-optional {
    display: none;
  }

  .hero {
    padding: 50px 0 var(--section-space);
  }

  .hero h1 {
    font-size: clamp(42px, 13.1vw, 78px);
  }

  .dashboard-grid {
    grid-template-columns: 155px minmax(0, 1fr);
  }

  .ticker-row {
    grid-template-columns: 38px 1fr auto;
  }

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

  .layout-card {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) 0.8fr;
    grid-template-rows: auto auto 1fr;
    gap: 0 22px;
    padding: 12px;
  }

  .layout-visual {
    grid-row: 1 / 4;
    height: 170px;
    margin: 0;
  }

  .layout-card .card-index {
    align-self: end;
    margin-top: 22px;
  }

  .layout-card h3 {
    align-self: end;
  }

  .context-section,
  .attention-section {
    grid-template-columns: 1fr;
  }

  .trader-note {
    grid-template-columns: 1fr;
  }

  .trader-strip {
    padding-bottom: 78px;
  }

  .trader-note-scalp {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .audience-card {
    min-height: 280px;
  }

  .context-copy {
    max-width: 680px;
  }

  .final-cta {
    min-height: 330px;
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 46px;
  }
}

@media (max-width: 620px) {
  :root {
    --section-space: 58px;
  }

  .header-inner {
    height: 66px;
  }

  .primary-nav {
    gap: 10px;
  }

  .primary-nav > a[data-dashboard-link] {
    display: inline-flex;
    font-size: 11px;
  }

  .button-small {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero-actions {
    display: grid;
  }

  .hero {
    padding: 38px 0 44px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button-quiet {
    display: none;
  }

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

  .dashboard {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .product-stage {
    width: calc(100% + 32px);
    margin-left: -16px;
  }

  .dashboard-status {
    gap: 7px;
  }

  .preview-label {
    display: none;
  }

  .dashboard-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .watchlist-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .ticker-row:nth-child(n + 4) {
    display: none;
  }

  .ticker-row {
    min-height: 84px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 30px auto;
    padding: 8px;
    border-right: 1px solid #232734;
  }

  .ticker-id {
    grid-column: 1;
  }

  .ticker-value {
    grid-column: 2;
    grid-row: 1;
  }

  .mini-chart {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .direction {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .chart-toolbar {
    min-height: 54px;
  }

  .chart-meta {
    grid-template-columns: repeat(3, auto);
    gap: 16px;
    padding-top: 12px;
  }

  .chart-meta div:nth-child(4) {
    display: none;
  }

  .chart-meta span {
    font-size: 8px;
  }

  .chart-meta strong {
    font-size: 11px;
  }

  .selected-ticker .direction,
  .scenario-label {
    font-size: 9px;
  }

  .marker-text {
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  .chart-wrap[data-chart-layout="overlay"] .chart-label {
    display: none;
  }

  .chart-label,
  .chart-zero-label,
  .chart-axis {
    font-size: 8px;
  }

  .chart-wrap {
    min-height: 245px;
  }

  .preview-caption {
    padding: 0 16px;
  }

  .principle-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .principle-inner p,
  .principle-inner p:first-child,
  .principle-inner p:last-child {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
  }

  .principle-inner p:last-child {
    border: 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section h2,
  .final-cta h2 {
    font-size: clamp(36px, 10.5vw, 52px);
  }

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

  .audience-intro {
    margin-bottom: 26px;
  }

  .audience-card {
    min-height: 0;
    padding: 18px;
  }

  .audience-card h3 {
    margin-top: 20px;
    font-size: clamp(26px, 7vw, 34px);
  }

  .audience-card > p {
    margin: 18px 0 0;
    padding-top: 0;
  }

  .audience-boundary {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .audience-boundary strong {
    text-align: left;
  }

  .layouts-section .compact-heading {
    margin-bottom: 24px;
  }

  .layout-preview-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 12px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-soft);
  }

  .layout-preview-tabs button {
    min-height: 42px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 2px;
    color: var(--muted);
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
  }

  .layout-preview-tabs button[aria-pressed="true"] {
    border-color: #3b4252;
    color: var(--text);
    background: var(--surface-raised);
  }

  .layout-card {
    display: none;
    padding-bottom: 22px;
  }

  .layout-card.is-active {
    display: block;
  }

  .layout-visual {
    height: 150px;
    margin-bottom: 18px;
  }

  .layout-card .card-index {
    margin-top: 0;
  }

  .context-head {
    padding: 0 16px;
  }

  .session-list {
    padding-right: 16px;
    padding-left: 16px;
  }

  .session-list li {
    grid-template-columns: 62px minmax(0, 1fr) 84px;
    gap: 8px;
  }

  .trader-note-item {
    min-height: 0;
    padding: 24px;
  }

  .trader-note-api {
    padding-bottom: 30px;
  }

  .trader-note-scalp {
    min-height: 210px;
  }

  .api-copy {
    margin-top: 28px;
  }

  .api-copy h3 {
    font-size: 32px;
  }

  .trader-note-message {
    margin-top: 30px;
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .trader-strip {
    padding-bottom: 58px;
  }

  .final-cta {
    width: 100%;
    min-height: 0;
    margin-bottom: 0;
    gap: 26px;
    padding: 44px 24px;
    border-radius: 0;
  }

  .button-light {
    width: 100%;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 360px) {
  .site-header .wordmark-mark {
    display: none;
  }

  .site-header .wordmark {
    font-size: 12px;
  }
}

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

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