/* Peerbloom website. No external fonts or scripts: the system font stack keeps it fast and private. */

:root {
  --bg: #05080f;
  --bg-2: #0a1222;
  --panel: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.08);
  --text: #eaf1ff;
  --muted: #9aa8c0;
  --blue: #3c6bff;
  --sky: #4c9eff;
  --aqua: #2de1c2;
  --amber: #f5a04a;
  --green: #7ee2a8;
  --radius: 18px;
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--sky); }
code { font: 0.9em var(--mono); background: rgba(255, 255, 255, 0.07); padding: 0.1em 0.35em; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--sky); color: #00122b; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 8px; }

/* Ambient background glow */
body::before {
  content: ""; position: fixed; inset: -20% -10% auto; height: 120vh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 35% at 50% 10%, rgba(60, 107, 255, 0.22), transparent 70%),
    radial-gradient(30% 30% at 80% 40%, rgba(45, 225, 194, 0.10), transparent 70%),
    radial-gradient(30% 30% at 15% 45%, rgba(38, 184, 240, 0.10), transparent 70%);
}

/* Nav */
.nav {
  position: fixed; inset: 12px 16px auto; z-index: 50;
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 12px 10px 16px;
  border: 1px solid transparent; border-radius: 16px;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled { background: rgba(8, 13, 25, 0.72); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.nav nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 22px; border-radius: 14px; font: 600 16px var(--font);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.3s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 11px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #3c6bff, #2f8cf0 45%, #26b8f0);
  box-shadow: 0 10px 30px -8px rgba(47, 140, 240, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(47, 140, 240, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.05); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.16); }

/* Hero */
.hero { position: relative; min-height: min(100vh, 1000px); display: grid; place-items: center; padding: 120px 16px 60px; overflow: hidden; }
.swarm { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; text-align: center; max-width: 820px; }
.hero-icon { width: 200px; margin: 0 auto 28px; position: relative; animation: float 7s ease-in-out infinite; }
.hero-icon::after {
  content: ""; position: absolute; inset: 18% 10% -6%; z-index: -1; filter: blur(40px); border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 140, 240, 0.7), rgba(45, 225, 194, 0.2) 60%, transparent 70%);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.eyebrow { margin: 0 0 14px; color: var(--aqua); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(44px, 8vw, 86px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; }
h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; }
h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.grad {
  background: linear-gradient(100deg, #6f9bff, #4cc3ff 35%, #2de1c2 65%, #6f9bff);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -200% center; } }
.lede { margin: 24px auto 0; max-width: 640px; color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.fine { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* Showcase */
.showcase { padding: 0 16px 60px; }
.stage { max-width: var(--max); margin: 0 auto; perspective: 1800px; }
.caption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

/* The app window mock. Colours come from data-theme, like Peerbloom's own themes. */
.window {
  --w-bg: #1e1f24; --w-side: #18191d; --w-bar: #26272c; --w-text: #ececf1; --w-muted: #8e8e96;
  --w-line: rgba(255, 255, 255, 0.07); --dl: #4c9eff; --ul: #f5a04a; --ok: #7ee2a8; --warn: #f5a04a;
  --w-font: var(--font);
  background: var(--w-bg); color: var(--w-text); font-family: var(--w-font);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 80px -20px rgba(47, 140, 240, 0.35);
  font-size: 13px; line-height: 1.4;
  transition: background 0.5s, color 0.5s;
  transform-origin: 50% 0;
}
.window[data-theme="ocean"] { --w-bg: #0b1a2e; --w-side: #08131f; --w-bar: #0f2238; --dl: #4fa3ff; --ul: #2de1c2; --ok: #7ee2a8; --warn: #f5b04a; }
.window[data-theme="forest"] { --w-bg: #0f1a14; --w-side: #0b140f; --w-bar: #14231a; --dl: #6fd39a; --ul: #e8c468; --ok: #9be7b4; --warn: #f0a35e; }
.window[data-theme="paper"] {
  --w-bg: #fbf8f2; --w-side: #f2ede3; --w-bar: #ede6d8; --w-text: #2a2622; --w-muted: #7a7268; --w-line: rgba(0, 0, 0, 0.08);
  --dl: #2b59c3; --ul: #b4532a; --ok: #2e7d4f; --warn: #b4532a; --w-font: "New York", ui-serif, Georgia, serif;
}
.window[data-theme="terminal"] { --w-bg: #050505; --w-side: #0c0c0c; --w-bar: #111; --w-text: #d8ffe0; --w-muted: #6f8f76; --dl: #33ff66; --ul: #ffb000; --ok: #33ff66; --warn: #ffb000; --w-font: var(--mono); }
.window[data-theme="contrast"] { --w-bg: #000; --w-side: #0a0a0a; --w-bar: #141414; --w-text: #fff; --w-muted: #c8c8c8; --dl: #6fb6ff; --ul: #ffb547; --ok: #5cf59a; --warn: #ffb547; }

.titlebar { display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 16px; background: var(--w-bar); border-bottom: 1px solid var(--w-line); transition: background 0.5s; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.title { display: flex; flex-direction: column; line-height: 1.25; }
.title strong { font-size: 13px; }
.rates { font-size: 11px; color: var(--w-muted); font-variant-numeric: tabular-nums; }
.rates .dl { color: var(--dl); font-weight: 600; }
.rates .ul { color: var(--ul); font-weight: 600; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--w-muted); }
.tool { width: 30px; height: 26px; display: grid; place-items: center; border-radius: 7px; font-size: 11px; }
.search { margin-left: 8px; padding: 4px 12px; min-width: 170px; border-radius: 7px; background: var(--w-line); font-size: 12px; }

.body { display: grid; grid-template-columns: 196px 1fr 262px; height: 500px; }
.side { background: var(--w-side); border-right: 1px solid var(--w-line); padding: 14px 10px; display: flex; flex-direction: column; gap: 1px; transition: background 0.5s; }
.side p { margin: 0; }
.side-h { font-size: 11px; font-weight: 600; color: var(--w-muted); padding: 10px 10px 4px; }
.side-i { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 7px; }
.side-i.on { background: var(--w-line); font-weight: 600; }
.side-i em { margin-left: auto; font-style: normal; color: var(--w-muted); font-size: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot.dl { background: var(--dl); } .dot.ul { background: var(--ul); } .dot.mute { border: 1.5px solid var(--w-muted); }
.vpn { margin-top: auto; padding: 12px; border-radius: 10px; background: color-mix(in srgb, var(--ok) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); transition: background 0.4s, border-color 0.4s; }
.vpn-t { font-weight: 700; color: var(--ok); }
.vpn-s { font-size: 11px; color: var(--w-muted); margin-top: 3px !important; }
.vpn.down { background: color-mix(in srgb, var(--warn) 14%, transparent); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.vpn.down .vpn-t { color: var(--warn); }

.list { overflow: hidden; }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) 150px 78px 70px; gap: 14px; align-items: center;
  padding: 10px 16px; border-bottom: 1px solid var(--w-line); font-variant-numeric: tabular-nums;
}
.row.head { font-size: 11px; font-weight: 600; color: var(--w-muted); padding-top: 9px; padding-bottom: 9px; }
.row.sel { background: color-mix(in srgb, var(--dl) 16%, transparent); box-shadow: inset 3px 0 0 var(--dl); }
.row .name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.row .name > span { display: flex; flex-direction: column; min-width: 0; }
.row .name b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .name small { color: var(--w-muted); font-size: 11px; }
.badge { flex: none; width: 34px; height: 24px; border-radius: 5px; display: grid; place-items: center; font-size: 9px; font-weight: 700; letter-spacing: 0.04em; }
.badge.iso { color: var(--dl); background: color-mix(in srgb, var(--dl) 16%, transparent); }
.badge.mov { color: var(--ul); background: color-mix(in srgb, var(--ul) 16%, transparent); }
.bar { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--w-muted); }
.bar i { flex: 1; height: 5px; border-radius: 3px; background: var(--w-line); overflow: hidden; position: relative; }
.bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--c, var(--dl)); border-radius: 3px; transition: width 0.6s ease; }
.row .num { font-size: 12px; color: var(--w-muted); text-align: right; }
.row .num.live-dl { color: var(--dl); }
.row .num.live-ul { color: var(--ul); }

.inspector { border-left: 1px solid var(--w-line); padding: 16px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.inspector p { margin: 0; }
.insp-name { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.insp-sub { font-size: 11px; color: var(--w-muted); }
.insp-h { font-size: 11px; font-weight: 600; color: var(--w-muted); margin-top: 12px !important; }
.pieces { display: grid; grid-template-columns: repeat(20, 1fr); gap: 2px; }
.pieces i { aspect-ratio: 1; border-radius: 2px; background: var(--w-line); transition: background 0.4s; }
.pieces i.have { background: var(--dl); }
.pieces i.new { animation: pop 0.6s ease; }
@keyframes pop { from { transform: scale(1.8); filter: brightness(1.8); } }
.chart { width: 100%; height: 70px; }
.chart path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart-dl { stroke: var(--dl); }
.chart-ul { stroke: var(--ul); }
.insp-stats { margin-top: auto; display: grid; gap: 6px; font-size: 12px; }
.insp-stats p { display: flex; justify-content: space-between; }
.insp-stats span { color: var(--w-muted); }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 110px 16px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sub { color: var(--muted); font-size: 18px; margin: 18px 0 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  overflow: hidden; transition: transform 0.35s, border-color 0.35s, background 0.35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(76, 158, 255, 0.14), transparent 45%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.16); }
.card:hover::before { opacity: 1; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-blue { color: var(--sky); background: rgba(76, 158, 255, 0.12); }
.i-aqua { color: var(--aqua); background: rgba(45, 225, 194, 0.12); }
.i-amber { color: var(--amber); background: rgba(245, 160, 74, 0.12); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-text { order: 2; }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #05121f; background: var(--aqua);
}

/* VPN tunnel diagram */
.tunnel { padding: 28px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); }
.tunnel svg { width: 100%; height: auto; overflow: visible; }
.mac { fill: #1a2335; stroke: rgba(255, 255, 255, 0.18); }
.mac-screen { fill: url(#tunnel-g); opacity: 0.85; }
.mac-t, .pipe-t { fill: var(--muted); font: 600 13px var(--font); }
.pipe { fill: none; stroke: rgba(76, 158, 255, 0.18); stroke-width: 26; stroke-linecap: round; transition: stroke 0.4s; }
.flow { fill: none; stroke: url(#tunnel-g); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 18; animation: flow 1s linear infinite; transition: opacity 0.4s; }
@keyframes flow { to { stroke-dashoffset: -40; } }
.peers circle { fill: var(--sky); opacity: 0.9; animation: blink 3s ease-in-out infinite; transition: fill 0.4s, opacity 0.4s; }
.peers circle:nth-child(2n) { fill: var(--aqua); animation-delay: -1s; }
.peers circle:nth-child(3n) { animation-delay: -2s; }
@keyframes blink { 50% { opacity: 0.45; } }
.tunnel.down .pipe { stroke: rgba(245, 160, 74, 0.2); }
.tunnel.down .flow { opacity: 0; }
.tunnel.down .peers circle { fill: #4a5568; opacity: 0.4; animation: none; }
.tunnel-status { margin: 14px 0 0; color: var(--muted); font-size: 15px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill.ok { color: #06281a; background: var(--green); }
.pill.warn { color: #2b1500; background: var(--amber); }

/* Safety demo */
.sheet { position: relative; padding: 24px; border-radius: 24px; background: #15171c; border: 1px solid var(--line); overflow: hidden; font-size: 15px; }
.sheet-h { margin: 0 0 14px; font-weight: 700; }
.banner {
  display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; margin-bottom: 14px;
  background: rgba(245, 160, 74, 0.12); border: 1px solid rgba(245, 160, 74, 0.4);
  opacity: 0; transform: translateY(-8px); transition: opacity 0.5s, transform 0.5s;
}
.banner b { color: var(--amber); }
.banner span { color: var(--muted); font-size: 14px; }
.banner button { justify-self: start; margin-top: 4px; background: none; border: 0; padding: 0; color: var(--sky); font: 600 14px var(--font); cursor: pointer; }
.sheet.flagged .banner { opacity: 1; transform: none; }
.files { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 12px; }
.files li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); transition: opacity 0.4s; }
.files li:last-child { border-bottom: 0; }
.files em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 13px; }
.ok-mark { color: var(--green); font-weight: 800; }
.warn-mark { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: #2b1500; background: var(--amber); transform: scale(0); transition: transform 0.4s 0.2s; }
.sheet.flagged .bad { background: rgba(245, 160, 74, 0.08); }
.sheet.flagged .warn-mark { transform: scale(1); }
.bad.skipped { opacity: 0.4; text-decoration: line-through; }
.scanline { position: absolute; left: 0; right: 0; top: -40%; height: 40%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(45, 225, 194, 0.16), transparent); }
.sheet.scanning .scanline { animation: scan 1.6s ease-in-out forwards; }
@keyframes scan { to { top: 110%; } }

/* Themes */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chips button {
  display: flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  color: var(--text); font: 600 15px var(--font); background: var(--panel); border: 1px solid var(--line);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.chips button:hover { transform: translateY(-2px); }
.chips button[aria-checked="true"] { border-color: var(--sky); background: rgba(76, 158, 255, 0.12); }
.chips i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); }
.mini-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.mini .body { grid-template-columns: 1fr; height: auto; }
.code { margin: 0; padding: 24px; border-radius: 18px; background: #0b1120; border: 1px solid var(--line); font: 14px/1.7 var(--mono); color: #c7d2e4; overflow-x: auto; }
.code .k { color: #7cc4ff; } .code .s { color: #7ee2a8; }

/* Numbers */
.numbers { padding-top: 40px; padding-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 30px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.03em; background: linear-gradient(120deg, #8fb6ff, #2de1c2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color 0.2s, background 0.2s; }
details[open] { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); }
summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 650; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--muted); transition: transform 0.3s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* Final CTA + footer */
.final { padding: 80px 16px 120px; }
.final-inner {
  max-width: 880px; margin: 0 auto; text-align: center; padding: 64px 24px; border-radius: 32px;
  background: radial-gradient(80% 120% at 50% 0%, rgba(60, 107, 255, 0.25), transparent 60%), var(--panel);
  border: 1px solid var(--line);
}
.final-inner img { margin: 0 auto 20px; filter: drop-shadow(0 16px 30px rgba(47, 140, 240, 0.5)); }
.final-inner p { color: var(--muted); margin: 12px 0 0; font-size: 18px; }
.footer { border-top: 1px solid var(--line); padding: 30px 16px 40px; text-align: center; color: var(--muted); font-size: 14px; }
.footer p { margin: 6px 0; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.stage.reveal { transform: translateY(40px) rotateX(14deg) scale(0.96); }
.stage.reveal.in { transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .body { grid-template-columns: 180px 1fr; }
  .inspector { display: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .split, .mini-wrap { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-text { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .body { grid-template-columns: 1fr; height: 420px; }
  .side, .search, .tools { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) 90px; }
  .row > :nth-child(3), .row > :nth-child(4) { display: none; }
  .grid, .stats { grid-template-columns: 1fr; }
  .section { padding: 80px 16px; }
  .hero-icon { width: 150px; }
}

/* Reduced motion: no movement, everything visible. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .stage.reveal { opacity: 1; transform: none; }
}

/* Screenshot mode for README images: ?shot=window */
body.shot { background: transparent; }
body.shot::before, body.shot .nav, body.shot .hero, body.shot .section, body.shot .final, body.shot .footer, body.shot .caption { display: none; }
body.shot .showcase { padding: 48px; }
body.shot .stage.reveal { opacity: 1; transform: none; }
