@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* Animated Chorus · Hall — tokens follow PROJECT_CONCEPTS.txt §4 (forest green family only). */
:root {
  --paper: #fff;
  --ink: #16181d;
  --muted: #5b616b;
  --line: #e6e8ec;
  --forest: #176b52;
  --forest-mid: #2e8f6d;
  --deep: #0e2e24;
  --deep-2: #154034;
  --mint: #43c58f;
  --tint: #eaf6f0;
  --tint-2: #f4faf7;
  --leaf-line: #cfe8dc;
  --code-bg: #0b241c;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Consolas, monospace;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1200px;
  --header: 64px;
  --radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--sticky-top, var(--header)) + 24px); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 var(--sans); overflow-wrap: break-word; }
h1, h2, h3, p, figure, ol, ul, pre { margin: 0; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.03em; text-wrap: balance; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
code { font-family: var(--mono); font-size: 0.9em; }
p code, li code, td code, th code, h2 code, .lead code, span code, small code { padding: 0.08em 0.36em; border-radius: 6px; background: var(--tint); color: var(--forest); }
img { display: block; }
.icon { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
::selection { background: #c9ecd9; color: var(--ink); }
html:lang(ko) body { word-break: keep-all; }
.measure td:first-child { min-width: 7.5em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; inset-inline-start: 12px; z-index: 100; padding: 10px 18px; border-radius: 10px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.inner { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.eyebrow, .kicker { font: 600 0.875rem/1.5 var(--mono); letter-spacing: 0.02em; color: var(--forest); }
.eyebrow a { display: inline-flex; align-items: center; gap: 6px; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lead { max-width: 68ch; margin-top: 16px; font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); color: var(--muted); }
.note { color: var(--muted); font-size: 0.875rem; }
[dir="rtl"] .icon { transform: scaleX(-1); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 650; border: 1px solid transparent; transition: background-color .16s, color .16s, border-color .16s; }
.button.primary { background: var(--mint); color: var(--deep); }
.button.primary:hover { background: #fff; }
.page-missing .button.primary { background: var(--forest); color: #fff; }
.button.ghost { border-color: rgba(255,255,255,.34); color: #fff; }
.button.ghost:hover { border-color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--forest); font-weight: 650; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; min-height: var(--header); padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.125rem; letter-spacing: -0.02em; min-height: 44px; white-space: nowrap; }
.version { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; font: 500 0.75rem/1.4 var(--mono); color: var(--muted); letter-spacing: 0; }
.top-nav { position: relative; display: flex; align-items: center; gap: 2px; min-width: 0; }
.top-nav a { flex: none; white-space: nowrap; position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 0.9375rem; color: var(--muted); transition: color .16s; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--deep); }
.nav-pill { position: absolute; top: 50%; left: 0; height: 38px; margin-top: -19px; border-radius: 999px; background: var(--tint); opacity: 0; pointer-events: none; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.search-trigger { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 0.875rem; }
.search-trigger kbd { padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; font: 0.75rem var(--mono); }
.search-trigger:hover { border-color: var(--forest); color: var(--ink); }
.language-control { white-space: nowrap; position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.language-control select { max-width: 130px; border: 0; background: transparent; font-size: 0.875rem; cursor: pointer; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; padding-block: 48px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand p { margin-top: 4px; color: var(--muted); font-size: 0.875rem; }
.site-footer nav { display: grid; gap: 6px; align-content: start; font-size: 0.9375rem; }
.site-footer nav span { color: var(--muted); font-size: 0.875rem; }
.site-footer nav a:hover { color: var(--forest); }

/* Bands */
.band { padding-block: clamp(72px, 9vw, 120px); }
.band.tint { background: var(--tint); }
.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: 40px; justify-items: start; }
.section-head h2, .promise-head h2, .platform-copy h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 750; }
.section-head p, .section-lead { color: var(--muted); font-size: 1.0625rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; min-height: min(90vh, 880px); display: flex; align-items: center; isolation: isolate; }
.choir { position: absolute; inset: auto 0 0 0; height: 62%; z-index: -1; pointer-events: none; }
.choir > div, .choir-root { position: absolute; inset: 0; }
.choir-row { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(3px, 0.6vw, 10px); padding-inline: clamp(8px, 1.5vw, 24px); transform-origin: bottom; }
.pillar-slot { position: relative; display: block; flex: 1; height: 100%; }
.pillar { position: absolute; inset: 0; border-radius: 999px 999px 0 0; transform-origin: bottom; will-change: transform; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); gap: 48px; align-items: center; padding-block: 88px 150px; }
.hero .eyebrow { color: var(--mint); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; margin-top: 14px; }
.hero .lead { color: #bfd9cd; }
.hero .lead code { background: rgba(255,255,255,.1); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-install { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.hero-install > span { color: #9cc7b5; font-size: 0.875rem; }
.ensemble-slot { min-width: 0; }

/* Ensemble card: real Chorus components on the hero */
.ensemble-card { display: grid; gap: 20px; padding: 24px 18px 18px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.28); }
.ensemble-card.skeleton { min-height: 420px; align-content: start; }
.ensemble-card.skeleton span { height: 44px; border-radius: 12px; background: var(--tint); }
.ensemble-card.skeleton span:nth-child(2) { height: 120px; }
.voice { position: relative; }
.voice .tag { position: absolute; top: -17px; inset-inline-end: 8px; padding: 1px 7px; border-radius: 6px; background: var(--deep); color: var(--mint); font: 600 0.6875rem/1.5 var(--mono); }
.ens-tabs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--tint); }
.ens-tab { flex: 1; display: grid; place-items: center; min-height: 34px; font-size: 0.875rem; font-weight: 650; color: var(--muted); }
.ens-tab .on { color: var(--deep); }
.ens-tab-on { border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); }
.voice-question p { justify-self: end; margin-inline-start: auto; width: fit-content; max-width: 88%; padding: 8px 14px; border-radius: 16px 16px 4px 16px; background: var(--forest); color: #fff; font-size: 0.875rem; }
.voice-stream p { min-height: 108px; padding: 12px 14px; border: 1px solid var(--leaf-line); border-radius: 16px 16px 16px 4px; font-size: 0.9375rem; line-height: 1.6; }
.voice-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ens-stat { position: relative; display: grid; gap: 0; padding: 10px 14px; border-radius: 14px; background: var(--tint-2); }
.ens-stat .stat-label { color: var(--muted); font-size: 0.8125rem; }
.ens-stat strong { font: 800 1.75rem/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--deep); }
.ens-ring { position: relative; padding: 4px 8px; }
.ens-ring small { font: 700 0.8125rem var(--sans); font-variant-numeric: tabular-nums; }
.ens-sources { display: flex; flex-wrap: wrap; gap: 6px; min-height: 34px; }
.ens-source span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--tint); color: var(--forest); font-size: 0.8125rem; font-weight: 650; }
.voice-button { display: flex; }
.ens-button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 650; font-size: 0.875rem; transition: background-color .3s; }
.ens-button.busy { background: var(--forest-mid); }
.ens-button.done { background: var(--deep); }
.voice-button .tag { top: 50%; margin-top: -10px; }

/* Install line and code */
.install { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 48px; padding: 0 6px 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.install pre { flex: 1; min-width: 0; margin: 0; font: 0.9375rem var(--mono); white-space: pre; overflow-x: auto; }
.install-prompt { color: var(--mint); font-family: var(--mono); }
.copy-button { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(67,197,143,.4); border-radius: 999px; background: transparent; color: inherit; font-size: 0.8125rem; font-weight: 600; }
.copy-button:hover { border-color: var(--mint); }
.code-block { position: relative; margin-block: 20px; border-radius: 14px; background: var(--code-bg); color: #e3f3ea; overflow: hidden; }
.code-block ::selection, .wb-source ::selection, .usage ::selection { background: #2e8f6d; color: #fff; }
.code-block figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 16px; border-bottom: 1px solid rgba(67,197,143,.16); font: 0.8125rem var(--mono); color: #93c3ad; }
pre code { padding: 0 !important; background: none !important; color: inherit !important; }
.code-block pre { padding: 18px 20px; overflow-x: auto; font: 0.875rem/1.7 var(--mono); tab-size: 2; }
.install.code-block { margin: 0; background: #fff; color: var(--ink); }
.install.code-block pre { padding: 0; }
.hero .install.code-block { background: #143d31; border-color: #2a5a4b; color: #fff; }
.hljs { color: #e3f3ea; }
.hljs-keyword, .hljs-built_in, .hljs-selector-tag { color: #7fe0b4; }
.hljs-string, .hljs-attr, .hljs-template-variable, .hljs-selector-attr { color: #d9f5b8; }
.hljs-title, .hljs-title.function_, .hljs-name { color: #ffffff; font-weight: 600; }
.hljs-number, .hljs-literal, .hljs-attribute { color: #ffd8b0; }
.hljs-comment { color: #7fa594; font-style: italic; }
.hljs-tag, .hljs-punctuation, .hljs-operator { color: #b3d6c6; }
.hljs-variable, .hljs-params, .hljs-property { color: #d4ece0; }
.install .hljs, .install .hljs * { color: var(--ink); font-weight: 500; }
.hero .install .hljs, .hero .install .hljs * { color: #fff; }

/* Metrics */
.metrics-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 36px; }
.metrics-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 750; }
.metrics-head p { max-width: 560px; color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.metrics li { display: grid; align-content: start; gap: 6px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); }
.metric-value { display: flex; align-items: baseline; gap: 6px; font: 800 clamp(2.5rem, 4.4vw, 3.5rem)/1 var(--sans); letter-spacing: -0.04em; color: var(--deep); font-variant-numeric: tabular-nums; }
.metric-value small { font-size: 1rem; font-weight: 650; color: var(--forest); letter-spacing: 0; }
.metric-label { font-weight: 700; line-height: 1.4; }
.metrics li p { color: var(--muted); font-size: 0.875rem; line-height: 1.55; }

/* Promises */
.promise { position: relative; }
.promise-2 { background: var(--tint-2); }
.promise-head { display: grid; gap: 14px; max-width: 800px; margin-bottom: 36px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker span { display: grid; place-items: center; min-width: 34px; height: 26px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 0.75rem; }
.points { display: grid; gap: 8px; padding: 0; list-style: none; }
.points li { position: relative; padding-inline-start: 26px; }
.points li::before { content: ""; position: absolute; top: 0.45em; inset-inline-start: 0; width: 8px; height: 16px; border-radius: 4px; background: var(--mint); }

/* One-line wall */
.wall { margin-bottom: 40px; }
.wall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; list-style: none; }
.wall-tile { display: grid; grid-template-rows: 150px auto; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); overflow: hidden; }
.wall-live { display: grid; place-items: center; padding: 16px; background: var(--tint-2); min-width: 0; }
.wall-tile pre { margin: 0; padding: 12px 16px; background: var(--code-bg); color: #e3f3ea; font: 0.8125rem/1.6 var(--mono); white-space: pre-wrap; word-break: break-word; }
.wall-caption { margin-top: 14px; color: var(--muted); font-size: 0.9375rem; }
.wall-number { font: 800 2.5rem/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--deep); }
.wall-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 650; transition: background-color .3s; }
.wall-button.saving { background: var(--forest-mid); }
.wall-button.saved { background: var(--deep); }
.wall-panel { width: min(100%, 240px); padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); }
.wall-panel-title { font-weight: 700; font-size: 0.875rem; }
.wall-panel p { padding-top: 6px; color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }
.wall-tabs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); }
.wall-tab { display: grid; place-items: center; min-width: 58px; min-height: 34px; padding: 0 10px; font-size: 0.875rem; font-weight: 650; color: var(--deep); }
.wall-tab-on { border-radius: 999px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--leaf-line); }
.wall-list { display: grid; gap: 4px; width: min(100%, 200px); }
.wall-item { padding: 3px 12px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); font-size: 0.8125rem; font-weight: 600; }
.wall-live small { font-weight: 700; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }

/* Workbench (shared island; classes from shared/stage/client/workbench.jsx) */
.workbench { margin-top: 8px; }
.island-fallback.workbench-fallback { display: grid; place-items: center; min-height: calc(var(--wb-height) + 64px); border: 1px solid var(--leaf-line); border-radius: var(--radius); background: var(--tint-2); color: var(--muted); }
.wb { border: 1px solid var(--leaf-line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.wb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-bottom: 1px solid var(--leaf-line); background: var(--tint-2); }
.wb-tabs, .file-tabs, .segmented, .filter-tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 999px; background: var(--tint); }
.wb-tab, .file-tab, .segment, .filter-tab { position: relative; z-index: 1; min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-size: 0.875rem; font-weight: 650; color: var(--muted); }
.wb-tab-highlight, .file-tab-highlight, .segment-highlight, .filter-highlight { border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(14,46,36,.12), 0 0 0 1px rgba(14,46,36,.06); }
.wb-tab .is-selected, .segment .is-selected, .filter-tab .is-selected { color: var(--deep); }
.wb-replay { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--leaf-line); border-radius: 999px; background: #fff; font-size: 0.875rem; font-weight: 600; }
.wb-replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wb-replay:hover { border-color: var(--forest); color: var(--forest); }
.wb-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.wb-main { position: relative; display: grid; align-content: start; min-width: 0; background: #fff; }
.wb-preview { position: relative; }
.wb-preview iframe { display: block; width: 100%; border: 0; background: #fff; }
.wb-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 0.875rem; background: #fff; }
.wb-error { padding: 20px; color: #c4271f; }
.wb-error pre { white-space: pre-wrap; font-size: 0.8125rem; }
.wb-code { display: grid; background: var(--code-bg); min-height: 100%; }
.wb-code[hidden], .wb-preview[hidden] { display: none; }
.wb-files { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-bottom: 1px solid rgba(67,197,143,.16); }
.wb-code .file-tabs { background: rgba(255,255,255,.06); }
.wb-code .file-tab { color: #93c3ad; font-family: var(--mono); font-size: 0.8125rem; }
.wb-code .file-tab .is-selected { color: #fff; }
.wb-code .file-tab-highlight { background: rgba(67,197,143,.2); box-shadow: none; }
.wb-copy { min-height: 34px; padding: 0 14px; border: 1px solid rgba(67,197,143,.4); border-radius: 999px; background: transparent; color: #e3f3ea; font-size: 0.8125rem; font-weight: 600; }
.wb-source { margin: 0; max-height: 560px; padding: 18px 20px; overflow: auto; color: #e3f3ea; font: 0.8125rem/1.7 var(--mono); tab-size: 2; }
.wb-panel { display: grid; align-content: start; gap: 18px; padding: 18px; border-inline-start: 1px solid var(--leaf-line); background: var(--tint-2); }
.wb-panel-title { font: 600 0.8125rem var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.control { display: grid; gap: 8px; transition: opacity .16s; min-width: 0; }
.control.is-off { opacity: .38; }
.control-label { display: grid; gap: 1px; }
.control-label code { justify-self: start; padding: 0; background: none; color: var(--ink); font-weight: 700; font-size: 0.875rem; }
.control-label span { color: var(--muted); font-size: 0.8125rem; line-height: 1.4; }
.control-label span code { font-size: 0.8125rem; font-weight: 500; }
.range { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.range input { width: 100%; accent-color: var(--forest); min-height: 28px; }
.range output { min-width: 64px; padding: 2px 8px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); font: 600 0.8125rem var(--mono); text-align: end; color: var(--forest); }
.segmented { background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); }
.segmented .segment { min-height: 32px; padding: 0 12px; font-family: var(--mono); font-size: 0.8125rem; }
.segmented .segment-highlight { background: var(--tint); box-shadow: inset 0 0 0 1px var(--leaf-line); }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 12px 0 4px; border: 1px solid var(--leaf-line); border-radius: 999px; background: #fff; font: 600 0.8125rem var(--mono); justify-self: start; }
.switch-knob { width: 34px; height: 22px; border-radius: 999px; background: #d4ddd8; position: relative; transition: background .16s; }
.switch-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s cubic-bezier(.3,1.4,.6,1); }
.switch[aria-checked="true"] .switch-knob { background: var(--forest); }
.switch[aria-checked="true"] .switch-knob::after { transform: translateX(12px); }
.usage { display: grid; gap: 6px; padding-top: 14px; border-top: 1px dashed var(--leaf-line); min-width: 0; }
.usage-title { color: var(--muted); font-size: 0.8125rem; }
.usage code { display: grid; padding: 12px 14px; border-radius: 12px; background: var(--code-bg); color: #e3f3ea; font-size: 0.8125rem; line-height: 1.7; white-space: pre; overflow-x: auto; }
.usage .tag { color: #7fe0b4; }
.usage .attr { color: #d4ece0; }
.usage .val { color: #ffd8b0; }
.usage .prop { border-radius: 4px; transition: background-color .5s; }
.usage .prop.changed { background: rgba(67,197,143,.42); transition: none; }

/* Component groups on home */
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding: 0; list-style: none; }
.group-card { padding: 20px; border-radius: var(--radius); background: var(--tint-2); box-shadow: 0 0 0 1px var(--leaf-line); }
.group-card h3 { font-size: 1rem; margin-bottom: 10px; color: var(--forest); }
.group-card ul { display: grid; gap: 4px; padding: 0; list-style: none; }
.group-card a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 12px; transform: translateY(calc(var(--lift, 0) * -2px)); }
.group-card a:hover { background: #fff; }
.group-card a > span { display: grid; gap: 2px; min-width: 0; }
.group-card code { padding: 0; background: none; color: var(--deep); font-weight: 700; font-size: 0.875rem; }
.group-card small { color: var(--muted); font-size: 0.8125rem; line-height: 1.45; }
.group-card small code { font-size: 0.75rem; font-weight: 500; padding: 0.04em 0.3em; background: var(--tint); color: var(--forest); }

/* Glyphs: flat pillars that spread with the card's --lift spring */
.glyph { width: 52px; height: 42px; overflow: visible; }
.glyph rect, .glyph circle { fill: var(--forest); transform-box: fill-box; transform-origin: center; transform: translateY(calc(var(--lift, 0) * -3px)); }
.glyph .g2 { fill: var(--forest-mid); transform: translateY(calc(var(--lift, 0) * 3px)); }
.glyph .g3 { fill: var(--mint); transform: translateY(calc(var(--lift, 0) * -5px)) scale(calc(1 + var(--lift, 0) * 0.12)); }
.glyph .g4 { fill: var(--leaf-line); transform: scaleX(calc(1 + var(--lift, 0) * 0.06)); }

/* Example cards and thumbnails */
.example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0; list-style: none; }
.example-grid.compact { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.example-card a { display: grid; gap: 8px; height: 100%; padding: 16px 16px 20px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); transform: translateY(calc(var(--lift, 0) * -6px)); }
.example-card a:hover { box-shadow: 0 0 0 1px var(--forest); }
.example-card strong { margin-top: 6px; font-size: 1.125rem; }
.card-body { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips code, .chips a code { padding: 2px 8px; border-radius: 999px; background: var(--tint); color: var(--forest); font-size: 0.75rem; font-weight: 600; }
.thumb { position: relative; display: block; height: 140px; border-radius: 12px; background: var(--deep); overflow: hidden; }
.thumb i { position: absolute; bottom: 0; width: 13%; border-radius: 999px 999px 0 0; background: var(--forest-mid); transform-origin: bottom; }
.thumb i:nth-child(1) { left: 8%; height: 60%; transform: scaleY(calc(0.7 + sin(calc(var(--clock, 0) * 1turn)) * 0.25)); }
.thumb i:nth-child(2) { left: 26%; height: 80%; background: var(--forest); transform: scaleY(calc(0.7 + sin(calc((var(--clock, 0) - 0.15) * 1turn)) * 0.25)); }
.thumb i:nth-child(3) { left: 44%; height: 70%; background: var(--mint); transform: scaleY(calc(0.7 + sin(calc((var(--clock, 0) - 0.3) * 1turn)) * 0.25)); }
.thumb i:nth-child(4) { left: 62%; height: 90%; transform: scaleY(calc(0.7 + sin(calc((var(--clock, 0) - 0.45) * 1turn)) * 0.25)); }
.thumb i:nth-child(5) { left: 80%; height: 55%; background: #fff; transform: scaleY(calc(0.7 + sin(calc((var(--clock, 0) - 0.6) * 1turn)) * 0.25)); }
.thumb-ai-chat i:nth-child(odd) { background: var(--mint); }
.thumb-checkout { background: var(--forest); }
.thumb-checkout i:nth-child(2) { background: var(--deep); }
.thumb-inbox { background: #154034; }
.thumb-photo-feed { background: var(--tint); }
.thumb-photo-feed i:nth-child(5) { background: var(--deep); }

/* Platform band */
.platform-band { background: var(--deep); color: #fff; }
.platform-band .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.platform-copy p { margin-top: 12px; color: #bfd9cd; }
.platform-copy p code { background: rgba(255,255,255,.1); color: #fff; }
.platform-band .code-block { background: #07190f; box-shadow: 0 0 0 1px rgba(67,197,143,.2); }
.table-wrap { max-width: 100%; overflow-x: auto; border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 12px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
thead th { font-size: 0.8125rem; color: var(--muted); font-weight: 650; background: var(--tint-2); }
.platform-band table { background: rgba(255,255,255,.04); }
.platform-band th, .platform-band td { border-color: rgba(255,255,255,.1); }
.platform-band thead th { background: rgba(255,255,255,.06); color: #9cc7b5; }
.platform-band tbody th { color: #fff; font-weight: 650; }
.platform-band td { color: #d0e6dc; }
.platform-band td code, .platform-band th code { background: rgba(255,255,255,.1); color: #fff; }

/* Next steps */
#next .install { margin-bottom: 28px; }
.next-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; margin-top: 28px; }
.next-cards a { position: relative; display: grid; gap: 6px; height: 100%; padding: 22px 22px 22px; padding-inline-end: 52px; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--leaf-line); background: #fff; transform: translateY(calc(var(--lift, 0) * -4px)); }
.next-cards a:hover { box-shadow: 0 0 0 1px var(--forest); }
.next-cards strong { font-size: 1.0625rem; }
.next-cards span { color: var(--muted); font-size: 0.9375rem; }
.next-cards .icon { position: absolute; top: 24px; inset-inline-end: 20px; color: var(--forest); }

/* Page heads */
.page-head { position: relative; overflow: hidden; padding-block: 64px 56px; background: var(--tint); border-bottom: 1px solid var(--leaf-line); isolation: isolate; }
.page-head h1 { margin-top: 10px; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; max-width: 20ch; }
.page-head h1.code-title { font-family: var(--mono); letter-spacing: -0.02em; font-size: clamp(1.75rem, 4vw, 2.75rem); max-width: none; }
.pillars { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(46%, 520px); z-index: -1; pointer-events: none; }
.pillars-root { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 6px; padding-inline: 16px; }
.pillars .pillar-slot { height: 88%; }
.pillars .pillar { border-radius: 999px 999px 0 0; }
.head-chips { margin-top: 18px; }
.head-chips .platform, .head-chips .group-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); font-size: 0.8125rem; font-weight: 650; color: var(--deep); }
.head-chips .group-chip { background: var(--forest); color: #fff; box-shadow: none; }
.head-chips a code { display: inline-block; background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); font-size: 0.8125rem; padding: 4px 10px; }
.head-chips a:hover code { box-shadow: 0 0 0 1px var(--forest); }

/* Start */
.page-start .steps { position: relative; display: grid; gap: 56px; padding: 64px 0 24px; list-style: none; }
.rail { position: absolute; top: 72px; bottom: 32px; inset-inline-start: 19px; width: 3px; border-radius: 3px; background: var(--tint); }
.rail b { position: absolute; inset: 0; border-radius: 3px; background: var(--mint); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 24px; }
.step-number { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 750; }
.step-body { display: grid; gap: 14px; min-width: 0; max-width: 860px; }
.step-body h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.step-body .install { justify-self: start; }
.check { padding: 12px 16px; border-radius: 12px; background: var(--tint); color: var(--deep); font-size: 0.9375rem; }
.done { padding-block: 32px 96px; }
.done h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.done > p { margin-top: 8px; color: var(--muted); }

/* Catalog */
.page-components .inner, .page-examples .inner, .page-example .inner { padding-block: 40px 96px; }
.catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; min-height: 42px; }
.catalog-count { color: var(--muted); font-size: 0.875rem; }
.component-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.card-shell { display: contents; }
.component-card a { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 8px; height: 100%; padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); transform: translateY(calc(var(--lift, 0) * -5px)); }
.component-card a:hover { box-shadow: 0 0 0 1px var(--forest); }
.card-glyph { display: grid; place-items: center; width: 72px; height: 60px; border-radius: 14px; background: var(--tint-2); }
.component-card strong { margin-top: 6px; font: 700 1rem/1.4 var(--mono); color: var(--deep); }
.card-when { color: var(--ink); font-size: 0.875rem; }
.card-group { justify-self: start; margin-top: 4px; padding: 1px 10px; border-radius: 999px; background: var(--tint); color: var(--forest); font-size: 0.75rem; font-weight: 650; }
.after-catalog { margin-top: 32px; }

/* Component page */
.component-body { padding-block: 24px 96px; }
.doc-section { padding-top: 48px; }
.doc-section > h2 { margin-bottom: 16px; font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.doc-section h3 { margin: 20px 0 8px; font-size: 1rem; }
.doc-section h3 code { padding: 0; background: none; color: var(--deep); }
.doc-section > p + p { margin-top: 12px; }
.doc-section.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.doc-section.split h2 { margin-bottom: 16px; font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.checks, .uses { display: grid; gap: 10px; padding: 0; list-style: none; }
.checks li { position: relative; padding-inline-start: 30px; }
.checks li::before { content: ""; position: absolute; top: 0.3em; inset-inline-start: 0; width: 18px; height: 18px; border-radius: 6px; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.uses li { padding: 12px 16px; border-radius: 12px; background: var(--tint-2); box-shadow: 0 0 0 1px var(--leaf-line); }
.props { border: 1px solid var(--line); }
.props table { min-width: 720px; table-layout: fixed; }
.props th:nth-child(1) { width: 19%; }
.props th:nth-child(2) { width: 25%; }
.props th:nth-child(3) { width: 15%; }
.props td:nth-child(2) code, .props td:nth-child(3) code { overflow-wrap: anywhere; }
.props tbody th { white-space: nowrap; }
.props tbody th code, .props code.type { padding: 0; background: none; color: var(--deep); font-size: 0.8125rem; }
.props code.type { color: var(--forest); }
.required { display: inline-block; margin-inline-start: 6px; padding: 0 6px; border-radius: 6px; background: var(--tint); color: var(--forest); font-size: 0.75rem; font-weight: 650; }
.doc-section .note { margin-top: 12px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pager a { display: grid; gap: 2px; padding: 18px 20px; border-radius: 16px; box-shadow: 0 0 0 1px var(--leaf-line); }
.pager a:hover { box-shadow: 0 0 0 1px var(--forest); }
.pager .next { text-align: end; }
.pager small { color: var(--muted); }

/* Example page */
.how { margin-top: 48px; }
.how h2, .more h2 { margin-bottom: 16px; font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.how ol { display: grid; gap: 10px; padding-inline-start: 1.4em; }
.more { margin-top: 56px; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 48px 0 96px; list-style: none; }
.guide-grid a { position: relative; display: grid; gap: 8px; height: 100%; padding: 24px; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--leaf-line); transform: translateY(calc(var(--lift, 0) * -4px)); }
.guide-grid a:hover { box-shadow: 0 0 0 1px var(--forest); }
.guide-index { font: 700 0.875rem var(--mono); color: var(--forest); }
.guide-grid strong { font-size: 1.25rem; }
.guide-grid span:not(.guide-index) { color: var(--muted); }
.guide-grid .icon { color: var(--forest); }
.reading { position: sticky; top: var(--sticky-top, var(--header)); z-index: 30; height: 3px; }
.reading > div { position: absolute; inset: 0; }
.reading-bar { position: absolute !important; inset: 0; }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 200px; gap: 48px; padding-block: 48px 96px; }
.guide-article { min-width: 0; }
.guide-article h1 { margin-top: 8px; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.04em; }
.guide-article .doc-section ul { display: grid; gap: 8px; margin-top: 12px; padding-inline-start: 1.3em; }
.guide-nav, .toc { position: sticky; top: calc(var(--sticky-top, var(--header)) + 32px); align-self: start; max-height: calc(100vh - var(--header) - 48px); overflow: auto; }
.guide-nav p, .toc p { margin-bottom: 10px; font: 600 0.75rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.guide-nav ol, .toc ol { position: relative; display: grid; gap: 2px; padding: 0; list-style: none; }
.guide-nav a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 0.9375rem; color: var(--muted); }
.guide-nav a span { font: 600 0.75rem/1.9 var(--mono); color: #93a89e; }
.guide-nav a:hover { background: var(--tint-2); color: var(--ink); }
.guide-nav a[aria-current="page"] { background: var(--tint); color: var(--forest); font-weight: 650; }
.toc ol { padding-inline-start: 14px; border-inline-start: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0; font-size: 0.875rem; color: var(--muted); line-height: 1.45; }
.toc a.active { color: var(--forest); font-weight: 650; }
.toc-marker { position: absolute; top: 0; inset-inline-start: -1px; width: 2px; background: var(--forest); }
.measure td:last-child { font-weight: 700; color: var(--deep); white-space: nowrap; }
.measured-on { margin-top: 10px; color: var(--muted); font: 0.8125rem var(--mono); }

/* API */
.api-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-block: 40px 96px; }
.api-nav { position: sticky; top: calc(var(--sticky-top, var(--header)) + 24px); align-self: start; max-height: calc(100vh - var(--header) - 40px); overflow: auto; font-size: 0.875rem; }
.api-nav > ol { display: grid; gap: 12px; padding: 0; list-style: none; }
.api-nav > ol > li > a { font-weight: 700; color: var(--forest); }
.api-nav ol ol { display: grid; gap: 2px; margin-top: 4px; padding-inline-start: 10px; list-style: none; border-inline-start: 1px solid var(--line); font-family: var(--mono); font-size: 0.8125rem; }
.api-nav ol ol a { color: var(--muted); }
.api-nav a:hover { color: var(--ink); }
.api-main { min-width: 0; }
.api-filter { position: sticky; top: calc(var(--sticky-top, var(--header)) + 8px); z-index: 5; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--leaf-line); }
.api-filter label { font-weight: 650; font-size: 0.875rem; }
.api-filter input { min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; }
.api-filter input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23,107,82,.18); }
.api-filter output { color: var(--muted); font-size: 0.875rem; white-space: nowrap; }
.api-group { padding-top: 40px; }
.api-group > h2 { margin-bottom: 12px; font-size: 1.5rem; }
.api-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.api-item h3 { font: 700 1.25rem var(--mono); letter-spacing: -0.01em; }
.api-item h3 a:hover { color: var(--forest); }
.api-item > p { margin: 6px 0 14px; color: var(--muted); }
.api-guide { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--forest); font-weight: 650; font-size: 0.9375rem; }
.api-import { margin-top: 40px; }

/* 404 */
.page-missing .inner { padding-block: 120px; display: grid; gap: 16px; justify-items: start; }
.page-missing h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* Search dialog (shared feature) */
.search-dialog { width: min(640px, calc(100% - 32px)); max-height: min(78vh, 720px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 24px 60px rgba(14,46,36,.28); }
.search-dialog::backdrop { background: rgba(14,46,36,.5); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 0 20px; }
.dialog-header h2 { font-size: 1rem; }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; }
.icon-button:hover { background: var(--tint); }
#search-input { width: calc(100% - 40px); margin: 12px 20px 0; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 1rem; }
#search-input:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(23,107,82,.18); }
.search-status { padding: 10px 20px; color: var(--muted); font-size: 0.875rem; }
.search-results { display: grid; gap: 4px; padding: 0 12px 16px; overflow: auto; }
.search-result { display: grid; gap: 2px; padding: 12px; border-radius: 12px; }
.search-result:hover, .search-result:focus { background: var(--tint); outline: none; }
.search-result small { color: var(--forest); font-weight: 600; }
.search-result p { color: var(--muted); font-size: 0.875rem; }

/* Responsive */
@media (max-width: 1100px) {
  .guide-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .toc { display: none; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  /* The links move to a second header row (shell.mjs then sets the measured --sticky-top). */
  :root { --sticky-top: 104px; }
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-block: 56px 190px; }
  .choir { height: 170px; }
  .choir .pillar { --envelope: 1; }
  .ensemble-slot { max-width: 520px; }
  .component-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-band .inner { grid-template-columns: minmax(0, 1fr); }
  .top-nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .header-inner { padding-block: 8px 0; }
}
@media (max-width: 900px) {
  .wb-body { grid-template-columns: minmax(0, 1fr); }
  .wb-panel { border-inline-start: 0; border-top: 1px solid var(--leaf-line); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .usage { grid-column: 1 / -1; }
  .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .guide-nav { position: static; max-height: none; }
  .guide-nav ol { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
  .guide-nav a { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
  .api-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .api-nav { position: static; max-height: none; }
  .api-nav > ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .api-nav ol ol { display: none; }
  .api-nav > ol > li > a { display: inline-block; padding: 4px 12px; border-radius: 999px; box-shadow: 0 0 0 1px var(--leaf-line); }
  .next-cards, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .doc-section.split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .page-head { padding-bottom: 104px; }
  .pillars { inset-block: auto 0; width: 100%; height: 72px; }
  .pillars .pillar-slot { height: 100%; }
}
@media (max-width: 700px) {
  .example-grid, .component-grid { grid-template-columns: minmax(0, 1fr); }
  .search-label, .search-trigger kbd { display: none; }
  .language-control select { max-width: 84px; }
  .brand .version { display: none; }
  .api-filter { grid-template-columns: minmax(0, 1fr); }
  .api-filter label { display: none; }
  .pager { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .header-inner { gap: 4px 8px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .header-actions { gap: 6px; }
  .search-trigger { min-height: 36px; padding: 0 9px; }
  /* A globe button: the native select covers it, so the picker opens as usual without a cut-off name. */
  .language-control { justify-content: center; width: 36px; min-height: 36px; padding: 0; }
  .language-control select { position: absolute; inset: 0; width: 100%; max-width: none; opacity: 0; }
  .top-nav a { padding: 6px 10px; }
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .wall-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button { flex: 1 1 auto; }
  .hero-install .install { max-width: 100%; }
  .voice-row { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 34px minmax(0, 1fr); gap: 16px; }
  .step-number { width: 34px; height: 34px; }
  .rail { inset-inline-start: 15px; }
  .props table { min-width: 0; }
  .props thead { display: none; }
  .props tr { display: grid; grid-template-columns: minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .props th, .props td { border: 0; padding: 2px 12px; min-width: 0 !important; width: auto !important; }
  .props tbody th { white-space: normal; overflow-wrap: anywhere; }
  .props td:nth-child(2) code, .props td:nth-child(3) code { white-space: normal; }
  .props td[data-label]:not(:empty)::before { content: attr(data-label) " · "; font: 600 0.75rem var(--sans); color: var(--muted); }
  /* One row that scrolls sideways: a wrapped second row made the sticky header 140px tall on phones. */
  .top-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
  .top-nav::-webkit-scrollbar { display: none; }
  .nav-pill { display: none; }
  .top-nav a[aria-current="page"] { background: var(--tint); }
}
