@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("./fonts/ibm-plex-sans-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("./fonts/ibm-plex-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("./fonts/ibm-plex-mono-latin.woff2") format("woff2"); }
:root {
  --bg: #f4f6f9; --surface: #ffffff; --raised: #e9eff5; --line: #c7d2df;
  --text: #17283b; --muted: #536377; --accent: #08749b; --accent-soft: #e0eef4;
  --button-ink: #ffffff; --button-hover: #075c7b; --danger: #ab3d17;
  --logo-ink: #0b172e; --logo-accent: #0d8fc4;
  --knode-ink: #0f172a;
  --band: #e8eff6;
  --claude: #b8693a; --codex: #136d88;
  --ok: #3b7a5f; --violet: #71669d; --line2: #a9b7c7;
  --radius: 8px; --page: min(1240px, calc(100% - 96px)); --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #080b11; --surface: #0d1220; --raised: #131a2a; --line: #263044;
  --text: #e8edf5; --muted: #9baabd; --accent: #4cc2f1; --accent-soft: #122837;
  --button-ink: #080b11; --button-hover: #90dbf8; --danger: #f08f6b;
  --logo-ink: #e8edf5; --logo-accent: #4cc2f1;
  --knode-ink: #e8edf5;
  --band: #101827;
  --claude: #e3a47c; --codex: #85d1e5;
  --ok: #93cbab; --violet: #bdb3df; --line2: #3a4760;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "IBM Plex Sans", "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, select { font: inherit; color: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled, select:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button, a, select, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--bg); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h2 { font-size: clamp(32px, 3.5vw, 49px); line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
p { line-height: 1.65; }
.page-width { width: var(--page); margin-inline: auto; }
.section-space { padding-block: 112px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 18px; border-radius: var(--radius); background: var(--text); color: var(--bg); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.brand { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.brand-mark { display: block; flex: none; width: 40px; height: 31px; }
.brand-word { font-size: 21px; line-height: 1; letter-spacing: -.025em; color: var(--logo-ink); }
.brand-word > span { font-weight: 500; }
.brand-word > strong { font-weight: 700; color: var(--logo-accent); }
/* Beta badge beside the logo; the negative margin pulls it closer than the header gap. */
.beta-badge { margin-inline-start: -16px; padding: 3px 8px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 999px; color: var(--accent); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: background-color .2s; }
.beta-badge:hover, .beta-badge:focus-visible { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-header { position: relative; width: var(--page); margin-inline: auto; min-height: 88px; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.site-nav { display: flex; margin-left: auto; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--text); padding-block: 12px; transition: color .2s; }
.site-nav a:hover, .footer-github:hover, .footer-legal:hover, .footer-author:hover .footer-credit { color: var(--accent); }
.header-actions { display: flex; gap: 22px; align-items: center; }
.language-picker { position: relative; font-size: 13px; z-index: 5; }
.language-picker summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 3px; cursor: pointer; list-style: none; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker img { display: block; flex: none; border-radius: 2px; }
.language-picker summary:hover { color: var(--accent); }
.disclosure-chevron { width: 5px; height: 5px; margin: -3px 2px 0 1px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.language-picker[open] .disclosure-chevron { transform: translateY(3px) rotate(225deg); }
.language-options { position: absolute; right: 0; top: calc(100% + 9px); width: 190px; max-height: min(70vh, 520px); overflow-y: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.language-options button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 10px; border: 0; border-radius: 5px; background: transparent; color: var(--text); text-align: start; font-size: 14px; }
.language-options button:hover { background: var(--raised); }
.language-options button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.language-check { margin-inline-start: auto; visibility: hidden; }
.language-options button[aria-pressed="true"] .language-check { visibility: visible; }
.theme-toggle { display: grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); }
.theme-toggle:hover { background: var(--raised); border-color: var(--muted); }
.theme-toggle[aria-pressed="true"] { color: var(--accent); }
.theme-icon { width: 17px; height: 17px; border: 1.5px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, transparent 50%, currentColor 50%); transform: rotate(-30deg); transition: transform .3s var(--ease); }
.theme-toggle[aria-pressed="true"] .theme-icon { transform: rotate(150deg); }
.header-github { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; white-space: nowrap; }
.header-github span { color: var(--accent); }
.menu-button { display: none; min-height: 42px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; font-size: 13px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 52px; padding: 13px 21px; border-radius: var(--radius); font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; transition: background-color .2s, color .2s; }
.button-primary { background: var(--accent); color: var(--button-ink); }
.button-primary:hover { background: var(--button-hover); }
.button-secondary { border: 1px solid var(--accent); background: var(--accent-soft); color: var(--text); }
.button-secondary > span:last-child { color: var(--accent); }
.button-secondary:hover { background: var(--accent); color: var(--button-ink); }
.button-secondary:hover > span:last-child { color: inherit; }
.button > span:last-child, .text-link > span:last-child { transition: transform .25s var(--ease); }
.button:hover > span:last-child { transform: translate(2px, -2px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 500; }
.text-link > span:first-child { border-bottom: 1px solid var(--line); transition: border-color .2s; }
.text-link > span:last-child { color: var(--accent); }
.text-link:hover > span:first-child { border-color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; min-height: min(740px, calc(100svh - 88px)); padding-block: clamp(30px, 6vh, 62px); }
.hero h1 { font-size: clamp(62px, 6.6vw, 91px); line-height: 1.04; letter-spacing: -.065em; margin-bottom: 26px; }
.hero h1 > span { display: block; white-space: nowrap; }
.accent-text { color: var(--accent); }
.hero-lead { max-width: 475px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; margin-bottom: 18px; text-wrap: pretty; }
.hero-detail { max-width: 440px; color: var(--muted); font-size: 16px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.capacity-atlas { min-width: 0; align-self: center; }
.atlas-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.atlas-heading h2 { font-size: 17px; letter-spacing: -.015em; line-height: 1.4; }
.example-label { color: var(--muted); font-size: 12px; white-space: nowrap; }
.window-switcher, .period-switcher { display: flex; gap: 4px; }
.window-switcher { margin-top: 14px; }
.window-switcher button, .period-switcher button { min-height: 42px; min-width: 77px; padding: 8px 16px; background: transparent; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); font-size: 13px; transition: color .2s, background-color .2s; }
.window-switcher button[aria-pressed="true"], .period-switcher button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); border-color: var(--line); }
.window-switcher button:hover, .period-switcher button:hover { color: var(--text); }
/* Hero: the app's Overview window card. Four readings with meters over the usage chart and pace forecast. */
.window-card { margin-top: 12px; }
.window-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--line); }
.window-kpis > div { min-width: 0; padding: 10px 14px 14px; border-left: 1px solid var(--line); }
.window-kpis > div:first-child { padding-left: 0; border-left: 0; }
.window-kpis dt { color: var(--muted); font-size: 13px; }
.window-kpis dd { margin: 0; }
.kpi-value { font-family: "IBM Plex Mono", Consolas, monospace; font-size: clamp(24px, 2.3vw, 31px); font-weight: 500; line-height: 1.35; letter-spacing: -.04em; white-space: nowrap; }
.kpi-value small { margin-left: 2px; color: var(--muted); font-size: .5em; letter-spacing: 0; }
.kpi-value.is-risk { color: var(--danger); }
.kpi-meter { position: relative; height: 6px; margin: 5px 0 7px; border-radius: 3px; background: var(--raised); }
.kpi-meter i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--accent); transition: width .6s var(--ease); }
.kpi-meter-time i { background: var(--muted); opacity: .45; }
.kpi-meter i.is-risk { background: var(--danger); }
.kpi-meter b { position: absolute; top: -3px; width: 2px; height: 12px; background: var(--text); transform: translateX(-1px); transition: left .6s var(--ease); }
.kpi-meter-reset b { left: 50%; }
.kpi-note { color: var(--muted); font-size: 12px; line-height: 1.4; }
.window-chart { display: block; width: 100%; height: auto; margin-top: 12px; overflow: visible; }
.window-grid line { stroke: var(--line); stroke-dasharray: 2 4; }
.window-grid .window-limit { stroke: var(--text); stroke-dasharray: none; opacity: .6; }
.window-axis, .window-dot-label { fill: var(--muted); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 11px; }
.window-axis-y, .window-axis-end { text-anchor: end; }
.window-now-label { text-anchor: middle; }
.window-area { fill: var(--accent); opacity: .14; }
.window-usage { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.window-forecast { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 5; }
.window-forecast.is-risk, .window-cross { stroke: var(--danger); }
.window-cross { fill: none; stroke-width: 2; }
.window-now { stroke: var(--text); stroke-dasharray: 2 3; opacity: .5; }
.window-dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.window-dot-label { fill: var(--text); font-size: 13px; }
.window-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 0; padding: 0; color: var(--muted); font-size: 13px; list-style: none; }
.window-legend li { display: inline-flex; align-items: center; gap: 8px; }
.window-legend i { width: 18px; border-top: 2px solid var(--accent); }
.window-legend .legend-pace { border-top-style: dashed; }
.capacity-atlas figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.sources-section { }
.sources { padding-block: 36px 40px; }
.sources h2 { font-size: 18px; letter-spacing: -.015em; font-weight: 500; }
.source-map-art { display: none; }
.map-compass { display: none; }
.sketch-compass, .sketch-sheet { display: none; }
.source-names { margin: 26px 0 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 18px 30px; }
.source-names li { font-size: clamp(19px, 2vw, 26px); font-weight: 500; letter-spacing: -.035em; }
.source-names li > span { font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: -.01em; }
.sources > p { font-size: 15px; color: var(--muted); }
.sources > p + p { margin-top: 4px; }
.possibilities { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(60px, 10vw, 160px); }
.section-intro h2 { margin-bottom: 26px; }
.section-intro p { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.feature-list article { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; padding: 30px 0; border-top: 1px solid var(--line); }
.feature-list article:first-child { padding-top: 0; border-top: 0; }
.feature-list article:last-child { padding-bottom: 0; }
.feature-icon { grid-row: span 2; display: block; width: 72px; height: 72px; object-fit: contain; }
.feature-list h3 { margin-bottom: 12px; }
.feature-list p { font-size: 15px; color: var(--muted); }
.capabilities .section-intro { max-width: 620px; margin-bottom: 54px; }
.capability-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 clamp(26px, 4vw, 60px); margin: 0 0 28px; padding: 0; list-style: none; }
.capability-grid li { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.capability-icon { display: block; width: 72px; height: 72px; margin-bottom: 12px; object-fit: contain; }
.capability-grid h3 { font-size: 21px; margin-bottom: 10px; }
.capability-grid p { font-size: 14px; color: var(--muted); }
.projects-section { }
/* What a project shows on the left, held while the two example screens scroll past on the right. */
.project-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: 64px; align-items: start; }
.project-intro { position: sticky; top: 40px; }
/* Rows alternate sides down the page: a flipped row puts the screens first and the text on the right. */
.project-layout.is-flipped { grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr); }
.is-flipped > .project-intro { order: 2; }
.project-intro h2 { margin-bottom: 26px; }
.project-intro > p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.project-checks { display: grid; margin: 0 0 30px; padding: 0; list-style: none; }
.project-checks li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: start; margin-inline: -10px; padding: 14px 10px; border-top: 1px dashed var(--line); border-radius: 6px; transition: background-color .25s var(--ease); }
.project-checks li:first-child { border-top-color: transparent; }
.check-icon { display: block; width: 56px; height: 56px; object-fit: contain; }
.project-checks h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.project-checks p { color: var(--muted); font-size: 14px; line-height: 1.5; }
/* Map-legend numbers: the same mark sits on the item and on the screen part it explains; hovering either lights both. */
.check-mark, [data-check-mark]::before { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--accent); border-radius: 50%; background: var(--surface); color: var(--accent); font: 500 11px/1 "IBM Plex Mono", Consolas, monospace; transition: background-color .25s var(--ease), color .25s var(--ease); }
.check-mark { flex: 0 0 20px; }
[data-check-target] { position: relative; transition: background-color .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease); }
[data-check-mark]::before { content: attr(data-check-mark); position: absolute; top: 10px; right: 10px; }
.project-question[data-check-mark]::before { top: 24px; right: 0; }
.project-kpis [data-check-mark] dt { padding-right: 26px; }
.project-checks li.is-lit { background-color: color-mix(in srgb, var(--accent) 8%, transparent); }
[data-check-target].is-lit { background-color: color-mix(in srgb, var(--accent) 7%, transparent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 7%, transparent); }
li.is-lit .check-mark, [data-check-target].is-lit::before { background: var(--accent); color: var(--surface); }
.project-intro .project-controls { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 0 0; border-bottom: 0; border-top: 1px solid var(--line); }
.project-screens .project-card { margin-top: 0; padding-inline: 28px; }
.project-screens .project-card + .project-card { margin-top: 24px; }
.project-kpis .kpi-value { font-size: clamp(22px, 2vw, 27px); }
.project-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.project-data { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; padding-block: 36px 40px; }
.project-total { display: flex; flex-direction: column; align-items: flex-start; }
.project-total > span { font-size: 14px; color: var(--muted); }
.project-total > strong { font-family: "IBM Plex Mono", Consolas, monospace; font-size: clamp(35px, 4vw, 56px); line-height: 1.4; font-weight: 500; letter-spacing: -.065em; margin: 8px 0 2px; white-space: nowrap; }
.project-total > p { margin-top: 22px; max-width: 290px; font-size: 15px; color: var(--muted); }
.project-illustration { display: block; width: min(100%, 320px); height: 230px; margin-top: 16px; object-fit: cover; object-position: center bottom; }
.project-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.project-table thead th { text-align: left; color: var(--muted); font-weight: 400; font-size: 12px; padding: 0 0 12px; }
.project-table th:first-child { width: 39%; }
.project-table th:last-child { width: 26%; text-align: right; }
.project-table tbody tr { border-top: 1px solid var(--line); }
.project-table tbody th { padding: 20px 12px 20px 0; text-align: left; font-weight: 400; }
.project-table tbody th strong { display: block; font-size: 16px; font-weight: 500; }
.project-table tbody th > span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.project-table td { padding-block: 18px; }
.project-table td:last-child { text-align: right; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 14px; white-space: nowrap; }
.project-table td:nth-child(2) { padding-right: 16px; color: var(--muted); font-size: 12px; }
.project-bar { height: 5px; margin-bottom: 7px; background: var(--line); }
.project-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transition: transform .65s var(--ease); }
.project-table tr:nth-child(2) .project-bar i { opacity: .7; }
.project-table tr:nth-child(3) .project-bar i { opacity: .45; }
/* The app's project drawer, all time: one card, two questions, the same KPI strip as the hero. */
.project-card { margin-top: 28px; padding: 22px 32px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.project-card-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.project-card-head strong { font-size: 20px; font-weight: 600; }
.project-card-head span { color: var(--muted); font-size: 13px; }
.project-question { display: flex; flex-direction: column; gap: 16px; padding-block: 24px; }
.project-question + .project-question { border-top: 1px solid var(--line); }
.project-question h3 { font-size: 17px; font-weight: 600; }
.project-kpis { border-bottom: 0; }
.project-kpis .kpi-meter i { min-width: 2px; }
.project-kpis .kpi-meter-api i { background: color-mix(in srgb, var(--accent) 32%, transparent); }
.project-split th:first-child { width: 30%; }
.project-split th:nth-child(2), .project-split th:nth-child(3) { width: 17%; text-align: right; }
.project-split th:last-child { width: 36%; text-align: left; padding-left: 40px; }
.project-split tbody th { padding-block: 16px; }
.project-split td { padding-block: 14px; text-align: right; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 14px; white-space: nowrap; color: var(--text); }
.project-split td:nth-child(2) { padding-right: 0; color: var(--muted); font-size: 14px; }
.project-split td:last-child { padding-left: 40px; font-size: 13px; }
.project-split-ratio { display: grid; grid-template-columns: 1fr 72px; align-items: center; gap: 14px; }
.project-split .project-bar { margin: 0; }
.project-split .project-bar i { position: relative; opacity: 1; background: color-mix(in srgb, var(--accent) 32%, transparent); }
.project-split .project-bar b { display: block; min-width: 2px; height: 100%; background: var(--accent); }
.project-chart { margin: 0; }
.project-chart + .project-chart { margin-top: 18px; }
.project-chart figcaption { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 8px; color: var(--muted); font-size: 13px; }
.project-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.project-chart-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.project-chart-legend li { display: flex; align-items: center; gap: 6px; }
.project-chart-legend i { width: 10px; height: 10px; border-radius: 2px; }
.project-chart-grid line { stroke: var(--line); }
.project-chart-grid text, .project-chart-axis text, .project-chart-value { fill: var(--muted); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 11px; }
.project-chart rect { stroke: var(--surface); stroke-width: 1; }
.project-chart-time rect { fill: color-mix(in srgb, var(--accent) 45%, var(--surface)); }
/* The drawer's model split: the app's ring of shares beside the table of its parts. */
.project-models { display: flex; align-items: center; gap: 40px; }
.project-ring { flex: 0 0 132px; width: 132px; height: 132px; }
.project-ring-total { fill: var(--text); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 22px; }
.project-ring-label { fill: var(--muted); font-size: 11px; }
.project-model-table th:first-child { width: 38%; }
.project-model-table th:nth-child(2) { width: auto; }
.project-model-table th:last-child { width: 15%; text-align: right; }
.project-model-table tbody th { padding-block: 11px; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-model-table tbody th > span { display: inline; margin: 0; color: inherit; font-size: inherit; }
.project-model-table tbody th > [data-models-rest] { font-family: "IBM Plex Sans", "Segoe UI", sans-serif; color: var(--muted); }
.project-model-table tbody th i { display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 2px; vertical-align: 1px; }
.project-model-table td { padding: 11px 0; }
.project-model-table td:nth-child(2) { padding-right: 20px; }
.project-model-table .project-bar { margin: 0; }
.project-model-table .project-bar i { opacity: 1; }
.project-model-table td:last-child { font-size: 14px; }
.project-models + .demo-caption { font-size: 13px; }
/* The app's Capacity screen (CodexCapacitySummary tiles over CapacityHistoryChart) with landing tokens. */
.cap-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
/* The app's subscription month: counted reset kinds, the period summary and one row per billing cycle. */
.month-screen { margin-top: 12px; }
/* The month and week screens sit on the same white card as the other example screens. */
.month-screen, .wk-screen { padding: 22px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.wk-screen .cap-row-head { background: var(--surface); }
.wk-screen .wk-level text { stroke: var(--surface); }
.month-subscriptions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 16px; }
.month-subscriptions button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.month-toolbar { padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.month-resets { flex-wrap: wrap; gap: 6px 10px; min-width: 0; }
.month-choice { flex-wrap: wrap; }
.month-resets[data-check-mark] { padding-right: 28px; border-radius: 4px; }
.month-resets[data-check-mark]::before { top: 50%; right: 0; transform: translateY(-50%); }
.month-choice button { white-space: nowrap; }
.month-summary { margin-top: 18px; border-radius: 4px; }
.month-summary[data-check-mark]::before { top: 0; right: 0; }
.month-summary .cap-head { padding-right: 30px; }
.month-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; border-top: 1px solid var(--line); }
.month-kpis > div:nth-child(5) { padding-left: 0; border-left: 0; }
.month-kpis > div:nth-child(n + 5) { border-top: 1px solid var(--line); }
.month-kpis .kpi-value { font-size: clamp(22px, 2vw, 28px); }
.month-split { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; color: var(--muted); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 12px; border-radius: 4px; }
.month-split .month-plus { color: var(--text); }
.month-split .is-off { text-decoration: line-through; opacity: .6; }
.month-off { margin-left: 4px; font-family: "IBM Plex Sans", "Segoe UI", sans-serif; }
.month-table-wrap { margin-top: 26px; overflow-x: auto; }
.month-table td { white-space: nowrap; }
.month-table { font-size: 12px; }
.month-table th, .month-table td { padding-inline: 6px; }
.month-table th:first-child, .month-table td:first-child { padding-left: 0; }
.month-cycle { font-family: "IBM Plex Mono", Consolas, monospace; font-size: 12px; }
.month-plan { display: inline-flex; align-items: center; gap: 6px; font-family: "IBM Plex Mono", Consolas, monospace; }
.month-plan i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.month-note { color: var(--muted); font-size: 13px; }
/* What a week gives: the capacity history at 100%, its levels named under it, then the 100% columns of the Cycles list. */
.wk-screen { margin-top: 4px; }
.wk-chart-wrap { border-radius: 4px; }
.wk-chart-wrap[data-check-mark]::before { top: 0; right: 0; }
.wk-chart-wrap .cap-head { padding-right: 30px; }
.wk-chart { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; font-family: "IBM Plex Mono", Consolas, monospace; }
.wk-grid { stroke: var(--line); stroke-dasharray: 3 4; }
.wk-baseline { stroke: var(--line2); }
.wk-axis { fill: var(--muted); font-size: 10px; }
.wk-level line { stroke: var(--text); stroke-width: 1.5; stroke-dasharray: 6 4; }
.wk-level text { fill: var(--text); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.wk-chart .wk-level { transition: opacity .25s var(--ease); }
.wk-chart:has(.is-lit) .wk-level:not(.is-lit), .week-row:has([data-check-target="effect"].is-lit) .wk-level:not(.is-effect) { opacity: .2; }
.wk-moments { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 8px 0 0; padding: 6px 30px 6px 0; list-style: none; border-radius: 4px; font-size: 13px; }
.wk-moments[data-check-mark]::before { top: 50%; right: 0; transform: translateY(-50%); }
.wk-moments li { white-space: nowrap; }
.wk-moments b { font-family: "IBM Plex Mono", Consolas, monospace; font-weight: 600; }
.wk-when { color: var(--muted); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 12px; }
.wk-value { display: grid; grid-template-columns: 92px minmax(40px, 1fr); column-gap: 10px; align-items: center; width: 100%; }
.wk-value .is-num { text-align: right; font-family: "IBM Plex Mono", Consolas, monospace; font-weight: 600; white-space: nowrap; }
.wk-value .cap-missing { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
/* The app's Cycles list: one row per cycle, newest first, dated events as dashed lines between them. */
.cap-cycles { margin-top: 26px; }
.cap-cycles[data-check-mark]::before { top: 0; right: 0; }
.cap-cycles .cap-head { padding-right: 30px; }
.cap-rows { --cap-columns: 114px 76px minmax(220px, 1fr) minmax(110px, .45fr); max-height: 520px; margin-top: 12px; overflow: auto; border-top: 1px solid var(--line); font-size: 13px; }
.cap-row { display: grid; grid-template-columns: var(--cap-columns); }
.cap-row > .cap-cell { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; min-width: 0; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--line); }
.cap-row-head { position: sticky; top: 0; z-index: 1; background: var(--bg); }
.cap-row-head > span { display: grid; align-content: end; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--line2); color: var(--muted); font-size: 12px; line-height: 1.3; }
.cap-row-head .cap-measure-line > span { white-space: normal; }
.cap-row.is-open > .cap-cell { background: var(--accent-soft); }
.cap-date { display: flex; flex-direction: column; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 12px; line-height: 1.45; white-space: nowrap; }
.cap-faint, .cap-muted { color: var(--muted); }
.cap-plan { font-family: "IBM Plex Mono", Consolas, monospace; font-weight: 600; white-space: nowrap; }
.cap-plan-unknown { color: var(--muted); font-size: 12px; }
.cap-plan-unknown i { margin-right: 4px; font-style: normal; font-weight: 600; }
.cap-promo { padding: 0 6px; border: 1px solid var(--line2); border-radius: 999px; color: var(--violet); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 11px; }
.cap-bar { position: relative; display: block; height: 8px; border: 1px solid var(--line); border-radius: 2px; background: var(--raised); }
.cap-bar i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: inherit; background: var(--accent); }
.cap-row > .cap-flags { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 0 10px; }
.cap-flag { color: var(--muted); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 11px; }
.cap-flag[data-warn] { color: var(--warn); }
.cap-event { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 11px; line-height: 1.3; }
.cap-event > span { white-space: nowrap; }
.cap-event-label { font-weight: 500; }
.cap-event.is-detected .cap-event-label { font-weight: 600; }
.cap-event-kind { overflow: hidden; color: var(--muted); font-family: "IBM Plex Sans", "Segoe UI", sans-serif; text-overflow: ellipsis; }
.cap-event-rule { flex: 1 1 auto; min-width: 24px; border-top: 1px dashed currentColor; }
.cap-event[data-check-mark] { padding-right: 28px; }
.cap-event[data-check-mark]::before { top: 50%; right: 0; transform: translateY(-50%); }
/* Week cycles: 100% columns only, with the app's two reference lines over the bars (solid a reference cycle, dashed a picked one). */
.wk-rows { --cap-columns: 118px 82px minmax(0, 1fr); }
.wk-rows .cap-row[data-cycle-value] { cursor: pointer; }
.wk-rows .cap-row[data-cycle-value]:hover > .cap-cell { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.wk-rows .cap-row:is(.is-reference, .is-compared) > .cap-cell { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.wk-rows .cap-row.is-thin .wk-value { opacity: .5; }
.wk-refs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 8px; font-size: 12.5px; }
.wk-ref-delta { font-family: "IBM Plex Mono", Consolas, monospace; font-weight: 600; }
.wk-ref-hint { color: var(--muted); font-size: 12px; }
/* The app's CapacityReference: 1px lines through the whole list, each with a badge beside it and a bracket between the pair.
   app.js lays the overlay over the bar track of the visible list; badges and lines let clicks reach the rows below. */
.wk-table { position: relative; overflow-x: clip; }
.wk-lines { --wk-badge-top: 26px; --wk-badge-row: 56px; --wk-badge-mid: 24px; position: absolute; display: none; z-index: 2; color: var(--accent); pointer-events: none; }
.wk-lines.is-placed { display: block; }
.wk-line { position: absolute; top: 0; bottom: 0; width: 0; }
.wk-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; border-left: 1px solid currentColor; opacity: .8; }
.wk-line.is-second::before { border-left-style: dashed; }
.wk-badge { position: absolute; top: var(--wk-badge-top); right: 7px; padding: 3px 9px; border: 1px solid currentColor; border-radius: 4px; background: var(--surface); font-size: 12px; line-height: 1.55; white-space: nowrap; }
.wk-line.is-second .wk-badge { border-style: dashed; }
.wk-line.is-right .wk-badge { right: auto; left: 7px; }
.wk-lines.is-stacked .wk-line.is-second .wk-badge { top: calc(var(--wk-badge-top) + var(--wk-badge-row)); }
.wk-badge > * { display: block; }
.wk-badge small { padding-bottom: 2px; color: var(--text); font-size: 11.5px; }
.wk-badge strong { font-weight: 600; }
.wk-gap { position: absolute; top: calc(var(--wk-badge-top) + var(--wk-badge-mid)); height: 0; border-top: 1px solid currentColor; container-type: inline-size; }
.wk-gap.is-low { top: calc(var(--wk-badge-top) + var(--wk-badge-row) + var(--wk-badge-mid)); }
.wk-gap::before, .wk-gap::after { content: ""; position: absolute; top: -4px; height: 8px; border-left: 1px solid currentColor; }
.wk-gap::before { left: 0; }
.wk-gap::after { right: 0; }
.wk-gap > span { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); padding: 0 5px; border: 1px solid currentColor; border-radius: 4px; background: var(--surface); font: 11px "IBM Plex Mono", Consolas, monospace; white-space: nowrap; }
/* A gap narrower than its label moves the label under the bracket; with both badges on the left it drops below the badge
   and runs leftward from the right line, so it never leaves the card. */
@container (max-width: 110px) {
  .wk-gap > span { top: 4px; bottom: auto; }
  .wk-lines.is-stacked .wk-gap > span { top: 28px; left: auto; right: 0; transform: none; }
}
.cap-head h3 { font-size: 17px; font-weight: 600; }
.cap-sub { color: var(--muted); font-size: 13px; }
.inside-principle { max-width: 750px; margin-top: 30px; color: var(--muted); font-size: 15px; }
/* Real app screenshots. Each figure holds a light and a dark capture; the page theme shows one,
   and the hidden lazy image is never fetched. */
.app-shot { margin: 0; }
.app-shot img { display: block; width: 100%; height: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.app-shot figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.app-shot .theme-dark-only { display: none; }
:root[data-theme="dark"] .app-shot .theme-light-only { display: none; }
:root[data-theme="dark"] .app-shot .theme-dark-only { display: block; }
.section-intro .app-shot { margin-top: 44px; }
.app-screens { margin-bottom: 64px; }
.app-shot-next { margin-top: 44px; }
.app-screens-note { max-width: 750px; margin-top: 26px; color: var(--muted); font-size: 14px; }
/* Many views: the legend chooses the screen of an app window; the remaining views follow as a compact grid. */
.capabilities .project-layout { margin-bottom: 72px; }
.view-checks li { cursor: pointer; }
.view-checks li.is-chosen { background-color: color-mix(in srgb, var(--accent) 8%, transparent); }
.view-checks li.is-chosen .check-mark { background: var(--accent); color: var(--surface); }
.view-note { color: var(--muted); font-size: 13px; line-height: 1.55; }
.app-window { padding: 0; overflow: hidden; }
.app-window-tabs { display: flex; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--raised); overflow-x: auto; }
.app-window-tabs button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s; }
.app-window-tabs button[aria-pressed="true"] { border-color: var(--line); background: var(--surface); color: var(--text); }
.app-window-tabs .check-mark { width: 18px; height: 18px; font-size: 10px; }
.app-window .app-shot img { border: 0; border-radius: 0; }
.app-window .app-shot figcaption { margin: 0; padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.inside-more { margin-bottom: 4px; font-size: 21px; font-weight: 600; }
.capability-grid.capability-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.capability-grid-compact li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-content: start; padding: 20px 0 22px; }
.capability-grid-compact .capability-icon { grid-row: span 2; width: 52px; height: 52px; margin: 0; }
.capability-grid.capability-grid-compact h3 { margin-bottom: 4px; font-size: 17px; }
.atlas-pace { margin-top: 10px; font-size: 14px; line-height: 1.5; }
/* Sample instruments shared by the capacity, plan and compare demos. */
.demo-when { color: var(--muted); font-size: 14px; }
.demo-caption { margin-top: 6px; color: var(--muted); font-size: 14px; }
.worth-heading { display: grid; grid-template-columns: 1.1fr .8fr; gap: 80px; align-items: end; margin-bottom: 52px; }
.worth-heading > p { color: var(--muted); font-size: 16px; }
.worth-data, .compare-data { display: grid; grid-template-columns: 1.3fr .7fr; gap: 90px; align-items: center; padding-block: 36px 40px; }
.worth-chart { position: relative; display: flex; align-items: flex-end; gap: clamp(6px, 1vw, 14px); height: 260px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.worth-chart button { position: relative; flex: 1; height: 100%; padding: 0; border: 0; background: transparent; }
.worth-chart button i { position: absolute; inset: auto 0 0; height: calc(var(--worth, .5) * 100%); background: var(--raised); border: 1px solid var(--line); border-bottom: 0; border-radius: 3px 3px 0 0; transition: background-color .2s, border-color .2s; }
.worth-chart button:not(:disabled):hover i { border-color: var(--accent); }
.worth-chart button[aria-pressed="true"] i { background: var(--accent); border-color: var(--accent); }
.worth-chart button.is-missing i { background: repeating-linear-gradient(116deg, transparent 0 6px, var(--line) 6px 7px); border-style: dashed; opacity: .6; }
.worth-chart button.is-missing[aria-pressed="true"] i { border-color: var(--accent); opacity: 1; }
.worth-chart button span { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); color: var(--muted); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 10px; white-space: nowrap; }
.worth-chart button[aria-pressed="true"] span { color: var(--text); }
.worth-median { position: absolute; inset-inline: -6px; z-index: 1; border-top: 1px dashed var(--text); pointer-events: none; }
.worth-median span { position: absolute; right: 0; bottom: 4px; padding-inline: 4px; background: var(--bg); color: var(--muted); font-size: 12px; }
.worth-readout, .compare-readout { display: flex; flex-direction: column; align-items: flex-start; }
.worth-readout > strong { font-family: "IBM Plex Mono", Consolas, monospace; font-size: clamp(35px, 4vw, 56px); line-height: 1.4; font-weight: 500; letter-spacing: -.065em; margin: 8px 0 2px; white-space: nowrap; }
.worth-full-label { color: var(--muted); font-size: 14px; }
.worth-readout dl, .compare-readout dl { align-self: stretch; margin: 22px 0 0; }
.worth-readout dl div, .compare-readout dl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); }
.worth-readout dt, .compare-readout dt { color: var(--muted); font-size: 14px; }
.worth-readout dd, .compare-readout dd { margin: 0; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 15px; }
.worth-missing { margin-top: 22px; max-width: 290px; color: var(--muted); font-size: 15px; }
.battle { margin-top: 112px; }
.battle .worth-heading { margin-bottom: 40px; }
/* The app's Capacity battle: a card with header and toolbar, tiers as rows, the lead on one scale. */
.battle-card { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.battle-card-head { padding: 22px 32px 14px; border-bottom: 1px solid var(--line); }
.battle-card-head h3 { font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.battle-card-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.battle-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 14px 32px; border-bottom: 1px solid var(--line); }
.battle-field { display: inline-flex; align-items: center; gap: 12px; }
.battle-field-label { color: var(--muted); font-size: 13px; white-space: nowrap; }
.battle-field-value { padding: 6px 12px; border: 1px solid var(--line2); border-radius: 6px; background: var(--surface); font-size: 14px; white-space: nowrap; }
.battle-scroll { padding: 0 32px 22px; overflow-x: auto; }
.battle-table { width: 100%; min-width: 640px; margin-top: 18px; border-collapse: collapse; table-layout: fixed; }
.battle-table th { padding: 10px 16px; color: var(--muted); font-size: 13px; font-weight: 400; text-align: left; border-bottom: 1px solid var(--line2); }
.battle-table thead th:first-child, .battle-table tbody th { width: 13%; }
.battle-table thead th:last-child { width: 26%; }
.battle-table td, .battle-table tbody th { padding: 18px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.battle-table tbody tr:last-child > * { border-bottom: 0; }
.battle-subject { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 13px; }
.battle-swatch { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 2px; }
.cap-tier-chip { display: inline-block; padding: 0 8px; border: 1px solid var(--line2); border-radius: 999px; background: var(--surface); color: var(--muted); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 13px; font-weight: 500; white-space: nowrap; }
.cap-tier-chip.is-tier-1 { color: var(--ok); }
.cap-tier-chip.is-tier-5 { color: var(--accent); }
.cap-tier-chip.is-tier-20 { color: var(--violet); }
.battle-none, .battle-card .cap-missing { color: var(--muted); font-family: "IBM Plex Sans", "Segoe UI", sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0; }
.battle-plan { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.battle-plan-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 15px; }
.battle-plan-head > span { color: var(--muted); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 13px; }
.battle-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.battle-value > span:not(.battle-figure) { color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.battle-plan.is-empty .battle-value { font-size: 13px; }
.battle-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 13px; }
.battle-lead { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; font-size: 13px; }
.battle-bar { height: 8px; border: 1px solid var(--line); border-radius: 2px; background: var(--raised); overflow: hidden; }
.battle-bar i { display: block; height: 100%; }
.battle-lead > span { margin-top: 2px; font-weight: 500; }
/* Numbered parts of the replicas: inside the table the badge sits inline, before the figure it names. */
.battle-table [data-check-mark]::before { position: static; display: inline-grid; margin-right: 6px; vertical-align: middle; }
.battle-plan [data-check-target].is-lit { background: none; box-shadow: none; }
.battle-history[data-check-mark] { padding-right: 28px; border-radius: 4px; }
.battle-history[data-check-mark]::before { top: 50%; right: 0; transform: translateY(-50%); }
.compare-section { }
.compare-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.compare-legend li { display: inline-flex; align-items: center; gap: 8px; }
.compare-legend i { display: inline-block; width: 18px; }
.legend-current { border-top: 3px solid var(--accent); }
/* The Compare screen beside its legend: the lit line stays, the others fade. */
.compare-card { padding-bottom: 20px; }
.compare-card .compare-legend { padding-block: 18px 4px; }
.compare-card .compare-legend li { margin: -4px -6px; padding: 4px 6px; border-radius: 4px; }
.compare-card .compare-legend .check-mark { width: 18px; height: 18px; font-size: 10px; }
/* The app's WindowCompare: usage since the window started on one hour axis, then every window at the same moment. */
.wc-legend-recent { border-top: 1.75px solid var(--ok); }
.wc-legend-typical { border-top: 1.75px dashed var(--violet); }
.wc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 22px; }
.wc-head b { font-size: 15px; font-weight: 600; }
.wc-sub { color: var(--muted); font-size: 14px; }
.wc-chart { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; font-family: "IBM Plex Mono", Consolas, monospace; }
.wc-chart .wc-line, .wc-chart .wc-label { transition: opacity .25s var(--ease); }
.wc-chart:has(.is-lit) :is(.wc-line, .wc-label):not(.is-lit) { opacity: .15; }
.wc-chart .wc-line.is-lit :is(polyline, line) { stroke-width: 3; }
.wc-note { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.wc-moment { position: relative; margin-top: 8px; padding: 2px 34px 0 0; border-radius: 4px; }
.wc-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 13px; }
.wc-table th { padding: 8px 10px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.4; text-align: left; border-bottom: 1px solid var(--line2); }
.wc-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.wc-table tbody tr:last-child td { border-bottom: 0; }
.wc-table .is-num { text-align: right; font-family: "IBM Plex Mono", Consolas, monospace; white-space: nowrap; }
.wc-table tr.is-current { background: var(--accent-soft); }
.wc-table tr.is-muted { color: var(--muted); }
.wc-window { font-family: "IBM Plex Mono", Consolas, monospace; white-space: nowrap; }
.wc-swatch { display: inline-block; width: 10px; height: 3px; margin-right: 8px; vertical-align: middle; border-radius: 2px; }
.wc-muted, .wc-faint { color: var(--muted); }
.wc-pill { display: inline-block; margin-left: 4px; padding: 0 6px; border: 1px solid var(--line2); border-radius: 999px; color: var(--muted); font-family: "IBM Plex Sans", "Segoe UI", sans-serif; font-size: 11px; }
.wc-track { position: relative; min-width: 80px; height: 8px; border: 1px solid var(--line); border-radius: 2px; background: var(--raised); }
.wc-fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 2px; opacity: .75; }
.wc-end { position: absolute; top: 50%; width: 10px; height: 10px; border: 2px solid var(--surface); border-radius: 50%; transform: translate(-50%, -50%); }
.wc-now { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--text); }
.getting-started-section { }
.getting-started { display: grid; grid-template-columns: 1.05fr .95fr; gap: 120px; }
.start-heading h2 { margin-bottom: 24px; }
.start-heading > p { font-size: 17px; color: var(--muted); margin-bottom: 24px; }
.start-illustration { display: block; width: min(100%, 380px); height: 160px; margin-top: 18px; object-fit: cover; object-position: center 52%; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; align-items: baseline; gap: 25px; padding-bottom: 32px; }
.steps li:last-child { padding-bottom: 0; }
.step-number { font-family: "IBM Plex Mono", Consolas, monospace; font-size: 12px; color: var(--accent); }
.steps h3 { font-size: 21px; margin-bottom: 9px; }
.steps p { font-size: 15px; color: var(--muted); }
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.faq-illustration { display: block; width: min(100%, 300px); height: auto; margin-top: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 23px; cursor: pointer; list-style: none; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span:last-child { color: var(--accent); font-size: 23px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary > span:last-child { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 36px 25px 0; color: var(--muted); font-size: 15px; }
.support-section { }
.support-layout { max-width: 720px; }
.support-copy h2 { margin-bottom: 24px; }
.support-copy > p { color: var(--muted); font-size: 16px; }
.support-copy .provider-list { margin-top: 30px; }
.support-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
html.drawer-open { overflow: hidden; padding-right: var(--scroll-gutter, 0px); }
/* Full-height panel with an independently scrolling body between fixed heading and footer. */
.support-drawer { position: fixed; inset: 0 0 0 auto; width: min(680px, 100vw); height: 100dvh; max-height: 100dvh; max-width: 100%; margin: 0; padding: 0; flex-direction: column; background: var(--surface); color: var(--text); border: 0; border-left: 1px solid var(--line); overflow: hidden; }
.support-drawer[open] { display: flex; animation: drawer-in .3s var(--ease); }
.support-drawer::backdrop { background: rgb(3 6 11 / .64); }
.support-drawer[open]::backdrop { animation: drawer-fade .3s var(--ease); }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-fade { from { opacity: 0; } }
.drawer-head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 28px 32px 22px; border-bottom: 1px solid var(--line); }
.drawer-heading { min-width: 0; }
.drawer-head h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.035em; }
.drawer-back { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px; padding: 0; background: transparent; border: 0; color: var(--muted); font-size: 14px; transition: color .2s; }
.drawer-back[hidden] { display: none; }
.drawer-back:hover { color: var(--accent); }
.drawer-back > span:first-child { color: var(--accent); }
.drawer-close { display: grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; }
.drawer-close:hover { color: var(--text); background: var(--raised); border-color: var(--muted); }
.drawer-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 26px 32px 30px; }
.drawer-view[hidden] { display: none; }
.drawer-intro { font-size: 16px; line-height: 1.6; color: var(--muted); }
.provider-list { display: grid; gap: 10px; margin-top: 26px; }
.provider-row { display: flex; align-items: center; gap: 22px; width: 100%; padding: 17px 22px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); text-align: left; transition: border-color .2s, background-color .2s; }
.provider-row[hidden] { display: none; }
.provider-name { flex: 1; min-width: 0; }
.provider-row strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.provider-row small { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.provider-action { flex: none; font-size: 14px; color: var(--accent); white-space: nowrap; }
.provider-row[data-available="false"] .provider-action { color: var(--muted); }
.provider-row:not(:disabled):hover { border-color: var(--accent); background: var(--accent-soft); }
.provider-row:disabled { cursor: default; }
.provider-row:disabled .provider-action { color: var(--muted); }
/* Official brand artwork is never recoloured. A constant white holder keeps the dark marks
   (GitHub, Buy Me a Coffee) legible in the dark theme, and one holder size keeps the
   provider names aligned while wordmarks still get their full readable width. */
.provider-logo { display: block; flex: none; width: 132px; height: 52px; padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
/* Definite width and height: the image box is exactly the holder's 106x38 content box, and
   object-fit scales the untouched artwork inside it. Percentage limits alone resolve against
   a content-sized track, which let the square marks grow past the holder. */
.provider-logo img { display: block; width: 100%; max-width: 100%; height: 38px; object-fit: contain; }
.drawer-note { margin-top: 18px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.drawer-note:empty { display: none; }
.drawer-manage { margin-top: 22px; font-size: 15px; }
.drawer-manage[hidden] { display: none; }
.drawer-selected { display: flex; align-items: center; gap: 18px; margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.provider-identity { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.drawer-selected strong { color: var(--text); font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.drawer-group, .drawer-panel { margin-top: 28px; }
.drawer-panel > .drawer-group:first-child { margin-top: 0; }
.drawer-panel[hidden] { display: none; }
.drawer-legend, .amount-custom label { display: block; margin-bottom: 11px; font-size: 14px; color: var(--muted); }
.frequency-switcher { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.frequency-switcher button, .amount-grid button { min-height: 52px; padding: 10px 14px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: 16px; transition: color .2s, background-color .2s, border-color .2s; }
.amount-grid button { font-family: "IBM Plex Mono", Consolas, monospace; letter-spacing: -.035em; }
.frequency-switcher button:hover:not(:disabled), .amount-grid button:hover { color: var(--text); border-color: var(--muted); }
.frequency-switcher button[aria-pressed="true"], .amount-grid button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.frequency-switcher button:disabled { opacity: .4; }
.amount-field { display: flex; align-items: center; gap: 12px; padding-inline: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.amount-field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.amount-field:has(input[aria-invalid="true"]) { border-color: var(--danger); }
.amount-prefix { flex: none; font-size: 14px; color: var(--muted); }
.amount-field input { flex: 1; min-width: 0; min-height: 54px; padding: 0; background: transparent; border: 0; color: var(--text); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 18px; letter-spacing: -.02em; }
.amount-field input:focus { outline: none; }
.amount-hint { margin-top: 11px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.amount-error { margin-top: 11px; font-size: 14px; line-height: 1.6; color: var(--danger); }
.amount-error:empty { display: none; }
.monthly-option { padding: 22px; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--radius); }
.monthly-option strong { display: block; color: var(--accent); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 24px; font-weight: 500; letter-spacing: -.045em; }
.monthly-option p { margin-top: 11px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.drawer-foot { flex: none; padding: 22px 32px 28px; border-top: 1px solid var(--line); }
.drawer-foot[hidden] { display: none; }
.drawer-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.drawer-summary strong { color: var(--text); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 22px; font-weight: 500; letter-spacing: -.035em; white-space: nowrap; }
.drawer-continue { width: 100%; gap: 14px; font-size: 16px; }
.drawer-continue[aria-disabled="true"] { background: var(--raised); color: var(--muted); cursor: default; }
.drawer-continue[aria-disabled="true"] > span:last-child { visibility: hidden; }
.drawer-confirm { margin-top: 16px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.closing { padding-block: 94px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.closing h2 { max-width: 670px; font-size: clamp(30px, 3.5vw, 46px); margin-bottom: 18px; }
.contact-section { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; padding-block: 28px 42px; border-top: 1px solid var(--line); }
.contact-section h2 { margin: 0; font-size: 22px; }
.contact-section .text-link { font-size: 17px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; align-content: center; justify-content: space-between; gap: 12px 24px; min-height: 110px; padding-block: 26px; border-top: 1px solid var(--line); }
.site-footer > .footer-note { order: 4; flex-basis: 100%; max-width: 820px; font-size: 12px; line-height: 1.5; }
.site-footer p { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-github, .footer-legal { color: var(--muted); font-size: 13px; white-space: nowrap; }
.footer-author { display: inline-flex; align-items: center; gap: 8px; padding-left: 24px; border-left: 1px solid var(--line); white-space: nowrap; }
.footer-credit { color: var(--muted); font-size: 12px; }
.knode-wordmark { display: inline-flex; color: var(--knode-ink); font-family: "IBM Plex Sans", "Segoe UI", sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.045em; }
.knode-wordmark > span:first-child { color: #0891b2; }
.reveal-pending { opacity: 0; transform: translateY(20px); }
.reveal-visible { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
/* The Speed screen: the News speed chart at the card's width, its promise marks and the before/after table. */
.speed-card .project-question { gap: 14px; }
.speed-models { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 4px 34px 4px 0; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 13px; }
.speed-models > span { display: inline-flex; align-items: center; gap: 8px; }
.speed-models i, .speed-table th i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; }
.speed-basis { padding: 4px 34px 4px 0; color: var(--muted); font-size: 13px; }
.speed-plot .speed-chart svg { display: block; width: 100%; height: auto; }
.speed-plot .speed-chart text { font-family: "IBM Plex Mono", Consolas, monospace; font-size: 14px; fill: var(--muted); }
.speed-marks { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 4px 34px 4px 0; list-style: none; color: var(--muted); font-size: 13px; }
.speed-marks li { display: inline-flex; align-items: center; gap: 8px; }
.speed-marks i { display: inline-block; width: 18px; border-top: 2px dashed var(--warn); }
.speed-marks .speed-mark-announced { border-top: 1px dashed var(--pencil); }
.speed-table th:first-child { width: 40%; }
.speed-table th:not(:first-child), .speed-table td { text-align: right; }
.speed-table tbody th { padding-block: 10px; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 14px; }
.speed-table tbody th i { margin-right: 10px; vertical-align: 3px; }
.speed-table tbody th > span { display: inline; margin: 0; color: inherit; font-size: inherit; }
.speed-table th:last-child, .speed-table td:last-child { padding-right: 34px; }
.speed-table td, .speed-table td:nth-child(2) { padding: 10px 0; color: var(--text); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 14px; }
.speed-table td.speed-thin { color: var(--muted); font-family: inherit; font-size: 12px; }
/* Section menu. Narrow screens: a pill at the bottom that opens the list. Wide screens (below): a fixed sidebar. */
.section-rail { position: fixed; z-index: 15; left: 50%; bottom: 16px; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.section-rail.is-visible { opacity: 1; pointer-events: auto; }
.rail-current { display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 48px); padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); cursor: pointer; }
.rail-current span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-current::after { content: "▴"; color: var(--muted); font-size: 11px; }
.section-rail.is-open .rail-current::after { content: "▾"; }
.rail-body { display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; width: min(360px, calc(100vw - 32px)); padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 12px 32px rgba(0, 0, 0, .16); transform: translateX(-50%); }
.section-rail.is-open .rail-body { display: block; }
.section-rail ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.section-rail a { display: flex; align-items: baseline; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--muted); font-size: 14px; text-decoration: none; transition: color .25s var(--ease), background-color .25s var(--ease); }
.section-rail a[aria-current] { color: var(--text); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.rail-index { flex: 0 0 auto; color: var(--muted); font-family: "IBM Plex Mono", Consolas, monospace; font-size: 11px; transition: color .25s var(--ease); }
.rail-track, .rail-indicator { display: none; }
@media (min-width: 1181px) {
  :root { --rail-w: 196px; }
  body { padding-inline-start: var(--rail-w); }
  .section-rail { left: auto; right: auto; inset-block: 0; inset-inline-start: 0; transform: none; display: flex; flex-direction: column; justify-content: center; width: var(--rail-w); padding-block: 96px 40px; padding-inline: 26px 16px; border-inline-end: 1px solid var(--line); background: var(--bg); opacity: 1; pointer-events: auto; }
  .rail-current { display: none; }
  .rail-body { position: relative; display: block; bottom: auto; left: auto; right: auto; width: auto; padding: 0; padding-inline-start: 16px; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; }
  .section-rail a { padding: 7px 8px; border-radius: 6px; font-size: 13.5px; line-height: 1.3; }
  .section-rail a:hover { color: var(--text); background: color-mix(in srgb, var(--accent) 6%, transparent); }
  .section-rail a[aria-current] { background: none; font-weight: 600; }
  .section-rail a[aria-current] .rail-index { color: var(--accent); }
  /* The track fills down to the marker; the marker rides on it, carried by the scroll position. */
  .rail-track { display: block; position: absolute; inset-block: 0; inset-inline-start: 0; width: 2px; border-radius: 1px; background: var(--line); }
  .rail-fill { display: block; width: 100%; height: calc(var(--rail-y, 0px) + var(--rail-h, 0px) / 2); border-radius: 1px; background: color-mix(in srgb, var(--accent) 35%, transparent); }
  .rail-indicator { display: block; position: absolute; top: 0; inset-inline-start: -2px; width: 6px; height: var(--rail-h, 30px); border-radius: 3px; background: var(--accent); transform: translateY(var(--rail-y, 0px)); transition: opacity .3s var(--ease); }
  .section-rail.is-before .rail-indicator { opacity: .3; }
}
/* Sections alternate between the page and the band, each on its own background. */
/* A band paints the full width behind its section, whether the section spans the page or only the content width. */
.band { position: relative; background-color: var(--band);
  /* Shadows paint past the section without widening the page: the band, then a 1 px line above and below it. */
  box-shadow: 0 0 0 100vmax var(--band), 0 0 0 calc(100vmax + 1px) var(--band-line, var(--line)); clip-path: inset(-1px -100vmax); }
.plans-section .battle { margin-top: 0; }
@media (min-width: 1600px) { .hero { min-height: 720px; } }
@media (max-width: 1100px) {
  .capability-grid.capability-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .project-layout.is-flipped { grid-template-columns: minmax(0, 1fr); } .is-flipped > .project-intro { order: 0; }
  /* Tablet: text above the screens, the five items in two columns. */
  .project-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; } .project-intro { position: static; } .project-intro h2 { max-width: 560px; }
  .project-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } .project-checks li:nth-child(2) { border-top-color: transparent; }
  :root { --page: calc(100% - 64px); }
  .site-nav { gap: 18px; } .site-header { gap: 18px; } .beta-badge { margin-inline-start: -10px; } .header-actions { gap: 14px; } .header-github { display: none; }
  .hero { gap: 30px; padding-block: 48px; } .hero h1 { font-size: 6.5vw; } .hero-actions { gap: 10px; }
  .atlas-heading { gap: 10px; } .atlas-heading h2 { font-size: 15px; }
  .project-data { gap: 45px; } .getting-started { gap: 70px; }
  .worth-data, .compare-data { gap: 45px; } .worth-heading { gap: 50px; }
}
@media (max-width: 760px) {
  :root { --page: calc(100% - 40px); }
  .section-space { padding-block: 76px; }
  .site-header { min-height: 76px; flex-wrap: wrap; gap: 0 12px; } .beta-badge { margin-inline-start: -4px; padding-inline: 6px; font-size: 10px; } .site-header > .brand { font-size: 19px; }
  .header-actions { margin-left: auto; gap: 9px; }
  .brand-mark { width: 35px; height: 35px; }
  .language-picker summary { gap: 6px; }
  .site-nav { order: 3; width: 100%; margin: 0; padding: 10px 0 20px; justify-content: space-between; }
  .enhanced .menu-button { display: inline-flex; align-items: center; } .enhanced .site-nav:not(.is-open) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-block: 48px; } .hero-copy { max-width: 550px; }
  .hero h1 { font-size: clamp(56px, 10vw, 76px); letter-spacing: -.065em; margin-bottom: 23px; }
  .hero-lead { max-width: 470px; font-size: 20px; } .hero-detail { font-size: 15px; margin-bottom: 25px; } .hero-actions { gap: 12px 24px; }
  .capacity-atlas { width: 100%; max-width: 500px; margin-inline: auto; }
  .window-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .window-kpis > div:nth-child(3) { padding-left: 0; border-left: 0; } .atlas-heading h2 { font-size: 16px; }
  .source-names { justify-content: flex-start; gap: 18px 28px; } .source-names li { font-size: 22px; } .sources { padding-block: 28px; }
  .possibilities, .project-layout, .getting-started, .faq { grid-template-columns: 1fr; gap: 40px; }
  .worth-heading, .worth-data, .compare-data { grid-template-columns: 1fr; gap: 30px; } .battle { margin-top: 76px; }
  .worth-chart button span { display: none; } .worth-chart button[aria-pressed="true"] span { display: block; }
  .section-intro { max-width: 540px; } .section-intro h2 { margin-bottom: 20px; } .section-intro p { font-size: 16px; }
  .feature-list article:first-child { border-top: 1px solid var(--line); padding-top: 28px; } .feature-list h3 { font-size: 23px; }
  .capability-grid.capability-grid-compact { grid-template-columns: minmax(0, 1fr); } .capabilities .project-layout { margin-bottom: 48px; } .app-window-tabs button { padding-inline: 10px; font-size: 13px; }
  /* Phone: rows that were sized for desktop wrap instead of widening the page. */
  .footer-links { flex-wrap: wrap; gap: 10px 20px; } .provider-row { min-width: 0; gap: 14px; padding: 14px 16px; } .provider-row > * { min-width: 0; }
  .speed-plot { overflow-x: auto; } .speed-plot .speed-chart { min-width: 620px !important; overflow: visible !important; } .speed-table th:first-child { width: 34%; } .speed-table tbody th, .speed-table td, .speed-table td:nth-child(2) { font-size: 12px; }
  /* Phone: one column of items, compact cards, wide charts scroll sideways instead of shrinking their labels. */
  .project-layout { grid-template-columns: minmax(0, 1fr); } .project-checks { grid-template-columns: 1fr; } .project-checks li:nth-child(2) { border-top-color: var(--line); }
  .project-checks li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; padding-block: 12px; } .check-icon { width: 44px; height: 44px; } .project-checks h3 { font-size: 16px; }
  .project-screens .project-card { padding: 16px 16px 4px; } .month-screen, .wk-screen { padding: 16px; } .project-question { padding-block: 20px; } .project-question[data-check-mark]::before { top: 20px; }
  .project-chart { overflow-x: auto; } .project-chart svg { min-width: 600px; } .project-chart figcaption { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* The replicas keep their chart labels legible: the chart and the moment table scroll inside their card. */
  .wc-scroll, .wc-moment, .wk-chart-wrap { overflow-x: auto; } .wk-chart { min-width: 560px; } .month-table { min-width: 640px; } .month-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .month-kpis > div { border-top: 1px solid var(--line); } .month-kpis > div:nth-child(odd) { padding-left: 0; border-left: 0; } .cap-row { min-width: 520px; } .cap-rows { max-height: 460px; } .wc-chart { min-width: 560px; } .wc-table { min-width: 520px; }
  .battle-card-head, .battle-toolbar { padding-inline: 16px; } .battle-scroll { padding-inline: 16px; }
  .project-split th:first-child { width: 34%; } .project-split th:nth-child(2), .project-split th:nth-child(3) { width: 23%; } .project-split th:last-child { width: 20%; padding-left: 0; text-align: right; }
  .project-split td, .project-split td:nth-child(2) { font-size: 12px; } .project-split td:last-child { padding-left: 0; } .project-split .project-bar { display: none; } .project-split-ratio { grid-template-columns: 1fr; }
  .project-models { flex-direction: column; align-items: stretch; gap: 18px; } .project-ring { align-self: center; } .project-model-table th:first-child { width: 62%; } .project-model-table tbody th { font-size: 13px; }
  .project-data { grid-template-columns: 1fr; gap: 30px; padding-block: 25px; } .project-total > strong { font-size: 48px; } .project-total > p { max-width: 450px; margin-top: 14px; }
  .project-controls { gap: 12px; } .project-table th:first-child { width: 40%; } .project-table th:last-child { width: 30%; }
  .project-table td:last-child { font-size: 13px; } .project-table tbody th strong { font-size: 15px; } .project-table td:nth-child(2) { padding-right: 10px; }
  .faq { padding-top: 0; gap: 28px; } .faq summary { font-size: 15px; }
  .closing { flex-direction: column; align-items: flex-start; gap: 27px; padding-block: 70px; }
  .site-footer { padding-block: 24px; flex-wrap: wrap; gap: 20px; } .site-footer > p { order: 3; flex-basis: 100%; }
}
@media (max-width: 480px) {
  :root { --page: calc(100% - 32px); }
  .site-header { column-gap: 6px; } .beta-badge { margin-inline-start: 0; }
  .brand { gap: 6px; } .site-header > .brand { font-size: 16px; } .brand-mark { width: 30px; height: 30px; }
  .header-actions { gap: 6px; }
  .theme-toggle { width: 34px; height: 42px; }
  .language-picker summary { font-size: 12px; gap: 5px; }
  .language-picker summary img { width: 18px; height: 12px; }
  .language-options { right: -40px; }
  .menu-button { font-size: 12px; padding-inline: 6px; }
  .hero h1 { font-size: 13.5vw; } .hero .button { width: 100%; gap: 12px; font-size: 13px; padding-inline: 12px; }
  .window-switcher button, .period-switcher button { min-width: 64px; padding-inline: 12px; }
  .project-controls .example-label { max-width: 110px; white-space: normal; }
  .project-table thead th { font-size: 10px; } .project-table td:last-child { font-size: 12px; } .project-table tbody th strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
@media print {
  .site-nav, .header-actions, .window-switcher, .period-switcher { display: none; }
  .reveal-pending { opacity: 1; transform: none; } .section-space { padding-block: 30px; }
}
