:root {
  color-scheme: light;
  --bg: #fff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: #e2e2e7;
  --surface: rgba(245,245,247,.82);
  --parchment: #f7f7f9;
  --accent: #0066cc;
  --accent-hover: #0071e3;
  --content-width: 980px;
  --header-height: 52px;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Apple SD Gothic Neo",sans-serif;
}
* {box-sizing:border-box}
body {margin:0;color:var(--text);background:var(--bg);font-size:17px;line-height:1.47;word-break:keep-all;overflow-wrap:anywhere}
a {color:var(--accent);text-underline-offset:.22em}
a:focus-visible,video:focus-visible {outline:3px solid var(--accent);outline-offset:3px}
header {position:sticky;top:0;z-index:4;background:var(--surface);border-bottom:1px solid var(--border);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
nav,.wrap,footer {width:min(var(--content-width),calc(100% - 40px));margin-inline:auto}
nav,footer {display:flex;align-items:center;gap:18px;flex-wrap:wrap}
nav {min-height:var(--header-height)}
nav a {text-decoration:none;color:var(--text);font-size:14px;padding-block:.45rem}
nav a:hover,nav a[aria-current="page"]:not(:first-child) {color:var(--accent)}
nav a:first-child {display:inline-flex;align-items:center;gap:8px;font-size:21px;font-weight:600;margin-right:auto}
nav img {border-radius:7px}
.hero,.more {text-align:center;padding:clamp(46px,7vh,74px) 20px}
.hero h1 {font-size:clamp(35px,5vw,50px);line-height:1.07;font-weight:600;letter-spacing:0;margin:0}
.hero h1 span {color:var(--accent)}
.hero p,.lead,.more p {color:var(--muted);font-size:clamp(18px,2vw,21px);line-height:1.38;margin:24px auto;max-width:700px}
.button {display:inline-block;border-radius:99px;padding:10px 20px;background:var(--accent);color:white;text-decoration:none}
.button:hover {background:var(--accent-hover)}
.hero small {display:block;color:var(--muted);margin-top:12px}
#compare,.demos {padding:clamp(42px,6vw,76px) 0;scroll-margin-top:var(--header-height);text-align:center}
#compare {background:var(--parchment)}
h2 {font-size:clamp(29px,4vw,40px);line-height:1.14;letter-spacing:-.035em;margin:0}
.grid {display:flex;flex-wrap:wrap;justify-content:center;gap:28px;margin:32px auto 0}
figure {flex:1 1 220px;max-width:340px;min-width:0;margin:0}
figcaption {margin-bottom:16px}
h3 {font-size:22px;line-height:1.25;margin:0}
figcaption p {font-size:16px;color:var(--muted);margin:8px 0}
video {border-radius:20px;display:block;width:100%;height:auto;aspect-ratio:9/19.5;object-fit:contain;background:#111;box-shadow:0 10px 24px rgba(0,0,0,.12)}
.more {border-top:1px solid var(--border)}
main:not(:has(.hero)) {max-width:800px;margin:auto;padding:48px 20px 64px;line-height:1.65}
main:not(:has(.hero)) h1 {font-size:clamp(32px,5vw,44px);line-height:1.15}
main:not(:has(.hero)) h2 {font-size:26px;letter-spacing:-.02em;margin:38px 0 10px}
footer {justify-content:space-between;border-top:1px solid var(--border);padding-block:22px;color:var(--muted);font-size:14px}
.skip:not(:focus) {position:absolute;clip-path:inset(100%);width:1px;height:1px;overflow:hidden}
@media(max-width:600px){nav{gap:10px}nav a:first-child{font-size:16px}nav img{width:24px;height:24px}nav a{font-size:13px}.desktop{display:none}.grid{gap:36px}.hero{padding-inline:16px}}
.combined { margin: 28px 0 0; }

.demos .grid {
  --screen-height: min(clamp(340px, 64svh, 580px), calc(100vw - 84px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 12px clamp(24px, 4vw, 48px);
}
.demos figure {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  justify-items: center;
  align-items: start;
}
.demos figcaption {margin: 0; align-self: end}
.demos figcaption p {margin: 6px 0 0}
.demo-screen {
  align-self: start;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--parchment);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.demos video {
  height: var(--screen-height);
  width: auto;
  aspect-ratio: auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.demos video:fullscreen {width: 100%; height: 100%; background: #000}
.demos .device {margin: 0; color: var(--muted); font-size: 13px}
@media (max-width: 660px) {
  .demos .grid {
    --screen-height: min(clamp(340px, 66svh, 560px), calc((100vw - 64px) * 2.175));
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
  }
  .demos figure {justify-self: center; grid-row: auto; grid-template-rows: auto auto auto; gap: 10px}
}
