/* The Why OptionSpace and Product pages (value, details, quality, speed, build, agents): shared
   components, built only from the site's tokens so both themes work. Ported from the samples
   2026-11-10 (plans/website_samples/port_to_site.py); edit here from now on. */

.ws-section { padding-block: 84px; }
.ws-section.tight { padding-block: 56px; }
.ws-tinted { background: var(--paper-2); }
.ws-head { max-width: 760px; margin-bottom: 36px; }
.ws-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 10px 0 12px; }
.ws-head p { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.ws-lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 520px; margin: 0 0 30px; }
.ws-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ws-caption { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.ws-caption b { font-weight: 400; color: var(--ink-2); }
canvas.ws-chart { width: 100%; display: block; }
.ws-mono { font-family: var(--mono); font-size: 12.5px; }

/* ---------------- hero ---------------- */
.why-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.why-hero h1 { margin-top: 14px; }
.why-hero .counters { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.why-hero .counters b { font-weight: 400; font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 6px; }
.wall-wrap { position: relative; }
.ws-tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--paper); font-size: 12.5px; padding: 5px 9px; white-space: nowrap; display: none; z-index: 2; }
@media (max-width: 920px) { .why-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; } }

/* ---------------- proof strip ---------------- */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 0; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.proof > div { padding: 26px 24px 24px 0; }
.proof > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.proof .num { font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proof .num small { font-size: .45em; color: var(--ink-2); margin-left: 2px; }
.proof .lbl { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); margin-top: 10px; }
@media (max-width: 920px) { .proof { grid-template-columns: 1fr 1fr; } .proof > div:nth-child(3) { border-left: 0; padding-left: 0; } .proof > div:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 560px) { .proof { grid-template-columns: 1fr; } .proof > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } }

/* ---------------- question explorer ---------------- */
.qx { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: start; }
.qx-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.qx-list button { all: unset; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 14px 6px 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; line-height: 1.35; color: var(--ink-2); }
.qx-list button span { color: var(--muted); font-size: 13px; letter-spacing: .1em; padding-top: 3px; }
.qx-list button:hover { color: var(--ink); }
.qx-list button[aria-selected="true"] { color: var(--ink); }
.qx-list button[aria-selected="true"] span { color: var(--accent); }
.qx-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qx-panel { background: var(--card); border: 1px solid var(--rule); padding: 28px; min-height: 560px; }
.qx-panel h3 { font-size: 26px; margin: 0 0 10px; }
.qx-panel .answer { font-size: 17.5px; line-height: 1.55; color: var(--ink-2); margin: 0 0 22px; max-width: 680px; }
.qx-panel .answer strong { font-weight: 400; color: var(--ink); }
.qx-hud { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.qx-hud b { font-weight: 400; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pill { display: inline-block; border: 1px solid currentColor; padding: 2px 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.pill.ok { color: var(--clean-ink); background: var(--clean-bg); border-color: transparent; }
.pill.warn { color: var(--gated-ink); background: var(--gated-bg); border-color: transparent; }
.ws-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.ws-ctrl button { font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: transparent; color: var(--ink); border: 1px solid var(--rule-dark); padding: 6px 12px; cursor: pointer; }
.ws-ctrl input[type=range] { flex: 1; accent-color: var(--accent); }
.fit-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit-pair figure { margin: 0; }
.fit-pair figcaption { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.code-chip { font-family: var(--mono); font-size: 12px; padding: 2px 7px; background: var(--gated-bg); color: var(--gated-ink); }
.ws-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.ws-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; color: var(--ink-2); display: grid; grid-template-columns: 92px 1fr; gap: 12px; }
.ws-list li b { font-weight: 400; color: var(--ink); }
.ws-list .d { color: var(--muted); font-size: 13.5px; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.plan-table th, .plan-table td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--rule); }
.plan-table thead th { font-weight: 400; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.plan-table td.y { color: var(--clean-ink); }
.plan-table tr.step td { color: var(--ink); background: var(--paper-2); }
pre.ws-code { background: var(--plate); color: var(--plate-ink); font-family: var(--mono); font-size: 13px; line-height: 1.6; padding: 18px 20px; overflow-x: auto; margin: 0 0 14px; }
pre.ws-code .c { color: var(--plate-mut); }
pre.ws-code .k { color: #9DB8FF; }
pre.ws-code .s { color: #B8E0B0; }
@media (max-width: 920px) { .qx { grid-template-columns: 1fr; gap: 20px; } .qx-panel { min-height: 0; padding: 18px; } .fit-pair { grid-template-columns: 1fr; } }

/* ---------------- dataset tiles ---------------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.tile { background: var(--paper); padding: 22px 22px 20px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; transition: background .15s; }
.tile:hover { background: var(--card); }
.tile .no { font-size: 12px; letter-spacing: .16em; color: var(--accent); }
.tile h3 { font-size: 21px; margin: 2px 0 0; }
.tile p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.tile canvas { margin: 6px 0 8px; }
.tile .src { font-size: 12px; color: var(--muted); margin-top: auto; }
@media (max-width: 920px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---------------- timeline ---------------- */
.tl-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.tl-head .big { font-size: clamp(44px, 6vw, 72px); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.legend { display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }

/* ---------------- chips shared by What's new and Requests ---------------- */
.chip { display: inline-block; font-size: 12px; letter-spacing: .04em; padding: 2px 9px; border: 1px solid var(--rule-dark); color: var(--ink-2); white-space: nowrap; line-height: 1.5; }
.chip[data-t="New data"] { color: var(--accent); border-color: currentColor; }
.chip[data-t="Accuracy"] { color: var(--clean-ink); border-color: currentColor; }
.chip[data-t="Coverage"] { color: var(--gated-ink); border-color: currentColor; }
.chip[data-t="API & Python"] { color: #7B4FC9; border-color: currentColor; }
html.dark .chip[data-t="API & Python"] { color: #B79BFF; }
.chip[data-t="Data revision"] { color: var(--paper); background: var(--gated-ink); border-color: var(--gated-ink); }
.chip.status-open { color: var(--ink-2); }
.chip.status-planned { color: var(--accent); border-color: currentColor; }
.chip.status-progress { color: #7B4FC9; border-color: currentColor; }
html.dark .chip.status-progress { color: #B79BFF; }
.chip.status-shipped { color: var(--clean-ink); background: var(--clean-bg); border-color: transparent; }
.chip.status-notplanned { color: var(--muted); border-style: dashed; }
.chip.ours { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.chip.pending { color: var(--gated-ink); background: var(--gated-bg); border-color: transparent; }


/* ---------------- shared page pieces ---------------- */
.wv-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; padding-top: 64px; padding-bottom: 72px; }
.wv-hero > div:first-child { padding-top: 36px; }
.wv-hero h1 { margin-top: 14px; }
.wv-hero h1 em { color: var(--accent); }
@media (max-width: 920px) { .wv-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; } }
.ws-head.center { margin-inline: auto; text-align: center; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- the stack (hero visual) ---------------- */
.stack { position: relative; }
.stack-top { background: var(--plate); color: var(--plate-ink); padding: 18px 22px 16px; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; border: 1px solid var(--plate-2); }
.stack-top .lbl { display: block; font-family: var(--serif); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--plate-mut); margin-bottom: 8px; }
.stack-top .k { color: #8FB4FF; } .stack-top .s { color: #E9C46A; } .stack-top .c { color: var(--plate-mut); }
.waterline { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.waterline::before, .waterline::after { content: ""; flex: 1; height: 0; border-top: 1px dashed var(--rule-dark); }
.layers { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.layers::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: var(--rule-dark); opacity: .55; }
/* Flow runs top to bottom (owner 11-01, option A): a packet runs down the rail, the rail fills behind it,
   and each circle fills with a pulse as the packet reaches it. value.js drives it. */
.flow-fill { position: absolute; left: 8px; width: 2px; background: var(--accent); pointer-events: none; transition: opacity .5s ease; }
.flow-packet { position: absolute; left: 4px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--accent); z-index: 3; pointer-events: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent), 0 0 16px 2px color-mix(in srgb, var(--accent) 55%, transparent); }
.flow-trail { position: absolute; left: 6px; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--accent); z-index: 2; pointer-events: none; }
.layers li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline;
  padding: 11px 16px; margin-bottom: 6px; background: var(--card); border: 1px solid var(--rule); }
.layers li::before { content: ""; position: absolute; left: -24px; top: 50%; box-sizing: border-box; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; z-index: 1;
  background: var(--paper); border: 2px solid var(--accent); transition: background-color .35s ease, box-shadow .5s ease; }
.layers li.lit::before { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.layers li.lit { border-color: color-mix(in srgb, var(--accent) 40%, var(--rule)); }
.layers li.burst::after { content: ""; position: absolute; left: -31px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  border: 2px solid var(--accent); animation: flowBurst .7s ease-out both; pointer-events: none; }
@keyframes flowBurst { from { transform: scale(.35); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
.layers li b { font-weight: 400; font-size: 16.5px; }
.layers li span { grid-column: 1; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.layers li em { grid-row: 1 / span 2; grid-column: 2; font-style: normal; text-align: right; font-size: 22px; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.1; }
.layers li em small { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.layers li.pre { opacity: 0; transform: translateX(-10px); }
.layers li { transition: opacity .45s ease, transform .45s ease, border-color .5s ease; }
@media (max-width: 560px) { .layers li { grid-template-columns: 1fr; } .layers li em { grid-row: auto; grid-column: 1; text-align: left; font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .flow-packet, .flow-trail { display: none; } .layers li.burst::after { display: none; } }

/* ---------------- big numbers ---------------- */
.bignums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.bignums > div { padding: 28px 22px 26px 0; }
.bignums > div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.bignums .num { font-size: clamp(34px, 4.2vw, 56px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bignums .num small { font-size: .42em; color: var(--ink-2); margin-left: 4px; letter-spacing: 0; }
.bignums .lbl { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); margin-top: 10px; }
@media (max-width: 920px) { .bignums { grid-template-columns: 1fr 1fr; } .bignums > div:nth-child(3) { border-left: 0; padding-left: 0; } .bignums > div:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 520px) { .bignums { grid-template-columns: 1fr; } .bignums > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } }

/* ---------------- ways to use it ---------------- */
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.way { border: 1px solid var(--rule); background: var(--card); padding: 18px 18px 16px; }
.way h3 { font-size: 19px; margin: 0 0 6px; }
.way p { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); margin: 0 0 12px; }
.way code { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); background: var(--paper-2); padding: 7px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 920px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ways { grid-template-columns: 1fr; } }

/* ---------------- cost: variant switch, table, calculator ---------------- */
.variant-switch { display: inline-flex; border: 1px solid var(--rule-dark); margin-bottom: 26px; }
.variant-switch button { all: unset; cursor: pointer; padding: 8px 16px; font-size: 14px; color: var(--ink-2); }
.variant-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.variant-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cost-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: start; }
@media (max-width: 920px) { .cost-grid { grid-template-columns: 1fr; } }
.cost-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cost-table th { font-weight: 400; text-align: left; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 10px 10px 0; border-bottom: 1px solid var(--rule-dark); }
.cost-table td { padding: 13px 10px 13px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cost-table td:last-child, .cost-table th:last-child { text-align: right; padding-right: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cost-table td > b { font-weight: 400; display: block; font-size: 16px; }
.cost-table td .why em { font-style: normal; color: var(--ink-2); }
.cost-table td .why { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 3px; }
.cost-table td .why a { color: var(--muted); }
.cost-table tr.total td { border-bottom: 0; border-top: 1px solid var(--rule-dark); font-size: 18px; padding-top: 16px; }
.cost-table tr.total td:last-child { font-size: 24px; }
.cost-table .bar { display: block; height: 4px; background: var(--accent); opacity: .55; margin-top: 8px; }
.versus { background: var(--card); border: 1px solid var(--rule); padding: 26px 24px; position: sticky; top: 90px; }
.versus .lbl { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.versus .them { font-size: 44px; line-height: 1.05; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.versus .us { font-size: 44px; line-height: 1.05; margin: 6px 0 2px; color: var(--accent); font-variant-numeric: tabular-nums; }
.versus p { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0 0 18px; }
.versus .ratio { border-top: 1px solid var(--rule); padding-top: 16px; font-size: 15px; color: var(--ink-2); }
.versus .ratio b { font-weight: 400; font-size: 28px; color: var(--ink); display: block; }
.versus .vs-split { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding: 7px 0; border-bottom: 1px solid var(--rule); }
.versus .vs-split:first-of-type { margin-top: 10px; }
.versus .vs-split.us b { color: var(--accent); }
.versus .vs-block + .vs-block { border-top: 1px solid var(--rule-dark); margin-top: 22px; padding-top: 20px; }
.versus p.vs-sub { font-size: 13px; color: var(--muted); margin: 8px 0 4px; }
.versus p.vs-sub a { color: var(--muted); }
.versus .vs-block .ratio { border-top: 0; padding-top: 0; }
.versus .vs-split b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.versus .vs-split + .them { margin-top: 12px; }
.team { margin-top: 36px; }
.team-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--rule-dark); padding-bottom: 10px; }
.intro-site .team-head h3 { font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.team-head b { font-weight: 400; font-size: 24px; font-variant-numeric: tabular-nums; }
.team > p { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin: 14px 0 16px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }
.team .role { background: var(--card); border: 1px solid var(--rule); padding: 14px 14px 16px; }
.team .role .seats { display: flex; gap: 5px; margin-bottom: 10px; }
.team .role .seats i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); opacity: .8; }
.team .role b { font-weight: 400; font-size: 16px; display: block; }
.team .role span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.team p.team-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.scale-bars { margin: 18px 0 20px; }
.scale-bars div { height: 14px; background: var(--ink); margin-bottom: 6px; transition: width .9s ease; }
.scale-bars div.us { background: var(--accent); min-width: 3px; }
.calc { display: grid; gap: 18px; }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 4px 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.calc-row label { font-size: 16px; }
.calc-row .help { grid-column: 1 / -1; font-size: 13px; color: var(--muted); line-height: 1.45; }
.calc-row .help a { color: var(--muted); }
.calc-row output { text-align: right; font-variant-numeric: tabular-nums; font-size: 17px; }
.calc-row input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }
.calc-row .seg { grid-column: 1 / -1; display: inline-flex; border: 1px solid var(--rule-dark); width: max-content; }
.calc-row .seg button { all: unset; cursor: pointer; padding: 6px 12px; font-size: 13.5px; color: var(--ink-2); }
.calc-row .seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.calc-lines { font-size: 14px; color: var(--ink-2); margin: 0 0 16px; padding: 0; list-style: none; }
.calc-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dotted var(--rule); font-variant-numeric: tabular-nums; }
.sources { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 22px; }
.sources a { color: var(--muted); }

/* ---------------- who could afford this ---------------- */
.afford { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
@media (max-width: 920px) { .afford { grid-template-columns: 1fr; gap: 28px; } }
.afford-rows { display: grid; gap: 16px; }
.afford-row .who { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }
.afford-row .who b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.afford-row .track { height: 22px; background: var(--paper-2); position: relative; }
.afford-row .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink-2); width: 0; transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.afford-row.us .fill { background: var(--accent); }
.afford-row .src { font-size: 12px; color: var(--muted); margin-top: 4px; }
.afford-row .src a { color: var(--muted); }
.afford-row .track { background-image: linear-gradient(to right, var(--rule-dark) 1px, transparent 1px); background-size: calc(100% / 4) 100%; }
.afford-axis { position: relative; height: 18px; font-size: 12px; color: var(--muted); margin-top: -6px; }
.afford-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.afford-axis span:first-child { transform: none; }
.afford-axis span:last-child { transform: translateX(-100%); }

/* ---------------- nothing to run: the to-do list ---------------- */
.todo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--rule-dark); }
@media (max-width: 760px) { .todo { grid-template-columns: 1fr; } }
.todo li { list-style: none; display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.todo .box { width: 20px; height: 20px; border: 1.5px solid var(--rule-dark); position: relative; margin-top: 3px; transition: background .3s, border-color .3s; }
.todo .box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s .1s; }
.todo li.done .box { background: var(--clean-ink); border-color: var(--clean-ink); }
.todo li.done .box::after { transform: rotate(45deg) scale(1); }
.todo b { font-weight: 400; font-size: 17px; display: block; transition: color .3s; }
.todo li.done b { color: var(--muted); }
.todo span { font-size: 14px; color: var(--ink-2); line-height: 1.45; display: block; margin-top: 3px; }
.todo span em { font-style: normal; color: var(--clean-ink); }
.todo span .wo { font-style: normal; color: var(--ink); }

/* ---------------- a trading day ---------------- */
.day-wrap { position: relative; margin-top: 30px; }
.day-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); margin-top: 12px; }
.day-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }

/* ---------------- always improving ---------------- */
.improve-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: 26px; }
.improve-count { text-align: right; }
.improve-count b { display: block; font-weight: 400; font-size: 64px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.improve-count span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 700px) { .improve-head { grid-template-columns: 1fr; } .improve-count { text-align: left; } }
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 34px; border-top: 1px solid var(--rule-dark); }
.promise > div { padding: 20px 22px 6px 0; }
.promise > div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.promise h3 { font-size: 20px; margin: 0 0 6px; }
.promise p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } .promise > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } }

/* ---------------- closing ---------------- */
.focus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--rule-dark); }
.focus > div { padding: 30px 28px; }
.focus > div + div { border-left: 1px solid var(--rule-dark); background: var(--card); }
.focus h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 0 0 14px; }
.focus ul { margin: 0; padding: 0; list-style: none; }
.focus li { font-size: 18px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.focus li:last-child { border-bottom: 0; }
.focus .you li::before { content: "→ "; color: var(--accent); }
.focus .us li { color: var(--ink-2); }
@media (max-width: 700px) { .focus { grid-template-columns: 1fr; } .focus > div + div { border-left: 0; border-top: 1px solid var(--rule-dark); } }

/* ---------------- 'More in Why OptionSpace' strip (built into every section page) ---------------- */
.sec-strip { border-top: 1px solid var(--rule-dark); padding: 44px 0 56px; }
.sec-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.sec-card { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); background: var(--card); padding: 14px 16px 16px; transition: border-color .15s, transform .15s; }
.sec-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.sec-card .no { display: block; font-size: 12px; letter-spacing: .12em; color: var(--accent); margin-bottom: 6px; }
.sec-card b { display: block; font-weight: 400; font-size: 18px; margin-bottom: 4px; }
.sec-card span:last-child { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.sec-card.here { border-color: var(--ink); pointer-events: none; }
.sec-card.here .no::after { content: " · you are here"; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 920px) { .sec-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sec-cards { grid-template-columns: 1fr; } }

/* The strip lists the four Why OptionSpace pages */
.sec-cards.dc-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 920px) { .sec-cards.dc-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sec-cards.dc-cards { grid-template-columns: 1fr; } }
