:root {
  --ink: #12141a;
  --paper: #f6f1e8;
  --paper-2: #fffaf0;
  --line: rgba(18, 20, 26, 0.16);
  --muted: #6b6254;
  --hot: #ff4f1f;
  --lime: #b8ff3d;
  --cyan: #00c6b7;
  --blue: #3157ff;
  --violet: #7d4dff;
  --red: #ff4b58;
  --charcoal: #191b20;
  --panel: #202329;
  --shadow: 0 28px 80px rgba(18, 20, 26, 0.22);
  --page-max: 1280px;
  --content-max: 860px;
  --wide-content-max: 1060px;
  --section-pad-x: max(24px, calc((100vw - var(--page-max)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.52;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 28px), var(--page-max));
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: #fff;
  background: rgba(18, 20, 26, 0.72);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 168px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.94rem;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

main {
  overflow: hidden;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(2.45rem, 4.6vw, 5.15rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 2.8vw, 3.1rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-immersive {
  position: relative;
  min-height: min(700px, 84vh);
  padding: 108px var(--section-pad-x) 46px;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--ink);
}

.hero-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(18, 20, 26, 0.98) 0%, rgba(18, 20, 26, 0.82) 38%, rgba(18, 20, 26, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 20, 26, 0.88) 0%, rgba(18, 20, 26, 0.02) 52%);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  filter: saturate(1.08) contrast(1.04);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 350px);
  max-width: var(--page-max);
  min-height: unset;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  margin: 0 auto;
  padding: 0;
}

.hero-copy {
  max-width: 780px;
}

.ticker-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ticker-kicker span,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker-kicker span {
  padding: 0 11px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--hot);
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
}

.button svg {
  width: 19px;
  height: 19px;
}

.button-hot {
  color: var(--ink);
  background: var(--lime);
}

.button-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.hero-terminal {
  width: 100%;
  max-width: 360px;
  justify-self: end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: #fff;
  background: rgba(12, 13, 16, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.terminal-top {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hot);
}

.terminal-top span:nth-child(2) {
  background: var(--lime);
}

.terminal-top span:nth-child(3) {
  background: var(--cyan);
}

.terminal-label {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-terminal dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 14px;
}

.hero-terminal dl div {
  min-height: 76px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-terminal dt {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-terminal dd {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 1.65rem);
  font-weight: 950;
  line-height: 1;
}

.terminal-change {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.live-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 var(--section-pad-x);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--charcoal);
}

.live-ribbon div {
  min-height: 112px;
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.live-ribbon div:last-child {
  border-right: 0;
}

.live-ribbon span,
.mini-ledger span,
.valuation-board span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-ribbon strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.24rem, 1.7vw, 1.65rem);
  font-weight: 950;
  line-height: 0.98;
}

.live-ribbon small {
  color: rgba(255, 255, 255, 0.58);
}

section {
  padding: clamp(52px, 6vw, 86px) var(--section-pad-x);
}

.section-heading {
  max-width: var(--content-max);
}

.section-heading.wide {
  max-width: var(--wide-content-max);
}

.section-heading p:not(.eyebrow),
.valuation-hero p {
  color: var(--muted);
  max-width: 72ch;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.65;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.35fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 26px;
}

.mini-ledger {
  padding: 18px;
  border: 1px solid rgba(18, 20, 26, 0.12);
  border-radius: 16px;
  color: #fff;
  background: var(--panel);
}

.mini-ledger strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(1.28rem, 1.9vw, 1.85rem);
  line-height: 1;
}

.mini-ledger strong:last-child {
  margin-bottom: 0;
  color: var(--lime);
}

.quote-section {
  background: var(--paper);
}

.chart-shell {
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(18, 20, 26, 0.12);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.chart-head h3 {
  margin-bottom: 4px;
  font-size: 1.45rem;
}

.chart-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.range-tabs {
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  min-width: 272px;
  overflow: hidden;
  border: 1px solid rgba(18, 20, 26, 0.14);
  border-radius: 12px;
  background: #fff;
}

.range-tabs button {
  min-height: 44px;
  border: 0;
  border-right: 1px solid rgba(18, 20, 26, 0.12);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.range-tabs button:last-child {
  border-right: 0;
}

.range-tabs button.active {
  color: var(--ink);
  background: var(--lime);
}

.canvas-wrap {
  position: relative;
  width: 100%;
  min-height: 330px;
}

canvas {
  display: block;
  width: 100%;
  height: 330px;
}

.chart-tooltip {
  position: absolute;
  min-width: 150px;
  padding: 9px 10px;
  color: #fff;
  background: rgba(18, 20, 26, 0.94);
  border-radius: 10px;
  pointer-events: none;
  box-shadow: var(--shadow);
}

.chart-tooltip strong,
.chart-tooltip span {
  display: block;
}

.chart-tooltip span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.chart-source {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.market-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.market-dashboard article {
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(18, 20, 26, 0.14);
  border-radius: 16px;
  background: #fff;
}

.market-dashboard span,
.model-controls span,
.model-output span,
.bear-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-dashboard strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.16rem, 1.45vw, 1.48rem);
  font-weight: 950;
  line-height: 1;
}

.market-dashboard small {
  color: var(--muted);
}

.machine-section {
  color: #fff;
  background: var(--ink);
}

.machine-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.image-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 16px;
}

.image-card {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #050607;
}

.image-card.tall {
  grid-row: span 2;
}

.image-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.image-card:not(.tall) img {
  object-fit: contain;
  padding: 24px;
  background: radial-gradient(circle at 30% 20%, rgba(184, 255, 61, 0.16), transparent 35%), #07090b;
}

.image-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
}

.image-card figcaption span {
  display: block;
  margin-bottom: 6px;
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-card figcaption strong {
  display: block;
  max-width: 620px;
  font-size: clamp(1.05rem, 1.55vw, 1.55rem);
  line-height: 1.12;
}

.opinion-section {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(18, 20, 26, 0.98), rgba(32, 35, 41, 0.92)),
    radial-gradient(circle at 78% 10%, rgba(184, 255, 61, 0.22), transparent 34%);
}

.opinion-hero {
  max-width: var(--wide-content-max);
  margin-bottom: 28px;
}

.opinion-hero p:not(.eyebrow) {
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  line-height: 1.65;
}

.opinion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.opinion-grid article {
  min-height: 250px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.opinion-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opinion-grid p {
  color: rgba(255, 255, 255, 0.66);
}

.evidence-section {
  background: var(--paper);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.evidence-grid article {
  min-height: 220px;
  padding: 20px;
  border: 1px solid rgba(18, 20, 26, 0.14);
  border-radius: 18px;
  background: #fff;
}

.evidence-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--hot);
  font-size: clamp(1.75rem, 2.45vw, 2.7rem);
  font-weight: 950;
  line-height: 0.96;
}

.evidence-grid span {
  display: block;
  margin-bottom: 20px;
  color: var(--ink);
  font-weight: 950;
}

.evidence-grid p {
  color: var(--muted);
}

.evidence-grid a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 950;
  text-decoration-color: var(--hot);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contract-section {
  color: #fff;
  background: var(--charcoal);
}

.contract-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.contract-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  overflow-x: visible;
  padding-bottom: 0;
}

.contract-timeline article {
  min-height: 238px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.contract-timeline time {
  display: block;
  margin-bottom: 24px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contract-timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.18;
}

.contract-timeline p {
  color: rgba(255, 255, 255, 0.66);
}

.contract-timeline a {
  color: #fff;
  font-weight: 950;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.thesis-section {
  background: var(--paper-2);
}

.thesis-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  overflow-x: visible;
  padding-bottom: 0;
}

.thesis-grid article,
.risk-grid article,
.timeline article {
  border: 1px solid rgba(18, 20, 26, 0.14);
  border-radius: 18px;
  background: #fff;
}

.thesis-grid article {
  min-height: 250px;
  padding: 20px;
}

.thesis-grid article span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--hot);
  font-size: 0.86rem;
  font-weight: 950;
}

.thesis-grid article p,
.risk-grid article p,
.timeline article p {
  color: var(--muted);
}

.stack-section {
  background: var(--paper);
}

.stack-map {
  display: grid;
  gap: 12px;
  max-width: var(--wide-content-max);
}

.stack-layer {
  display: grid;
  grid-template-columns: 58px 0.42fr 1fr;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 14px 18px;
  border: 1px solid rgba(18, 20, 26, 0.14);
  border-radius: 16px;
  background: #fff;
}

.stack-layer span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  font-weight: 950;
}

.stack-layer strong {
  font-size: clamp(1.04rem, 1.42vw, 1.38rem);
  line-height: 1.12;
}

.stack-layer small {
  color: var(--muted);
  font-size: 0.96rem;
}

.stack-layer.live {
  color: #fff;
  border-color: rgba(184, 255, 61, 0.28);
  background: var(--panel);
}

.stack-layer.live span {
  color: var(--ink);
  background: var(--lime);
}

.stack-layer.live small {
  color: rgba(255, 255, 255, 0.66);
}

.stack-layer.warm span {
  background: var(--hot);
}

.stack-layer.ghost {
  opacity: 0.58;
}

.valuation-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(24px, 4vw, 52px);
  align-items: end;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 20, 26, 0.92), rgba(18, 20, 26, 0.76)),
    url("https://2crsi.com/web/image/product.template/63853/image_1920?unique=a22eec2") center / cover;
}

.valuation-hero p {
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.72);
}

.valuation-board {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.valuation-board div {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.valuation-board div:last-child {
  border-bottom: 0;
}

.valuation-board strong {
  display: block;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  line-height: 1;
}

.model-section {
  background: var(--paper);
}

.model-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.model-controls,
.model-output {
  border: 1px solid rgba(18, 20, 26, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.model-controls {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.model-controls label {
  display: grid;
  gap: 10px;
}

.model-controls output {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
}

.model-controls input[type="range"] {
  width: 100%;
  accent-color: var(--hot);
}

.model-output {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.model-output div {
  min-height: 128px;
  padding: 18px;
  border-right: 1px solid rgba(18, 20, 26, 0.12);
  border-bottom: 1px solid rgba(18, 20, 26, 0.12);
}

.model-output div:nth-child(2n) {
  border-right: 0;
}

.model-output div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.model-output strong {
  display: block;
  font-size: clamp(1.42rem, 2.2vw, 2.1rem);
  font-weight: 950;
  line-height: 1;
}

.bear-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 20, 26, 0.96), rgba(80, 22, 26, 0.86)),
    url("https://2crsi.com/web/image/160110-35be1ed6/atlas19-perc.135.webp") center / cover;
}

.bear-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.bear-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.bear-grid article {
  min-height: 212px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(14px);
}

.bear-grid span {
  color: var(--lime);
}

.bear-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.bear-grid .bear-math {
  background: rgba(255, 75, 88, 0.18);
  border-color: rgba(255, 75, 88, 0.42);
}

.timeline-section {
  background: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  min-height: 184px;
  padding: 20px;
}

.timeline article span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.8rem;
  font-weight: 950;
}

.timeline article strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.personal-section {
  color: #fff;
  background: var(--panel);
}

.personal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.personal-copy p:not(.eyebrow) {
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.05vw, 1.1rem);
  line-height: 1.65;
}

.personal-rules {
  display: grid;
  gap: 12px;
}

.personal-rules article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.personal-rules span {
  display: block;
  margin-bottom: 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.personal-rules strong {
  font-size: clamp(1.05rem, 1.55vw, 1.38rem);
  line-height: 1.16;
}

.risk-section {
  background: var(--paper-2);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.risk-grid article {
  min-height: 196px;
  padding: 20px;
}

.risk-grid svg {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  color: var(--hot);
}

.watchlist-section {
  color: #fff;
  background: var(--ink);
}

.watchlist-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.watchlist-grid article {
  min-height: 174px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.watchlist-grid h3 {
  color: var(--lime);
}

.watchlist-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.sources-section {
  color: #fff;
  background: var(--charcoal);
}

.sources-section h2 {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

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

.source-wall article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.source-wall h3 {
  margin-bottom: 18px;
  color: var(--lime);
}

.source-wall a {
  display: block;
  padding: 11px 0;
  color: rgba(255, 255, 255, 0.84);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.94rem;
  text-decoration: none;
}

.source-wall a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px var(--section-pad-x);
  color: rgba(255, 255, 255, 0.66);
  background: #08090b;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

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

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

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 700ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1180px) {
  .hero-grid,
  .section-split,
  .valuation-section,
  .model-grid,
  .personal-grid {
    grid-template-columns: 1fr;
  }

  .hero-terminal {
    max-width: 620px;
    justify-self: start;
  }

  .live-ribbon,
  .timeline,
  .risk-grid,
  .opinion-grid,
  .evidence-grid,
  .contract-timeline,
  .thesis-grid,
  .watchlist-grid,
  .source-wall,
  .market-dashboard,
  .bear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero-immersive {
    min-height: auto;
    padding-top: 178px;
  }

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

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

  .live-ribbon,
  .image-grid,
  .timeline,
  .risk-grid,
  .opinion-grid,
  .evidence-grid,
  .contract-timeline,
  .thesis-grid,
  .watchlist-grid,
  .source-wall,
  .market-dashboard,
  .bear-grid,
  .model-output {
    grid-template-columns: 1fr;
  }

  .model-output div,
  .model-output div:nth-child(2n),
  .model-output div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(18, 20, 26, 0.12);
  }

  .model-output div:last-child {
    border-bottom: 0;
  }

  .image-card.tall {
    grid-row: auto;
  }

  .chart-head {
    flex-direction: column;
  }

  .range-tabs {
    width: 100%;
    min-width: 0;
  }

  .canvas-wrap,
  canvas {
    min-height: 310px;
    height: 310px;
  }

  .stack-layer {
    grid-template-columns: 54px 1fr;
    align-items: start;
  }

  .stack-layer small {
    grid-column: 2;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: clamp(2.55rem, 14vw, 4.25rem);
  }

  h2 {
    font-size: clamp(1.9rem, 11vw, 3rem);
  }

  section {
    padding-inline: 14px;
  }

  .hero-immersive,
  .live-ribbon,
  .site-footer {
    padding-inline: 14px;
  }

  .live-ribbon div {
    min-height: 116px;
  }
}
