@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/grox/inter-latin.woff2') format('woff2');
}

:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  --background: #fff;
  --panel: #f5f5f3;
  --text: #111;
  --muted: #666;
  --border: #d9d9d9;
  --inverse: #fff;
  --button-hover: #333;
  --panel-hover: #eeeeeb;
  --contact-background: #111;
  --contact-text: #fff;
  --contact-border: #666;
  --page-gutter: 80px;
  --section-space: 80px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #0e100f;
  --panel: #1b1e1c;
  --text: #f2f2ed;
  --muted: #a6aea8;
  --border: #303631;
  --inverse: #0e100f;
  --button-hover: #d2d4cc;
  --panel-hover: #242825;
  --contact-background: #080a09;
  --contact-text: #f2f2ed;
  --contact-border: #303631;
}

[data-theme="dark"] .site-header .brand img,
[data-theme="dark"] .navigation-monochrome,
[data-theme="dark"] .navigation-grox-icon,
[data-theme="dark"] .engineering-symbol,
[data-theme="dark"] .work-logo-grox img { filter: invert(1); }
[data-theme="dark"] .engineering-grid { filter: invert(1); }
[data-theme="dark"] .work-logo-okx > img { filter: none; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--background); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
section[id] { scroll-margin-top: 24px; }
.shell { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--page-gutter); }
.section { padding-block: var(--section-space); }
.section-stack { display: flex; flex-direction: column; gap: 48px; }
.ruled { border-bottom: 1px solid var(--border); }
.eyebrow { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 16px; text-transform: uppercase; }
.eyebrow-divider { margin-inline: 8px; }
.body-copy { color: var(--muted); font-size: 20px; line-height: 30px; }
h1 { font-size: 80px; font-weight: 700; line-height: 88px; }
h2 { font-size: 48px; font-weight: 700; line-height: 56px; }
h3 { font-size: 28px; font-weight: 600; line-height: 36px; }
.text-link { font-size: 16px; line-height: 24px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link span, .button span { display: inline-block; margin-left: 5px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; transform: translateY(-180%); background: var(--text); color: var(--inverse); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--border); }
.navigation { display: grid; grid-template-columns: 200px auto 1fr; align-items: center; gap: 48px; padding-block: 32px; }
.brand { display: block; width: 200px; }
.brand img { width: 100%; height: auto; }
.navigation-links { display: flex; gap: 32px; align-items: center; font-size: 16px; line-height: 24px; }
.navigation-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); white-space: nowrap; }
.navigation-icon { flex: 0 0 auto; width: 20px; height: 20px; object-fit: contain; }
.navigation-grox-icon { width: 24px; height: 19px; }
.navigation-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 5px; }
.navigation-action { justify-self: end; white-space: nowrap; }
.navigation-action .action-label { margin-left: 0; }
.navigation-action .action-label-short { display: none; margin-left: 0; }
.navigation-contact { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.navigation-mobile-contact { display: none; }
.navigation-tools { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
.language-toggle { display: inline-flex; width: 44px; min-height: 44px; padding: 0; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--border); background: var(--background); color: var(--text); font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.language-toggle:hover { border-color: var(--text); background: var(--panel); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 8px; min-width: 88px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 0; color: var(--text); background: var(--background); font: inherit; font-size: 12px; cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { border-color: var(--text); background: var(--panel); }
.theme-toggle svg { flex-shrink: 0; }
.theme-icon-night, [data-theme="dark"] .theme-icon-day { display: none; }
[data-theme="dark"] .theme-icon-night { display: block; }

.hero-layout { display: grid; grid-template-columns: minmax(0, 768fr) minmax(0, 448fr); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; }
.hero-actions { display: flex; gap: 32px; align-items: center; }
.button { display: inline-flex; flex: 0 0 304px; align-items: center; justify-content: space-between; min-height: 56px; padding: 16px 24px; background: var(--text); color: var(--inverse); font-size: 16px; line-height: 24px; transition: background-color .18s ease; }
.button:hover { background: var(--button-hover); }
.button:focus-visible { outline-color: var(--text); }
.engineering-panel { position: relative; width: 100%; aspect-ratio: 1; background: var(--panel); }
.engineering-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.engineering-symbol { position: absolute; top: 22.3214%; left: 16.0714%; width: 67.8571%; height: auto; }
.engineering-label { position: absolute; top: 24px; left: 24px; right: 24px; }
.engineering-caption { position: absolute; bottom: 32px; left: 24px; right: 24px; }

.return-chart { position: relative; display: flex; width: 100%; min-width: 0; aspect-ratio: 1; margin: 0; padding: 24px; flex-direction: column; background: var(--panel); }
.return-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.return-chart-period { color: var(--muted); font-size: 12px; line-height: 16px; text-transform: uppercase; }
.return-chart-plot { display: block; width: 100%; height: auto; margin-top: auto; overflow: visible; }
.chart-grid line { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-axis-labels { fill: var(--muted); font-family: Inter, sans-serif; font-size: 10px; font-variant-numeric: tabular-nums; }
.scenario-line { stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.scenario-positive { stroke: #5f8f00; }
.scenario-neutral { stroke: var(--text); }
.scenario-negative { stroke: #c4513f; }
.endpoint-positive { fill: #5f8f00; }
.endpoint-neutral { fill: var(--text); }
.endpoint-negative { fill: #c4513f; }
.chart-active-line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.chart-active-dot { stroke: var(--panel); stroke-width: 3; vector-effect: non-scaling-stroke; }
.chart-interaction-layer { fill: transparent; cursor: crosshair; outline: none; }
.chart-interaction-layer:focus-visible { stroke: var(--text); stroke-width: 2; vector-effect: non-scaling-stroke; }
.return-chart-tooltip { position: absolute; z-index: 2; width: 156px; padding: 14px; border: 1px solid var(--border); background: var(--background); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); pointer-events: none; }
.return-chart-tooltip[hidden] { display: none; }
.return-chart-tooltip-month { padding-bottom: 10px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; line-height: 16px; text-transform: uppercase; }
.return-chart-tooltip dl { display: grid; gap: 7px; margin: 10px 0 0; }
.return-chart-tooltip dl div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.return-chart-tooltip dt { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; line-height: 14px; text-transform: uppercase; }
.return-chart-tooltip dt i { width: 7px; height: 2px; }
.return-chart-tooltip dd { margin: 0; color: var(--text); font-size: 12px; font-weight: 600; line-height: 16px; font-variant-numeric: tabular-nums; }
.return-chart-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; line-height: 16px; text-transform: uppercase; }
.return-chart-legend span { display: grid; grid-template-columns: 8px 1fr; align-items: center; column-gap: 6px; }
.return-chart-legend i { width: 8px; height: 2px; }
.return-chart-legend strong { grid-column: 2; color: var(--text); font-size: 15px; font-weight: 600; line-height: 20px; }
.legend-positive { background: #5f8f00; }
.legend-neutral { background: var(--text); }
.legend-negative { background: #c4513f; }
.return-chart-note { margin-top: 12px; color: var(--muted); font-size: 10px; line-height: 14px; }

.strategy-layout { display: grid; grid-template-columns: minmax(0, 752fr) minmax(0, 464fr); gap: 64px; align-items: center; }
.strategy-copy { display: flex; flex-direction: column; gap: 24px; }
.strategy-copy .text-link { align-self: flex-start; }
.metric { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--panel); }
.metric-value { font-size: 64px; font-weight: 500; line-height: 72px; font-variant-numeric: tabular-nums; }
.metric-detail { font-size: 16px; line-height: 24px; }

.performance-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 64px; align-items: end; }
.performance-title-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; }
.performance-source-note { padding-bottom: 7px; color: var(--muted); font-size: 11px; line-height: 16px; text-transform: uppercase; }
.performance-section { padding-block: 32px 0; }
.performance-section .section-stack { gap: 20px; }
.performance-intro { display: flex; flex-direction: column; gap: 24px; }
.performance-actions { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.performance-chart { margin: 0; border: 1px solid var(--border); background: var(--panel); }
.performance-chart-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.performance-chart-header h3 { margin-top: 12px; }
.performance-chart-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; color: var(--muted); font-size: 11px; line-height: 16px; text-transform: uppercase; }
.performance-chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.performance-chart-legend i { display: block; width: 20px; height: 3px; }
.performance-legend-bar { background: #bfc2bc; }
.performance-legend-line { background: #5f8f00; }
.performance-plot-wrap { position: relative; padding: 16px 24px 0; }
.performance-plot { display: block; width: 100%; height: auto; }
.performance-grid line { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.performance-axis-labels { fill: var(--muted); font-family: Inter, sans-serif; font-size: 12px; font-variant-numeric: tabular-nums; }
.performance-future-label { opacity: .52; }
.performance-bar { fill: #c9ccc6; }
[data-theme="dark"] .performance-bar { fill: #363b37; }
.performance-line { stroke: #5f8f00; stroke-width: 3; stroke-linecap: square; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.performance-point { fill: #5f8f00; stroke: var(--panel); stroke-width: 3; vector-effect: non-scaling-stroke; }
.performance-active-line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.performance-active-dot { fill: #5f8f00; stroke: var(--panel); stroke-width: 4; vector-effect: non-scaling-stroke; }
.performance-active-dot[hidden] { display: none; }
.performance-hit-area { fill: transparent; cursor: crosshair; outline: none; }
.performance-hit-area:focus-visible { stroke: var(--text); stroke-width: 2; vector-effect: non-scaling-stroke; }
.performance-tooltip { position: absolute; z-index: 2; width: 184px; padding: 16px; border: 1px solid var(--border); background: var(--background); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); pointer-events: none; }
.performance-tooltip[hidden] { display: none; }
.performance-tooltip-month { padding-bottom: 12px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; line-height: 16px; text-transform: uppercase; }
.performance-tooltip dl { display: grid; gap: 8px; margin: 12px 0 0; }
.performance-tooltip dl div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.performance-tooltip dt { color: var(--muted); font-size: 10px; line-height: 14px; text-transform: uppercase; }
.performance-tooltip dd { margin: 0; font-size: 13px; font-weight: 600; line-height: 16px; font-variant-numeric: tabular-nums; }
.performance-note { padding: 0 24px 16px; color: var(--muted); font-size: 11px; line-height: 16px; }
.performance-stats { display: grid; width: 100vw; margin-left: calc(50% - 50vw); grid-template-columns: repeat(4, minmax(0, 1fr)); background: #111; color: #fff; }
.performance-stat { display: flex; min-height: 190px; padding: 24px 32px; flex-direction: column; border-right: 1px solid #3a3a3a; }
.performance-stat:last-child { border-right: 0; }
.performance-stat .eyebrow { color: #999; }
.performance-stat-value { margin-top: 18px; font-size: 48px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.performance-stat-note { margin-top: auto; color: #999; font-size: 14px; line-height: 20px; }
.performance-track-links { display: flex; margin-top: 22px; flex-direction: column; gap: 8px; }
.performance-track-links a { font-size: 19px; font-weight: 500; line-height: 26px; }
.performance-track-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

.approach { background: var(--panel); }
.approach-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 64px; align-items: end; }
.approach-heading h2 { margin-top: 24px; }
.approach-heading > .body-copy { font-size: 18px; line-height: 28px; }
.approach-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.approach-step { display: flex; min-width: 0; min-height: 282px; padding: 24px; flex-direction: column; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.approach-step-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; line-height: 16px; font-variant-numeric: tabular-nums; }
.approach-arrow { color: var(--text); font-size: 20px; line-height: 20px; }
.approach-step > .eyebrow { margin-top: 36px; }
.approach-step h3 { margin-top: 10px; font-size: 23px; line-height: 30px; }
.approach-step > p:last-child { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 15px; line-height: 23px; }
.approach-conclusion { max-width: 1040px; padding-top: 32px; border-top: 1px solid var(--text); font-size: 28px; font-weight: 600; line-height: 38px; }

.capital-calculator { border-bottom: 1px solid var(--border); }
.calculator-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 64px; align-items: end; }
.calculator-heading h2 { margin-top: 24px; }
.calculator-heading > .body-copy { font-size: 18px; line-height: 28px; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); gap: 32px; align-items: stretch; }
.capital-chart { display: flex; min-width: 0; margin: 0; flex-direction: column; border: 1px solid var(--border); background: var(--background); }
.capital-chart-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px; border-bottom: 1px solid var(--border); }
.capital-chart-header h3 { margin-top: 10px; }
.capital-chart-summary { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.capital-chart-summary span { color: var(--muted); font-size: 10px; line-height: 14px; text-transform: uppercase; }
.capital-chart-summary strong { font-size: 24px; font-weight: 600; line-height: 30px; font-variant-numeric: tabular-nums; }
.capital-chart-wrap { position: relative; padding: 18px 20px 4px; }
.capital-chart-plot { display: block; width: 100%; height: auto; }
.capital-chart-grid line { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.capital-chart-y-labels, .capital-chart-x-labels { fill: var(--muted); font-family: Inter, sans-serif; font-size: 11px; font-variant-numeric: tabular-nums; }
.capital-chart-area { fill: color-mix(in srgb, #5f8f00 10%, transparent); }
.capital-chart-line { fill: none; stroke: #5f8f00; stroke-width: 3; stroke-linecap: square; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.capital-chart-point { fill: #5f8f00; stroke: var(--background); stroke-width: 3; vector-effect: non-scaling-stroke; }
.capital-chart-active-line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.capital-chart-active-dot { fill: #5f8f00; stroke: var(--background); stroke-width: 4; vector-effect: non-scaling-stroke; }
.capital-chart-hit-area { fill: transparent; cursor: crosshair; outline: none; }
.capital-chart-hit-area:focus-visible { stroke: var(--text); stroke-width: 2; vector-effect: non-scaling-stroke; }
.capital-chart-tooltip { position: absolute; z-index: 2; width: 176px; padding: 14px; border: 1px solid var(--border); background: var(--background); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); pointer-events: none; }
.capital-chart-tooltip[hidden] { display: none; }
.capital-chart-tooltip p { padding-bottom: 9px; border-bottom: 1px solid var(--border); font-size: 10px; font-weight: 600; line-height: 14px; text-transform: uppercase; }
.capital-chart-tooltip strong { display: block; margin-top: 10px; font-size: 18px; line-height: 24px; font-variant-numeric: tabular-nums; }
.capital-chart-tooltip span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 16px; }
.capital-chart-note { margin-top: auto; padding: 0 24px 20px; color: var(--muted); font-size: 10px; line-height: 15px; }
.calculator-controls { display: flex; min-width: 0; padding: 28px; flex-direction: column; gap: 28px; background: var(--panel); border: 1px solid var(--border); }
.scenario-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.scenario-fieldset legend, .capital-field > label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 11px; line-height: 16px; text-transform: uppercase; }
.scenario-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); }
.scenario-switch button { display: flex; min-width: 0; min-height: 64px; padding: 10px 12px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 3px; border: 0; border-right: 1px solid var(--border); background: var(--background); color: var(--text); cursor: pointer; }
.scenario-switch button:last-child { border-right: 0; }
.scenario-switch button[aria-pressed="true"] { background: var(--text); color: var(--inverse); }
.scenario-switch span { font-size: 10px; line-height: 14px; text-transform: uppercase; }
.scenario-switch strong { font-size: 18px; font-weight: 600; line-height: 22px; }
.capital-value-input { display: flex; align-items: baseline; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--text); font-size: 48px; font-weight: 600; line-height: 1; }
.capital-value-input > span { color: var(--muted); }
.capital-value-input input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; }
.capital-value-input input::-webkit-outer-spin-button, .capital-value-input input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.calculator-range { width: 100%; margin: 22px 0 8px; accent-color: var(--text); cursor: pointer; }
.calculator-range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; line-height: 14px; text-transform: uppercase; }
.calculator-presets { display: flex; gap: 8px; margin-top: 16px; }
.calculator-presets button { min-height: 38px; padding: 8px 12px; border: 1px solid var(--border); background: var(--background); color: var(--text); cursor: pointer; }
.calculator-presets button[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--inverse); }
.calculator-results { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); }
.calculator-results article { display: flex; min-width: 0; min-height: 150px; padding: 18px; flex-direction: column; border-right: 1px solid var(--border); background: var(--background); }
.calculator-results article:last-child { border-right: 0; }
.calculator-results span { color: var(--muted); font-size: 10px; line-height: 14px; text-transform: uppercase; }
.calculator-results strong { margin-top: 16px; font-size: 28px; font-weight: 600; line-height: 34px; font-variant-numeric: tabular-nums; }
.calculator-results small { margin-top: auto; color: var(--muted); font-size: 10px; line-height: 14px; }
.calculator-help { margin-top: auto; color: var(--muted); font-size: 10px; line-height: 15px; }

.proof-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.proof-heading h2 { margin-top: 24px; text-wrap: balance; }
.proof-heading > .body-copy { font-size: 18px; line-height: 28px; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-card { display: flex; flex-direction: column; gap: 48px; min-height: 464px; padding: 32px; border: 1px solid var(--border); background: var(--panel); transition: border-color .18s ease, background-color .18s ease; }
.work-card:hover { border-color: var(--text); background: var(--panel-hover); }
.work-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.work-logo { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; }
.work-logo > img { width: 100%; height: 100%; object-fit: contain; }
.work-logo-okx { background: var(--text); }
.work-logo-okx > img { width: 32px; height: 32px; filter: invert(1); }
.work-logo-grox { border: 1px solid var(--border); background: var(--background); }
.work-logo-grox > img { width: 42px; height: 32px; }
.work-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--border); color: var(--muted); font-size: 10px; font-weight: 500; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.status-dot { width: 5px; height: 5px; background: var(--text); border-radius: 50%; }
.work-card-copy { display: flex; flex-direction: column; gap: 16px; }
.work-card h3 { font-size: 26px; line-height: 34px; }
.work-description { color: var(--muted); font-size: 16px; line-height: 26px; }
.work-card-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); font-size: 16px; line-height: 24px; }
.work-card-link > span { font-size: 20px; }
.work-card:hover .work-card-link { text-decoration: underline; text-underline-offset: 5px; }

.term-sheet { padding-block: 32px; background: var(--background); }
.term-sheet .section-stack { gap: 32px; }
.term-sheet-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.term-sheet-heading h2 { margin-top: 16px; }
.term-sheet-heading > .body-copy { font-size: 18px; line-height: 28px; }
.term-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.term-card { display: flex; min-width: 0; min-height: 280px; padding: 20px; flex-direction: column; gap: 16px; grid-column: span 3; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--panel); }
.term-card-target { min-height: 390px; grid-column: span 6; background: var(--background); }
.term-card-profile { grid-column: span 3; }
.term-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.term-card-heading h3 { font-size: 21px; line-height: 28px; }
.term-card-target .term-card-heading h3 { margin-top: 8px; font-size: 30px; line-height: 38px; }
.term-index { color: var(--muted); font-size: 11px; line-height: 16px; font-variant-numeric: tabular-nums; }
.term-note { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 18px; }
.term-chart { display: block; width: 100%; height: auto; max-height: 135px; margin-top: auto; overflow: visible; }
.term-chart-grid line { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.term-chart-labels { fill: var(--muted); font-family: Inter, sans-serif; font-size: 10px; font-variant-numeric: tabular-nums; }
.term-chart-line { fill: none; stroke-width: 3; stroke-linecap: square; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.term-chart-positive { stroke: #5f8f00; }
.term-chart-neutral { stroke: var(--text); }
.term-chart-negative { stroke: #c4513f; }
.term-scenario-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; line-height: 14px; text-transform: uppercase; }
.term-scenario-legend span { display: grid; grid-template-columns: 10px 1fr; align-items: center; column-gap: 8px; }
.term-scenario-legend i { width: 10px; height: 3px; }
.term-scenario-legend strong { grid-column: 2; color: var(--text); font-size: 18px; font-weight: 600; line-height: 24px; }
.term-target-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.term-target-stats > div { display: flex; min-height: 80px; padding: 14px 20px 0 0; flex-direction: column; gap: 5px; border-right: 1px solid var(--border); }
.term-target-stats > div:last-child { padding-left: 24px; border-right: 0; }
.term-target-stats span { color: var(--muted); font-size: 12px; line-height: 16px; text-transform: uppercase; }
.term-target-stats strong { font-size: 32px; font-weight: 500; line-height: 38px; font-variant-numeric: tabular-nums; }
.term-stat-label { display: flex; align-items: center; gap: 8px; }
.term-info-button, .term-info-link, .term-popover-close { font: inherit; cursor: pointer; }
.term-info-button { display: inline-grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 1px solid var(--text); background: transparent; color: var(--text); font-size: 10px; line-height: 1; text-transform: none; }
.term-info-button:hover, .term-info-link:hover span { background: var(--text); color: var(--inverse); }
.term-list { display: flex; margin: 0; padding: 0; flex-direction: column; gap: 6px; list-style: none; color: var(--muted); font-size: 13px; line-height: 18px; }
.term-list li { position: relative; padding-left: 18px; }
.term-list li::before { position: absolute; top: 7px; left: 0; width: 5px; height: 5px; background: #5f8f00; content: ''; }
.term-subsection { display: flex; margin-top: auto; padding-top: 18px; flex-direction: column; gap: 12px; border-top: 1px solid var(--border); }
.term-subsection h3 { font-size: 21px; line-height: 28px; }
.term-definition-list, .term-figure-list { display: flex; margin: 0; flex-direction: column; }
.term-definition-list > div { padding: 10px 0; border-bottom: 1px solid var(--border); }
.term-definition-list > div:first-child { padding-top: 0; }
.term-definition-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.term-definition-list dt { color: var(--muted); font-size: 11px; line-height: 16px; text-transform: uppercase; }
.term-definition-list dd { margin: 5px 0 0; font-size: 14px; line-height: 20px; }
.term-figure-list > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--border); }
.term-figure-list > div:first-child { padding-top: 0; }
.term-figure-list > div:last-child { border-bottom: 0; }
.term-figure-list dt { color: var(--muted); font-size: 13px; line-height: 20px; }
.term-figure-list dd { margin: 0; font-size: 30px; font-weight: 500; line-height: 36px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.term-info-link { display: flex; align-items: center; gap: 10px; width: fit-content; margin-top: auto; padding: 14px 0 0; border: 0; border-top: 1px solid var(--border); background: transparent; color: var(--muted); font-size: 12px; line-height: 18px; text-align: left; }
.term-info-link span { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; border: 1px solid var(--text); color: var(--text); font-size: 11px; line-height: 1; }
.term-info-link b { font-weight: 500; }
.term-popover { width: min(560px, calc(100vw - 48px)); margin: auto; padding: 32px; border: 1px solid var(--text); background: var(--background); color: var(--text); box-shadow: 0 24px 80px rgba(0, 0, 0, .24); }
.term-popover::backdrop { background: rgba(0, 0, 0, .46); }
.term-popover .eyebrow { padding-right: 48px; }
.term-popover h3 { max-width: 440px; margin-top: 16px; font-size: 28px; line-height: 36px; }
.term-popover > p:last-child { margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 26px; }
.term-popover > p:last-child a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.term-popover-close { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--border); background: var(--background); color: var(--text); font-size: 24px; font-weight: 300; line-height: 1; }
.term-popover-close:hover { border-color: var(--text); background: var(--text); color: var(--inverse); }
.term-card-liquidity { grid-column: span 6; }
.term-card-liquidity .term-figure-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.term-card-liquidity .term-figure-list > div { display: flex; min-width: 0; padding: 0 24px; flex-direction: column; gap: 12px; align-items: flex-start; border-right: 1px solid var(--border); border-bottom: 0; }
.term-card-liquidity .term-figure-list > div:first-child { padding-left: 0; }
.term-card-liquidity .term-figure-list > div:last-child { padding-right: 0; border-right: 0; }

.contact { background: var(--contact-background); color: var(--contact-text); }
.contact .eyebrow { color: var(--contact-text); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 576fr) minmax(0, 640fr); gap: 64px; }
.contact-copy { display: flex; flex-direction: column; gap: 24px; font-size: 20px; line-height: 30px; }
.contact-email { align-self: flex-start; font-size: 28px; font-weight: 600; line-height: 36px; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-dialog { position: fixed; width: min(440px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); margin: auto; padding: 32px; border: 1px solid var(--border); border-radius: 0; background: var(--background); color: var(--text); box-shadow: 0 24px 80px #0004; }
.contact-dialog::backdrop { background: #0009; }
.contact-dialog .eyebrow { padding-right: 36px; }
.contact-dialog h2 { margin-top: 16px; font-size: 32px; line-height: 40px; }
.contact-dialog p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 24px; }
.contact-dialog-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border); background: var(--background); color: var(--text); font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.contact-dialog-close:hover { background: var(--panel); }
.contact-dialog-actions { display: grid; gap: 12px; margin-top: 32px; }
.contact-dialog-link { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 12px 16px; border: 1px solid var(--border); font-size: 16px; line-height: 24px; }
.contact-dialog-link:hover { border-color: var(--text); background: var(--panel); }
.footer { padding-top: 48px; border-top: 1px solid var(--contact-border); }
.footer-brand-row { display: flex; align-items: center; gap: 64px; }
.footer-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; color: #aaa; font-size: 12px; line-height: 18px; }
.footer-notes strong { color: #ccc; font-weight: 500; }

@media (max-width: 1279px) {
  :root { --page-gutter: 48px; --section-space: 64px; }
  .navigation { grid-template-columns: 180px 1fr auto; gap: 32px; }
  .navigation .brand { width: 180px; }
  .navigation-links { gap: 24px; }
  .navigation-action .action-label { display: none; }
  .navigation-action .action-label-short { display: inline; }
  .hero-layout, .strategy-layout, .contact-layout { gap: 48px; }
  h1 { font-size: 64px; line-height: 72px; }
  h2 { font-size: 40px; line-height: 48px; }
  .hero-actions { flex-wrap: wrap; gap: 24px; }
  .engineering-label, .engineering-caption { left: 20px; right: 20px; font-size: 10px; }
  .engineering-caption { bottom: 24px; }
  .proof-heading { gap: 48px; }
  .term-sheet-heading { gap: 48px; }
  .term-card { padding: 24px; }
  .work-grid { gap: 20px; }
  .work-card { padding: 24px; gap: 40px; }
  .work-card h3 { font-size: 24px; line-height: 32px; }
  .contact-email { font-size: 24px; line-height: 32px; }
  .desktop-break { display: none; }
}

@media (max-width: 1000px) {
  :root { --page-gutter: 32px; }
  .navigation { grid-template-columns: 1fr auto; gap: 20px; padding-block: 24px; }
  .navigation-links { grid-column: 1 / -1; grid-row: 2; }
  .navigation-action { justify-self: end; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px; }
  h1 { font-size: clamp(42px, 5.2vw, 52px); line-height: 1.15; }
  .body-copy { font-size: 18px; line-height: 28px; }
  .hero-actions { gap: 20px; }
  .hero-actions .button { flex-basis: auto; }
  .engineering-caption { font-size: 9px; line-height: 14px; }
  .return-chart { padding: 20px; }
  .strategy-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; }
  .performance-heading { gap: 32px; }
  .performance-stat { min-height: 240px; padding: 24px; }
  .performance-stat-value { font-size: 42px; }
  .performance-track-links a { font-size: 16px; line-height: 22px; }
  .calculator-layout { grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: 24px; }
  .calculator-controls { padding: 24px; }
  .metric { padding: 24px; }
  .metric-value { font-size: clamp(48px, 5.2vw, 52px); line-height: 60px; }
  .approach-heading { gap: 32px; }
  .approach-step { min-height: 270px; padding: 20px; }
  .approach-step h3 { font-size: 21px; line-height: 28px; }
  h3 { font-size: 24px; line-height: 32px; }
  .proof-heading { grid-template-columns: 1fr; gap: 24px; }
  .proof-heading > .body-copy { max-width: 640px; }
  .term-sheet-heading { grid-template-columns: 1fr; gap: 24px; }
  .term-sheet-heading > .body-copy { max-width: 640px; }
  .term-card, .term-card-profile { grid-column: span 6; }
  .term-card-target, .term-card-liquidity { grid-column: span 12; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 0; gap: 32px; padding: 32px; }
  .contact-layout { grid-template-columns: 1fr 1.25fr; gap: 32px; }
  .contact-copy { font-size: 18px; line-height: 28px; }
  .contact-email { font-size: 20px; line-height: 28px; }
  .footer-notes { gap: 32px; }
}

@media (max-width: 700px) {
  :root { --page-gutter: 24px; --section-space: 48px; }
  .navigation { column-gap: 16px; row-gap: 24px; }
  .navigation .brand { width: 150px; }
  .navigation-tools { gap: 12px; }
  .navigation-action { display: none; }
  .theme-toggle { min-width: 44px; width: 44px; padding: 0; }
  .theme-label { display: none; }
  .navigation-action { max-width: 140px; font-size: 12px; line-height: 18px; text-align: right; }
  .navigation-action .action-label { display: none; }
  .navigation-action .action-label-short { display: inline; }
  .navigation-links { justify-content: space-between; gap: 12px; font-size: 13px; line-height: 20px; }
  .navigation-links a { padding-block: 8px; }
  .navigation-mobile-contact { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; }
  .navigation-mobile-contact:hover { text-decoration: underline; text-underline-offset: 5px; }
  .navigation-icon { width: 18px; height: 18px; }
  .navigation-grox-icon { width: 21px; height: 17px; }
  .section-stack { gap: 32px; }
  .eyebrow { font-size: 10px; line-height: 16px; }
  .eyebrow-divider { margin-inline: 4px; }
  .hero-layout, .strategy-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .performance-heading { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .performance-chart-header { align-items: flex-start; padding: 24px; flex-direction: column; }
  .performance-chart-legend { justify-content: flex-start; }
  .performance-plot-wrap { padding: 20px 12px 4px; }
  .performance-plot { width: 100%; }
  .performance-note { padding: 8px 24px 20px; }
  .performance-stats { grid-template-columns: minmax(0, 1fr); }
  .performance-stat { min-height: 190px; border-right: 0; border-bottom: 1px solid #3a3a3a; }
  .performance-stat:last-child { border-bottom: 0; }
  .hero-copy { gap: 24px; }
  h1 { font-size: clamp(38px, 10.25vw, 64px); line-height: 1.1; }
  h2 { font-size: 32px; line-height: 40px; }
  h3 { font-size: 24px; line-height: 32px; }
  .body-copy { font-size: 18px; line-height: 28px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero-actions .button { width: 100%; max-width: 360px; }
  .hero-actions .text-link { padding-block: 4px; }
  .engineering-panel { max-width: 448px; }
  .return-chart { max-width: 448px; aspect-ratio: auto; min-height: 430px; }
  .engineering-label, .engineering-caption { left: 24px; right: 24px; font-size: 10px; line-height: 16px; }
  .engineering-caption { bottom: 24px; }
  .metric { padding: 32px; }
  .metric-value { font-size: 56px; line-height: 64px; }
  .approach-heading { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .approach-flow { grid-template-columns: minmax(0, 1fr); }
  .approach-step { min-height: 0; padding: 24px; }
  .approach-step > .eyebrow { margin-top: 24px; }
  .approach-step > p:last-child { margin-top: 16px; padding-top: 0; }
  .approach-arrow { transform: rotate(90deg); }
  .approach-conclusion { padding-top: 24px; font-size: 23px; line-height: 32px; }
  .calculator-heading, .calculator-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .calculator-heading { gap: 24px; }
  .capital-chart-wrap { padding-inline: 12px; overflow-x: auto; }
  .capital-chart-plot { width: 620px; max-width: none; }
  .proof-heading h2 { margin-top: 16px; }
  .term-sheet-heading h2 { margin-top: 16px; }
  .term-grid { grid-template-columns: minmax(0, 1fr); }
  .term-card, .term-card-profile, .term-card-target, .term-card-liquidity { min-height: 0; padding: 24px; grid-column: 1; }
  .term-card, .term-card-target { gap: 20px; }
  .term-card-target .term-card-heading h3 { font-size: 28px; line-height: 36px; }
  .term-card-heading h3 { font-size: 24px; line-height: 32px; }
  .term-list { gap: 8px; font-size: 14px; line-height: 21px; }
  .term-list li::before { top: 9px; }
  .term-chart { min-width: 0; }
  .term-scenario-legend { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .term-scenario-legend span { grid-template-columns: 10px 1fr auto; }
  .term-scenario-legend strong { grid-column: 3; }
  .term-card-liquidity .term-figure-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .term-card-liquidity .term-figure-list > div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .term-card-liquidity .term-figure-list > div:first-child { padding-top: 0; }
  .term-card-liquidity .term-figure-list > div:last-child { border-bottom: 0; }
  .term-popover { width: calc(100vw - 32px); padding: 24px; }
  .term-popover h3 { padding-right: 28px; font-size: 24px; line-height: 32px; }
  .term-popover > p:last-child { margin-top: 18px; font-size: 15px; line-height: 23px; }
  .work-card { padding: 24px; gap: 32px; }
  .work-card .eyebrow { font-size: 11px; }
  .contact-layout { gap: 32px; }
  .contact-copy { gap: 24px; }
  .contact-email { font-size: clamp(17px, 4.5vw, 24px); line-height: 32px; }
  .footer { padding-top: 32px; }
  .footer-brand-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-brand-row .brand { width: 180px; }
  .footer-notes { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
}

@media (max-width: 359px) {
  .navigation .brand { width: 130px; }
  .navigation-tools { gap: 8px; }
  .navigation-action { max-width: 110px; }
  .navigation-links { gap: 8px; font-size: 12px; }
  .navigation-links a { gap: 6px; }
  .engineering-label, .engineering-caption { left: 16px; right: 16px; font-size: 9px; }
  .return-chart { min-height: 400px; padding: 16px; }
  .return-chart-tooltip { width: 142px; padding: 12px; }
  .return-chart-legend { gap: 6px; }
  .return-chart-legend span { column-gap: 4px; font-size: 9px; }
  .metric { padding: 24px; }
  .metric-value { font-size: 48px; line-height: 56px; }
  .performance-stat-value { margin-top: 28px; font-size: 48px; }
  .calculator-controls { padding: 20px; }
  .scenario-switch { grid-template-columns: minmax(0, 1fr); }
  .scenario-switch button { min-height: 52px; border-right: 0; border-bottom: 1px solid var(--border); }
  .scenario-switch button:last-child { border-bottom: 0; }
  .calculator-results { grid-template-columns: minmax(0, 1fr); }
  .calculator-results article { border-right: 0; border-bottom: 1px solid var(--border); }
  .calculator-results article:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Bybit dashboard navigation */
@media (min-width: 1001px) { .navigation { column-gap: 24px; } .navigation-links { gap: 20px; } }
@media (min-width: 1280px) { .navigation-action .action-label { display: none; } .navigation-action .action-label-short { display: inline; } }
@media (max-width: 700px) { .navigation-links { flex-wrap: wrap; justify-content: flex-start; column-gap: 16px; row-gap: 0; } }
@media (max-width: 700px) { .navigation-links { column-gap: 12px; font-size: 12px; } .navigation-links a { gap: 5px; } .navigation-icon { width: 16px; height: 16px; flex-basis: 16px; } .navigation-grox-icon { width: 19px; height: 15px; } }
@media (max-width: 359px) { .navigation-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.navigation-bybit-logo { width: 24px; height: 24px; border-radius: 4px; }
@media (max-width: 700px) { .navigation-bybit-logo { width: 20px; height: 20px; flex-basis: 20px; } }

/* Secondary services stay in the footer as text links. */
.footer-service-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 28px; font-size: 14px; line-height: 20px; }
.footer-service-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--contact-text); text-decoration: underline; text-underline-offset: 4px; }
.footer-service-links a:hover { text-decoration-thickness: 2px; }

/* Public OKX statistics: one additional metric, with the maximum subordinate to the average. */
.performance-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.performance-holding .performance-stat-value { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.2; }
.performance-holding-maximum { margin: 10px 0 16px; color: #bbb; font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.performance-data-status { padding: 0 32px 16px; color: var(--muted); font-size: 12px; line-height: 18px; }
.performance-data-status:empty { display: none; }
@media (min-width: 761px) and (max-width: 1100px) {
  .performance-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .performance-stat { border-bottom: 1px solid #3a3a3a; }
  .performance-stat:nth-child(3) { border-right: 0; }
  .performance-verification { grid-column: span 2; }
}
@media (max-width: 760px) { .performance-stats { grid-template-columns: minmax(0, 1fr); } }
