:root {
  color-scheme: dark;
  --accent: #44d62c;
  --accent-dark: #79eb66;
  --bg: #0b0d0e;
  --surface: #121516;
  --surface-2: #191d1f;
  --text: #f3f5f2;
  --muted: #a9b0aa;
  --line: #28302c;
  --warning: #f2cd67;
  --danger: #ffb4ab;
  --code: #121a12;
  --shadow: 0 18px 45px rgb(0 0 0 / .28);
  --font-text: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --type-hero: clamp(3.6rem, 8.5vw, 7rem);
  --type-page-title: clamp(3rem, 6vw, 5rem);
  --type-section-title: clamp(2.1rem, 4.2vw, 3.5rem);
  --type-section-compact: clamp(1.8rem, 3.2vw, 2.45rem);
  --type-card-title: clamp(1.45rem, 2.5vw, 2rem);
  --type-heading: 1.2rem;
  --type-lead: clamp(1.08rem, 2vw, 1.25rem);
  --type-body: 1rem;
  --type-ui: .9rem;
  --type-label: .8rem;
  --type-caption: .78rem;
  --type-fine: .75rem;
  font-family: var(--font-text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 0; margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-text); font-size: var(--type-body); line-height: 1.6; overflow-wrap: break-word; }
a { color: var(--accent-dark); text-underline-offset: .18em; }
img, svg { max-width: 100%; }
code, pre { font-family: var(--font-mono); }
code { background: var(--code); border-radius: .3rem; padding: .1rem .3rem; overflow-wrap: anywhere; }
pre { max-width: 100%; overflow: auto; background: #111812; color: #e8f7e3; padding: 1rem; border-radius: .65rem; }
pre code { padding: 0; background: transparent; overflow-wrap: normal; }

.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 20; transform: translateY(-150%); background: var(--surface); padding: .6rem 1rem; }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Shared typography roles */
.type-hero { font-family: var(--font-display); font-size: var(--type-hero); font-weight: 700; line-height: .91; letter-spacing: -.065em; }
.type-page-title { font-family: var(--font-display); font-size: var(--type-page-title); font-weight: 700; line-height: .96; letter-spacing: -.045em; }
.type-section-title { font-family: var(--font-display); font-size: var(--type-section-title); font-weight: 700; line-height: 1.06; letter-spacing: -.045em; }
.type-section-compact { font-family: var(--font-display); font-size: var(--type-section-compact); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.type-card-title { font-family: var(--font-display); font-size: var(--type-card-title); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
.type-heading { font-size: var(--type-heading); font-weight: 700; line-height: 1.25; }
.type-lead { font-size: var(--type-lead); line-height: 1.55; }
.type-body { font-size: var(--type-body); line-height: 1.6; }
.type-ui { font-size: var(--type-ui); line-height: 1.45; }
.type-label { font-size: var(--type-label); font-weight: 700; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }
.type-caption { font-size: var(--type-caption); line-height: 1.4; }
.type-fine { font-size: var(--type-fine); line-height: 1.55; }
[data-site-header] { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--surface) 94%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.topbar { max-width: 1220px; min-height: 64px; margin: auto; padding: 0 1.4rem; display: flex; align-items: center; gap: 1rem; }
.topbar > *, main > *, footer > div > * { min-width: 0; }
.brand { display: flex; align-items: center; gap: .65rem; margin-right: .5rem; color: var(--text); font-family: var(--font-display); font-size: var(--type-heading); font-weight: 650; text-decoration: none; white-space: nowrap; }
.brand-mark { display: block; width: 38px; height: 38px; object-fit: contain; }
.primary-nav { display: flex; gap: .15rem; flex: 1; }
.primary-nav a { color: var(--muted); padding: .45rem .6rem; border-radius: .45rem; text-decoration: none; font-size: var(--type-ui); white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.github-link { width: 40px; height: 40px; display: grid; place-items: center; border-radius: .45rem; color: var(--muted); text-decoration: none; }
.github-link:hover { color: var(--text); background: var(--surface-2); }
.github-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.github-link svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: .45rem; background: transparent; color: var(--text); }
.nav-toggle:hover { background: var(--surface-2); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-toggle-icon { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.docs-bar { border-bottom: 1px solid var(--line); background: #0e1112; }
.docs-bar-inner { max-width: 1120px; min-height: 50px; margin: auto; padding: 0 1.5rem; display: flex; align-items: center; gap: 1.25rem; }
.docs-label { color: var(--text); font-size: var(--type-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.docs-nav { display: flex; align-self: stretch; gap: 1.2rem; overflow-x: auto; scrollbar-width: none; }
.docs-nav::-webkit-scrollbar { display: none; }
.docs-nav a { position: relative; display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: var(--type-ui); text-decoration: none; white-space: nowrap; }
.docs-nav a:hover, .docs-nav a[aria-current="page"] { color: var(--text); }
.docs-nav a[aria-current="page"]::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--accent); }

main { max-width: 1120px; margin: auto; padding: 3.5rem 1.5rem 5rem; }
.hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; padding: 2rem 0 3.5rem; }
.eyebrow { color: var(--accent-dark); font-size: var(--type-label); font-weight: 700; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--font-display); }
h1 { max-width: 850px; margin: .3rem 0 1rem; font-size: clamp(2.35rem, 6vw, 4.7rem); line-height: 1.04; letter-spacing: -.045em; overflow-wrap: anywhere; }
h2 { margin-top: 2.8rem; font-size: var(--type-section-compact); line-height: 1.1; letter-spacing: -.03em; }
h3 { margin-top: 2rem; font-size: var(--type-heading); line-height: 1.25; }
.lead { max-width: 780px; color: var(--muted); font-size: var(--type-lead); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.button, button { border: 1px solid var(--line); border-radius: .5rem; padding: .62rem .9rem; background: var(--surface); color: var(--text); font: inherit; text-decoration: none; cursor: pointer; }
.button.primary { border-color: var(--accent); background: var(--accent); color: #071104; font-weight: 650; }
.hero-card, .card, .callout { background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; padding: 1.25rem; box-shadow: var(--shadow); }
.hero-card dl { margin: 0; }
.hero-card div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.hero-card div:last-child { border-bottom: 0; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 600; text-align: right; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid > *, .docs-overview-grid > * { min-width: 0; }
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.callout { margin: 1.5rem 0; box-shadow: none; border-left: 4px solid var(--accent); }
.callout.warning { border-left-color: var(--warning); }
.callout.danger { border-left-color: var(--danger); }
.callout strong { display: block; margin-bottom: .25rem; }
.steps { counter-reset: steps; padding: 0; list-style: none; }
.steps > li { position: relative; margin: 0 0 1rem; padding: 1rem 1rem 1rem 3.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; }
.steps > li::before { counter-increment: steps; content: counter(steps); position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--accent); color: #071104; font-weight: 750; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; margin: 1rem 0 2rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--type-ui); }
th, td { padding: .75rem .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { position: sticky; top: 0; background: var(--surface-2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.status { white-space: nowrap; }
.status::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .35rem; border-radius: 50%; background: var(--accent); vertical-align: .08em; }
.muted { color: var(--muted); }
.diagram { display: grid; gap: .5rem; margin: 1.5rem 0; }
.diagram-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.diagram-box { padding: .8rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); text-align: center; }
.diagram-arrow { color: var(--muted); text-align: center; }

/* Documentation pages */
.docs-page main { padding-top: 4.5rem; }
.page-title { max-width: none; margin-bottom: 3.75rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.page-title h1 { max-width: none; margin: .55rem 0 1.15rem; font-size: var(--type-page-title); line-height: .96; text-wrap: balance; }
.page-title .lead { margin: 0; }
.docs-page main > h2 { margin-top: 4.75rem; font-size: var(--type-section-compact); line-height: 1.1; }
.docs-page main > h3 { margin-top: 3.5rem; }
.docs-page main > p, .docs-page main > ul, .docs-page main > ol { max-width: none; }
.docs-page main > ul, .docs-page main > ol:not(.steps) { padding-left: 1.35rem; }
.docs-page li { margin-bottom: .55rem; }
.docs-page li::marker { color: var(--accent); font-weight: 700; }
.docs-page .card, .docs-page .callout, .docs-page .steps > li { border-color: var(--line); background: #101314; box-shadow: none; }
.docs-page .card { padding: 1.4rem; }
.docs-page .callout { margin: 2rem 0; padding: 1.4rem 1.5rem; }
.docs-page .table-wrap { margin: 1.5rem 0 3rem; border-radius: .9rem; background: #0e1112; }
.docs-page th { background: #151a17; }
.docs-page tbody tr { transition: background .15s ease; }
.docs-page tbody tr:hover { background: rgb(68 214 44 / .025); }
.docs-page pre { margin: 1.5rem 0 2.5rem; border: 1px solid var(--line); background: #0d120e; box-shadow: inset 3px 0 var(--accent); }
.docs-page .diagram { margin: 1.5rem 0 2.5rem; }
.docs-page .diagram-box { padding: 1.15rem; border-color: var(--line); border-radius: .75rem; background: #101314; }
.docs-page .diagram-arrow { padding: .35rem; }
.docs-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.docs-overview-grid .card { display: grid; align-content: start; min-height: 225px; }
.docs-overview-grid .card-index { margin-bottom: 1.5rem; color: var(--accent); font-family: var(--font-mono); font-size: var(--type-card-title); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.docs-overview-grid .card p { color: var(--muted); }
.docs-overview-grid .card a { align-self: end; margin-top: 1rem; font-weight: 650; text-decoration: none; }
.docs-overview-grid .card a span { display: inline-block; margin-left: .3rem; transition: transform .2s ease; }
.docs-overview-grid .card a:hover span { transform: translateX(.25rem); }
.utility-page:not(.home-page) .page-title { margin-bottom: 2rem; }

/* Shared model support */
.model-reference-facts { margin: 0; }
.model-fact-label { width: 100%; margin: 0; color: var(--muted); text-align: left; }
.model-fact-value { display: block; width: 100%; margin: 0; text-align: left; }
.model-fact-value code { padding-inline: 0; background: transparent; }
.support-reference { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 3rem; align-items: baseline; margin: 0 0 4rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.support-reference h2 { margin: 0; font-size: var(--type-card-title); letter-spacing: -.03em; }
.support-reference p { margin: 0; color: var(--muted); }
.model-switcher { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .6fr); gap: 3rem; align-items: end; margin: 0 0 3rem; padding: 2rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.model-switcher h2 { margin: .4rem 0 .5rem; }
.model-switcher p { max-width: 650px; margin: 0; color: var(--muted); }
.model-select { display: grid; gap: .45rem; color: var(--muted); font-size: var(--type-label); font-weight: 650; }
.model-select select { width: 100%; min-height: 46px; padding: .65rem 2.4rem .65rem .8rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface-2); color: var(--text); font: inherit; }
.model-reference[hidden] { display: none; }
.model-reference { margin-top: 3rem; }
.model-reference-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 3rem; align-items: end; padding: 0 0 2.5rem; border-bottom: 1px solid var(--line); }
.model-reference-header h2 { margin: .45rem 0 0; font-size: var(--type-section-title); line-height: 1.05; letter-spacing: -.04em; }
.model-reference-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.model-reference-fact { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: .2rem; min-width: 0; }
.reference-heading { margin: 4.5rem 0 1rem; font-size: var(--type-section-compact); line-height: 1.12; letter-spacing: -.03em; }

/* Plain-English compatibility */
.model-compare-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.model-compare-picker legend { margin-bottom: .45rem; color: var(--muted); font-size: var(--type-label); font-weight: 650; }
.model-compare-options { display: grid; gap: .5rem; max-height: 210px; overflow-y: auto; }
.model-compare-option { display: flex; align-items: center; gap: .75rem; min-height: 52px; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--surface-2); cursor: pointer; }
.model-compare-option:has(input:checked) { border-color: rgb(68 214 44 / .52); background: rgb(68 214 44 / .06); }
.model-compare-option:has(input:disabled) { cursor: not-allowed; opacity: .55; }
.model-compare-option input { flex: 0 0 auto; width: 1rem; height: 1rem; margin: 0; accent-color: var(--accent); }
.model-compare-option span { display: grid; min-width: 0; line-height: 1.35; }
.model-compare-option strong { font-size: var(--type-ui); }
.model-compare-option small { color: var(--muted); font-size: var(--type-fine); }
.model-compare-hint { margin-top: .55rem !important; font-size: var(--type-caption); }
.comparison-section { margin-top: 4rem; }
.comparison-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.comparison-heading h2 { margin: .45rem 0 0; font-size: var(--type-section-title); line-height: 1.05; letter-spacing: -.04em; }
.comparison-heading p { margin: 0; color: var(--muted); white-space: nowrap; }
.comparison-table-wrap { margin-bottom: 3.5rem; }
.compatibility-table { min-width: 700px; table-layout: fixed; }
.compatibility-table th:first-child { width: 34%; }
.compatibility-table thead th:not(:first-child), .compatibility-table td { text-align: center; }
.compatibility-table thead th { padding-block: 1rem; vertical-align: bottom; }
.compatibility-table thead th:first-child { left: 0; z-index: 3; }
.compatibility-table thead strong, .compatibility-table thead small { display: block; }
.compatibility-table thead strong { line-height: 1.3; white-space: normal; }
.compatibility-table thead small { margin-top: .3rem; color: var(--muted); font-weight: 500; line-height: 1.35; }
.compatibility-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: #0e1112; color: var(--text); font-weight: 600; }
.compatibility-table tbody th { top: auto; }
.compatibility-table .feature-category th { position: static; padding-block: .55rem; background: #151a17; color: var(--accent-dark); font-size: var(--type-fine); letter-spacing: .07em; text-transform: uppercase; }
.feature-check { display: inline-block; color: var(--accent); font-size: 1.3rem; font-weight: 800; line-height: 1; }
.feature-unavailable { color: #59615c; font-size: 1.05rem; }
.mobile-model-tabs { display: none; }
.compatibility-detail-link { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compatibility-detail-link p { margin: .2rem 0 0; color: var(--muted); }
.compatibility-detail-link a { flex: 0 0 auto; font-weight: 650; text-decoration: none; }

/* Product homepage */
.home-page [data-site-header] { background: color-mix(in srgb, var(--bg) 88%, transparent); }
.home-main { --home-section-gap: 6rem; --home-divider-gap: 3rem; max-width: none; padding: 0 1.5rem 6rem; overflow: hidden; }
.home-hero { max-width: 1220px; margin: auto; padding: 6.5rem 0 0; }
.home-hero-copy { display: grid; justify-items: center; max-width: 960px; margin: auto; text-align: center; }
.home-hero h1 { max-width: none; margin: .65rem 0 1.25rem; font-size: var(--type-hero); line-height: .91; letter-spacing: -.065em; }
.home-lead { max-width: 840px; margin: 0; color: var(--muted); font-size: var(--type-lead); line-height: 1.55; text-wrap: balance; }
.home-actions { justify-content: center; margin-top: 1.8rem; }
.home-actions .button { padding: .78rem 1.1rem; }
.support-note { display: inline-flex; align-items: center; gap: .5rem; margin: 1.25rem 0 0; color: var(--muted); font-size: var(--type-ui); }
.support-note > span { width: .48rem; height: .48rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .22rem rgb(68 214 44 / .12); }

.product-stage { position: relative; max-width: 1080px; margin: 4.5rem auto 0; padding: 2.5rem 3rem 0; border: 1px solid var(--line); border-radius: 2rem; background: #101311; box-shadow: 0 32px 80px rgb(0 0 0 / .42); }
.product-stage::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; box-shadow: 0 0 70px rgb(68 214 44 / .07); }
.product-window { width: 100%; min-width: 0; overflow: hidden; border: 1px solid #3b3b3b; border-radius: .8rem; background: #202020; box-shadow: 0 24px 55px rgb(0 0 0 / .38); color: #f5f5f5; font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif; text-align: left; }
.app-titlebar { min-height: 38px; padding-left: 14px; display: flex; align-items: center; justify-content: space-between; color: #f3f3f3; background: #202020; font-size: .7rem; line-height: 1; }
.app-window-actions { align-self: stretch; display: grid; grid-template-columns: repeat(3, 46px); }
.app-window-actions i { position: relative; display: block; }
.app-window-actions i::before, .app-window-actions i::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.app-window-actions i:first-child::before { width: 10px; height: 1px; background: currentColor; }
.app-window-actions i:nth-child(2)::before { width: 9px; height: 8px; border: 1px solid currentColor; }
.app-window-actions i:last-child::before, .app-window-actions i:last-child::after { width: 11px; height: 1px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.app-window-actions i:last-child::after { transform: translate(-50%, -50%) rotate(-45deg); }
.app-shell { display: grid; grid-template-columns: 60px minmax(0, 1fr); height: 610px; min-height: 0; background: #202020; }
.app-sidebar { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 6px 7px 8px; }
.app-nav-items { display: grid; gap: 3px; width: 100%; margin-top: 7px; }
.app-nav-icon { width: 46px; height: 42px; display: grid; place-items: center; border-radius: 4px; color: #f3f3f3; }
.app-nav-icon.active { background: #2d2d2d; }
.app-nav-icon svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.app-menu-icon { height: 40px; }
.app-about-icon { margin-top: auto; }
.app-dashboard { min-width: 0; overflow: hidden; padding: 12px 30px 32px 16px; background: #202020; }
.app-dashboard-header { min-height: 45px; display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.app-dashboard-header > strong { font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: 1.78rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.25; }
.app-button { min-width: 90px; height: 34px; display: grid; place-items: center; border: 1px solid #414141; border-radius: 4px; background: #2c2c2c; font-size: .76rem; }
.app-hero-card, .app-settings-group { border: 1px solid #303030; border-radius: 8px; background: #2b2b2b; }
.app-hero-card { margin-top: 4px; padding: 20px 22px 0; }
.app-profile-line { display: flex; align-items: center; gap: 10px; color: #d6d6d6; font-size: .75rem; }
.app-ready { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; gap: 7px; border-radius: 13px; background: #383838; color: #f2f2f2; }
.app-ready i { width: 7px; height: 7px; border-radius: 50%; background: #56d364; box-shadow: 0 0 8px rgb(86 211 100 / .35); }
.app-profile-name { display: block; margin-top: 12px; font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: 2.25rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.05; }
.app-profile-summary { display: flex; gap: 16px; margin-top: 12px; color: #e1e1e1; font-size: .75rem; }
.app-live-readings { display: grid; grid-template-columns: .9fr .95fr 1fr; gap: 28px; margin-top: 17px; padding: 17px 0 19px; border-top: 1px solid #3a3a3a; }
.app-live-readings div { display: grid; gap: 5px; min-width: 0; }
.app-live-readings span { color: #b7b7b7; font-size: .7rem; }
.app-live-readings strong { overflow: hidden; font-size: .75rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.app-section { margin-top: 15px; }
.app-section h3 { margin: 0 0 9px; color: #f7f7f7; font-size: 1rem; font-weight: 650; letter-spacing: 0; }
.app-settings-group { min-height: 70px; padding: 12px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 18px; }
.app-settings-copy { display: grid; gap: 5px; min-width: 0; }
.app-settings-copy strong { font-size: .75rem; font-weight: 650; }
.app-settings-copy span { overflow: hidden; color: #c6c6c6; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.app-select { height: 34px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #414141; border-radius: 4px; background: #393939; font-size: .72rem; }
.app-select i { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.app-toggle { justify-self: end; width: 42px; height: 22px; padding: 3px; border-radius: 999px; background: #3ee316; }
.app-toggle i { display: block; width: 16px; height: 16px; margin-left: auto; border-radius: 50%; background: #101010; }

.profiles-showcase { max-width: 1120px; margin: 0 auto; padding: var(--home-section-gap) 0 0; }
.profiles-showcase-intro { max-width: 760px; margin-bottom: 2.25rem; }
.profiles-showcase-intro h2 { margin: .45rem 0 .8rem; font-size: var(--type-section-title); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.profiles-showcase-intro p { max-width: 680px; margin: 0; color: var(--muted); }
.profiles-window-frame { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.5rem; background: #101311; box-shadow: 0 24px 65px rgb(0 0 0 / .3); }
.profiles-app-shell { height: 610px; }
.app-profiles { --profile-layout: minmax(120px, .52fr) repeat(3, minmax(0, 1fr)); min-width: 0; overflow: hidden; padding: 12px 30px 30px 16px; background: #202020; }
.app-profiles-header { min-height: 45px; display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.app-profiles-header > strong { font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: 1.78rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.25; }
.app-profile-actions { display: flex; gap: 8px; }
.app-profile-actions .app-button { min-width: 100px; }
.app-profiles-note { margin: 4px 0 11px; color: #c9c9c9; font-size: .68rem; line-height: 1.35; }
.app-profile-grid { display: grid; grid-template-columns: var(--profile-layout); align-items: center; column-gap: 16px; min-width: 0; }
.app-profile-columns { min-height: 29px; padding: 0 14px; }
.app-profile-columns > span { color: #c6c6c6; font-size: .7rem; }
.app-profile-columns > strong { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: .72rem; font-weight: 650; }
.app-active-pill { height: 20px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 999px; background: #47e10c; color: #101010; font-size: .58rem; font-style: normal; font-weight: 650; }
.app-profile-section { margin-top: 13px; }
.app-profile-section h3 { margin: 0 0 7px; color: #f7f7f7; font-size: .98rem; font-weight: 650; letter-spacing: 0; }
.app-profile-table { overflow: hidden; border: 1px solid #303030; border-radius: 8px; background: #2b2b2b; }
.app-profile-row { min-height: 43px; padding: 0 14px; border-bottom: 1px solid #363636; }
.app-profile-row:last-child { border-bottom: 0; }
.app-profile-row > * { min-width: 0; font-size: .68rem; line-height: 1.25; }
.app-profile-row > strong { font-weight: 650; }
.app-profile-row > span { color: #f0f0f0; }

.performance-strip { display: grid; grid-template-columns: minmax(180px, 1.25fr) repeat(3, minmax(0, .8fr)); align-items: center; gap: 0; padding: 1.5rem .25rem; text-align: left; }
.performance-intro { padding: .5rem 1.25rem .5rem 0; }
.performance-intro h2 { margin: .25rem 0 0; font-size: var(--type-heading); letter-spacing: -.025em; }
.performance-metric { display: grid; align-content: center; gap: .35rem; min-width: 0; min-height: 76px; padding: .5rem 1.25rem; border-left: 1px solid var(--line); }
.performance-metric strong { color: var(--accent); font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.performance-metric span { color: var(--muted); font-size: var(--type-caption); line-height: 1.35; }
.performance-method { grid-column: 1 / -1; max-width: 900px; margin: 1rem 0 0; padding: .8rem 0 0; border-top: 1px solid var(--line); color: #879089; font-size: var(--type-fine); line-height: 1.55; }
.performance-method code { color: #bfc8c1; }

.personalization-section { max-width: 1120px; margin: 0 auto; padding: var(--home-section-gap) 0 0; }
.section-intro { max-width: 650px; margin-bottom: 3rem; }
.section-intro h2, .compatibility-section h2, .open-section h2 { margin: .45rem 0 0; font-size: var(--type-section-title); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.personalization-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.story-panel { min-width: 0; overflow: hidden; padding: 2rem; display: grid; grid-template-rows: auto 1fr; gap: 1.5rem; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--surface); }
.story-panel h3 { margin: 0 0 .65rem; font-size: var(--type-card-title); letter-spacing: -.03em; }
.story-panel p { margin: 0; color: var(--muted); }
.dashboard-preview { min-width: 0; align-self: start; overflow: hidden; border: 1px solid #434343; border-radius: .65rem; background: #2b2b2b; box-shadow: 0 18px 36px rgb(0 0 0 / .26); color: #f4f4f4; font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif; }
.customize-preview-header { display: grid; gap: .35rem; padding: 1.2rem 1.35rem .65rem; }
.customize-preview-header strong { font-size: 1.05rem; }
.customize-preview-header span { color: #d0d0d0; font-size: .68rem; }
.customize-preview-list { padding: .15rem 1rem .75rem; }
.customize-preview-row { min-height: 48px; display: grid; grid-template-columns: 10px minmax(0, 1fr) 18px; align-items: center; gap: .7rem; }
.customize-preview-row > div { min-width: 0; display: grid; gap: .18rem; }
.customize-preview-row strong { overflow: hidden; font-size: .69rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.customize-preview-row span { overflow: hidden; color: #c5c5c5; font-size: .59rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.drag-mark { position: relative; width: 9px; height: 8px; }
.drag-mark::before, .drag-mark::after { content: ""; position: absolute; left: 0; width: 9px; height: 1px; background: #bdbdbd; }
.drag-mark::before { top: 2px; }
.drag-mark::after { top: 5px; }
.preview-check { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #8b8b8b; border-radius: 3px; color: #101010; font-size: .69rem; font-style: normal; line-height: 1; }
.preview-check.checked { border-color: #47e10c; background: #47e10c; }
.customize-preview-footer { padding: 1rem 1.35rem; border-top: 1px solid #3a3a3a; background: #272727; }
.customize-preview-footer span { height: 32px; display: grid; place-items: center; border-radius: 4px; background: #47e10c; color: #101010; font-size: .7rem; }
.interface-preview { align-self: start; min-width: 0; color: #f4f4f4; font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif; }
.appearance-group { overflow: hidden; border: 1px solid #303030; border-radius: .6rem; background: #2b2b2b; }
.appearance-row { min-height: 72px; padding: .8rem .9rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .8rem; border-bottom: 1px solid #383838; }
.appearance-row:last-child { border-bottom: 0; }
.appearance-row > div:first-child { min-width: 0; display: grid; gap: .24rem; }
.appearance-row strong { font-size: .69rem; font-weight: 650; }
.appearance-row > div:first-child > span { color: #c6c6c6; font-size: .58rem; line-height: 1.35; }
.appearance-select { width: 118px; height: 31px; padding: 0 .65rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; border: 1px solid #444; border-radius: 4px; background: #393939; font-size: .6rem; white-space: nowrap; }
.appearance-select > i, .appearance-expander i { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.appearance-actions { display: flex; align-items: center; gap: .4rem; }
.accent-dot { flex: 0 0 auto; width: 13px; height: 13px; border-radius: 50%; background: #47e10c; }
.accent-row .appearance-select { width: 122px; }
.appearance-expander { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 4px; background: #393939; }
.appearance-expander.open i { transform: translateY(2px) rotate(225deg); }
.navigation-expanded { display: block; padding: 0; }
.navigation-expanded-header { padding: .8rem .9rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .8rem; }
.navigation-expanded-header > div { min-width: 0; display: grid; gap: .24rem; }
.navigation-expanded-header strong { font-size: .69rem; font-weight: 650; }
.navigation-expanded-header span { color: #c6c6c6; font-size: .58rem; line-height: 1.35; }
.navigation-expanded-body { padding: .8rem .9rem 1rem; border-top: 1px solid #383838; background: #303030; }
.navigation-help { display: block; margin-bottom: .55rem; color: #c6c6c6; font-size: .58rem; line-height: 1.4; }
.navigation-order-list { display: grid; }
.navigation-order-list > div { min-height: 31px; display: grid; grid-template-columns: 10px minmax(0, 1fr); align-items: center; gap: .65rem; }
.navigation-order-list strong { font-size: .63rem; font-weight: 600; }
.navigation-reset { width: fit-content; min-height: 30px; margin-top: .65rem; padding: 0 .7rem; display: grid; place-items: center; border: 1px solid #444; border-radius: 4px; background: #3a3a3a; color: #ededed; font-size: .58rem; }

.control-section { max-width: 1120px; margin: 0 auto; padding: var(--home-section-gap) 0 var(--home-divider-gap); }
.control-section .section-intro { margin-bottom: 2rem; }
.control-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.control-strip li { display: grid; align-content: start; gap: .25rem; min-width: 0; padding: 1rem 0; border-top: 1px solid var(--line); }
.control-strip strong { display: flex; align-items: center; gap: .5rem; color: var(--text); font-size: var(--type-body); }
.control-strip span { color: var(--muted); font-size: var(--type-caption); line-height: 1.4; }
.control-icon { width: 1.15rem; height: 1.15rem; flex: 0 0 1.15rem; display: inline-grid; place-items: center; color: var(--accent); font-style: normal; font-weight: 400; }
.control-icon svg { display: block; width: 100%; height: 100%; overflow: hidden; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.control-disclaimer { margin: 1rem 0 0; color: #879089; font-size: var(--type-fine); line-height: 1.55; }

.compatibility-section { max-width: 1120px; margin: 0 auto; padding: var(--home-divider-gap) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; border-top: 1px solid var(--line); }
.compatibility-copy { padding-top: .4rem; }
.compatibility-copy p { margin: 0 0 1.5rem; color: var(--muted); font-size: var(--type-lead); }
.compatibility-copy a { font-weight: 650; text-decoration: none; }
.compatibility-copy a span { display: inline-block; margin-left: .35rem; transition: transform .2s ease; }
.compatibility-copy a:hover span { transform: translateX(.25rem); }

.open-section { max-width: 1120px; margin: var(--home-section-gap) auto 0; padding: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--surface); }
.open-section > div:first-child > p { max-width: 500px; color: var(--muted); }
.open-links { display: grid; }
.open-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.open-links a:last-child { border-bottom: 0; }
.open-links a:hover strong { color: var(--accent); }
.open-links span { color: var(--muted); font-size: var(--type-ui); text-align: right; }

footer { border-top: 1px solid var(--line); color: var(--muted); }
footer > div { max-width: 1120px; margin: auto; padding: 2rem 1.5rem; display: flex; justify-content: space-between; gap: 2rem; font-size: var(--type-ui); }
footer p { margin: 0; }

@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; padding-block: .75rem; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .primary-nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; }
  .primary-nav.open { display: flex; }
  .primary-nav a { display: flex; align-items: center; min-height: 44px; }
  .github-link { display: none; }
  .hero, .grid, .grid.two { grid-template-columns: 1fr; }
  .diagram-row { grid-template-columns: 1fr; }
  th { top: 0; }
  .home-hero { padding-top: 4.75rem; }
  .product-stage { margin-top: 3.5rem; padding: 1.5rem 1.5rem 0; border-radius: 1.4rem; }
  .app-shell { height: 570px; }
  .app-dashboard { padding-right: 20px; }
  .profiles-app-shell { height: 570px; }
  .app-profiles { padding-right: 20px; }
  .performance-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .performance-intro { grid-column: 1 / -1; padding-right: 0; }
  .performance-intro + .performance-metric { border-left: 0; }
  .personalization-grid { grid-template-columns: 1fr; }
  .compatibility-section, .open-section { grid-template-columns: 1fr; gap: 2rem; }
  .open-section { padding: 3rem; }
  .support-reference, .model-switcher, .model-reference-header { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  main { padding: 2.5rem 1rem 4rem; }
  h1 { font-size: 2.5rem; }
  footer > div { flex-direction: column; gap: .5rem; }
  .docs-bar-inner { min-height: 46px; padding-inline: 1rem; }
  .docs-label { display: none; }
  .docs-nav { gap: 1rem; }
  .docs-page main { padding-top: 3.25rem; }
  .page-title { margin-bottom: 3rem; padding-bottom: 2.75rem; }
  .page-title h1 { font-size: clamp(2.4rem, 13vw, 3rem); }
  .docs-page main > h2 { margin-top: 3.75rem; }
  .docs-overview-grid { grid-template-columns: 1fr; }
  .docs-overview-grid .card { min-height: 0; }
  .model-switcher { padding: 1.25rem; }
  .model-reference-facts { grid-template-columns: 1fr; }
  .model-reference-fact { padding-top: .6rem; border-top: 1px solid var(--line); }
  .comparison-section { margin-top: 3rem; }
  .comparison-heading { display: grid; align-items: start; gap: .75rem; }
  .comparison-heading p { white-space: normal; }
  .mobile-model-tabs { display: flex; gap: .4rem; margin-bottom: .8rem; overflow-x: auto; scrollbar-width: none; }
  .mobile-model-tabs::-webkit-scrollbar { display: none; }
  .mobile-model-tabs button { flex: 0 0 auto; min-height: 40px; padding: .5rem .7rem; color: var(--muted); font-size: .78rem; white-space: nowrap; }
  .mobile-model-tabs button[aria-pressed="true"] { border-color: rgb(68 214 44 / .55); color: var(--text); background: rgb(68 214 44 / .08); }
  .comparison-table-wrap { overflow: visible; }
  .compatibility-table { min-width: 0; table-layout: fixed; }
  .compatibility-table th:first-child { width: 68%; }
  .compatibility-table th[data-model-column], .compatibility-table td[data-model-column] { width: 32%; }
  .compatibility-table .mobile-hidden-column { display: none; }
  .compatibility-table th, .compatibility-table td { padding: .65rem .55rem; }
  .compatibility-table thead strong { font-size: .82rem; }
  .compatibility-table thead small { font-size: .68rem; }
  .compatibility-detail-link { align-items: start; flex-direction: column; gap: 1rem; }
  .reference-heading { margin-top: 3.75rem; }
  .home-main { --home-section-gap: 4rem; --home-divider-gap: 2rem; padding: 0 1rem 4rem; }
  .home-hero { padding: 3.5rem 0 0; }
  .home-main { --type-hero: 3.35rem; }
  .product-stage { margin-top: 2.75rem; padding: .65rem .65rem 0; border-radius: 1rem; }
  .profiles-showcase { padding-top: var(--home-section-gap); }
  .profiles-showcase-intro { margin-bottom: 1.5rem; }
  .profiles-window-frame { padding: .65rem; border-radius: 1rem; }
  .product-window { border-radius: .6rem; }
  .app-titlebar { min-height: 30px; padding-left: 9px; font-size: .52rem; }
  .app-window-actions { grid-template-columns: repeat(3, 30px); }
  .app-window-actions i:first-child::before { width: 7px; }
  .app-window-actions i:nth-child(2)::before { width: 6px; height: 5px; }
  .app-window-actions i:last-child::before, .app-window-actions i:last-child::after { width: 8px; }
  .app-shell { grid-template-columns: 40px minmax(0, 1fr); height: 430px; }
  .profiles-app-shell { height: 430px; }
  .app-sidebar { padding: 3px 4px 5px; }
  .app-nav-items { gap: 2px; margin-top: 4px; }
  .app-nav-icon { width: 32px; height: 31px; }
  .app-nav-icon svg { width: 14px; height: 14px; }
  .app-menu-icon { height: 29px; }
  .app-dashboard { padding: 7px 10px 18px 8px; }
  .app-profiles { --profile-layout: minmax(68px, .68fr) repeat(3, minmax(0, 1fr)); padding: 7px 8px 16px; }
  .app-profiles-header { min-height: 32px; }
  .app-profiles-header > strong { font-size: 1.12rem; }
  .app-profile-actions { gap: 4px; }
  .app-profile-actions .app-button { min-width: 58px; height: 26px; font-size: .47rem; }
  .app-profiles-note { margin: 2px 0 6px; overflow: hidden; font-size: .48rem; text-overflow: ellipsis; white-space: nowrap; }
  .app-profile-grid { column-gap: 6px; }
  .app-profile-columns { min-height: 22px; padding-inline: 7px; }
  .app-profile-columns > span, .app-profile-columns > strong { font-size: .48rem; }
  .app-profile-columns > strong { gap: 3px; }
  .app-active-pill { height: 14px; padding-inline: 4px; font-size: .4rem; }
  .app-profile-section { margin-top: 7px; }
  .app-profile-section h3 { margin-bottom: 4px; font-size: .68rem; }
  .app-profile-row { min-height: 31px; padding-inline: 7px; }
  .app-profile-row > * { font-size: .46rem; }
  .app-dashboard-header { min-height: 32px; }
  .app-dashboard-header > strong { font-size: 1.12rem; }
  .app-button { min-width: 62px; height: 26px; font-size: .52rem; }
  .app-hero-card { margin-top: 2px; padding: 10px 11px 0; }
  .app-profile-line { gap: 6px; font-size: .54rem; }
  .app-ready { height: 20px; padding-inline: 7px; gap: 5px; }
  .app-ready i { width: 5px; height: 5px; }
  .app-profile-name { margin-top: 7px; font-size: 1.35rem; }
  .app-profile-summary { gap: 9px; margin-top: 7px; font-size: .53rem; }
  .app-live-readings { gap: 8px; margin-top: 9px; padding: 9px 0 11px; }
  .app-live-readings div { gap: 3px; }
  .app-live-readings span { font-size: .48rem; }
  .app-live-readings strong { font-size: .5rem; }
  .app-section { margin-top: 9px; }
  .app-section h3 { margin-bottom: 5px; font-size: .72rem; }
  .app-settings-group { min-height: 50px; padding: 7px 9px; grid-template-columns: minmax(0, 1fr) 82px; gap: 8px; }
  .app-settings-copy { gap: 3px; }
  .app-settings-copy strong { font-size: .53rem; }
  .app-settings-copy span { font-size: .48rem; }
  .app-select { height: 26px; padding-inline: 8px; gap: 6px; font-size: .5rem; }
  .app-select i { width: 5px; height: 5px; }
  .app-toggle { width: 32px; height: 18px; padding: 3px; }
  .app-toggle i { width: 12px; height: 12px; }
  .performance-strip { grid-template-columns: 1fr; padding-top: 1rem; }
  .performance-intro { grid-column: auto; padding: .5rem .25rem 1rem; }
  .performance-metric { min-height: 0; padding: .8rem .25rem; border-top: 1px solid var(--line); border-left: 0; }
  .performance-method { margin-top: .4rem; }
  .personalization-section { padding: var(--home-section-gap) 0 0; }
  .story-panel { padding: 1.25rem; }
  .customize-preview-header { padding: 1rem 1rem .6rem; }
  .customize-preview-list { padding-inline: .75rem; }
  .customize-preview-row { gap: .5rem; }
  .customize-preview-footer { padding: .85rem 1rem; }
  .appearance-row { grid-template-columns: 1fr; align-items: start; gap: .6rem; }
  .appearance-row > .appearance-select, .appearance-actions, .appearance-expander { justify-self: end; }
  .control-section { padding: var(--home-section-gap) 0 var(--home-divider-gap); }
  .control-strip { grid-template-columns: 1fr; gap: 0; }
  .control-strip li { grid-template-columns: minmax(90px, .7fr) minmax(0, 1.3fr); align-items: baseline; gap: .75rem; }
  .compatibility-section { padding: var(--home-divider-gap) 0 0; }
  .open-section { padding: 1.5rem; border-radius: 1rem; }
  .open-links a { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .open-links span { text-align: left; }
  pre { font-size: .82rem; }
  th, td { padding: .65rem .7rem; }
}

@media (max-width: 380px) {
  .topbar { padding-inline: 1rem; gap: .65rem; }
  .brand { font-size: var(--type-body); }
  .home-main { --type-hero: 2.9rem; }
  .home-actions { width: 100%; }
  .home-actions .button { width: 100%; text-align: center; }
  .support-note { align-items: flex-start; text-align: left; }
  .app-settings-group { grid-template-columns: minmax(0, 1fr) 76px; }
}

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

