@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/caveat-bold-latin.woff2') format('woff2');
}

:root {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #4e4e4e;
  background: var(--site-surface);
  font-synthesis: none;
  --site-surface: #dee0e2;
  --ink: #151515;
  --brand-sunrise-gradient: linear-gradient(149deg, #fff0b8 8%, #efa350 34%, #e88e92 58%, #b295cf 81%, #777dad);
  --muted: #575757;
  --soft: #f0f0f0;
  --line: #dcdcdc;
  --page: min(100% - 2.75rem, 75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--site-header-height, 4.5rem) + .65rem); }
body { margin: 0; font-size: .9375rem; font-weight: 400; line-height: 1.55; }
body { position: relative; isolation: isolate; overflow-x: clip; }
.market-universe-backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: url('/assets/market-universe-hands.webp') center / min(118.75vw, 118.75rem) auto no-repeat;
  opacity: .19;
  pointer-events: none;
}
.market-universe-backdrop[data-particles] {
  background-image: url('/assets/market-universe-particles-base.webp');
}
.market-universe-backdrop canvas {
  display: block;
  visibility: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(118.75vw, 118.75rem);
  aspect-ratio: 2400 / 1370;
  transform: translate(-50%, -50%);
}
.market-universe-backdrop[data-particles] canvas { visibility: visible; }
.mesh-backdrop {
  position: absolute;
  z-index: -1;
  inset-inline: 0;
  height: clamp(24rem, 56.25vw, 82rem);
  overflow: hidden;
  opacity: .35;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.mesh-backdrop-top { top: 0; transform: scaleY(-1); }
.mesh-backdrop-bottom { bottom: 0; }
.mesh-backdrop img, .mesh-backdrop canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.mesh-backdrop canvas { position: absolute; inset: 0; background: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, canvas:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h3 { font-weight: 600; }
[hidden] { display: none !important; }
.container { width: var(--page); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  background: #fff;
  padding: .75rem;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  border-bottom: 1px solid var(--line);
  background: var(--site-surface);
}
.header-inner, .footer {
  min-height: 4.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
  font-family: "Pasajero", "Jost", "Futura", sans-serif;
  font-weight: 500;
  letter-spacing: .24em;
  font-size: .875rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-bitcoin {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.1em;
  letter-spacing: 0;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .brand-bitcoin {
    display: inline-block;
    background-image: linear-gradient(155deg, #14141455 0%, #14141422 40%, #1414148c 100%), var(--brand-sunrise-gradient);
    -webkit-text-stroke: .38px #181818;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.brand-mark {
  display: block;
  width: 1.95rem;
  height: auto;
}
.site-header .brand, .site-footer .brand { font-size: clamp(1rem, 1.65vw, 1.25rem); }
.site-header .brand-mark, .site-footer .brand-mark { width: clamp(2.65rem, 3.8vw, 3.4rem); }
.brand-copy {
  display: grid;
  justify-items: start;
  gap: .2rem;
  line-height: 1;
}
.brand-tagline {
  font-family: "Avenir Next", Avenir, "Inter", sans-serif;
  font-size: .56rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: .055em;
  text-transform: none;
}
.brand-sunrise { position: relative; display: block; isolation: isolate; }
.brand-sunrise::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-sunrise-gradient);
  mask: url("/assets/plan-b-ribbon.webp") center / 100% 100% no-repeat;
  mix-blend-mode: color;
  opacity: .48;
  pointer-events: none;
}
.navigation { display: flex; gap: clamp(1.25rem, 3vw, 2.75rem); align-items: center; }
.navigation a { font-size: .8125rem; color: var(--muted); text-decoration: none; }
.navigation a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .3rem; }
.section-rail {
  position: fixed;
  z-index: 3;
  right: max(.125rem, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  color: #252525;
}
.section-rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: .4rem;
  color: inherit;
  text-decoration: none;
}
.section-rail a:focus-visible { outline: 1px solid currentColor; outline-offset: -3px; }
.section-rail a::before {
  content: '';
  width: .3125rem;
  height: .3125rem;
  border-radius: 1rem;
  background: #686868;
  box-shadow: 0 0 0 1px #ffffffc7;
  transition: height .18s ease, background-color .18s ease;
}
.section-rail a:hover::before, .section-rail a:focus-visible::before { background: currentColor; }
.section-rail a[aria-current="location"]::before {
  height: .875rem;
  background: currentColor;
}
.section-rail a span {
  position: absolute;
  right: 100%;
  padding: .12rem .35rem;
  border-radius: .2rem;
  background: #fffffff2;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  font-size: .73rem;
  transition: opacity .17s ease;
}
@media (hover: hover) {
  .section-rail a:hover span { opacity: 1; }
}
.section-rail a:focus-visible span { opacity: 1; }
@media (max-width: 720px) {
  .section-rail a { width: 1.5rem; }
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.625rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  padding: .58rem 1.12rem;
  font-weight: 650;
  font-size: .8125rem;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.button-small { min-height: 2.5rem; padding: .4rem .85rem; }
.button-outline { border-color: #bdbdbd; background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--ink); background: #f0f0f0; }
.button-light { background: #fff; color: #171717; }
.button-light:hover { background: #dcdcdc; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: max(24rem, calc(100svh - 5.6rem - clamp(1rem, 2.8vw, 2rem)));
  margin-block: clamp(1rem, 2.8vw, 2rem) 1.1rem;
  padding: clamp(1.5rem, 5vw, 4.2rem);
  color: #f7f7f7;
  background: #151515;
  border-radius: .6rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #080808 0%, rgb(8 8 8 / 86%) 29%, rgb(8 8 8 / 59%) 51%, transparent 86%),
              linear-gradient(0deg, rgb(8 8 8 / 40%), transparent 55%);
}
.hero-copy { max-width: 32rem; padding-right: 1rem; }
.eyebrow {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .085em;
  line-height: 1.45;
  text-transform: uppercase;
}
.hero .eyebrow { color: #d4d4d4; }
.hero h1, .hero h2 {
  margin-block: .85rem 1rem;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  font-weight: 660;
  letter-spacing: -.045em;
  line-height: 1.04;
}
.hero h1 span { color: #d8d8d8; }
.hero-lead { max-width: 25rem; color: #e0e0e0; }
.hero-panels { display: grid; align-items: end; }
.hero-panel {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
}
.hero-panel.is-active { visibility: visible; opacity: 1; animation: hero-slide-in .55s ease-out both; }
@keyframes hero-slide-in {
  from { opacity: 0; transform: translateX(1.15rem); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-panel.is-active { animation: none; }
}
.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.35rem, 1.4vw, .75rem);
  max-width: 25rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
  color: #f5f5f5;
  font-size: clamp(.7rem, 1.7vw, .875rem);
  line-height: 1.2;
}
.hero-signals li {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .4rem;
  min-height: clamp(4.4rem, 9vw, 5.6rem);
  padding: .45rem .25rem;
  text-align: center;
  background: rgb(12 12 12 / 50%);
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: .35rem;
}
.hero-signals svg {
  width: clamp(1.7rem, 4.4vw, 2.4rem);
  height: clamp(1.7rem, 4.4vw, 2.4rem);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-pagination { display: flex; gap: .15rem; margin: .65rem 0 -.7rem; }
.hero-pagination button {
  display: grid;
  width: 2rem;
  height: 1.75rem;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}
.hero-pagination button::after {
  content: '';
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: #a3a3a3;
}
.hero-pagination button[aria-pressed="true"]::after { background: #fff; transform: scale(1.35); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.hero-actions .button-outline { color: #f5f5f5; border-color: #8e8e8e; background: rgb(8 8 8 / 38%); }
.hero-actions .button-outline:hover { background: #343434; border-color: #c8c8c8; }
.hero :focus-visible { outline-color: #fff; }
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #141414 url("/assets/plan-b-poster.webp?v=3") center / cover no-repeat;
}
.hero-media picture, .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; object-position: center; }
#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
}
#hero-video[data-playing] { opacity: 1; }
#hero-video::-webkit-media-controls-start-playback-button { display: none !important; }

.overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.overview > div { display: flex; flex-direction: column-reverse; justify-content: center; min-height: 6rem; padding: 1rem 1.05rem 1rem 1.45rem; }
.overview > div:not(:last-child) { border-right: 1px solid var(--line); }
.overview > div:first-child { padding-left: 0; }
.overview dt { font-size: .8125rem; color: var(--muted); }
.overview dd { font-size: clamp(1.35rem, 3vw, 2.1rem); letter-spacing: -.04em; line-height: 1.13; font-weight: 665; font-variant-numeric: tabular-nums; }

.market-coverage-heading { padding: .9rem 0 .65rem; }
.market-coverage-heading h2, .equity-opportunity h2 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.025em; }
.market-coverage-heading p, .equity-opportunity p, .equity-opportunity dt { color: var(--muted); }
.market-coverage-heading p, .equity-opportunity p { margin-top: .26rem; }
.market-marks {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .7rem 0 .12rem;
  padding: 0;
  list-style: none;
}
.market-marks li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .52rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: rgb(255 255 255 / 50%);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 500;
}
.market-marks img { width: 1.15rem; height: 1.15rem; object-fit: contain; }
.market-marks .market-wordmark { width: 4rem; }
.market-marks small { margin-left: .12rem; color: var(--muted); font-size: .68rem; }
.equity-opportunity {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(10rem, 1fr);
  gap: .65rem clamp(1.2rem, 5vw, 4rem);
  align-items: center;
  margin-top: .8rem;
  padding: clamp(1rem, 3vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: rgb(240 240 240 / 50%);
}
.equity-opportunity-metric > div { display: flex; flex-direction: column-reverse; }
.equity-opportunity-metric dt { font-size: .8125rem; }
.equity-opportunity-metric dd {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.equity-opportunity .equity-opportunity-source { grid-column: 1 / -1; font-size: .75rem; }
@media (max-width: 620px) {
  .equity-opportunity { grid-template-columns: minmax(0, 1fr); }
}

.asset-network {
  display: grid;
  grid-template-columns: minmax(14rem, .58fr) minmax(0, 1.42fr);
  align-items: center;
  margin-top: .8rem;
  overflow: hidden;
  border: 1px solid #343434;
  border-radius: .55rem;
  background: radial-gradient(ellipse at 72% 48%, #222 0%, #101010 45%, #080808 82%);
  color: #f3f3f3;
}
.asset-network-copy { position: relative; z-index: 1; padding: clamp(1rem, 3vw, 2rem); }
.asset-network-copy h2 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 650; letter-spacing: -.03em; }
.asset-network-copy p { margin-top: .5rem; max-width: 28ch; color: #bdbdbd; }
.asset-network-key { display: flex; gap: .9rem; padding: 0; margin: .85rem 0 0; list-style: none; }
.asset-network-key li { display: flex; align-items: center; gap: .35rem; font-size: .81rem; }
.asset-key-dot { width: .46rem; height: .46rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 .5rem currentColor; }
.asset-key-crypto { color: #f1f1f1; }
.asset-key-equity { color: #b6b6b6; border-radius: 0; transform: rotate(45deg); }
.asset-network-view { position: relative; min-width: 0; }
#asset-network-canvas { display: block; width: 100%; height: clamp(23rem, 41vw, 35rem); touch-action: pan-y pinch-zoom; cursor: grab; }
#asset-network-canvas[data-dragging] { cursor: grabbing; }
.asset-network-tooltip {
  position: absolute;
  bottom: .8rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 1.5rem);
  padding: .35rem .62rem;
  border: 1px solid #4d4d4d;
  border-radius: .25rem;
  background: #171717;
  color: #f3f3f3;
  text-align: center;
  pointer-events: none;
  font-size: .75rem;
}
@media (max-width: 720px) {
  .asset-network { grid-template-columns: minmax(0, 1fr); }
  .asset-network-copy p { max-width: 44ch; }
  #asset-network-canvas { height: clamp(20rem, 91vw, 26rem); }
}

.section { padding-block: clamp(3.7rem, 8vw, 7.25rem); }
.section-heading {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2.15rem;
}
.section-heading h2, .investor-intro h2 {
  margin-top: .55rem;
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  font-weight: 665;
  letter-spacing: -.045em;
  line-height: 1.01;
}
.section-heading > p { max-width: 29rem; color: var(--muted); padding-bottom: .22rem; }

.signal-section { padding-bottom: 0; }
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .8rem; }
.signal-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: rgb(241 241 241 / 50%);
  color: var(--ink);
  text-align: left;
}
.signal-preview[aria-pressed="true"] { border-color: #505050; }
.signal-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101010;
  filter: grayscale(1);
  transition: filter .2s ease;
}
.signal-preview:hover img { filter: grayscale(1) brightness(1.1); }
.signal-preview-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem .75rem;
  width: 100%;
  padding: .85rem .9rem;
  font-size: .8125rem;
}
.signal-preview-label strong { font-weight: 700; }
.signal-preview-label > span { color: var(--muted); }
.signal-terminal {
  border-radius: .55rem;
  margin-top: .8rem;
  padding: clamp(.95rem, 2.6vw, 1.7rem);
  background: #191919;
  color: #f1f1f1;
}
.signal-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.signal-toolbar h3 { font-size: .95rem; letter-spacing: -.019em; }
.signal-toolbar p, .signal-note { color: #bfbfbf; font-size: .8125rem; }
.signal-toolbar p { margin-top: .25rem; }
#market-example-chart { display: block; width: 100%; height: clamp(13rem, 30vw, 22rem); margin-top: .65rem; }
.signal-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  border-block: 1px solid #444;
  margin-block: .5rem .62rem;
  padding-block: .55rem;
}
.signal-readout dt { color: #bfbfbf; font-size: .75rem; }
.signal-readout .channel-label { display: flex; align-items: center; gap: .38rem; color: #f1f1f1; }
.signal-readout .channel-label::before {
  content: '';
  flex: 0 0 .65rem;
  height: 2px;
  background: var(--channel-color);
}
.signal-readout dd { font-size: .95rem; font-variant-numeric: tabular-nums; font-weight: 660; }

.signal-readout .channel-slope { color: #bfbfbf; font-size: .75rem; font-weight: 400; }

.dashboard { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr); gap: .85rem; }
.chart-card { background: #191919; color: #f7f7f7; min-width: 0; border-radius: .6rem; padding: clamp(1rem, 3vw, 1.65rem); }
.chart-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .6rem; margin-bottom: .75rem; }
.chart-heading h3 { font-size: 1rem; letter-spacing: -.02em; line-height: 1.2; }
.chart-heading p, .chart-figure figcaption { color: #bcbcbc; font-size: .8125rem; }
.chart-heading p { margin-top: .35rem; }
.scenario-control { display: flex; flex-wrap: wrap; max-width: 100%; gap: .2rem; padding: .25rem; border: 1px solid #4d4d4d; border-radius: .4rem; }
.scenario-control button {
  border: 0;
  color: #d2d2d2;
  background: transparent;
  font-size: .875rem;
  font-weight: 600;
  padding: .32rem .6rem;
  border-radius: .23rem;
  text-align: left;
}
.scenario-control button:hover { color: #fff; }
.scenario-control button[aria-pressed="true"] { background: #eeeeee; color: #171717; }
.chart-figure { position: relative; }
#profit-chart { display: block; width: 100%; height: clamp(13.5rem, 28vw, 20rem); border-radius: .25rem; touch-action: pan-y; }
.chart-figure figcaption { margin-top: .5rem; }
.chart-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  padding: .4rem .62rem;
  border-radius: .3rem;
  background: #f1f1f1;
  color: #151515;
  font-variant-numeric: tabular-nums;
  font-size: .875rem;
  font-weight: 620;
  white-space: nowrap;
}
.chart-error { color: #eee; margin: 1rem 0; }
.chart-metrics {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgb(243 243 243 / 50%);
  border-radius: .6rem;
  padding-inline: clamp(1rem, 3vw, 1.8rem);
}
.chart-metrics > div { padding-block: .9rem; display: grid; align-content: center; gap: .2rem; }
.chart-metrics > div + div { border-top: 1px solid var(--line); }
.chart-metrics dt { font-size: .875rem; font-weight: 650; line-height: 1.3; }
.chart-metrics dd { font-size: clamp(1.5rem, 3.3vw, 2.4rem); font-weight: 670; letter-spacing: -.055em; line-height: 1.18; font-variant-numeric: tabular-nums; }
.chart-metrics span { color: var(--muted); font-size: .875rem; }

.portfolio-backtest { margin-top: clamp(1.6rem, 4vw, 2.9rem); }
.portfolio-backtest-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem 1.2rem;
  margin-bottom: .85rem;
}
.portfolio-backtest-heading h3 { font-size: 1.15rem; letter-spacing: -.025em; }
.portfolio-backtest-heading p { margin-top: .22rem; color: var(--muted); }
.portfolio-backtest-frame {
  display: block;
  width: 100%;
  height: clamp(34rem, 80vh, 49rem);
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: #121a20;
}

.replay-details { margin-top: 1.15rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.replay-details summary { padding: .95rem .16rem; font-weight: 620; cursor: pointer; }
.details-body { max-width: 52rem; padding: 0 .16rem 1.1rem; display: grid; gap: .92rem; }
.details-body p, .risk-note { color: var(--muted); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
caption { text-align: left; font-size: .875rem; margin-bottom: .45rem; color: var(--muted); }
th, td { border-bottom: 1px solid var(--line); padding: .44rem .65rem .44rem 0; font-variant-numeric: tabular-nums; }
th { font-size: .9rem; font-weight: 650; }
.text-link { text-decoration-thickness: 1px; text-underline-offset: .28rem; font-size: .9rem; }
.text-link:hover { text-decoration-thickness: 2px; }
.risk-note { margin-top: .85rem; font-size: .875rem; }

.method-section { background: rgb(222 224 226 / 50%); border-block: 1px solid #c8cbce; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #d2d2d2; }
.method-item { padding: 1.25rem clamp(.9rem, 3vw, 2.1rem) 1.55rem; }
.method-item:first-child { padding-left: 0; }
.method-item + .method-item { border-left: 1px solid #d2d2d2; }
.method-item h3 { font-size: 1.03rem; letter-spacing: -.025em; margin-bottom: .42rem; }
.method-item p { color: var(--muted); max-width: 23rem; }
.method-icon { position: relative; width: 2.6rem; height: 2.5rem; margin-bottom: .6rem; }
.method-icon i { position: absolute; display: block; }
.trigger-icon i { width: 2rem; height: 1px; left: .18rem; background: currentColor; transform: rotate(-27deg); }
.trigger-icon i:nth-child(1) { top: .55rem; }
.trigger-icon i:nth-child(2) { top: 1rem; }
.trigger-icon i:nth-child(3) { top: 1.45rem; }
.vision-icon i { width: 1.4rem; height: 1.4rem; border: 1px solid currentColor; transform: rotate(45deg); top: .38rem; }
.vision-icon i:nth-child(1) { left: .3rem; }
.vision-icon i:nth-child(2) { left: .72rem; }
.vision-icon i:nth-child(3) { left: 1.14rem; }
.risk-icon i { bottom: .52rem; width: .45rem; height: .58rem; background: currentColor; }
.risk-icon i:nth-child(1) { left: .15rem; }
.risk-icon i:nth-child(2) { left: .77rem; height: .94rem; }
.risk-icon i:nth-child(3) { left: 1.39rem; height: 1.45rem; }

.investor-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  gap: clamp(1.1rem, 3vw, 2.7rem);
  padding: clamp(1.4rem, 4.8vw, 4rem);
  border: 1px solid #cfcbc5;
  border-radius: .25rem .52rem .32rem .45rem;
  color: #242322;
  background: #f7f5ef;
  box-shadow: 0 .8rem 2rem rgb(36 31 23 / 9%);
  --handwriting: "Caveat", "Chalkboard SE", cursive;
  --ink-accent: #694c63;
}
.investor-panel::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('/assets/investor-paper.webp') center / cover no-repeat;
  opacity: .75;
  pointer-events: none;
}
.investor-intro { grid-column: 1 / -1; }
.investor-intro h2 { font-size: clamp(2.25rem, 5.8vw, 4.55rem); }
.investor-intro h2 > span:first-child {
  display: inline-block;
  margin-bottom: .12em;
  font: 700 1.18em/.95 var(--handwriting);
  transform: rotate(-2deg);
  text-decoration: underline;
  text-decoration-color: #91637b;
  text-decoration-thickness: .045em;
  text-underline-offset: .1em;
}
.investor-intro > p:not(.eyebrow) { margin-top: .9rem; max-width: 40ch; color: #514b4a; }
.investment-notes {
  position: relative;
  display: grid;
  align-content: center;
  gap: clamp(.95rem, 2.5vw, 1.55rem);
  margin: 0;
  padding: .1rem .8rem .5rem 0;
  list-style: none;
  background: radial-gradient(circle, #796b6a32 1px, transparent 1.35px) 0 0 / 16px 16px;
}
.investment-notes li { position: relative; max-width: 28rem; padding: .25rem .15rem .65rem 3.1rem; }
.investment-notes li:nth-child(2) { margin-left: clamp(1rem, 5vw, 3.8rem); transform: rotate(1.5deg); }
.investment-notes li:nth-child(3) { margin-left: .8rem; transform: rotate(-1.6deg); }
.investment-notes li + li::before {
  content: '↳';
  position: absolute;
  top: -.95rem;
  left: -.25rem;
  color: var(--ink-accent);
  font: 700 1.85rem/1 var(--handwriting);
}
.investment-note-number {
  position: absolute;
  left: .4rem;
  top: .4rem;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.75rem;
  border: 1.5px solid currentColor;
  border-radius: 54% 45% 48% 46%;
  color: var(--ink-accent);
  font: 700 1.4rem/1 var(--handwriting);
  transform: rotate(-11deg);
}
.investment-notes h3, .investor-brief-intro h3 { font: 700 clamp(1.65rem, 3.3vw, 2.6rem)/1 var(--handwriting); }
.investment-notes p, .investor-brief-intro p { margin-top: .28rem; max-width: 37ch; color: #484342; font-size: .88rem; }
.contact-form {
  position: relative;
  display: grid;
  align-self: center;
  gap: .75rem;
  padding: clamp(1rem, 2.8vw, 1.65rem);
  background: #fffdf6e8;
  border: 1px solid #ddd6c8;
  border-radius: .2rem .4rem .3rem .35rem;
  box-shadow: .35rem .65rem 1.1rem #3f342217;
}
.contact-form::before {
  content: '';
  position: absolute;
  left: 42%;
  top: -.55rem;
  width: 3.6rem;
  height: 1rem;
  transform: rotate(-7deg);
  background: #e4d4a994;
  pointer-events: none;
}
.investor-brief-intro h3 { color: var(--ink-accent); }
.fields-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .75rem; }
.contact-form label { display: block; font-size: .86rem; font-weight: 600; min-width: 0; }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #bcb4a5;
  margin-top: .33rem;
  border-radius: .25rem;
  color: #242322;
  background: #fffcf5;
  padding: .58rem .63rem;
  font-weight: 400;
  font-size: 1rem;
}
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #69605b; }
.contact-form button { justify-self: start; background: #29222a; color: #fff; }
.contact-form button:hover { background: #493647; }
.form-note, .optional { color: #605853; }
.form-note { font-size: .78rem; }
.form-feedback { border: 1px solid #9c8d85; padding: .6rem; border-radius: .25rem; }
@media (max-width: 400px) {
  .investor-panel .fields-row { grid-template-columns: 1fr; gap: .65rem; }
}
.site-footer { background: var(--site-surface); }
.footer { border-top: 1px solid var(--line); padding-block: .75rem; }
.footer p { font-size: .875rem; color: var(--muted); }

@media (max-width: 900px) {
  .dashboard { gap: .7rem; }
}
@media (max-width: 720px) {
  :root { --page: calc(100% - 2rem); --site-header-height: 3.75rem; }
  .navigation { display: none; }
  .header-inner { min-height: 3.75rem; }
  .section-heading, .dashboard, .investor-panel { grid-template-columns: 1fr; }
  .hero { min-height: max(25rem, calc(100svh - 4.85rem - clamp(1rem, 2.8vw, 2rem))); padding-bottom: 3.8rem; }
  .hero::before { background: linear-gradient(0deg, #080808 3%, rgb(8 8 8 / 88%) 31%, rgb(8 8 8 / 51%) 62%, rgb(8 8 8 / 7%) 100%); }
  .hero-media { background-position: 61% center; }
  .hero-media img { object-position: 61% center; }
  .hero h1, .hero h2 { font-size: clamp(1.8rem, 6.8vw, 2.65rem); }
  .section-heading { gap: .7rem; margin-bottom: 1.4rem; }
  .overview { grid-template-columns: repeat(2, 1fr); }
  .overview > div { padding-left: .85rem; min-height: 4.7rem; }
  .overview > div:nth-child(odd) { padding-left: 0; }
  .overview > div:nth-child(even) { border-right: 0; }
  .overview > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chart-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); gap: .2rem .65rem; }
  .chart-metrics > div {
    grid-template-rows: subgrid;
    grid-row: span 3;
    padding-block: .78rem;
    align-content: start;
  }
  .chart-metrics > div + div { border-top: 0; }
  .chart-metrics dd { font-size: clamp(1.1rem, 4.6vw, 2rem); }
  .chart-metrics span { font-size: .8rem; }
  .method-grid { grid-template-columns: 1fr; }
  .method-item, .method-item:first-child { padding: 1.15rem 0; }
  .method-item + .method-item { border-left: 0; border-top: 1px solid #d2d2d2; }
  .footer { flex-wrap: wrap; }
  .footer p { order: 2; flex-basis: 100%; }
}
@media (max-width: 400px) {
  .chart-heading { flex-direction: column; }
  .fields-row { grid-template-columns: 1fr; }
  .signal-preview-label { padding: .55rem .65rem; }
  .signal-toolbar { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.signal-terminal {
  background: radial-gradient(ellipse at top left, #142535 0%, #101822 38%, #0b1018 78%);
  border: 1px solid #273847;
  box-shadow: 0 16px 36px rgb(8 18 28 / 16%);
}
.signal-terminal .signal-toolbar { padding-bottom: .7rem; border-bottom: 1px solid #2b3c4c; }
.signal-workspace { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-block: .8rem; }
.signal-workspace:has(.signal-feed:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(13rem, 16rem); }
.signal-plot { min-width: 0; }
#market-example-chart { height: clamp(16rem, 34vw, 25rem); margin: 0; }
.signal-feed {
  align-self: start;
  background: rgb(8 14 22 / 72%);
  border: 1px solid #304658;
  border-radius: .45rem;
  padding: .8rem;
  min-width: 0;
}
.signal-feed-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .15rem .5rem; }
.signal-feed-heading h4 { margin: 0; color: #e5f8fc; font-size: .88rem; font-weight: 600; }
.signal-feed-heading span, .signal-event time { color: #b0c2d2; font: .66rem ui-monospace, monospace; }
.signal-events { display: grid; gap: .22rem; list-style: none; margin: .65rem 0; padding: 0; max-height: 16rem; overflow-y: auto; }
.signal-event {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .13rem .25rem;
  width: 100%;
  padding: .43rem .5rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: .25rem;
  color: #e6eef7;
  line-height: 1.3;
  text-align: left;
}
.signal-event:hover, .signal-event[aria-pressed="true"] { background: #122831; border-color: #356276; }
.signal-event strong { grid-column: 1 / -1; font-size: .75rem; font-weight: 550; }
.signal-event .event-type { color: #8de9f0; font-size: .67rem; }
.signal-event-detail { border-top: 1px solid #304658; margin: 0; padding-top: .55rem; color: #c4d4e2; font-size: .75rem; min-height: 2.75rem; }
.signal-plot .signal-readout { border-color: #2b3c4c; }
.signal-workspace:has(.signal-feed:not([hidden])) canvas { cursor: crosshair; }
@media (max-width: 760px) {
  .signal-workspace:has(.signal-feed:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
}

.signal-feed-status::before {
  content: '';
  display: inline-block;
  width: .42rem;
  height: .42rem;
  margin-right: .35rem;
  border-radius: 50%;
  background: #8295a6;
}
.signal-feed-status[data-running="true"]::before { background: #66edc5; box-shadow: 0 0 .45rem #66edc5; }
.signal-event .event-value { grid-column: 1 / -1; color: #c4d4e2; font: .66rem ui-monospace, monospace; }
.signal-replay-control {
  border: 1px solid #356276;
  border-radius: .25rem;
  padding: .28rem .48rem;
  background: #122831;
  color: #e5f8fc;
  font-size: .72rem;
}
.signal-replay-control:hover { background: #1c3b47; }

.phoenix-network {
  --network-signal: #77e9c5;
  overflow: hidden;
  border: 1px solid #283941;
  border-radius: .65rem;
  background: #0c151b;
  color: #e9f4f6;
}
.network-film {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 45rem;
  overflow: hidden;
  background: #151515;
}
.network-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.network-flow {
  display: grid;
  grid-template-columns: 1fr 1.75fr 1fr 1.05fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
.network-stage { display: grid; min-width: 0; border-top: 1px solid #314754; }
.network-stage + .network-stage { border-left: 1px solid #314754; }
.network-node, .network-stage-engines { padding: clamp(.8rem, 1.8vw, 1.25rem); }
.network-node h3, .network-stage-engines h3 { font-size: .88rem; line-height: 1.3; }
.network-node p, .network-engines span {
  display: block;
  margin-top: .28rem;
  color: #b8c8d0;
  font-size: .77rem;
  line-height: 1.45;
}
.network-data { display: grid; gap: .45rem; margin-top: .55rem; }
.network-data dt { color: #e9f4f6; font-size: .75rem; font-weight: 600; }
.network-data dd { color: #b8c8d0; font-size: .77rem; line-height: 1.45; }
.network-engines { display: grid; gap: .34rem; padding: 0; margin: .6rem 0 0; list-style: none; }
.network-engines li { padding: .1rem .5rem; border-left: 2px solid #76b5e9; }
.network-engines li:nth-child(2) { border-left-color: #b8a2f4; }
.network-engines li:nth-child(3) { border-left-color: var(--network-signal); }
.network-engines strong { font-size: .75rem; font-weight: 600; }
.network-engines span { margin-top: .06rem; }
.network-output { display: block; text-decoration: none; background: rgb(16 38 34 / 50%); }
.network-output h3 { color: #b2f6e0; }
.network-output:hover { background: #153832; }
.network-output:focus-visible { outline-offset: -4px; }
.network-preview { display: grid; gap: .65rem; margin-top: .85rem; }
.network-preview > div { border-top: 1px solid rgb(178 246 224 / 25%); padding-top: .55rem; }
.network-preview dt { color: #c6ded7; font-size: .72rem; }
.network-preview dd { color: #f5fbf8; font-size: clamp(.98rem, 1.6vw, 1.25rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.network-preview small { font-size: .65rem; font-weight: 450; }

.algorithm-demo {
  margin-top: clamp(1.75rem, 4vw, 3.25rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.2rem, 3vw, 2rem);
}
.algorithm-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(15rem, 1fr);
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}
.algorithm-heading h3 { font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: -.036em; line-height: 1.15; }
.algorithm-heading p { max-width: 47ch; margin-top: .45rem; color: var(--muted); }
.algorithm-metrics { display: grid; grid-template-columns: 1.2fr 1fr; gap: .7rem; }
.algorithm-metrics > div { display: flex; flex-direction: column-reverse; padding-left: .8rem; border-left: 1px solid var(--line); }
.algorithm-metrics dt, .algorithm-video figcaption { color: var(--muted); font-size: .8125rem; }
.algorithm-metrics dd { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 650; letter-spacing: -.05em; line-height: 1.1; }
.algorithm-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0d1014; border-radius: .55rem; pointer-events: none; }
.algorithm-video video::-webkit-media-controls-start-playback-button { display: none !important; }
.algorithm-video figcaption { margin: .55rem 0 1rem; }
.algorithm-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.algorithm-tools > div { padding: .65rem .75rem; background: rgb(240 240 240 / 50%); border-radius: .35rem; }
.algorithm-tools dt { font-size: .85rem; font-weight: 650; }
.algorithm-tools dd { margin-top: .2rem; color: var(--muted); font-size: .8125rem; }
@media (max-width: 720px) {
  .algorithm-heading { grid-template-columns: minmax(0, 1fr); }
  .algorithm-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.signal-replay { margin-top: 1rem; }
.signal-replay > summary { cursor: pointer; padding: .65rem 0; font-weight: 600; }
@media (max-width: 760px) {
  .network-flow { grid-template-columns: minmax(0, 1fr); }
  .network-stage + .network-stage { border-left: 0; }
}
