@font-face {
  font-family: "Nordhaus Script";
  src: url("../img/Pacifico-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --black: #030507;
  --black-2: #070a0f;
  --ink: #0c134a;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(53, 147, 250, 0.5);
  --white: #f7f9fc;
  --muted: #9fa9b7;
  --muted-2: #c6cfda;
  --blue: #3593fa;
  --blue-hot: #0093fb;
  --amber: #edb122;
  --magenta: #f917d1;
  --green: #76d36f;
  --danger: #ff5c7a;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--black);
  background-size: 44px 44px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  min-width: 320px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 5, 7, 0.18), rgba(3, 5, 7, 0.72)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: screen;
  opacity: 0.28;
  z-index: 50;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 5, 7, 0.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 146px;
}

.brand img {
  width: 148px;
  height: auto;
}

.brand-mark {
  font-family: "Nordhaus Script", cursive;
  font-size: 1.8rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  position: relative;
  padding: 0.7rem 0.85rem;
  color: var(--muted-2);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-disclaimer {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 0.72rem;
  border: 1px solid rgba(237, 177, 34, 0.42);
  border-radius: var(--radius);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span {
  margin: 5px 0;
}

.nav-open .nav-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span {
  opacity: 0;
}

.nav-open .nav-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  overflow: clip;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-tight {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.two-col-start {
  align-items: start;
}

.hero {
  position: relative;
  min-height: min(880px, 88svh);
  padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 7, 0.96) 0%, rgba(3, 5, 7, 0.84) 39%, rgba(3, 5, 7, 0.42) 100%),
    linear-gradient(180deg, rgba(3, 5, 7, 0.14), rgba(3, 5, 7, 0.72));
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  min-height: min(720px, 72svh);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-grid-single,
.page-hero .hero-grid-single {
  grid-template-columns: minmax(0, 0.92fr);
}

.page-hero {
  min-height: auto;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
}

.page-hero .hero-grid {
  min-height: auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
}

.market-hero {
  min-height: auto;
  padding: clamp(2.1rem, 5vw, 3.4rem) 0 clamp(1.6rem, 4vw, 2.4rem);
}

.market-hero .hero-bg {
  opacity: 0.38;
}

.market-hero .display {
  max-width: 880px;
  font-size: clamp(2.25rem, 5vw, 4.35rem);
}

.market-hero .lead {
  max-width: 780px;
  font-size: clamp(0.98rem, 1.7vw, 1.14rem);
}

.market-hero-lens {
  justify-self: stretch;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(53, 147, 250, 0.12), rgba(255, 255, 255, 0.035) 56%, rgba(249, 23, 209, 0.08)),
    rgba(3, 5, 7, 0.48);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.hero-lens-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.hero-lens-list div {
  display: grid;
  grid-template-columns: minmax(88px, 0.34fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  min-height: 46px;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.16);
}

.hero-lens-list b {
  color: var(--white);
  font-size: 0.82rem;
}

.hero-lens-list span {
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.35;
}

.market-reading-key .overview-strip {
  margin-top: 1.15rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 840;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--blue);
}

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

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.25rem, 9.5vw, 8.4rem);
  line-height: 0.86;
  letter-spacing: 0;
  font-weight: 900;
}

.script-title {
  font-family: "Nordhaus Script", cursive;
  font-weight: 400;
  letter-spacing: 0;
}

.display {
  margin-bottom: 1.15rem;
  font-size: clamp(2.4rem, 6vw, 5.65rem);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 900;
}

.section-title {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  font-weight: 900;
}

.section-kicker {
  max-width: 760px;
  color: var(--muted-2);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.lead {
  max-width: 690px;
  margin-bottom: 1.75rem;
  color: var(--muted-2);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.copy {
  color: var(--muted-2);
}

.copy strong,
.lead strong {
  color: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 860;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  margin-left: 0.55rem;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(53, 147, 250, 0.72);
  background: rgba(53, 147, 250, 0.13);
}

.btn-primary {
  border-color: rgba(53, 147, 250, 0.78);
  background: var(--blue);
  color: var(--black);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--black);
  background: #71b6ff;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.signal-strip div {
  padding: 1rem;
  background: rgba(3, 5, 7, 0.82);
}

.signal-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signal-strip strong {
  display: block;
  margin-top: 0.25rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.overview-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.overview-strip div {
  min-width: 0;
  padding: 0.85rem;
  background: rgba(3, 5, 7, 0.78);
}

.overview-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.overview-strip strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.78rem, 1.5vw, 0.98rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.market-workflow-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: none;
}

.terminal {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(9, 13, 20, 0.94), rgba(3, 5, 7, 0.92)),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(53, 147, 250, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 147, 250, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.terminal-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dots {
  display: flex;
  gap: 0.4rem;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.dots span:nth-child(1) {
  background: var(--danger);
}

.dots span:nth-child(2) {
  background: var(--amber);
}

.dots span:nth-child(3) {
  background: var(--green);
}

.terminal-body {
  position: relative;
  z-index: 1;
  padding: clamp(1rem, 3vw, 1.4rem);
}

.tape {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.tape-row {
  width: 100%;
  display: grid;
  grid-template-columns: 0.75fr 0.75fr 0.55fr;
  gap: 0.75rem;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.74rem, 1.4vw, 0.9rem);
  text-align: left;
  appearance: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.token-row {
  cursor: pointer;
}

.token-row:hover,
.token-row:focus-visible,
.token-row.is-active {
  border-color: rgba(53, 147, 250, 0.58);
  background:
    linear-gradient(90deg, rgba(53, 147, 250, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 3px 0 0 var(--blue), 0 0 22px rgba(53, 147, 250, 0.14);
}

.token-row:focus-visible {
  outline: 2px solid rgba(53, 147, 250, 0.8);
  outline-offset: 2px;
}

.token-row:active {
  transform: translateY(1px);
}

.tape-row b {
  color: var(--white);
}

.tape-row span {
  color: var(--muted-2);
}

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

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

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

.chart {
  position: relative;
  height: 220px;
  border: 1px solid rgba(53, 147, 250, 0.22);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    rgba(0, 0, 0, 0.16);
  background-size: 100% 25%, 12.5% 100%;
  overflow: hidden;
}

.chart::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(53, 147, 250, 0.16), transparent);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}

.chart.is-loading::after {
  animation: chart-scan 900ms ease-out infinite;
  opacity: 1;
}

.chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chart-line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 10px rgba(53, 147, 250, 0.8));
}

.chart-average {
  fill: none;
  stroke: rgba(255, 255, 255, 0.66);
  stroke-width: 1.6;
  stroke-dasharray: 5 7;
  vector-effect: non-scaling-stroke;
}

.chart-fill {
  fill: rgba(53, 147, 250, 0.13);
}

.chart-note {
  position: absolute;
  left: 0.85rem;
  bottom: 0.75rem;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-shadow: 0 0 12px rgba(3, 5, 7, 0.9);
  text-transform: uppercase;
}

.pulse-marker {
  position: absolute;
  right: 17%;
  top: 35%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(53, 147, 250, 0.12), 0 0 22px rgba(53, 147, 250, 0.95);
}

.caption {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.caption a {
  color: var(--muted-2);
  text-decoration: underline;
  text-decoration-color: rgba(53, 147, 250, 0.55);
  text-underline-offset: 3px;
}

.trend-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.trend-strip div {
  padding: 0.58rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.16);
}

.trend-strip span {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trend-strip b {
  display: block;
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.72rem, 1.3vw, 0.86rem);
}

@keyframes chart-scan {
  to {
    transform: translateX(100%);
  }
}

.cycle-context {
  background:
    linear-gradient(90deg, rgba(53, 147, 250, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.035));
}

.cycle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.72fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 2rem;
}

.cycle-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.cycle-context-stack {
  align-items: start;
}

.cycle-snapshot-panel {
  --cycle-accent: var(--green);
}

.cycle-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.cycle-metric {
  min-width: 0;
  min-height: 132px;
  padding: 0.88rem;
  border: 1px solid color-mix(in srgb, var(--metric-color, var(--blue)), transparent 58%);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--metric-color, var(--blue)), transparent 90%), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 3px 0 var(--metric-color, var(--blue));
}

.cycle-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cycle-metric b {
  display: block;
  margin-top: 0.5rem;
  color: var(--white);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  line-height: 1.05;
}

.cycle-metric small {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted-2);
  font-size: 0.74rem;
  line-height: 1.35;
}

.cycle-metric.is-positive {
  --metric-color: var(--green);
}

.cycle-metric.is-negative {
  --metric-color: var(--danger);
}

.cycle-metric.is-warning {
  --metric-color: var(--amber);
}

.cycle-metric.is-neutral {
  --metric-color: var(--blue);
}

.market-dashboard-top {
  background:
    linear-gradient(90deg, rgba(53, 147, 250, 0.085), transparent 42%),
    rgba(255, 255, 255, 0.012);
}

.traditional-depth {
  background:
    linear-gradient(90deg, rgba(237, 177, 34, 0.055), transparent 45%),
    rgba(255, 255, 255, 0.01);
}

.market-top-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  margin-top: 2rem;
}

.traditional-depth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  margin-top: 2rem;
}

.support-check-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border: 1px solid rgba(53, 147, 250, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(53, 147, 250, 0.12), transparent 55%),
    rgba(3, 5, 7, 0.72);
}

.support-check-main strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.support-check-main p,
.support-check-notes span {
  margin: 0.65rem 0 0;
  color: var(--muted-2);
  font-size: 0.88rem;
  line-height: 1.4;
}

.support-check-grid,
.support-check-notes {
  display: grid;
  gap: 0.55rem;
}

.support-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-check-grid div,
.support-check-notes p {
  margin: 0;
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.support-check-grid span,
.support-check-notes b {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.support-check-grid b {
  display: block;
  margin-top: 0.25rem;
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
}

.support-check-notes {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-check-card[data-support-state="supported"] {
  border-color: rgba(118, 211, 111, 0.42);
}

.support-check-card[data-support-state="supported"] .support-check-main strong {
  color: var(--green);
}

.support-check-card[data-support-state="partially-supported"] .support-check-main strong,
.support-check-card[data-support-state="conflicted"] .support-check-main strong {
  color: var(--amber);
}

.support-check-card[data-support-state="unsupported"] {
  border-color: rgba(255, 92, 122, 0.46);
}

.support-check-card[data-support-state="unsupported"] .support-check-main strong {
  color: var(--danger);
}

.support-check-card[data-support-state="inputs-unavailable"] {
  border-color: rgba(159, 169, 183, 0.35);
}

.support-check-card[data-support-state="inputs-unavailable"] .support-check-main strong {
  color: var(--muted-2);
}

.macro-table-card {
  min-width: 0;
  padding: 0;
}

.macro-terminal-body {
  padding: clamp(1rem, 3vw, 1.4rem);
}

.macro-title {
  margin-bottom: 0.9rem;
}

.macro-title h3 {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.05;
}

.macro-table {
  display: grid;
  gap: 0.45rem;
}

.macro-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1.15fr) minmax(78px, 0.7fr) 58px minmax(76px, 0.66fr);
  gap: 0.6rem;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.macro-row-head {
  min-height: 34px;
  border-color: rgba(53, 147, 250, 0.22);
  background: rgba(53, 147, 250, 0.08);
}

.macro-row b,
.macro-row strong,
.macro-row em,
.macro-row small {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.macro-row b {
  color: var(--white);
  font-size: 0.8rem;
}

.macro-row span {
  min-width: 0;
  color: var(--muted-2);
  font-size: 0.76rem;
  line-height: 1.2;
}

.macro-row strong {
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: right;
}

.macro-row em {
  color: var(--muted-2);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.2;
  text-align: right;
}

.macro-row small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.15;
  text-align: right;
}

.macro-row.is-live {
  box-shadow: inset 3px 0 0 rgba(53, 147, 250, 0.72);
}

.macro-row.is-manual {
  box-shadow: inset 3px 0 0 rgba(237, 177, 34, 0.6);
}

.derivatives-card {
  margin-top: 1rem;
}

.derivatives-table {
  display: grid;
  gap: 0.45rem;
}

.derivatives-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) minmax(118px, 0.9fr) minmax(84px, 0.7fr);
  gap: 0.6rem;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.derivatives-row-head {
  min-height: 34px;
  border-color: rgba(53, 147, 250, 0.22);
  background: rgba(53, 147, 250, 0.08);
}

.derivatives-row b,
.derivatives-row span,
.derivatives-row strong,
.derivatives-row small {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.2;
}

.derivatives-row b,
.derivatives-row strong {
  color: var(--white);
}

.derivatives-row span,
.derivatives-row small {
  color: var(--muted-2);
}

.derivatives-row strong,
.derivatives-row small {
  text-align: right;
}

.top-fear-panel {
  margin-top: 0;
}

.top-fear-panel .fng-scoreboard {
  min-height: 124px;
}

.rainbow-explainer {
  max-width: 920px;
}

.cycle-panel {
  --cycle-accent: var(--blue);
  --sentiment: var(--blue);
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03)),
    rgba(3, 5, 7, 0.58);
}

.cycle-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.panel-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 840;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cycle-panel h3 {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.05;
}

.cycle-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.6rem;
  border: 1px solid color-mix(in srgb, var(--cycle-accent), transparent 48%);
  border-radius: var(--radius);
  color: var(--cycle-accent);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.66rem;
  font-weight: 860;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rainbow-chart {
  position: relative;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(0, 0, 0, 0.2);
  background-size: 100% 25%, 12.5% 100%;
  overflow: hidden;
}

.rainbow-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(53, 147, 250, 0.15), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
}

.rainbow-chart.is-loading::after {
  animation: chart-scan 900ms ease-out infinite;
  opacity: 1;
}

.rainbow-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rainbow-zone {
  opacity: 0.76;
}

.rainbow-zone-deep {
  fill: rgba(53, 147, 250, 0.16);
}

.rainbow-zone-accumulation {
  fill: rgba(118, 211, 111, 0.14);
}

.rainbow-zone-fair {
  fill: rgba(237, 177, 34, 0.14);
}

.rainbow-zone-extension {
  fill: rgba(249, 23, 209, 0.13);
}

.rainbow-zone-heat {
  fill: rgba(255, 92, 122, 0.16);
}

.rainbow-line {
  fill: none;
  stroke: var(--white);
  stroke-width: 2.6;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 10px rgba(247, 249, 252, 0.5));
}

.rainbow-marker {
  fill: var(--cycle-accent);
  stroke: var(--black);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--cycle-accent), transparent 20%));
}

.cycle-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.cycle-readout-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cycle-readout div {
  min-width: 0;
  padding: 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.cycle-readout span {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cycle-readout b {
  display: block;
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.72rem, 1.3vw, 0.9rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.rainbow-panel.is-deep {
  --cycle-accent: var(--blue);
}

.rainbow-panel.is-accumulation {
  --cycle-accent: var(--green);
}

.rainbow-panel.is-fair {
  --cycle-accent: var(--amber);
}

.rainbow-panel.is-extension {
  --cycle-accent: var(--magenta);
}

.rainbow-panel.is-heat {
  --cycle-accent: var(--danger);
}

.fear-panel {
  display: flex;
  flex-direction: column;
}

.fear-panel.is-extreme-fear {
  --sentiment: var(--danger);
}

.fear-panel.is-fear {
  --sentiment: var(--amber);
}

.fear-panel.is-neutral {
  --sentiment: var(--blue);
}

.fear-panel.is-greed {
  --sentiment: var(--green);
}

.fear-panel.is-extreme-greed {
  --sentiment: var(--magenta);
}

.fear-panel .cycle-status {
  --cycle-accent: var(--sentiment);
}

.fng-scoreboard {
  min-height: 178px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid color-mix(in srgb, var(--sentiment), transparent 64%);
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--sentiment), transparent 72%), transparent 52%),
    rgba(0, 0, 0, 0.18);
}

.fng-scoreboard strong {
  display: block;
  color: var(--sentiment);
  font-size: clamp(4rem, 8vw, 6.8rem);
  line-height: 0.88;
  font-weight: 920;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.fng-scoreboard span {
  display: block;
  margin-top: 0.65rem;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fng-meter {
  height: 10px;
  margin-top: 0.85rem;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 92, 122, 0.34), rgba(237, 177, 34, 0.34), rgba(118, 211, 111, 0.34), rgba(249, 23, 209, 0.34));
}

.fng-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--danger), var(--amber), var(--green), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms ease;
}

.fng-scale {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-stack {
  background:
    linear-gradient(90deg, rgba(249, 23, 209, 0.055), transparent 46%),
    rgba(255, 255, 255, 0.018);
}

.stack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
  align-items: start;
  margin-top: 2rem;
}

.stack-column {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.stack-card {
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.028)),
    rgba(3, 5, 7, 0.58);
}

.state-board {
  grid-row: auto;
}

.stack-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.stack-head h3 {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.05;
}

.state-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.state-summary div,
.asset-state-row,
.pressure-row,
.confluence-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.state-summary div {
  min-width: 0;
  padding: 0.72rem;
}

.state-summary span,
.state-bar-row span,
.pressure-row span {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.state-summary strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.9rem, 1.7vw, 1.12rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.state-bars,
.pressure-list,
.confluence-list {
  display: grid;
  gap: 0.55rem;
}

.state-bar-row {
  --state-color: var(--muted);
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 34px;
  gap: 0.65rem;
  align-items: center;
}

.state-bar-row i,
.pressure-row i,
.pressure-score i {
  display: block;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.state-bar-row em,
.pressure-row em,
.pressure-score em {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--state-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms ease;
}

.state-bar-row b {
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  text-align: right;
}

.state-bar-row.is-qualify {
  --state-color: var(--green);
}

.state-bar-row.is-watch {
  --state-color: var(--amber);
}

.state-bar-row.is-neutral {
  --state-color: var(--blue);
}

.state-bar-row.is-defensive {
  --state-color: var(--danger);
}

.state-bar-row.is-extended {
  --state-color: var(--magenta);
}

.asset-state-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.asset-state-row {
  --state-color: var(--muted);
  display: grid;
  grid-template-columns: 0.46fr 0.66fr minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  min-height: 36px;
  padding: 0.46rem 0.55rem;
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--state-color), transparent 20%);
}

.asset-state-row.is-qualify {
  --state-color: var(--green);
}

.asset-state-row.is-watch {
  --state-color: var(--amber);
}

.asset-state-row.is-neutral {
  --state-color: var(--blue);
}

.asset-state-row.is-defensive {
  --state-color: var(--danger);
}

.asset-state-row.is-extended {
  --state-color: var(--magenta);
}

.asset-state-row b,
.asset-state-row span,
.asset-state-row small {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  line-height: 1.2;
}

.asset-state-row b {
  color: var(--white);
}

.asset-state-row span {
  color: var(--state-color);
  font-weight: 800;
}

.asset-state-row small {
  color: var(--muted-2);
  text-align: right;
}

.pressure-score {
  min-height: 144px;
  display: grid;
  align-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(53, 147, 250, 0.28);
  background:
    linear-gradient(135deg, rgba(53, 147, 250, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.18);
}

.pressure-score strong {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.pressure-score span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pressure-score i {
  --state-color: var(--blue);
}

.pressure-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 56px;
  gap: 0.6rem;
  align-items: center;
  padding: 0.55rem;
}

.pressure-row i {
  --state-color: var(--blue);
}

.pressure-row b {
  color: var(--white);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.8rem;
  text-align: right;
}

.pressure-row small {
  grid-column: 2 / 4;
  color: var(--muted);
  font-size: 0.72rem;
}

.confluence-score {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(237, 177, 34, 0.32);
  background: rgba(237, 177, 34, 0.06);
}

.confluence-score strong {
  color: var(--amber);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.confluence-score span {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.confluence-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.65rem;
}

.confluence-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  font-weight: 900;
}

.confluence-item b {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.confluence-item small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.confluence-item.is-pass > span {
  border-color: rgba(118, 211, 111, 0.5);
  color: var(--green);
}

.confluence-item.is-risk > span {
  border-color: rgba(255, 92, 122, 0.55);
  color: var(--danger);
}

.market-reading-key {
  background:
    linear-gradient(90deg, rgba(118, 211, 111, 0.055), transparent 45%),
    rgba(255, 255, 255, 0.01);
}

.definition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1.4rem;
}

.definition-grid-three {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 0.9fr);
}

.definition-grid .phase-key {
  margin-top: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 58%),
    var(--panel);
}

.methodology-card {
  border-color: rgba(237, 177, 34, 0.28);
  background:
    linear-gradient(145deg, rgba(237, 177, 34, 0.07), transparent 58%),
    var(--panel);
}

.definition-copy {
  margin: 0 0 0.9rem;
  color: var(--muted-2);
  font-size: 0.86rem;
  line-height: 1.45;
}

.state-definition-list {
  display: grid;
  gap: 0.45rem;
}

.state-definition-list div,
.definition-notes p {
  display: grid;
  grid-template-columns: minmax(96px, 0.28fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin: 0;
  padding: 0.64rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.032);
}

.state-definition-list b,
.definition-notes b {
  color: var(--white);
  font-size: 0.82rem;
}

.state-definition-list span,
.definition-notes span {
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.36;
}

.definition-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.definition-notes p {
  grid-template-columns: 1fr;
  gap: 0.25rem;
  border-color: rgba(53, 147, 250, 0.28);
  background: rgba(53, 147, 250, 0.055);
}

.phase-key,
.routing-matrix {
  margin-top: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.market-reading-key .routing-matrix {
  margin-top: 1.35rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(249, 23, 209, 0.075), transparent 52%),
    var(--panel);
}

.phase-key-table {
  display: grid;
  gap: 0.45rem;
}

.phase-key-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  min-height: 44px;
  padding: 0.66rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.phase-key-row-head {
  min-height: auto;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.phase-key-row b {
  color: var(--white);
  font-size: 0.86rem;
}

.phase-key-row span {
  color: var(--muted-2);
  font-size: 0.84rem;
  line-height: 1.35;
}

.phase-key-row-head b,
.phase-key-row-head span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 860;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.route-card {
  min-width: 0;
  min-height: 158px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.route-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(53, 147, 250, 0.5);
  border-radius: var(--radius);
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
}

.route-card h4 {
  margin: 0 0 0.45rem;
  color: var(--white);
  font-size: 1rem;
}

.route-card p {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.84rem;
}

.route-card.is-current {
  border-color: rgba(53, 147, 250, 0.58);
  background:
    linear-gradient(180deg, rgba(53, 147, 250, 0.13), rgba(255, 255, 255, 0.04)),
    var(--panel);
  box-shadow: inset 0 3px 0 var(--blue);
}

.signal-stack-caption {
  max-width: 900px;
}

.rule {
  height: 1px;
  width: 100%;
  margin: clamp(2rem, 5vw, 3.5rem) 0;
  background: linear-gradient(90deg, transparent, rgba(53, 147, 250, 0.65), transparent);
}

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

.feature,
.note-panel,
.quote-panel,
.metric,
.risk-panel,
.process-step,
.manifesto-item,
.external-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.feature {
  padding: clamp(1.15rem, 2vw, 1.45rem);
  min-height: 250px;
}

.icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.1rem;
  color: var(--blue);
}

.feature h3,
.note-panel h3,
.risk-panel h3,
.process-step h3,
.manifesto-item h3 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  line-height: 1.2;
}

.feature p,
.note-panel p,
.risk-panel p,
.process-step p,
.manifesto-item p {
  margin-bottom: 0;
  color: var(--muted-2);
}

.quote-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-color: rgba(53, 147, 250, 0.34);
  background: linear-gradient(180deg, rgba(53, 147, 250, 0.1), rgba(255, 255, 255, 0.045));
}

.quote-panel blockquote {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.05;
  font-weight: 880;
  text-wrap: balance;
}

.quote-panel cite {
  display: block;
  margin-top: 1.2rem;
  color: var(--muted-2);
  font-style: normal;
}

.signature {
  font-family: "Nordhaus Script", cursive;
  color: var(--white);
  font-size: 1.7rem;
}

.split-band {
  background:
    linear-gradient(90deg, rgba(53, 147, 250, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.025);
}

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

.metric {
  padding: 1.15rem;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 0.3rem;
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  line-height: 1;
}

.metric small {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.process-step {
  position: relative;
  padding: 1rem;
  min-height: 170px;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(53, 147, 250, 0.55);
  border-radius: var(--radius);
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

.process-step h3 {
  font-size: 0.95rem;
}

.process-step p {
  font-size: 0.88rem;
}

.image-panel {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black-2);
  box-shadow: var(--shadow);
}

.image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 5, 7, 0.06), rgba(3, 5, 7, 0.9)),
    linear-gradient(90deg, rgba(3, 5, 7, 0.78), transparent);
}

.image-panel-content {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  z-index: 1;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 5, 7, 0.7);
  backdrop-filter: blur(14px);
}

.image-panel-content span {
  display: block;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-panel-content strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.4rem;
  line-height: 1.05;
}

.manifesto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.manifesto-item {
  padding: clamp(1.15rem, 2vw, 1.45rem);
}

.manifesto-item h3 {
  color: var(--white);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.risk-panel {
  padding: clamp(1.15rem, 2vw, 1.45rem);
}

.risk-panel.warning {
  border-color: rgba(237, 177, 34, 0.42);
  background: rgba(237, 177, 34, 0.07);
}

.risk-panel.warning h3 {
  color: var(--amber);
}

.legal-text {
  max-width: 920px;
  color: var(--muted-2);
}

.legal-text p {
  margin-bottom: 1rem;
}

.legal-text strong {
  color: var(--white);
}

.link-panel {
  display: grid;
  gap: 0.85rem;
}

.external-card {
  display: block;
  padding: 1.15rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.external-card span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.external-card strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--white);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1;
}

.external-card:hover,
.external-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(53, 147, 250, 0.58);
  background: rgba(53, 147, 250, 0.1);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #020304;
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 2.2rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  width: 128px;
  margin-bottom: 1rem;
}

.footer-copy {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.fine-print {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 1rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.74rem;
}

@media (max-width: 1100px) {
  .nav-links a {
    padding: 0.65rem 0.52rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 1020px) {
	  .hero-grid,
	  .page-hero .hero-grid,
	  .two-col,
	  .cycle-grid,
	  .support-check-card,
	  .market-top-grid,
	  .traditional-depth-grid,
	  .definition-grid,
	  .stack-grid {
	    grid-template-columns: 1fr;
	  }

  .state-board {
    grid-row: auto;
  }

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

  .cycle-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .terminal {
    max-width: 720px;
  }

  .feature-grid,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .nav-wrap {
    min-height: 66px;
  }

  .brand img {
    width: 132px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(3, 5, 7, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-open .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 0.9rem;
  }

  .nav-disclaimer {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
  }

  .signal-strip,
  .overview-strip,
  .feature-grid,
  .metrics,
  .manifesto,
  .risk-grid,
  .cycle-readout,
  .cycle-readout-compact,
  .cycle-snapshot-grid,
	  .state-summary,
	  .support-check-grid,
	  .support-check-notes,
	  .definition-notes,
  .route-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .wrap,
  .hero-grid,
  .nav-wrap,
  .footer-grid,
  .fine-print {
    width: min(100% - 24px, var(--max));
  }

  .button-row {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .tape-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .chart {
    height: 180px;
  }

  .rainbow-chart {
    height: 220px;
  }

  .cycle-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .stack-head {
    align-items: stretch;
    flex-direction: column;
  }

  .cycle-status {
    width: max-content;
  }

  .asset-state-row,
  .macro-row,
  .derivatives-row,
  .pressure-row {
    grid-template-columns: 1fr;
  }

  .asset-state-row small,
  .macro-row strong,
  .macro-row em,
  .macro-row small,
  .derivatives-row strong,
  .derivatives-row small,
  .pressure-row b {
    text-align: left;
  }

  .pressure-row small {
    grid-column: auto;
  }

  .state-bar-row {
    grid-template-columns: 82px minmax(0, 1fr) 28px;
  }

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

  .image-panel {
    min-height: 340px;
  }
}

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