main {max-width:1050px}
.site-tools a,.again {color:var(--muted)}
.stops {display:flex;flex-wrap:wrap;gap:6px;border-block-end:1px solid var(--line);padding-bottom:10px}
.stops a {padding:7px 12px;text-decoration:none;color:var(--muted);border-radius:6px}
.stops a[aria-current] {background:var(--panel-2);color:var(--text);font-weight:700}
section {padding:clamp(18px,4vw,38px)!important}
section > p,.capture-grid > div > p {max-width:72ch;font-size:1rem;line-height:1.6}
section .cue {font:600 .8rem var(--mono);color:var(--accent);margin-bottom:10px}
section h2 {margin:0 0 20px;font-size:clamp(1.6rem,3.3vw,2.25rem)}
.capture-grid {display:grid;grid-template-columns:1.2fr 1fr;gap:22px}
figure {margin:0}
figure img {width:100%;height:auto;display:block;border-radius:8px;border:1px solid var(--line)}
figcaption,dt {color:var(--muted);font-size:.85rem}
figcaption {margin-block:8px}
dl {display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:8px 16px;margin:18px 0}
dd {margin:0;font-weight:600;overflow-wrap:anywhere}
code,.members {font-family:var(--mono)}
details summary {cursor:pointer;color:var(--muted)}
.next,.again {display:inline-block;margin:22px 12px 0 0}
.next {padding:10px 15px;background:var(--accent-2);color:#17220c;font-weight:700;border-radius:8px;text-decoration:none}
.metric,.heart {background:var(--bg-2);border-inline-start:3px solid var(--accent);margin:18px 0;padding:12px 16px}
.metric {display:flex;align-items:center;gap:16px}
.metric strong,.heart strong {font-size:1.8rem}
.heart strong,.heart span {display:block}
.members {list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px 16px}
@media(max-width:720px){.capture-grid{grid-template-columns:1fr}.stops a {padding:6px 8px}dl{grid-template-columns:1fr;gap:2px}dd{margin-bottom:8px}}

[dir=rtl] h1,[dir=rtl] h2 {letter-spacing:normal}
code,.members li {direction:ltr;unicode-bidi:isolate}

.demo-search-scene {background:radial-gradient(ellipse at 92% 0,color-mix(in srgb,var(--accent) 9%,transparent),transparent 55%),var(--panel)}
.demo-search-scene h2 {font-size:clamp(1.8rem,4.8vw,3.4rem);max-width:19ch}
.example-layout,.example-devices {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px;align-items:center;margin-block:26px 4px}
.example-results {display:grid;gap:8px}
.example-results article,.example-layout aside {padding:16px;border:1px solid var(--line-2);background:var(--bg-2);border-radius:12px}
.example-results article:first-child {border-inline-start:3px solid var(--warn)}
.example-results article+article {border-inline-start:3px solid var(--ok)}
.example-layout aside h3,.example-results h3 {margin:4px 0}
.example-layout code {color:var(--muted);overflow-wrap:anywhere}
.example-devices {grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:end}
.example-devices figure {display:grid;justify-items:center;min-width:0}
.example-desktop,.example-phone {box-sizing:border-box;display:grid;padding:20px;justify-items:center;align-content:center;text-align:center;gap:6px;border:5px solid var(--line-2);background:var(--bg-2);max-width:100%}
.example-desktop {width:100%;min-height:180px;border-radius:12px}
.example-desktop code {font-size:clamp(28px,5vw,52px)}
.example-phone {width:175px;min-height:230px;border-radius:24px}
.example-phone span {color:var(--muted)}
@media(max-width:580px){.example-layout,.example-devices {grid-template-columns:minmax(0,1fr)}}
