:root {
  --bg: #fbfbfa;
  --ink: #141820;
  --muted: #5b6370;
  --rule: #dfe2e6;
  --accent: #3b5bdb;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111418; --ink: #eceef1; --muted: #a0a8b4; --rule: #2a3038; --accent: #8ea6ff; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.top { display: flex; justify-content: space-between; align-items: center; padding-block: 1.25rem; }
.brand { font-weight: 750; text-decoration: none; font-size: 1.1rem; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; margin: 3rem 0 1rem; max-width: 18ch; }
.lede { max-width: 38rem; color: var(--muted); font-size: 1.15rem; margin: 0 0 3rem; }
.demos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 3rem 2.5rem; }
.frame { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; border: 1px solid var(--rule); background: #fff; }
.frame iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; transform: scale(var(--s, 0.333)); pointer-events: none; }
.demo-text h2 { margin: 1rem 0 0.25rem; font-size: 1.4rem; letter-spacing: -0.01em; }
.demo-text h2 a { text-decoration: none; }
.demo-text h2 a:hover { text-decoration: underline; }
.demo-text p { margin: 0; max-width: 34rem; }
.uses { color: var(--muted); font-size: 0.92rem; margin-top: 0.4rem !important; }
.more { color: var(--muted); margin: 3rem 0; }
.foot { border-top: 1px solid var(--rule); padding-block: 1.5rem 3rem; color: var(--muted); font-size: 0.92rem; }
