: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-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 0; margin: 0; background: var(--bg); color: var(--text); 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: "Cascadia Code", "SFMono-Regular", Consolas, monospace; }
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; }
[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-size: 1.15rem; 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: .9rem; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.github-link { white-space: nowrap; font-size: .9rem; }
.nav-toggle { display: none; margin-left: auto; }
.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: .8rem; 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: .85rem; 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-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
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; }
.page-title h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { margin-top: 2.8rem; font-size: 1.65rem; letter-spacing: -.02em; }
h3 { margin-top: 2rem; font-size: 1.2rem; }
.lead { max-width: 780px; color: var(--muted); font-size: 1.2rem; }
.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 > *, .feature-list > * { 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: .92rem; }
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: clamp(3rem, 6vw, 5rem); line-height: .96; text-wrap: balance; }
.page-title .lead { margin: 0; }
.docs-page main > h2 { margin-top: 4.75rem; font-size: clamp(1.8rem, 3.2vw, 2.45rem); 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: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: 1.45rem; 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: 1.4rem; letter-spacing: -.02em; }
.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: .82rem; 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: clamp(2rem, 4vw, 3.25rem); 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: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -.025em; }

/* 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: .82rem; 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: .9rem; }
.model-compare-option small { color: var(--muted); font-size: .75rem; }
.model-compare-hint { margin-top: .55rem !important; font-size: .78rem; }
.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: clamp(2rem, 4vw, 3.25rem); 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: .75rem; 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 { max-width: none; padding: 0 1.5rem 6rem; overflow: hidden; }
.home-hero { max-width: 1220px; margin: auto; padding: 6.5rem 0 5.5rem; }
.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: clamp(3.6rem, 8.5vw, 7rem); line-height: .91; letter-spacing: -.065em; }
.home-lead { max-width: 840px; margin: 0; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.35rem); 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: .88rem; }
.support-note > span, .device-status > 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 #303834; border-bottom: 0; border-radius: 1.15rem 1.15rem 0 0; background: #0e1112; box-shadow: 0 24px 55px rgb(0 0 0 / .38); text-align: left; }
.product-titlebar { min-height: 58px; padding: 0 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #262d29; }
.product-brand, .device-status { display: flex; align-items: center; gap: .55rem; }
.product-logo { display: block; width: 32px; height: 32px; object-fit: contain; }
.device-status { color: #acb5ae; font-size: .8rem; }
.product-body { display: grid; grid-template-columns: 170px 1fr; min-height: 430px; }
.product-sidebar { padding: 1.2rem .8rem; border-right: 1px solid #262d29; background: #111415; }
.sidebar-item { display: flex; align-items: center; gap: .65rem; margin-bottom: .25rem; padding: .65rem .75rem; border-radius: .55rem; color: #8e9891; font-size: .82rem; }
.sidebar-item.active { color: #f1f5f1; background: #1d231f; }
.sidebar-icon { width: .7rem; height: .7rem; border: 1px solid currentColor; border-radius: 3px; }
.sidebar-item.active .sidebar-icon { border-color: var(--accent); background: var(--accent); }
.product-content { padding: 2rem; }
.product-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.product-heading > div { display: grid; gap: .2rem; }
.product-heading strong { font-size: 1.45rem; }
.product-kicker, .control-label { color: #89938c; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.profile-pill { padding: .3rem .6rem; border: 1px solid rgb(68 214 44 / .28); border-radius: 999px; color: var(--accent); background: rgb(68 214 44 / .08); font-size: .72rem; }
.control-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: .85rem; }
.control-panel { position: relative; min-height: 132px; overflow: hidden; padding: 1.05rem; border: 1px solid #29302d; border-radius: .8rem; background: #15191a; }
.control-panel.featured { background: #161d16; border-color: rgb(68 214 44 / .22); }
.control-panel > strong { display: block; margin-top: .25rem; font-size: 1.05rem; }
.level-bars { position: absolute; left: 1.05rem; right: 1.05rem; bottom: 1.1rem; display: flex; align-items: end; gap: .28rem; height: 28px; }
.level-bars span { flex: 1; border-radius: 2px; background: #2a332c; }
.level-bars span:nth-child(1) { height: 30%; }
.level-bars span:nth-child(2) { height: 45%; }
.level-bars span:nth-child(3) { height: 62%; background: var(--accent); }
.level-bars span:nth-child(4) { height: 78%; }
.level-bars span:nth-child(5) { height: 100%; }
.fan-mark { position: absolute; right: 1rem; bottom: 1rem; width: 42px; height: 42px; border: 1px solid #37403b; border-radius: 50%; }
.fan-mark::before, .fan-mark::after, .fan-mark span::before, .fan-mark span::after { content: ""; position: absolute; left: 18px; top: 7px; width: 6px; height: 13px; border-radius: 6px; background: #627067; transform-origin: 3px 14px; }
.fan-mark::after { transform: rotate(90deg); }
.fan-mark span::before { transform: rotate(180deg); }
.fan-mark span::after { transform: rotate(270deg); }
.battery-mark { position: absolute; right: 1.1rem; bottom: 1.2rem; width: 52px; height: 24px; padding: 3px; border: 1px solid #4a554e; border-radius: 5px; }
.battery-mark::after { content: ""; position: absolute; right: -5px; top: 7px; width: 3px; height: 8px; border-radius: 0 2px 2px 0; background: #4a554e; }
.battery-mark span { display: block; width: 80%; height: 100%; border-radius: 2px; background: var(--accent); }
.lighting-panel { grid-column: 1 / -1; min-height: 96px; }
.light-strip { position: absolute; left: 40%; right: 1.1rem; bottom: 1.25rem; height: 8px; border-radius: 999px; background: #29312c; }
.light-strip span { display: block; width: 58%; height: 100%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 18px rgb(68 214 44 / .3); }

.highlight-section { max-width: 1120px; margin: 0 auto; padding: 5rem 0 6rem; border-top: 1px solid var(--line); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.highlight-item { min-width: 0; min-height: 310px; padding: 1.65rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.highlight-number { margin-bottom: 2.8rem; color: var(--accent); font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.highlight-item h3 { margin: 0 0 .7rem; font-size: 1.35rem; }
.highlight-item p { margin: 0; color: var(--muted); }
.highlight-item .highlight-detail { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--text); font-size: .88rem; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0 1.35rem; }
.metric-grid div { display: grid; align-content: start; gap: .2rem; min-width: 0; }
.metric-grid strong { color: var(--accent); font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1; letter-spacing: -.045em; }
.metric-grid span { color: var(--muted); font-size: .77rem; line-height: 1.35; }
.measurement-note { max-width: 900px; margin: 1.2rem 0 0; color: #7f8982; font-size: .76rem; line-height: 1.55; }
.measurement-note code { color: #aeb7b0; }

.feature-section { max-width: 1120px; margin: 0 auto; padding: 5rem 0 6rem; }
.section-intro { max-width: 650px; margin-bottom: 3rem; }
.section-intro h2, .compatibility-section h2, .open-section h2 { margin: .45rem 0 0; font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.06; letter-spacing: -.045em; }
.compatibility-section h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.feature-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem; }
.feature-item { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.feature-item svg { width: 42px; height: 42px; margin-bottom: 1.4rem; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-item h3 { margin: 0 0 .4rem; }
.feature-item p { margin: 0; color: var(--muted); }

.compatibility-section { max-width: 1120px; margin: 0 auto; padding: 5rem 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: 1.08rem; }
.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: 2rem 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: .9rem; 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: .9rem; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; padding-block: .75rem; }
  .nav-toggle { display: inline-block; }
  .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; }
  .product-body { grid-template-columns: 140px 1fr; }
  .product-content { padding: 1.4rem; }
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight-item { min-height: 0; }
  .highlight-number { margin-bottom: 1.8rem; }
  .feature-list { grid-template-columns: repeat(2, 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 { padding: 0 1rem 4rem; }
  .home-hero { padding: 3.5rem 0 4rem; }
  .home-hero h1 { font-size: 3.35rem; }
  .home-lead { font-size: 1.05rem; }
  .product-stage { margin-top: 2.75rem; padding: .65rem .65rem 0; border-radius: 1rem; }
  .product-window { border-radius: .75rem .75rem 0 0; }
  .product-titlebar { min-height: 50px; padding-inline: .75rem; }
  .device-status { font-size: 0; }
  .product-body { grid-template-columns: 1fr; min-height: 0; }
  .product-sidebar { display: none; }
  .product-content { padding: 1rem; }
  .product-heading { margin-bottom: .9rem; }
  .control-grid { grid-template-columns: 1fr; }
  .control-panel { min-height: 100px; }
  .lighting-panel { grid-column: auto; }
  .light-strip { left: 50%; }
  .highlight-section { padding: 3.5rem 0 4rem; }
  .metric-grid strong { font-size: 1.85rem; }
  .feature-section { padding: 3.5rem 0 4rem; }
  .feature-list { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-item { display: grid; grid-template-columns: 46px 1fr; column-gap: 1rem; }
  .feature-item svg { grid-row: 1 / 3; margin: 0; }
  .compatibility-section { padding: 3.5rem 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: 1rem; }
  .home-hero h1 { font-size: 2.9rem; }
  .home-actions { width: 100%; }
  .home-actions .button { width: 100%; text-align: center; }
  .support-note { align-items: flex-start; text-align: left; }
  .product-heading strong { font-size: 1.2rem; }
  .profile-pill { display: none; }
}

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

