@font-face {
  font-family: 'Suisse Intl';
  src: url('./assets/suisse-regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Suisse Intl';
  src: url('./assets/suisse-medium.woff') format('woff');
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
:root {
  --page: #f3f4f6;
  --ink: #181818;
  --muted: #56616d;
  --red: #ff403f;
  --dark: #161616;
  --surface: #272729;
  --dark-muted: #afb0b6;
  --green: #63e2a4;
  --loss: #ff8585;
  --radius: 32px;
  --page-gutter: 64px;
  --content-width: 1328px;
  --header-height: 138px;
  font-family: 'Suisse Intl', Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); scrollbar-gutter: stable; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
body { min-width: 320px; }
button, input, select { font: inherit; }
button, a, summary, input { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; color: inherit; background: none; }
a { color: inherit; text-decoration: none; }
button, a, summary { touch-action: manipulation; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .4; }
button, a, summary, .input-wrap, .target-input-wrap { transition: background-color 180ms, color 180ms; }
:focus-visible { outline: 3px solid #e83535; outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(var(--content-width), calc(100% - var(--page-gutter) - var(--page-gutter))); margin-inline: auto; }
.calculator-guide { background: white; border-radius: 20px; margin-bottom: 16px; padding: 0 24px; }
.calculator-guide > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; border-radius: 8px; }
.calculator-guide > summary h2 { font-size: 16px; font-weight: 400; letter-spacing: -.01em; line-height: 1.5; }
.calculator-guide > summary > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; transition: transform 180ms; }
.calculator-guide[open] > summary > svg { transform: rotate(180deg); }
.guide-content { padding: 8px 0 24px; }
.guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.guide-steps h3 { font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: -.01em; }
.guide-steps p, .guide-results { font-size: 13px; color: var(--muted); line-height: 1.65; }
.guide-steps p { margin-top: 8px; }
.guide-results { margin-top: 24px; }
.guide-results strong { font-weight: 500; color: var(--ink); }
.header-spacer { height: var(--header-height); }
.header-scrim { position: fixed; inset: 0; z-index: 99; pointer-events: none; background: #1414140d; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; width: 100%; background: #161618; transition: transform 250ms cubic-bezier(.65,.05,.36,1); }
.site-header.is-hidden { transform: translateY(calc(-100% - 1px)); pointer-events: none; }
.site-header:has(:focus-visible) { transform: none; pointer-events: auto; }
.header-container { position: relative; width: 100%; max-width: 1440px; padding: 16px 56px 20px; margin-inline: auto; }
.header-bar, .mobile-nav-header { display: flex; align-items: center; gap: 32px; min-height: 60px; padding: 12px 12px 12px 16px; border-radius: 24px; background: #28282c; color: #fff; }
.header-brand { display: inline-flex; flex-shrink: 0; align-items: center; }
.header-brand img { display: block; width: 175px; height: 23px; }
.primary-nav, .header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions { margin-left: auto; gap: 8px; }
.nav-dropdown { position: relative; }
.nav-trigger { display: flex; align-items: center; gap: 8px; min-height: 24px; padding: 0; border-radius: 4px; font-size: 14px; line-height: 20px; letter-spacing: .2px; white-space: nowrap; }
.nav-trigger:hover, .nav-trigger[aria-expanded=true] { color: #fff; }
.nav-trigger > svg, .mobile-languages > summary > svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; transition: transform 180ms; }
.nav-trigger[aria-expanded=true] > svg { transform: rotate(180deg); }
.nav-panel { position: fixed; top: 66px; left: 16px; background: #161618; color: #f7f7f8; padding: 16px; border-radius: 32px; box-shadow: 0 0 32px #0003, 0 30px 60px -30px #0005, 0 50px 100px -20px #0006; font-size: 14px; line-height: 20px; max-width: calc(100vw - 32px); }
.nav-panel a { border-radius: 16px; }
.nav-panel a:hover { background: #ffffff08; }
.nav-panel a:focus-visible { outline-offset: 2px; }
.nav-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 698px; }
.nav-module-card { display: block; min-width: 0; }
.nav-module-image { width: 100%; height: auto; display: block; border-radius: 20px; }
.nav-module-caption { display: flex; align-items: center; gap: 12px; padding-top: 12px; }
.nav-module-caption > img, .nav-resource > img { flex-shrink: 0; width: 48px; height: 48px; padding: 10px; border: 2px solid #202023; border-radius: 18px; }
.nav-panel small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: #afb0b6; }
.nav-resources { width: 310px; padding: 16px; }
.nav-resource { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 0; }
.nav-more { display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; width: 568px; }
.nav-team-image { width: 100%; height: 100%; max-height: 208px; object-fit: cover; border-radius: 16px; }
.nav-languages { width: 200px; padding: 8px; max-height: min(480px, calc(100dvh - 120px)); overflow-y: auto; overscroll-behavior: contain; }
.nav-languages a { display: block; padding: 10px 16px; min-height: 42px; }
.nav-languages a[aria-current] { background: #ffffff0d; }
.header-demo { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 16px; border-radius: 40px; font-size: 14px; line-height: 20px; background: #ff282b; color: white; white-space: nowrap; }
.header-demo:hover { background: #e60019; }
.header-demo:active { background: #c70214; }
.header-burger { display: none; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 36px; border-radius: 48px; background: #ffffff08; color: #fff; }
.header-burger:hover { background: #ffffff14; }
.header-burger svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.solutions-nav { display: flex; align-items: center; gap: 32px; margin-top: 24px; min-height: 18px; padding-left: 16px; font-size: 14px; line-height: 18px; letter-spacing: -.1px; color: white; }
.solutions-nav a:hover { color: white; }
.hero-copy a:hover { color: #d92c31; }
html:has(.mobile-navigation[open]) { overflow: hidden; }
.mobile-navigation { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; padding: 16px 20px 32px; border: 0; background: #161618; color: #fff; color-scheme: dark; overflow-y: auto; overscroll-behavior: contain; }
.mobile-navigation::backdrop { background: #161618; }
.mobile-nav-header { justify-content: space-between; padding: 8px 12px 8px 16px; position: sticky; top: 0; z-index: 1; }
.mobile-nav-header .header-burger { display: inline-flex; }
.mobile-nav-content { padding-top: 24px; max-width: 680px; margin-inline: auto; }
.mobile-languages { background: #ffffff08; border-radius: 12px; margin-bottom: 32px; }
.mobile-languages > summary { min-height: 52px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.mobile-languages[open] > summary > svg { transform: rotate(180deg); }
.mobile-languages nav { padding: 0 8px 8px; display: grid; grid-template-columns: 1fr 1fr; }
.mobile-languages nav a { display: block; padding: 12px 8px; font-size: 14px; line-height: 1.5; border-radius: 8px; }
.mobile-languages nav a:hover, .mobile-languages nav a[aria-current] { background: #ffffff0d; }
.mobile-solutions, .mobile-nav-group { display: flex; flex-direction: column; align-items: start; }
.mobile-solutions a, .mobile-nav-group a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; font-size: 16px; line-height: 1.5; }
.mobile-solutions a:hover, .mobile-nav-group a:hover { color: #ff8585; }
.mobile-nav-group { margin-top: 32px; }
.mobile-nav-group > p { font-size: 12px; line-height: 1.5; color: #afb0b6; text-transform: uppercase; margin-bottom: 8px; }
.mobile-nav-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mobile-demo { margin-top: 32px; min-height: 48px; width: 100%; }
.hero { padding-block: 64px 56px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
h1 { font-size: clamp(64px, 6.1vw, 96px); line-height: 1; letter-spacing: -.045em; font-weight: 400; }
.hero-copy { max-width: 360px; justify-self: end; padding-bottom: 4px; }
.hero-copy p { font-size: 20px; line-height: 1.5; color: var(--muted); }
.hero-copy a { display: inline-flex; align-items: center; gap: 24px; font-size: 15px; margin-top: 24px; }
.author-byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.author-byline img { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.author-byline > div { min-width: 0; }
.author-byline span { display: block; font-size: 12px; line-height: 1.6; color: var(--muted); }
.hero-copy .author-byline a { display: inline; font-size: inherit; margin: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hero-copy .author-byline a:hover { color: #d92c31; }
.hero-copy .author-byline p { font-size: 12px; line-height: 1.6; margin-top: 2px; }
.author-name { display: flex; align-items: center; gap: 6px; }
.hero-copy .author-byline .author-linkedin { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; color: #0a66c2; text-decoration: none; }
.author-linkedin svg { width: 18px; height: 18px; fill: currentColor; }
.hero-copy .author-byline .author-linkedin:hover { background: #0a66c211; color: #004182; }
.calculator-grid { display: grid; grid-template-columns: minmax(290px, 360px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.position-panel { background: white; border-radius: var(--radius); padding: 32px; min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.panel-heading h2 { font-size: 24px; font-weight: 400; letter-spacing: -.025em; }
.text-button { font-size: 15px; padding: 8px 0; }
.text-button:hover { color: #d92c31; }
.reset-button { font-size: 13px; color: var(--muted); min-height: 40px; }
.field-label { display: block; font-size: 13px; line-height: 1.4; margin-bottom: 8px; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 24px; margin-bottom: 8px; }
.field-label-row .field-label { margin: 0; }
.field-help-button { display: inline-grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; color: var(--muted); padding: 2px; }
.field-help-button:hover, .field-help-button[aria-expanded=true] { background: #e8ebef; color: var(--ink); }
.field-help-button:focus-visible { outline-width: 2px; outline-offset: 2px; }
.field-help-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.field-tooltip { position: fixed; z-index: 160; width: min(300px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 16px; border-radius: 16px; background: white; color: var(--ink); box-shadow: 0 8px 40px #17212d29; font-size: 13px; font-weight: 400; line-height: 1.6; text-align: left; }
.field-tooltip .help-title { font-weight: 500; margin-bottom: 6px; }
.price-explorer-label > .field-label-row { justify-content: flex-start; margin: 0; }
.price-explorer-label .field-label { font-size: 12px; color: #e2e2e5; }
.results-panel .field-help-button { color: #afb0b6; }
.results-panel .field-help-button:hover, .results-panel .field-help-button[aria-expanded=true] { background: #343438; color: white; }
.strategy-trigger { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--page); width: 100%; min-height: 52px; border-radius: 12px; padding: 14px 16px; font-size: 16px; text-align: left; }
.strategy-trigger:hover, .strategy-trigger[aria-expanded=true] { background: #e9edf1; }
.strategy-trigger > svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; flex-shrink: 0; transition: transform 180ms; }
.strategy-trigger[aria-expanded=true] > svg { transform: rotate(180deg); }
.strategy-options { position: fixed; z-index: 30; padding: 8px; border-radius: 20px; background: white; box-shadow: 0 16px 56px #171e2a29; overflow-y: auto; overscroll-behavior: contain; scroll-padding: 8px; }
.strategy-option { display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; min-height: 72px; cursor: pointer; }
.strategy-option.is-active { background: var(--page); }
.strategy-option > div > span { font-size: 14px; line-height: 1.4; display: block; }
.strategy-option p { font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.option-payoff { width: 36px; height: 36px; padding: 4px; fill: none; stroke: #56616d; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.option-check { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 1.6; fill: none; visibility: hidden; }
.strategy-option[aria-selected=true] .option-check { visibility: visible; }
.strategy-description { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 10px; margin-bottom: 24px; min-height: 36px; }
.fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.field { min-width: 0; }
.input-wrap, .stepper { background: var(--page); border-radius: 12px; display: flex; align-items: center; min-height: 52px; }
.input-wrap, .target-input-wrap { position: relative; }
.input-wrap:focus-within, .stepper:focus-within { background: #e9edf1; }
.input-wrap:focus-within, .stepper:has(input:focus-visible), .target-input-wrap:focus-within { box-shadow: inset 0 0 0 2px #d73035; }
.input-wrap input:focus, .stepper input:focus, .target-input-wrap input:focus { outline: none; box-shadow: none; }
.input-wrap > span { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.input-wrap input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 14px 16px; color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; border-radius: 12px; }
.money-input input { padding-left: 34px; }
input[type=number] { appearance: textfield; -moz-appearance: textfield; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-wrap:has(input[aria-invalid=true]), .stepper:has(input[aria-invalid=true]), .target-input-wrap:has(input[aria-invalid=true]) { box-shadow: inset 0 0 0 2px #c82736; }
.field-hint { display: block; font-size: 11px; line-height: 1.5; color: var(--muted); margin-top: 6px; }
.field-error { display: block; font-size: 12px; color: #b62330; line-height: 1.45; margin-top: 6px; }
.field-error:empty { display: none; }
.contract-field { margin-top: 24px; }
.stepper button { width: 52px; height: 52px; flex-shrink: 0; font-size: 23px; border-radius: 12px; }
.stepper button:hover { background: #e6e9ed; }
.stepper input { background: transparent; border: 0; text-align: center; width: 100%; min-width: 0; height: 48px; border-radius: 8px; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
details[open] > summary > span { transform: rotate(45deg); }
.settings-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; margin-top: 16px; padding: 12px 0; text-align: left; }
.settings-trigger > span > span { display: block; font-size: 13px; line-height: 1.5; }
.settings-trigger #settings-summary { font-size: 11px; color: var(--muted); margin-top: 4px; }
.settings-trigger > svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
.settings-trigger:hover { color: #d92c31; }
html:has(.cost-dialog[open]) { overflow: hidden; }
.cost-dialog { width: min(480px, calc(100% - 40px)); max-height: calc(100dvh - 40px); margin: auto; border: 0; border-radius: 28px; padding: 32px; color: var(--ink); background: white; overflow: auto; overscroll-behavior: contain; }
.cost-dialog::backdrop { background: #10111470; }
.dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.dialog-header h2 { font-size: 25px; letter-spacing: -.025em; line-height: 1.25; padding-top: 4px; }
.dialog-close { width: 36px; height: 36px; background: var(--page); border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; }
.dialog-close:hover { background: #e5e8ec; }
.dialog-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; }
#settings-description { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 16px; max-width: 340px; }
.settings-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.dialog-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 32px; }
.dialog-actions .button { min-height: 48px; padding: 12px 20px; font-size: 13px; gap: 20px; }
.button-cancel { background: var(--page); }
.button-cancel:hover { background: #e5e8ec; }
.button-apply { background: var(--ink); color: white; }
.button-apply:hover { background: #37373a; }
.position-cost { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; }
.position-cost > span { color: var(--muted); font-size: 13px; }
.position-cost strong { font-size: 32px; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: -.025em; overflow-wrap: anywhere; }
.results-panel { min-width: 0; background: var(--dark); color: #f7f7f8; border-radius: var(--radius); padding: 32px 40px; display: flex; flex-direction: column; color-scheme: dark; }
.results-heading { display: flex; gap: 16px; justify-content: space-between; align-items: start; }
.results-heading > div { min-width: 0; }
.results-heading h2 { font-size: 14px; font-weight: 400; color: var(--dark-muted); margin-bottom: 12px; }
.scenario-profit { font-size: clamp(36px, 4.3vw, 64px); font-weight: 400; letter-spacing: -.045em; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.scenario-description { display: flex; flex-wrap: wrap; gap: 8px; color: var(--dark-muted); font-size: 12px; line-height: 1.6; margin-top: 10px; }
.scenario-description .positive { color: var(--green); }
.positive { color: var(--green); }
.negative { color: var(--loss); }
.neutral { color: inherit; }
.share-button { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--surface); border-radius: 50px; height: 40px; padding-inline: 14px; font-size: 12px; flex-shrink: 0; }
.share-button svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; }
.share-button:hover { background: #3b3b3e; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-block: 32px; }
.metric-grid > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.metric-grid span { color: var(--dark-muted); font-size: 12px; }
.metric-grid strong { font-size: clamp(18px, 1.65vw, 25px); font-weight: 400; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.chart-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.chart-tabs { display: flex; gap: 4px; background: var(--surface); padding: 4px; border-radius: 50px; }
.chart-tabs button { padding: 10px 14px; min-height: 38px; font-size: 12px; border-radius: 50px; color: var(--dark-muted); white-space: nowrap; }
.chart-tabs button[aria-selected=true] { background: #48484b; color: #fff; }
.chart-tabs button:hover { color: white; }
.chart-hint { font-size: 11px; color: var(--dark-muted); }
#chart-panel, #table-panel { flex: 1; }
.chart-container { width: 100%; margin-block: 12px 8px; }
#payoff-chart { display: block; width: 100%; height: 270px; overflow: visible; touch-action: pan-y; cursor: crosshair; user-select: none; }
#payoff-chart .grid-line { stroke: #fff; stroke-opacity: .055; }
#payoff-chart .axis-label { fill: #a5a6ad; font-size: 11px; }
#payoff-chart .chart-zero { stroke: #737479; stroke-width: 1; }
#payoff-chart .breakeven-line { stroke: #b9bac0; stroke-width: 1; stroke-dasharray: 3 5; opacity: .45; }
#payoff-chart .scenario-line { stroke: #d4d4d9; stroke-width: 1; stroke-dasharray: 3 5; opacity: .7; }
#payoff-chart .breakeven-label { fill: #c7c7cc; font-size: 11px; }
.price-explorer { padding-top: 8px; margin-top: auto; }
.price-explorer-label { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.price-explorer-label > label { font-size: 12px; color: #e2e2e5; }
.target-input-wrap { background: var(--surface); border-radius: 12px; height: 44px; width: 128px; display: flex; align-items: center; flex-shrink: 0; }
.target-input-wrap > span { position: absolute; left: 14px; color: var(--dark-muted); pointer-events: none; }
.target-input-wrap input { background: transparent; border: 0; width: 100%; min-width: 0; color: white; padding: 12px 14px 12px 32px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.target-input-wrap:focus-within { box-shadow: inset 0 0 0 2px var(--green); }
.results-panel .field-error { color: #ffafaf; }
input[type=range] { appearance: none; background: #414145; height: 4px; width: 100%; display: block; border-radius: 8px; margin: 24px 0 12px; cursor: pointer; touch-action: pan-y; }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; background: #fff; border: 0; border-radius: 50%; box-shadow: 0 2px 12px #0005; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; background: #fff; border: 0; border-radius: 50%; }
.slider-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--dark-muted); font-variant-numeric: tabular-nums; }
.calculator-footnote { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; color: var(--muted); font-size: 12px; line-height: 1.6; padding: 20px 4px; }
.calculator-footnote a { white-space: nowrap; }
.calculator-footnote a span { margin-left: 12px; }
.table-scroll { height: 290px; overflow: auto; scrollbar-color: #55555b transparent; margin-top: 12px; }
.scenario-table { border-collapse: separate; border-spacing: 0 4px; width: 100%; text-align: left; font-size: 13px; font-variant-numeric: tabular-nums; }
.scenario-table th { position: sticky; top: 0; background: var(--dark); color: var(--dark-muted); font-size: 11px; font-weight: 400; padding: 12px; z-index: 1; }
.scenario-table td { padding: 12px; }
.scenario-table th:not(:first-child), .scenario-table td:not(:first-child) { text-align: right; }
.scenario-table tr.selected td { background: var(--surface); }
.scenario-table tr.selected td:first-child { border-radius: 8px 0 0 8px; }
.scenario-table tr.selected td:last-child { border-radius: 0 8px 8px 0; }
.invalid-notice { padding: 12px 16px; margin-top: 16px; font-size: 13px; line-height: 1.5; background: #582329; color: #ffe0e0; border-radius: 12px; }
.is-invalid #chart-panel, .is-invalid #table-panel { opacity: .25; }
h2 { font-size: clamp(40px, 4.1vw, 64px); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; }
h3 { font-size: 24px; font-weight: 400; letter-spacing: -.02em; }
.methodology-section { padding-block: 112px 96px; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.section-intro > p { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 470px; }
.formula-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.formula-card { background: white; padding: 40px; border-radius: var(--radius); }
.formula-card > p { font-size: 16px; color: var(--muted); line-height: 1.6; margin-top: 16px; max-width: 380px; }
.formula-expression { font-size: clamp(24px, 2.5vw, 38px); letter-spacing: -.03em; margin-block: 40px; }
.formula-card dl { display: grid; gap: 20px; }
.formula-card dl > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; font-size: 13px; line-height: 1.5; }
.formula-card dt { color: var(--muted); }
.formula-key { font-size: 12px; line-height: 1.8; color: var(--muted); max-width: 760px; margin-top: 24px; }
.example-section { background: var(--dark); color: #f7f7f8; padding-block: 88px; }
.example-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.example-copy p { max-width: 420px; color: var(--dark-muted); font-size: 18px; line-height: 1.6; margin-top: 28px; }
.example-copy button { display: flex; align-items: center; gap: 32px; margin-top: 24px; }
.example-copy button:hover { color: var(--green); }
.example-result { background: var(--surface); border-radius: var(--radius); padding: 48px; }
.example-result > span { font-size: 16px; color: var(--dark-muted); }
.example-result > strong { display: block; font-size: clamp(48px, 5.8vw, 88px); font-weight: 400; line-height: 1.15; letter-spacing: -.045em; color: var(--green); margin-block: 16px; }
.example-result > p { color: var(--dark-muted); font-size: 14px; line-height: 1.6; }
.example-result dl { display: grid; gap: 20px; margin-top: 40px; }
.example-result dl > div { display: flex; justify-content: space-between; gap: 24px; font-size: 16px; }
.example-result dt { color: var(--dark-muted); }
.example-result .example-note { font-size: 12px; margin-top: 40px; }
.assumptions-section { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; padding-block: 112px; }
.assumption-list { display: grid; gap: 40px; }
.assumption-list h3 { font-size: 22px; }
.assumption-list p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 12px; max-width: 620px; }
.author-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; background: white; border-radius: var(--radius); padding: 48px; margin-bottom: 96px; }
.author-profile > h2 { font-size: 32px; margin-bottom: 32px; }
.author-identity { display: flex; align-items: center; gap: 24px; }
.author-portrait { width: 112px; height: 120px; object-fit: cover; border-radius: 20px; flex-shrink: 0; }
.author-identity h3 { font-size: 25px; line-height: 1.2; }
.author-identity p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 8px; }
.author-identity p a { text-decoration: underline; text-underline-offset: 3px; }
.author-bio { font-size: 16px; color: var(--muted); line-height: 1.7; margin-top: 24px; max-width: 510px; }
.author-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; font-size: 14px; }
.author-links a, .methodology-sources a, .methodology-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #b6bdc4; }
.author-links a:hover, .methodology-sources a:hover, .methodology-link:hover { color: #d92c31; text-decoration-color: currentColor; }
.author-links a > span:last-child, .methodology-link > span { display: inline-block; margin-left: 12px; }
.methodology-record { padding-top: 4px; }
.methodology-record > h3 { font-size: 22px; line-height: 1.4; }
.methodology-record > p { font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 16px; }
.methodology-record .updated-date { font-size: 12px; margin-top: 20px; }
.updated-date time { color: var(--ink); margin-left: 4px; }
.methodology-record > h4 { font-size: 14px; font-weight: 400; margin: 28px 0 16px; }
.methodology-sources { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 13px; line-height: 1.6; }
.methodology-sources a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.methodology-sources span { flex-shrink: 0; }
.methodology-link { display: inline-block; font-size: 13px; line-height: 1.6; margin-top: 24px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; padding-bottom: 112px; align-items: start; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { background: white; border-radius: 20px; padding-inline: 24px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; padding-block: 24px; font-size: 16px; line-height: 1.5; }
.faq-list summary:hover { color: #d92c31; }
.faq-list summary span { color: var(--muted); font-size: 26px; line-height: 1; transition: transform 180ms; }
.faq-list details p { font-size: 14px; color: var(--muted); line-height: 1.75; padding-bottom: 24px; }
.broker-cta { background: white; border-radius: 40px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.broker-cta h2 { font-size: clamp(36px, 3.6vw, 56px); }
.broker-cta p { font-size: 17px; color: var(--muted); line-height: 1.6; max-width: 360px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 24px; border-radius: 50px; font-size: 14px; }
.button-red { background: var(--red); color: #141414; margin-top: 28px; }
.button-red:hover { background: #ff5e5d; }
.button span { font-size: 22px; line-height: 1; }
.source-note { color: var(--muted); font-size: 12px; line-height: 1.8; padding-block: 40px; }
.source-note a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer { padding-block: 24px 40px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.site-footer img { width: 140px; height: auto; }
.site-footer > span, .site-footer > div { font-size: 12px; color: var(--muted); }
.site-footer > div { display: flex; gap: 24px; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: 24px; transform: translate(-50%, 12px); background: #343438; color: white; font-size: 13px; line-height: 1.5; text-align: center; border-radius: 16px; padding: 16px 24px; max-width: min(500px, calc(100% - 32px)); opacity: 0; pointer-events: none; transition: opacity 180ms, transform 180ms; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.skip-link { position: fixed; top: 16px; left: 24px; z-index: 100; color: white; background: var(--dark); padding: 16px 24px; border-radius: 12px; opacity: 0; pointer-events: none; }
.skip-link:focus { opacity: 1; pointer-events: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.noscript { padding: 24px; background: #ffe6b0; border-radius: 16px; }
@media (min-width: 1600px) {
  .calculator-grid { grid-template-columns: 400px minmax(0, 1fr); }
  .position-panel { padding: 40px; }
  .results-panel { padding: 40px 48px; }
  #payoff-chart { height: 300px; }
}
@media (max-width: 1100px) {
  :root { --page-gutter: 48px; }
  .hero { gap: 40px; padding-top: 48px; }
  h1 { font-size: 64px; }
  .hero-copy p { font-size: 18px; }
  .calculator-grid { grid-template-columns: 300px minmax(0, 1fr); }
  .position-panel { padding: 28px 24px; }
  .results-panel { padding: 28px; }
  .scenario-profit { font-size: 44px; }
  .metric-grid { gap: 12px; }
  .metric-grid strong { font-size: 20px; }
  .metric-grid span { font-size: 11px; }
  .chart-hint { display: none; }
  .section-intro, .example-layout { gap: 48px; }
  .assumptions-section, .faq-section { gap: 48px; }
  .author-section { gap: 40px; padding: 40px; }
  .author-identity { gap: 16px; }
  .author-portrait { width: 80px; height: 88px; border-radius: 16px; }
  .author-identity h3 { font-size: 22px; }
  .formula-card { padding: 32px; }
  .example-result { padding: 36px; }
  .broker-cta { padding: 40px; gap: 40px; }
}
@media (max-width: 850px) {
  :root { --page-gutter: 32px; }
  .hero { grid-template-columns: 1.2fr 1fr; gap: 32px; }
  h1 { font-size: 56px; }
  .hero-copy p { font-size: 16px; }
  .hero-copy a { font-size: 13px; gap: 12px; margin-top: 16px; }
  .calculator-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 12px; }
  .position-panel { padding: 24px 20px; }
  .results-panel { padding: 24px; }
  .results-heading { gap: 8px; }
  .share-button { width: 36px; height: 36px; padding: 10px; }
  .share-button span { display: none; }
  .scenario-profit { font-size: 38px; }
  .scenario-description { font-size: 11px; gap: 4px 8px; }
  .result-separator { display: none; }
  .metric-grid { margin-block: 28px; gap: 10px; }
  .metric-grid span { font-size: 10px; }
  .metric-grid strong { font-size: 17px; }
  .chart-tabs button { padding-inline: 12px; font-size: 11px; }
  #payoff-chart { height: 260px; }
  .price-explorer-label { gap: 12px; }
  .price-explorer-label > label { font-size: 11px; max-width: 140px; line-height: 1.5; }
  .target-input-wrap { width: 110px; }
  .calculator-footnote { font-size: 11px; gap: 24px; }
  .guide-steps { gap: 24px; }
  .section-intro { gap: 32px; align-items: start; }
  .section-intro > p { font-size: 16px; }
  .methodology-section { padding-block: 80px 64px; }
  .formula-card { padding: 28px; }
  .formula-card > p { font-size: 14px; }
  .formula-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .formula-expression { font-size: 27px; margin-block: 32px; }
  .example-layout { gap: 32px; }
  .example-result { padding: 28px; }
  .example-copy p { font-size: 16px; }
  .example-result dl > div { font-size: 14px; }
  .assumptions-section, .faq-section { gap: 32px; }
  .assumptions-section { padding-block: 80px; }
  .author-section { gap: 32px; padding: 32px; margin-bottom: 80px; }
  .author-identity { flex-wrap: wrap; }
  .author-profile > h2 { font-size: 28px; margin-bottom: 24px; }
  .author-bio { font-size: 14px; }
  .assumption-list p { font-size: 14px; }
  .faq-section { padding-bottom: 80px; }
  .faq-list details { padding-inline: 20px; }
  .faq-list summary { font-size: 14px; }
  .broker-cta { grid-template-columns: 1fr; gap: 24px; }
  .broker-cta h2 br { display: none; }
  .broker-cta p { max-width: 500px; }
}
@media (max-width: 1366px) {
  .header-container { padding-inline: 40px; }
  .header-actions { gap: 14px; }
}
@media (max-width: 1140px) { .header-bar { gap: 10px; } }
@media (max-width: 1024px) { .header-container { padding-inline: 32px; } }
@media (max-width: 1023px) {
  :root { --header-height: 96px; }
  .primary-nav, .solutions-nav { display: none; }
  .header-bar { gap: 16px; }
  .header-bar > .header-burger { display: inline-flex; }
}
@media (max-width: 580px) {
  .header-actions { display: none; }
  .header-bar { justify-content: space-between; }
}
@media (max-width: 480px) { .header-container { padding-inline: 24px; } }
@media (max-width: 393px) { .header-container { padding-inline: 20px; } }
@media (max-width: 700px) {
  :root { --radius: 28px; --page-gutter: 20px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 40px 32px; }
  h1 { font-size: clamp(48px, 12vw, 72px); letter-spacing: -.045em; }
  .hero-copy { justify-self: start; max-width: 390px; }
  .hero-copy p { font-size: 17px; }
  .hero-copy a { display: none; }
  .hero-copy .author-byline a { display: inline; }
  .calculator-grid { grid-template-columns: 1fr; gap: 12px; }
  .calculator-guide { padding-inline: 24px; margin-bottom: 12px; }
  .calculator-guide > summary h2 { font-size: 14px; }
  .guide-steps { grid-template-columns: 1fr; gap: 20px; }
  .guide-steps p { margin-top: 4px; }
  .position-panel { padding: 28px 24px; }
  .panel-heading { margin-bottom: 20px; }
  .strategy-description { min-height: 0; margin-bottom: 20px; }
  .input-wrap, .strategy-trigger { min-height: 56px; }
  .contract-field { margin-top: 20px; }
  .settings-trigger { margin-top: 12px; }
  .cost-dialog { padding: 24px; }
  .dialog-header h2 { font-size: 22px; }
  .settings-fields { gap: 16px; }
  .position-cost { margin-top: 20px; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 16px; }
  .position-cost strong { font-size: 28px; }
  .results-panel { padding: 28px 24px; }
  .scenario-profit { font-size: clamp(34px, 10vw, 52px); }
  .scenario-description { font-size: 12px; }
  .result-separator { display: inline; }
  .metric-grid { margin-block: 32px; gap: 16px; }
  .metric-grid span { font-size: 11px; }
  .metric-grid strong { font-size: 18px; }
  .chart-tabs button { font-size: 12px; }
  .chart-hint { display: block; font-size: 10px; }
  #payoff-chart { height: 250px; }
  .price-explorer-label > label { font-size: 12px; max-width: 160px; }
  .target-input-wrap { width: 116px; }
  .calculator-footnote { display: block; padding: 16px 8px; }
  .calculator-footnote a { display: inline-block; margin-top: 12px; }
  .methodology-section { padding-block: 64px; }
  h2 { font-size: 40px; }
  .section-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .section-intro > p { font-size: 16px; }
  .formula-grid { grid-template-columns: 1fr; gap: 12px; }
  .formula-card { padding: 28px; }
  .formula-card > p { font-size: 15px; }
  .formula-card dl > div { grid-template-columns: 1fr 1.4fr; gap: 16px; font-size: 12px; }
  .formula-key { font-size: 11px; margin-top: 20px; }
  .example-section { padding-block: 56px; }
  .example-layout { grid-template-columns: 1fr; gap: 32px; }
  .example-copy p { margin-top: 24px; }
  .example-result { padding: 32px; }
  .example-result > strong { font-size: 56px; }
  .assumptions-section { grid-template-columns: 1fr; gap: 32px; padding-block: 64px; }
  .assumption-list { gap: 28px; }
  .assumption-list h3 { font-size: 22px; }
  .assumption-list p { font-size: 15px; }
  .author-section { grid-template-columns: 1fr; padding: 32px 24px; gap: 40px; margin-bottom: 64px; }
  .author-identity { flex-wrap: nowrap; }
  .author-portrait { width: 72px; height: 80px; }
  .author-identity h3 { font-size: 22px; }
  .author-identity p { font-size: 12px; }
  .author-bio { font-size: 15px; }
  .faq-section { grid-template-columns: 1fr; gap: 32px; padding-bottom: 64px; }
  .faq-list summary { font-size: 15px; min-height: 76px; }
  .broker-cta { padding: 32px 28px; border-radius: 28px; }
  .broker-cta h2 { font-size: 36px; }
  .broker-cta p { font-size: 15px; }
  .button-red { margin-top: 24px; }
  .source-note { font-size: 11px; padding: 28px 8px; }
  .site-footer { flex-wrap: wrap; gap: 24px; padding-bottom: 32px; }
  .site-footer > div { width: 100%; font-size: 11px; }
  .site-footer > span { font-size: 11px; }
  .site-footer img { width: 128px; }
}
@media (max-width: 380px) {
  .results-panel { padding-inline: 20px; }
  .metric-grid { gap: 12px; }
  .metric-grid strong { font-size: 17px; }
  .metric-grid span { font-size: 10px; }
  .chart-hint { display: none; }
  .scenario-table th, .scenario-table td { padding-inline: 8px; }
}
@media (forced-colors: active) {
  .input-wrap:focus-within, .stepper:has(input:focus-visible), .target-input-wrap:focus-within { outline: 2px solid Highlight; outline-offset: 2px; }
  .input-wrap:has(input[aria-invalid=true]), .stepper:has(input[aria-invalid=true]), .target-input-wrap:has(input[aria-invalid=true]) { outline: 2px dashed CanvasText; outline-offset: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
