:root {
  color-scheme: dark;
  --ink: #f2f6ee;
  --muted: #9eafa5;
  --dim: #718279;
  --bg: #06100d;
  --panel: #0b1a16;
  --panel-2: #10241e;
  --panel-3: #142d25;
  --line: rgba(202, 225, 211, .16);
  --line-strong: rgba(202, 225, 211, .28);
  --mint: #a8f0c6;
  --green: #4ddc8f;
  --amber: #e8c46b;
  --red: #ef9a85;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
::selection { color: #04110b; background: var(--mint); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: var(--mint); color: var(--bg); padding: .7rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 2rem), var(--max)); margin-top: 1rem; padding: .75rem .8rem .75rem 1rem; background: rgba(6, 16, 13, .78); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 12px 40px rgba(0,0,0,.22); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 750; letter-spacing: -.025em; }
.brand-mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; flex: none; border: 1px solid rgba(168, 240, 198, .45); border-radius: 50%; color: var(--mint); font-size: .6rem; letter-spacing: .08em; }
nav { display: flex; align-items: center; gap: 1.25rem; }
nav a { color: var(--muted); text-decoration: none; font-size: .83rem; }
nav a:hover, nav a:focus-visible { color: var(--ink); }
.nav-cta { padding: .55rem .85rem; border: 1px solid var(--line-strong); border-radius: 99px; color: var(--ink); }

.hero { position: relative; min-height: 850px; padding: 9.5rem max(1.5rem, calc((100vw - var(--max))/2)) 5rem; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); overflow: hidden; }
.hero-banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .7; filter: saturate(.92) contrast(1.03); }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, #06100d 0%, rgba(6,16,13,.96) 24%, rgba(6,16,13,.56) 60%, rgba(6,16,13,.22) 100%), linear-gradient(0deg, #06100d 0%, transparent 22%, rgba(4,11,9,.1) 80%, rgba(4,11,9,.75) 100%); }
.hero-copy, .proof-card { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 1.1rem; color: var(--mint); font-size: .72rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.live-dot { display: inline-block; width: .5rem; height: .5rem; margin-right: .45rem; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 .3rem rgba(77, 220, 143, .12); }
h1 { margin: 0; max-width: 800px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 7.5vw, 7rem); font-weight: 400; letter-spacing: -.065em; line-height: .9; text-wrap: balance; }
h1 em, .close-section h2 em { color: var(--mint); font-weight: 400; }
.lede { max-width: 680px; margin: 2rem 0 0; color: #bdc9c1; font-size: clamp(1.05rem, 2vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3rem; padding: .75rem 1.1rem; border-radius: 999px; text-decoration: none; font-size: .87rem; font-weight: 800; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #04110b; background: var(--mint); }
.button-primary:hover { background: #c5f8da; }
.button-secondary { border: 1px solid var(--line-strong); background: rgba(6,16,13,.32); }
.button-secondary:hover { border-color: rgba(168,240,198,.48); }
.hero-tags { display: flex; flex-wrap: wrap; gap: .65rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.hero-tags li { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: #aebbb3; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }

.proof-card { align-self: end; margin-bottom: 2.5rem; padding: 1.4rem; background: linear-gradient(145deg, rgba(16,36,30,.9), rgba(8,23,18,.93)); border: 1px solid rgba(168,240,198,.25); border-radius: 1.25rem; box-shadow: 0 34px 90px rgba(0,0,0,.38); backdrop-filter: blur(18px); }
.proof-card-head { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.status-pill { color: var(--mint); }
.status-pill.is-stale, .status-pill.is-error { color: var(--amber); }
.status-pill.is-stale .live-dot, .status-pill.is-error .live-dot { background: var(--amber); box-shadow: 0 0 0 .3rem rgba(232,196,107,.12); }
.status-pill.is-idle { color: var(--muted); }
.status-pill.is-idle .live-dot { background: var(--muted); box-shadow: none; }
.status-pill .live-dot { width: .42rem; height: .42rem; box-shadow: none; }
.live-equity-link { display: block; width: fit-content; margin-top: 1.15rem; text-decoration-color: rgba(168,240,198,.34); text-underline-offset: .2em; }
.live-equity-link strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 4vw, 4.1rem); font-weight: 400; letter-spacing: -.05em; }
.live-equity-link:hover, .live-equity-link:focus-visible { color: var(--mint); }
.positive { color: var(--green) !important; }
.negative { color: var(--red) !important; }
.proof-card > p { margin: -.2rem 0 0; font-size: .9rem; }
.proof-card dl { margin: 1.4rem 0; border-top: 1px solid var(--line); }
.proof-card dl div { padding: .72rem 0; border-bottom: 1px solid var(--line); }
.proof-card dt { color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .11em; }
.proof-card dd { margin: .15rem 0 0; overflow-wrap: anywhere; font-size: .83rem; }
.proof-card code { font-size: .72rem; }
.proof-card small { display: block; color: var(--muted); font-size: .68rem; line-height: 1.55; }
.proof-card small strong { color: var(--ink); font-family: monospace; font-weight: 500; }
.account-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.copy-mini { padding: .3rem .5rem; border: 1px solid var(--line); border-radius: .4rem; color: var(--muted); background: transparent; cursor: pointer; font-size: .63rem; }
.copy-mini:hover, .copy-mini:focus-visible { color: var(--ink); border-color: var(--mint); }

.evidence-band { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.evidence-band article { padding: 2rem 1.5rem; border-right: 1px solid var(--line); }
.evidence-band article:last-child { border-right: 0; }
.evidence-band span, .evidence-band small { display: block; color: var(--muted); font-size: .72rem; }
.evidence-band strong { display: block; margin: .35rem 0; font-family: Georgia, "Times New Roman", serif; font-size: 2.15rem; font-weight: 400; letter-spacing: -.035em; }

.section { max-width: var(--max); margin: 0 auto; padding: 8rem 1.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: 6rem; }
.section-heading { margin-bottom: 3.5rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(2.5rem, 7vw, 7rem); }
h2 { margin: 0; max-width: 790px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5.6vw, 5.3rem); font-weight: 400; letter-spacing: -.05em; line-height: .98; text-wrap: balance; }
.section-intro { align-self: end; max-width: 680px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-intro p { margin: 0 0 1rem; }
.section-intro p:last-child { margin-bottom: 0; }

.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { display: flex; flex-direction: column; min-height: 330px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: linear-gradient(155deg, rgba(16,36,30,.72), rgba(7,19,15,.6)); }
.feature-card-accent { border-color: rgba(77,220,143,.38); background: linear-gradient(155deg, rgba(18,52,39,.85), rgba(7,19,15,.65)); }
.card-index { color: var(--mint); font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.feature-card h3 { margin: 2.6rem 0 .7rem; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); font-size: .91rem; }
.feature-card a { margin-top: auto; padding-top: 1.4rem; color: var(--mint); font-size: .78rem; text-decoration: none; }
.feature-card a:hover { text-decoration: underline; }

.live-paper-section { position: relative; }
.live-paper-section::before { content: ""; position: absolute; top: 12rem; left: 4%; width: 320px; height: 320px; border-radius: 50%; background: rgba(77,220,143,.06); filter: blur(56px); pointer-events: none; }
.freshness-line { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(11,26,22,.6); }
.freshness-line strong { color: var(--mint); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.freshness-line strong.is-stale, .freshness-line strong.is-error { color: var(--amber); }
.freshness-line strong.is-idle { color: var(--muted); }
.freshness-line span { font-size: .75rem; }
.live-metric-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(77,220,143,.3); border-radius: 1rem; background: linear-gradient(145deg, rgba(18,52,39,.7), rgba(7,19,15,.52)); overflow: hidden; }
.live-metric-grid article { min-width: 0; padding: 1.4rem; border-right: 1px solid var(--line); }
.live-metric-grid article:last-child { border-right: 0; }
.live-metric-grid span, .live-metric-grid small { display: block; color: var(--muted); font-size: .67rem; }
.live-metric-grid span { letter-spacing: .08em; text-transform: uppercase; }
.live-metric-grid strong { display: block; margin: .55rem 0 .2rem; overflow-wrap: anywhere; font-family: Georgia, serif; font-size: clamp(1.55rem, 2.8vw, 2.35rem); font-weight: 400; letter-spacing: -.035em; }
.trades-card { position: relative; margin-top: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(11,26,22,.55); overflow: hidden; }
.trades-card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.trades-card-head .eyebrow { margin-bottom: .35rem; }
.trades-card-head h3 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; letter-spacing: -.03em; }
.trade-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; color: var(--muted); font-size: .7rem; }
.trade-meta a { color: var(--mint); text-decoration: none; }
.trade-meta a:hover { text-decoration: underline; }
.live-table-wrap { overflow-x: auto; }
.live-trades-table caption { border-bottom: 1px solid var(--line); }
.live-trades-table th, .live-trades-table td { text-align: left; }
.live-trades-table td:nth-child(4), .live-trades-table td:nth-child(5), .live-trades-table th:nth-child(4), .live-trades-table th:nth-child(5) { text-align: right; }
.live-trades-table td strong, .live-trades-table td small { display: block; }
.live-trades-table td strong { color: var(--ink); font-size: .8rem; }
.live-trades-table td small { margin-top: .15rem; color: var(--muted); font-size: .64rem; }
.live-trades-table code { color: var(--muted); font-size: .7rem; }
.trade-action { display: inline-block; padding: .28rem .52rem; border: 1px solid var(--line); border-radius: 999px; font-size: .63rem; font-weight: 750; letter-spacing: .05em; white-space: nowrap; text-transform: uppercase; }
.trade-action.sell { color: var(--mint); background: rgba(77,220,143,.07); }
.trade-action.buy { color: var(--amber); background: rgba(232,196,107,.07); }
.empty-orders { padding: 2rem !important; color: var(--muted); text-align: center !important; }
.refresh-flow { display: grid; grid-template-columns: repeat(5, 1fr); margin: 1rem 0 0; padding: 0; border: 1px solid var(--line); border-radius: .9rem; list-style: none; overflow: hidden; }
.refresh-flow li { min-height: 145px; padding: 1rem; border-right: 1px solid var(--line); background: rgba(7,19,15,.48); }
.refresh-flow li:last-child { border-right: 0; }
.refresh-flow span, .refresh-flow strong, .refresh-flow small { display: block; }
.refresh-flow span { color: var(--dim); font-family: monospace; font-size: .65rem; }
.refresh-flow strong { margin: 2rem 0 .35rem; color: var(--mint); font-family: Georgia, serif; font-size: 1.1rem; font-weight: 400; }
.refresh-flow small { color: var(--muted); font-size: .68rem; }
.paper-disclosure { margin: 1rem 0 0; padding: 1rem 1.1rem; border-left: 2px solid var(--amber); color: var(--muted); background: rgba(232,196,107,.04); font-size: .74rem; }
.paper-disclosure strong { color: var(--amber); }

.chart-frame { margin: 0; padding: .65rem; border: 1px solid var(--line); border-radius: 1.35rem; background: var(--panel); overflow: hidden; }
.chart-frame img { display: block; width: 100%; height: auto; border-radius: .9rem; }
.chart-frame figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem .7rem .25rem; color: var(--muted); font-size: .72rem; }
.chart-frame figcaption a { color: var(--mint); text-decoration: none; }
.metric-table-wrap { margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; overflow-x: auto; }
table { width: 100%; min-width: 820px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { padding: 1rem 1.2rem; color: var(--muted); text-align: left; font-size: .72rem; letter-spacing: .04em; }
th, td { padding: 1rem 1.15rem; border-top: 1px solid var(--line); text-align: right; font-size: .82rem; }
thead th { color: var(--dim); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
th:first-child, td:first-child { text-align: left; }
tbody th { font-weight: 650; }
.strategy-row { background: rgba(77,220,143,.055); }
.best { color: var(--green); font-weight: 750; }
.swatch { display: inline-block; width: .55rem; height: .55rem; margin-right: .6rem; border-radius: 50%; }
.swatch-green { background: var(--green); }
.swatch-white { background: #dce8df; }
.swatch-amber { background: var(--amber); }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.insight-grid article { padding: 1.35rem; border: 1px solid var(--line); border-radius: .9rem; background: rgba(11,26,22,.5); }
.insight-grid span { display: block; color: var(--muted); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.insight-grid strong { display: block; margin: .3rem 0; font-family: Georgia, serif; color: var(--mint); font-size: 2.4rem; font-weight: 400; }
.insight-grid p { margin: 0; color: var(--muted); font-size: .78rem; }

.resilience { position: relative; }
.resilience::before { content: ""; position: absolute; inset: 5rem 0 auto 62%; width: 260px; height: 260px; border-radius: 50%; background: rgba(232,196,107,.07); filter: blur(40px); pointer-events: none; }
.truth-note { padding: 1rem 0 0 1rem; border-left: 2px solid var(--amber); font-size: .86rem; }
.truth-note strong { color: var(--amber); }
.drawdown-list { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.drawdown-list article { padding: 1.4rem; border-right: 1px solid var(--line); background: rgba(11,26,22,.45); }
.drawdown-list article:last-child { border-right: 0; }
.drawdown-list span, .drawdown-list strong, .drawdown-list em { display: block; }
.drawdown-list span { margin-bottom: 2rem; color: var(--muted); font-size: .68rem; }
.drawdown-list strong { font-family: Georgia, serif; color: var(--amber); font-size: 1.35rem; font-weight: 400; }
.drawdown-list em { color: #c9d5ce; font-size: .78rem; font-style: normal; }

.regime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.regime-card { min-height: 390px; padding: 1.65rem; border: 1px solid var(--line); border-radius: 1.1rem; overflow: hidden; }
.regime-up { background: radial-gradient(circle at 90% 10%, rgba(77,220,143,.16), transparent 36%), var(--panel); }
.regime-down { background: radial-gradient(circle at 90% 10%, rgba(232,196,107,.14), transparent 36%), var(--panel); }
.regime-card > span { color: var(--muted); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.regime-card h3 { margin: .8rem 0 3.5rem; font-family: Georgia, serif; font-size: 2.5rem; font-weight: 400; letter-spacing: -.035em; }
.strike-visual { display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: .6rem; }
.strike-visual span { height: 1px; margin-inline: .5rem; background: linear-gradient(90deg, var(--line), var(--mint), var(--line)); }
.strike-visual b { font-family: Georgia, serif; font-size: 2.2rem; font-weight: 400; }
.strike-visual i { color: var(--muted); font-size: .7rem; font-style: normal; text-transform: uppercase; }
.regime-card p { max-width: 480px; margin: 4rem 0 0; color: var(--muted); }
.rule-strip { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 1rem; border: 1px solid var(--line); border-radius: .9rem; overflow: hidden; }
.rule-strip div { padding: 1.1rem; border-right: 1px solid var(--line); }
.rule-strip div:last-child { border-right: 0; }
.rule-strip span, .rule-strip strong { display: block; }
.rule-strip span { color: var(--muted); font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; }
.rule-strip strong { margin-top: .2rem; font-size: .83rem; }

.system-flow { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 1rem; list-style: none; overflow: hidden; }
.system-flow li { position: relative; min-height: 220px; padding: 1.2rem; border-right: 1px solid var(--line); background: rgba(11,26,22,.55); }
.system-flow li:last-child { border-right: 0; }
.system-flow li:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -.55rem; display: grid; place-items: center; width: 1.1rem; height: 1.1rem; color: var(--mint); background: var(--bg); font-size: .7rem; }
.system-flow li > span { color: var(--dim); font-family: monospace; font-size: .68rem; }
.system-flow li div { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.25rem; }
.system-flow strong, .system-flow small { display: block; }
.system-flow strong { margin-bottom: .35rem; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 400; line-height: 1.05; }
.system-flow small { color: var(--muted); font-size: .68rem; }
.system-flow .ai-node { background: linear-gradient(145deg, rgba(57,87,72,.45), rgba(118,88,35,.24)); }
.system-flow .ai-node > span, .system-flow .ai-node strong { color: var(--amber); }
.boundary-callout, .portability-note { display: grid; grid-template-columns: .4fr 1fr; gap: 2rem; margin-top: 1rem; padding: 1.15rem 1.3rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(11,26,22,.45); }
.boundary-callout strong, .portability-note strong { color: var(--mint); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.boundary-callout p, .portability-note p { margin: 0; color: var(--muted); font-size: .8rem; }

.portable-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.role-grid article { padding: 1.1rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(11,26,22,.55); }
.role-grid span, .role-grid strong, .role-grid small { display: block; }
.role-grid span { color: var(--green); font-size: .62rem; letter-spacing: .11em; text-transform: uppercase; }
.role-grid strong { margin: .8rem 0 .15rem; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; }
.role-grid small { color: var(--muted); font-size: .68rem; }
.config-window { border: 1px solid var(--line-strong); border-radius: 1rem; background: #07100d; overflow: hidden; box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.window-bar { display: flex; align-items: center; gap: .38rem; padding: .85rem 1rem; border-bottom: 1px solid var(--line); background: var(--panel); }
.window-bar span { width: .48rem; height: .48rem; border-radius: 50%; background: var(--line-strong); }
.window-bar b { margin-left: .45rem; color: var(--muted); font-family: monospace; font-size: .66rem; font-weight: 400; }
.config-window pre { margin: 0; padding: 1.5rem; overflow-x: auto; color: #c3d0c8; font-size: .78rem; line-height: 1.7; }
.config-window code span { color: var(--amber); }
.config-window code b { color: var(--mint); font-weight: 500; }

.run-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.code-card { min-width: 0; border: 1px solid var(--line); border-radius: .9rem; background: #07100d; overflow: hidden; }
.code-card > div { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.code-card button { padding: .3rem .55rem; border: 1px solid var(--line); border-radius: .4rem; color: var(--mint); background: transparent; cursor: pointer; font-size: .65rem; }
.code-card button:hover, .code-card button:focus-visible { border-color: var(--mint); }
.code-card pre { margin: 0; padding: 1.2rem; overflow-x: auto; color: #c5d1ca; font-size: .73rem; line-height: 1.7; }
.run-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.3rem; }

.close-section { padding-top: 9rem; padding-bottom: 9rem; }
.close-section h2 { max-width: 980px; font-size: clamp(3.2rem, 7vw, 6.8rem); }
.close-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 4rem; }
.close-grid > p { margin: 0; color: var(--muted); font-size: 1.15rem; }
.close-grid ul { margin: 0; padding: 0; list-style: none; }
.close-grid li { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.close-grid li span { color: var(--green); font-family: monospace; font-size: .7rem; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.5rem 4rem; color: var(--muted); font-size: .72rem; }
footer > div { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
footer p { margin: 0; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 900px; align-content: center; }
  .proof-card { width: min(100%, 520px); margin: 0; }
  .proof-grid, .insight-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 270px; }
  .drawdown-list { grid-template-columns: 1fr 1fr; }
  .drawdown-list article:nth-child(2) { border-right: 0; }
  .drawdown-list article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .system-flow { grid-template-columns: repeat(3, 1fr); }
  .system-flow li:nth-child(3) { border-right: 0; }
  .system-flow li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .system-flow li:nth-child(3)::after { display: none; }
  .live-metric-grid { grid-template-columns: 1fr 1fr; }
  .live-metric-grid article:nth-child(2) { border-right: 0; }
  .live-metric-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .refresh-flow { grid-template-columns: repeat(3, 1fr); }
  .refresh-flow li:nth-child(3) { border-right: 0; }
  .refresh-flow li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 7rem; }
  .hero-scrim { background: linear-gradient(90deg, rgba(6,16,13,.97), rgba(6,16,13,.54)), linear-gradient(0deg, #06100d 0%, transparent 35%, rgba(6,16,13,.7) 100%); }
  .evidence-band { grid-template-columns: 1fr 1fr; }
  .evidence-band article:nth-child(2) { border-right: 0; }
  .evidence-band article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .regime-grid, .portable-grid, .run-grid, .close-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 1.5rem; }
  .section-intro { align-self: start; }
  .rule-strip { grid-template-columns: 1fr 1fr; }
  .rule-strip div { border-bottom: 1px solid var(--line); }
  .rule-strip div:nth-child(2n) { border-right: 0; }
  .rule-strip div:last-child { border-bottom: 0; }
  .boundary-callout, .portability-note { grid-template-columns: 1fr; gap: .55rem; }
  .trades-card-head { display: block; }
  .trade-meta { align-items: flex-start; margin-top: .8rem; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand > span:last-child { display: none; }
  .site-header { padding-left: .6rem; }
  .hero { min-height: 850px; padding-inline: 1rem; }
  .hero-banner { object-position: 62% center; opacity: .52; }
  h1 { font-size: clamp(3.3rem, 16vw, 5rem); }
  .proof-card-head { display: block; }
  .status-pill { display: block; margin-top: .3rem; }
  .account-row { display: block; }
  .copy-mini { margin-top: .45rem; }
  .evidence-band { grid-template-columns: 1fr; }
  .evidence-band article { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 6rem 1rem; }
  .chart-frame { margin-inline: -.5rem; }
  .chart-frame figcaption { display: block; }
  .chart-frame figcaption a { display: block; margin-top: .4rem; }
  .drawdown-list { grid-template-columns: 1fr; }
  .drawdown-list article { border-right: 0; border-bottom: 1px solid var(--line); }
  .system-flow { grid-template-columns: 1fr 1fr; }
  .system-flow li:nth-child(2n) { border-right: 0; }
  .system-flow li:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .system-flow li:nth-child(3) { border-right: 1px solid var(--line); }
  .system-flow li:nth-child(3)::after { display: grid; }
  .system-flow li:nth-child(2n)::after { display: none; }
  .role-grid { grid-template-columns: 1fr; }
  .live-metric-grid, .refresh-flow { grid-template-columns: 1fr; }
  .live-metric-grid article, .live-metric-grid article:nth-child(2), .refresh-flow li, .refresh-flow li:nth-child(3) { border-right: 0; border-bottom: 1px solid var(--line); }
  .live-metric-grid article:last-child, .refresh-flow li:last-child { border-bottom: 0; }
  .refresh-flow li { min-height: auto; }
  .refresh-flow strong { margin-top: .9rem; }
  .config-window pre, .code-card pre { font-size: .66rem; }
}

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