﻿@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/ibm-plex-mono.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --page: #10161e;
  --panel: #141c26;
  --panel-dark: #111923;
  --line: #2c3642;
  --line-soft: #26303b;
  --ivory: #f4ede1;
  --muted: #a4aab2;
  --copper: #e6a07b;
  --copper-light: #f2b894;
  --green: #a4cbb7;
  --sans: "Instrument Sans", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ivory); font-family: var(--sans); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select, input[type="range"] { cursor: pointer; }
button:disabled, fieldset:disabled select, fieldset:disabled input { cursor: default; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
.container { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip { position: fixed; z-index: 5; top: 1rem; left: 1rem; clip-path: inset(50%); padding: 12px; background: var(--ivory); color: var(--page); }
.skip:focus { clip-path: none; }

.site-header { border-bottom: 1px solid var(--line-soft); }
.header-inner { min-height: 71px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; font-weight: 650; font-size: 23px; letter-spacing: -.045em; }
.brand-mark { display: inline-flex; align-items: end; gap: 2px; width: 24px; height: 23px; }
.brand-mark i { display: block; flex: 1; background: var(--ivory); height: 100%; }
.brand-mark i:nth-child(2) { height: 48%; }
.brand-mark i:nth-child(3) { height: 74%; background: var(--copper); }
.site-header nav { display: inline-flex; justify-self: center; align-items: center; gap: 32px; color: var(--muted); font-size: 14px; font-weight: 500; }
.site-header nav a:hover, .site-footer a:hover, .terminal-bottom a:hover { color: var(--ivory); }
.header-token {
  justify-self: end;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 13px;
  min-height: 37px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ivory);
  font-size: 13px;
  font-weight: 600;
  transition: border-color .18s, background-color .18s;
}
.header-token:hover { border-color: #8f614e; background: #232731; }

.hero { overflow: hidden; }
.hero-inner { position: relative; display: flex; align-items: center; min-height: 492px; }
.hero-inner::before {
  content: "";
  position: absolute;
  inset: 0 -6%;
  pointer-events: none;
  background: radial-gradient(ellipse at 76% 61%, #66432d35, transparent 57%);
}
.hero-art {
  position: absolute;
  inset: 0 -4% 0 auto;
  width: 71%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 46%;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, black 24%, black 91%, transparent), linear-gradient(to bottom, transparent, black 12%, black 85%, transparent);
  mask-composite: intersect;
  translate: var(--art-x, 0px) var(--art-y, 0px);
}
.hero-content { position: relative; min-width: 0; max-width: 680px; padding: 60px 0 63px; }
.hero-label { color: var(--copper-light); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; display: flex; align-items: center; gap: 12px; margin-bottom: 23px; }
.hero-label::before { content: ""; display: inline-block; flex: 0 0 23px; height: 1px; background: var(--copper); }
.hero h1 { font-size: clamp(58px, 6vw, 92px); font-weight: 550; letter-spacing: -.066em; line-height: .98; }
.hero h1 > span, .hero h1 > em { display: block; }
.hero h1 em, .methodology h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.018em; }
.hero h1 > em { color: var(--copper-light); padding-bottom: .08em; font-size: 1.065em; }
.hero-description { max-width: 390px; line-height: 1.54; color: #b9b9ba; margin-top: 22px; font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 29px; }
.hero-actions .button-primary { box-shadow: 0 8px 26px #0004; }
.hero-actions .line-arrow { transition: translate .2s ease; }
.hero-actions a:hover .line-arrow { translate: 2px 1px; }


.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 650; padding: 0 16px; white-space: nowrap; transition: background .17s, border-color .17s, color .17s; }
.line-arrow {
  display: inline-block;
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  color: var(--copper-light);
  vertical-align: -.12em;
  transform: rotate(var(--arrow-angle, 0deg));
}
.line-arrow::before, .line-arrow::after { content: ""; position: absolute; top: 50%; }
.line-arrow::before {
  left: 1px;
  width: 9px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transform: translateY(-50%);
}
.line-arrow::after {
  right: 2px;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.line-arrow--external { --arrow-angle: -45deg; }
.line-arrow--down { --arrow-angle: 45deg; }
.button-primary { background: var(--copper); color: #1d1719; min-height: 48px; }
.button-primary .line-arrow { color: inherit; }
.button-primary:hover { background: #f4bb9a; }
.demo-link { color: var(--ivory); display: inline-flex; gap: 8px; align-items: center; font-size: 14px; }
.demo-link:hover { color: var(--copper-light); }
.button-outline { background: #25313e; color: var(--ivory); border-color: #374452; }
.button-outline:hover { background: #344351; }
.button-outline:disabled { opacity: .6; }

.analyzer { border-top: 1px solid var(--line); padding: 30px 0 75px; scroll-margin-top: 20px; }
.section-head { display: grid; grid-template-columns: 1fr minmax(310px, 418px); gap: 24px; align-items: center; margin-bottom: 23px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 550; letter-spacing: -.045em; line-height: 1.1; }
.section-description { color: var(--muted); font-size: 14px; margin-top: 7px; }
.lookup { position: relative; }
#wallet-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
#wallet-address { background: #171f29; color: var(--ivory); border: 1px solid var(--line); border-radius: 4px; padding: 0 12px; min-height: 44px; font-family: var(--mono); font-size: 12px; width: 100%; }
#wallet-address::placeholder { color: #9aa4af; }
#wallet-address[aria-invalid="true"] { border-color: var(--copper); }
.form-status { font-size: 12px; color: var(--muted); margin-top: 7px; }
.form-status.is-error { color: var(--copper-light); }
.noscript { color: var(--copper-light); margin-bottom: 18px; }

.terminal { border: 1px solid #34404e; border-radius: 7px; overflow: clip; background: var(--panel-dark); }
.terminal-top, .terminal-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 22px; }
.terminal-top { min-height: 50px; border-bottom: 1px solid var(--line); }
.terminal-context, .terminal-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.terminal-context, #snapshot-label { font-size: 11px; }
.data-mode { display: inline-flex; align-items: center; gap: 8px; color: var(--copper-light); }
.data-mode::before { content: ""; width: 6px; height: 6px; background: var(--copper); border-radius: 50%; }
.data-mode.is-live { color: var(--green); }
.data-mode.is-live::before { background: var(--green); }
#snapshot-label, .wallet-explorer { color: var(--muted); }
.wallet-explorer:hover { text-decoration: underline; }
.terminal-body { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--panel); }
.terminal-panel { min-width: 0; padding: 25px 25px 21px; }
.terminal-panel h3 { font-size: 20px; letter-spacing: -.025em; font-weight: 600; }
.terminal-panel + .terminal-panel { border-left: 1px solid var(--line); }
.portfolio-summary { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin: 19px 0 16px; }
.label { display: block; text-transform: uppercase; font-size: 10px; letter-spacing: .055em; color: var(--muted); }
.portfolio-total, #scenario-total { font-size: clamp(29px, 3.5vw, 44px); line-height: 1.1; font-weight: 550; letter-spacing: -.055em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.portfolio-total { margin-top: 5px; }
.position-count { display: flex; align-items: end; gap: 5px; padding-bottom: 3px; text-align: right; }
.position-count > span:first-child { font-size: 14px; line-height: 1; }
.allocation-strip { display: flex; align-items: stretch; gap: 3px; height: 6px; margin-bottom: 17px; border-radius: 1px; overflow: hidden; }
.allocation-strip span { display: block; min-width: 0; background: var(--position-color); }
.holdings-container { max-height: 281px; overflow: auto; scrollbar-color: #4c5967 transparent; scrollbar-width: thin; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
thead { position: sticky; top: 0; z-index: 1; background: var(--panel); }
th { color: var(--muted); text-transform: uppercase; letter-spacing: .045em; font: 10px var(--mono); font-weight: 400; padding: 5px 0 8px; }
th, td { text-align: right; }
th:first-child, td:first-child { text-align: left; }
td { border-top: 1px solid var(--line-soft); padding: 8px 0 8px 8px; font-size: 14px; }
td:first-child { padding-left: 0; width: 55%; }
td:last-child { width: 18%; color: #c6c9cc; font-family: var(--mono); font-size: 12px; }
.holding-button { display: flex; align-items: center; gap: 9px; color: inherit; border: 0; padding: 2px; background: transparent; text-align: left; max-width: 100%; }
.holding-button:disabled { opacity: .75; }
.holding-button:not(:disabled):hover .holding-symbol { color: var(--copper-light); }
.holding-tile { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; font: 12px var(--mono); color: #111820; background: var(--position-color); border-radius: 3px; }
.holding-label { display: block; min-width: 0; }
.holding-symbol { display: block; font-size: 13px; font-weight: 650; }
.holding-name { display: block; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: clamp(94px, 15vw, 214px); }
.holding-button[aria-pressed="true"] .holding-symbol { color: var(--copper-light); }
.data-note, .empty-state span { font-size: 12px; color: var(--muted); line-height: 1.48; }
#coverage-note { margin-top: 8px; }
.empty-state { display: grid; gap: 5px; border-top: 1px solid var(--line-soft); margin-top: 17px; padding-top: 14px; }
.empty-state p { font-size: 14px; }

.scenario { background: #161f29; }
.scenario-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.text-button { color: var(--muted); background: transparent; border: 0; padding: 3px 0; font-size: 12px; }
.text-button:hover { color: var(--ivory); }
.text-button:disabled { opacity: .55; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset:disabled { opacity: .5; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 15px; top: 15px; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 1px 1px 0; transform: rotate(45deg); pointer-events: none; }
select { appearance: none; display: block; width: 100%; color: var(--ivory); border: 1px solid #384451; border-radius: 4px; background: #111923; min-height: 39px; padding: 0 32px 0 11px; font-size: 13px; }
.range-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 15px; font-size: 13px; }
.shock-value { color: var(--copper-light); font-size: 14px; }
.range { margin-top: 5px; }
input[type="range"] { display: block; width: 100%; height: 22px; margin: 0; accent-color: var(--copper); appearance: none; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--copper) var(--range-fill, 35%), #46525e var(--range-fill, 35%)); border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--copper-light); border: 2px solid #2e2727; margin-top: -5px; }
input[type="range"]::-moz-range-track { height: 4px; background: #46525e; border-radius: 2px; }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--copper); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--copper-light); border: 2px solid #2e2727; }
.range-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.presets button { min-height: 29px; padding: 3px 10px; font: 11px var(--mono); border: 1px solid #364352; background: transparent; color: #b7bdc4; border-radius: 3px; }
.presets button:hover, .presets button[aria-pressed="true"] { color: var(--copper-light); border-color: #9f6c55; background: #382b2a; }
.scenario-result { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); margin-top: 13px; padding-top: 11px; }
#scenario-total { margin-top: 4px; font-size: clamp(27px, 3.2vw, 39px); }
.result-change { display: grid; justify-items: end; gap: 2px; color: var(--muted); text-align: right; }
.result-change.is-loss { color: var(--copper-light); }
.result-change.is-gain { color: var(--green); }
#scenario-change { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
#scenario-percent { font-size: 11px; }
.scenario-note { margin-top: 8px; min-height: 17px; }
.terminal-bottom { min-height: 41px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.terminal-bottom span span { margin: 0 4px; }
.terminal-bottom a .line-arrow { margin-left: 3px; }

.methodology { background: #ede5d8; color: #23252a; position: relative; padding: 64px 0 65px; scroll-margin-top: 0; color-scheme: light; }
.method-inner { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(36px, 7vw, 106px); align-items: start; }
.method-label { color: #825038; font-size: 11px; text-transform: uppercase; letter-spacing: .10em; margin-bottom: 15px; }
.methodology h2 { font-family: var(--serif); font-size: clamp(45px, 5vw, 70px); font-weight: 400; letter-spacing: -.034em; line-height: .92; }
.methodology h2 em { color: #85533b; font-size: 1.09em; }
.method-inner header > p:last-child { font-size: 15px; color: #55524f; margin-top: 17px; }
.method-list details { padding: 15px 0; border-top: 1px solid #cfc2b4; }
.method-list details:last-child { border-bottom: 1px solid #cfc2b4; }
.method-list summary { list-style: none; position: relative; cursor: pointer; font-size: 16px; font-weight: 650; padding-right: 27px; }
.method-list summary::-webkit-details-marker { display: none; }
.method-list summary::after { content: "+"; position: absolute; right: 3px; top: -3px; font-size: 22px; font-weight: 400; color: #825038; }
.method-list details[open] summary::after { content: "−"; }
.method-list details p { font-size: 14px; line-height: 1.55; color: #53504b; margin: 8px 20px 0 0; }
.method-list a { color: #75452e; text-decoration: underline; text-underline-offset: 3px; white-space: normal; }
.method-list .line-arrow { color: inherit; }
.method-list a:hover { color: #472a1e; }
.methodology :focus-visible { outline-color: #885739; }
.site-footer { color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; min-height: 86px; padding-block: 17px; }
.footer-brand { color: var(--ivory); font-size: 16px; gap: 8px; }
.footer-brand .brand-mark { width: 15px; height: 15px; }
.footer-inner > p { font-size: 12px; }

@media (max-width: 980px) {
  .container { width: calc(100% - 68px); }
  .terminal-panel { padding-inline: 19px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 42px); }
  .brand { font-size: 21px; gap: 8px; }
  .brand-mark { width: 19px; height: 18px; }
  .analyzer { padding-block: 24px 49px; }
  .section-head { grid-template-columns: 1fr; gap: 15px; margin-bottom: 15px; }
  .terminal-top, .terminal-bottom { padding-inline: 13px; }
  .terminal-panel { padding: 17px 14px; }
  .terminal-body { grid-template-columns: 1fr; }
  .terminal-panel + .terminal-panel { border-left: 0; border-top: 1px solid var(--line); }
  .portfolio-summary { margin-top: 14px; }
  .holding-name { max-width: 42vw; }
  .methodology { padding-block: 42px; }
  .method-inner { grid-template-columns: 1fr; gap: 25px; }
  .footer-inner { gap: 12px 16px; }
  .footer-inner > p { order: 3; flex: 1 0 100%; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .terminal-bottom { font-size: 11px; }
  .terminal-context, .terminal-meta { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.analyzer { position: relative; }
.terminal {
  background: linear-gradient(135deg, #202934 0, var(--panel-dark) 44%);
  box-shadow: 0 22px 54px #080d1390, inset 0 1px #f9e3c418;
}
.terminal-body { background: linear-gradient(155deg, #18212c, var(--panel) 54%); }
.holdings-container thead { background: #17202a; }
.scenario {
  background: radial-gradient(ellipse at 100% 90%, #4d352c34, transparent 72%), #161f29;
}
.holding-button { transition: translate .18s ease; }
.holding-button:not(:disabled):hover { translate: 2px; }

.sensitivity {
  display: grid;
  grid-template-columns: minmax(225px, .61fr) minmax(0, 1.39fr);
  align-items: center;
  column-gap: clamp(25px, 5vw, 70px);
  border-top: 1px solid var(--line);
  padding: 23px 25px 24px;
  background: radial-gradient(ellipse at 75% 118%, #472f2430, transparent 70%), #101923;
}
.sensitivity h3 { font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.sensitivity-copy > p:not(.sensitivity-readout) { color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.45; max-width: 260px; }
.sensitivity-readout { margin-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.sensitivity-readout strong { color: var(--copper-light); font-weight: 400; }
.sensitivity-arrow { margin-inline: 4px; }
.chart {
  --axis-space: 43px;
  min-width: 0;
  color: #a7b0ba;
  font-size: 10px;
}
.chart-axis-y, .chart-axis-x { display: block; margin-left: var(--axis-space); }
.chart-axis-x { text-align: center; margin-top: 5px; }
.chart-axis-y { margin-bottom: 7px; }
.chart-body { position: relative; padding-left: var(--axis-space); }
.chart-y { position: absolute; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; width: calc(var(--axis-space) - 8px); }
.chart-y span:first-child { translate: 0 -45%; }
.chart-y span:last-child { translate: 0 45%; }
.chart-field {
  --curve-start: 50%;
  --curve-end: 50%;
  --point-x: 50%;
  --point-y: 50%;
  position: relative;
  height: 102px;
  border: 1px solid #303a46;
  background: #0e1720;
}
.chart-field > span { position: absolute; display: block; }
.chart-grid {
  inset: 0;
  background:
    linear-gradient(transparent calc(50% - .5px), #64728170 50%, transparent calc(50% + .5px)),
    linear-gradient(90deg, transparent calc(50% - .5px), #64728170 50%, transparent calc(50% + .5px)),
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), #2f3a4680 calc(25% - 1px) 25%),
    repeating-linear-gradient(0deg, transparent 0 calc(25% - 1px), #2f3a4680 calc(25% - 1px) 25%);
}
.chart-area {
  inset: 0;
  background: linear-gradient(90deg, #e09a724d, #e09a721f 47%, #e09a7233);
  clip-path: polygon(var(--point-x) var(--point-y), 50% 50%, var(--point-x) 50%);
}
.chart-curve {
  inset: 0;
  background: #e4a17f;
  clip-path: polygon(0 calc(var(--curve-start) - 1px), 100% calc(var(--curve-end) - 1px), 100% calc(var(--curve-end) + 1px), 0 calc(var(--curve-start) + 1px));
}
.chart-guide { top: 0; bottom: 0; left: var(--point-x); border-left: 1px dashed #efb18c75; }
.chart-dot {
  left: var(--point-x);
  top: var(--point-y);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  translate: -50% -50%;
  background: var(--copper-light);
  border: 1px solid #382a2b;
  box-shadow: 0 0 0 3px #f4ba9833, 0 0 13px #e0a17f80;
}
.chart-x { margin: 7px 0 0 var(--axis-space); display: flex; justify-content: space-between; }

.playbook {
  position: relative;
  border-top: 1px solid var(--line);
  padding-block: 76px 62px;
  background: radial-gradient(ellipse at 75% 48%, #28323c, transparent 65%), #121922;
  scroll-margin-top: 0;
}
.playbook-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 38px; margin-bottom: 30px; }
.playbook-label, .risk-label { color: var(--copper-light); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.playbook-heading h2 {
  font-family: var(--serif);
  font-size: clamp(51px, 6vw, 84px);
  font-weight: 400;
  letter-spacing: -.034em;
  line-height: .93;
  margin-top: 12px;
}
.playbook-heading h2 em { font-family: var(--serif); font-size: 1.1em; font-weight: 400; color: var(--copper-light); letter-spacing: -.02em; }
.playbook-heading > p { max-width: 310px; color: #b4bac1; font-size: 16px; line-height: 1.55; padding-bottom: 4px; }
.playbook-workbench {
  display: grid;
  grid-template-columns: minmax(226px, .69fr) minmax(0, 1.31fr);
  border: 1px solid #3a4652;
  isolation: isolate;
  box-shadow: 0 26px 48px #090e15a0;
}
.playbook-tabs {
  min-width: 0;
  align-self: stretch;
  padding: 13px;
  border-right: 1px solid #3a4652;
  background: #121a24;
}
.playbook-tab {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 13px 16px 17px;
  min-height: 77px;
  text-align: left;
  color: var(--ivory);
  background: transparent;
  border: 1px solid transparent;
  border-bottom-color: #293540;
  transition: border-color .2s, background-color .2s;
}
.playbook-tab:last-child { border-bottom-color: transparent; }
.playbook-tab:hover { background-color: #222d37; }
.playbook-tab[aria-selected="true"] { background: #282c34; border-color: #47505b; border-left-color: var(--copper); }
.playbook-tab strong { display: block; font-size: 15px; font-weight: 650; }
.playbook-tab .tab-caption { display: block; margin-top: 4px; color: #aab3bd; font-size: 11px; }
.tab-arrow { color: var(--muted); }
.playbook-tab[aria-selected="true"] .tab-arrow { color: var(--copper-light); }
.playbook-panel {
  --case-accent: var(--copper-light);
  position: relative;
  min-width: 0;
  padding: 24px 31px;
  background: radial-gradient(ellipse at 100% 0%, #4b352c70, transparent 66%), linear-gradient(125deg,#202a36, #17212c);
}
.playbook-panel.is-gain {
  --case-accent: var(--green);
  background: radial-gradient(ellipse at 100% 0%, #35504570, transparent 66%), linear-gradient(125deg,#202a36, #17212c);
}
.playbook-panel:focus-visible { outline-offset: -4px; }
.playbook-panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.playbook-step { color: var(--case-accent); font-size: 11px; }
.playbook-panel h3 { font-size: clamp(22px, 3.1vw, 35px); font-weight: 550; letter-spacing: -.048em; margin-top: 4px; }
.playbook-percent { padding-bottom: 2px; color: var(--case-accent); font-size: clamp(16px, 2vw, 23px); }
.playbook-note { color: #bdc2cb; font-size: 13px; line-height: 1.48; margin-top: 9px; }
.playbook-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-block: 14px; margin-top: 15px; border-block: 1px solid #3d4852; }
.playbook-fields span, .playbook-drivers > p { display: block; color: #aeb7c1; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.playbook-fields strong { display: block; font-weight: 550; letter-spacing: -.05em; font-size: clamp(22px, 3vw, 34px); margin-top: 4px; font-variant-numeric: tabular-nums; }
.playbook-drivers { margin-top: 15px; }
.playbook-drivers ul { padding: 0; margin: 6px 0 12px; list-style: none; }
.playbook-drivers li { display: grid; grid-template-columns: 49px minmax(45px, 1fr) 83px; align-items: center; gap: 10px; min-height: 26px; }
.playbook-drivers li > span:first-child { font-size: 12px; }
.playbook-delta { text-align: right; color: var(--case-accent); font-size: 11px; white-space: nowrap; }
.playbook-delta.is-flat { color: #aab3bd; }
.driver-track { height: 4px; background: #455361; }
.driver-track i { display: block; height: 100%; width: var(--driver-width); background: var(--case-accent); transform-origin: left; }
.playbook-link, .risk-note a { width: fit-content; display: inline-flex; align-items: center; padding-block: 4px; gap: 7px; color: var(--ivory); font-size: 13px; text-underline-offset: 4px; }
.playbook-link:hover, .risk-note a:hover { text-decoration: underline; }
.risk-note { display: grid; grid-template-columns: .45fr 1.25fr auto; align-items: start; gap: 20px; border-top: 1px solid #3d4854; margin-top: 48px; padding-top: 16px; }
.risk-label { margin-top: 4px; }
.risk-note h3 { font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.risk-note div p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 5px; max-width: 595px; }
.methodology { background: radial-gradient(ellipse at 28% 26%, #f2ebdf, transparent 60%), #e9e0d1; }
.method-list summary:hover { color: #825038; }

@media (prefers-reduced-motion: no-preference) {
  .hero-label, .hero h1 > span, .hero h1 > em, .hero-description, .hero-actions { animation: enter-copy .68s cubic-bezier(.2,.75,.3,1) both; }
  .hero h1 > span { animation-delay: .09s; }
  .hero h1 > em { animation-delay: .17s; }
  .hero-description { animation-delay: .23s; }
  .hero-actions { animation-delay: .30s; }
  .hero-art { animation: enter-art 1.2s cubic-bezier(.18,.75,.24,1) both; transition: translate .55s cubic-bezier(.18,.7,.3,1); }
  .hero-inner::before { animation: enter-light 1.45s ease-out both; }
  .reveal-once { animation: enter-section .59s cubic-bezier(.2,.75,.3,1) both; }
  .chart-dot, .chart-guide { transition: left .13s ease-out, top .13s ease-out; }
  .chart-curve, .chart-area { transition: clip-path .28s ease; }
  .allocation-strip span { animation: grow-bar .56s cubic-bezier(.18,.64,.25,1) both; transform-origin: left; }
  .driver-track i { animation: grow-bar .48s cubic-bezier(.18,.64,.25,1) both; }
  .playbook-drivers li:nth-child(2) i { animation-delay: .06s; }
  .playbook-drivers li:nth-child(3) i { animation-delay: .12s; }
}

@keyframes enter-copy { from { transform: translateY(15px); opacity: .14; } to { transform: translateY(0); opacity: 1; } }
@keyframes enter-art { from { transform: translateX(22px) scale(1.025); opacity: .15; } to { transform: translateX(0) scale(1); opacity: 1; } }
@keyframes enter-light { from { opacity: 0; } to { opacity: 1; } }
@keyframes enter-section { from { transform: translateY(15px); opacity: .72; } to { transform: translateY(0); opacity: 1; } }
@keyframes grow-bar { from { transform: scaleX(0); } }

@media (max-width: 720px) {
  .sensitivity { grid-template-columns: 1fr; row-gap: 14px; padding: 20px 14px 19px; }
  .sensitivity-copy > p:not(.sensitivity-readout) { max-width: none; }
  .sensitivity-readout { margin-top: 8px; }
  .chart-field { height: 91px; }
  .presets button { min-height: 35px; }
  .playbook { padding-block: 51px 42px; }
  .playbook-heading { display: block; margin-bottom: 21px; }
  .playbook-heading > p { margin-top: 15px; }
  .playbook-workbench { grid-template-columns: 1fr; }
  .playbook-tabs { padding: 8px; border-right: 0; border-bottom: 1px solid #3a4652; }
  .playbook-tab { min-height: 60px; padding: 9px 12px; }
  .playbook-panel { padding: 18px 16px; }
  .risk-note { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art, .hero-actions .line-arrow, .holding-button { translate: none; }
}

.token-launch {
  background: #101722;
  border-bottom: 1px solid #303945;
}
.token-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  padding-block: 70px;
}
.token-copy { min-width: 0; }
.token-eyebrow { color: var(--copper-light); text-transform: uppercase; font-size: 11px; letter-spacing: .11em; }
.token-launch h2 {
  font-family: var(--serif);
  font-size: clamp(66px, 7.7vw, 110px);
  line-height: .79;
  font-weight: 400;
  letter-spacing: -.032em;
  margin-top: 17px;
}
.token-launch h2 em { display: block; color: var(--copper-light); padding-bottom: .09em; }
.token-description { color: #b7bec7; font-size: 15px; line-height: 1.6; margin-top: 20px; max-width: 350px; }
.token-status { display: flex; align-items: center; gap: 22px; border-top: 1px solid #39424d; padding-top: 13px; margin: 20px 0 0; max-width: 350px; }
.token-status dt { color: #aeb7c0; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.token-status dd { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory); margin: 0; font-size: 13px; }
.token-status dd span { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.token-visual { aspect-ratio: 1.55; display: grid; border: 1px solid #39434d; overflow: hidden; background: #131b24; }
.token-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 52%; }
.footer-links { display: flex; align-items: center; gap: 18px; font-size: 12px; }
.footer-links .line-arrow { margin-left: 2px; }

@media (max-width: 980px) {
  .hero-inner { min-height: 440px; }
  .hero h1 { font-size: clamp(50px, 7vw, 72px); }
  .hero-art { width: 76%; inset-inline-end: -7%; }
  .hero-description { max-width: 325px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 59px; grid-template-columns: auto 1fr auto; gap: 10px; }
  .site-header nav { gap: 12px; font-size: 13px; }
  .hero-inner { display: flex; flex-direction: column-reverse; align-items: stretch; min-height: 0; }
  .hero-content { padding: 49px 0 0; }
  .hero h1 { font-size: clamp(49px, 9.6vw, 66px); }
  .hero-description { font-size: 16px; margin-top: 16px; }
  .hero-label { margin-bottom: 16px; font-size: 10px; }
  .hero-actions { margin-top: 22px; }
  .hero-art {
    display: block;
    position: relative;
    inset: auto;
    width: calc(100% + 26px);
    height: clamp(214px, 58vw, 330px);
    margin: -12px -13px 0;
    object-position: 80% 55%;
    mask-image: linear-gradient(to right, transparent, black 12%, black 90%, transparent), linear-gradient(to bottom, transparent, black 12%, black 89%, transparent);
  }
  .token-inner { grid-template-columns: 1fr; padding-block: 44px; gap: 25px; }
  .token-description { margin-top: 15px; }
  .token-visual { aspect-ratio: 1.65; }
}
@media (max-width: 560px) {
  .site-header nav a[href="#methodology"] { display: none; }
  .header-token { padding-inline: 8px; gap: 5px; }
}
@media (max-width: 365px) {
  .site-header nav a[href="#scenarios"] { display: none; }
  .hero-actions { gap: 13px; }
}
