/* streamzh.com: the CloudZH / StreamZH palette (frontend/src/styles/tokens.css). No third-party requests. */

@font-face { font-family: 'Geist Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/geist-sans-latin-400.woff2) format('woff2'); }
@font-face { font-family: 'Geist Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/geist-sans-latin-500.woff2) format('woff2'); }
@font-face { font-family: 'Geist Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/geist-sans-latin-600.woff2) format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/source-serif-4-latin-500.woff2) format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/source-serif-4-latin-600.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/geist-mono-latin-400.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --bg: #faf9f5;
  --side: #f2f0e8;
  --surface: #ffffff;
  --sunk: #f4f2ec;
  --line: #e6e3d8;
  --line-strong: #d6d2c4;
  --fg: #1f1e1c;
  --fg-2: #56544e;
  --muted: #6f6c64;
  --accent: #c0202a;
  --accent-hover: #a11820;
  --accent-soft: #f8e3e1;
  --on-accent: #ffffff;
  --ok: #3f7d4f;
  --code-bg: #f3f1ea;
  --logo-red: #c0202a;
  --glow: rgba(192, 32, 42, 0.10);
  --glow-strong: rgba(192, 32, 42, 0.28);
  --shadow: 0 1px 2px rgba(40, 30, 20, 0.05), 0 10px 30px rgba(40, 30, 20, 0.07);
  --shadow-lg: 0 2px 4px rgba(40, 30, 20, 0.05), 0 24px 60px -12px rgba(40, 30, 20, 0.22);

  --font-body: 'Geist Sans', 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Source Serif 4', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --r: 14px;
  --r-sm: 9px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #262624;
    --side: #1f1e1d;
    --surface: #30302e;
    --sunk: #2a2a28;
    --line: #3b3a37;
    --line-strong: #4a4945;
    --fg: #f4f2ec;
    --fg-2: #c3c0b6;
    --muted: #9a978d;
    --accent: #f0625a;
    --accent-hover: #f57e77;
    --accent-soft: #42211f;
    --on-accent: #1f1e1d;
    --ok: #7db58a;
    --code-bg: #1e1e1c;
    --glow: rgba(240, 98, 90, 0.10);
    --glow-strong: rgba(240, 98, 90, 0.30);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 30px 70px -14px rgba(0, 0, 0, 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { margin: 0; font-weight: 500; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.015em; line-height: 1.08; }
p { margin: 0; }

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08em 0.38em;
  overflow-wrap: anywhere;
}
code.nw { white-space: nowrap; overflow-wrap: normal; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1228px; }
.wrap-narrow { max-width: 820px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--on-accent); }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border-radius: 11px; border: 1px solid transparent;
  font: 500 16px/1 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--fg); border-color: var(--muted); background: var(--sunk); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; border-radius: 9px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { color: var(--fg); display: inline-flex; margin-right: auto; }
.brand svg { height: 27px; width: auto; }
.logo-red { fill: var(--logo-red); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--fg-2); text-decoration: none; font-size: 15.5px; font-weight: 500; }
.nav a:hover { color: var(--fg); }

/* hero */
.hero { position: relative; padding-top: 76px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -66px 0 auto; height: 760px; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, var(--glow), transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 30%, color-mix(in srgb, var(--glow) 50%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--fg); font-size: 14px; font-weight: 500; text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.badge:hover { color: var(--fg); border-color: var(--muted); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.badge-sep { width: 1px; height: 14px; background: var(--line-strong); }
.badge-more { color: var(--fg-2); }
.hero h1 {
  margin-top: 28px;
  font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.6rem);
  font-weight: 500;
  max-width: 17ch;
  text-wrap: balance;
}
.lede { margin-top: 24px; max-width: 40rem; font-size: clamp(1.06rem, 1rem + 0.35vw, 1.25rem); color: var(--fg-2); text-wrap: pretty; }
.cta { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; color: var(--muted); font-size: 14.5px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--ok); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }

/* screenshots */
.shot { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong); background: var(--side); box-shadow: var(--shadow-lg); }
.shot img { width: 100%; }
.shot-hero { margin-top: 64px; border-radius: 16px; }

/* clips: the screenshot stays underneath as fallback; the video fades in once it plays */
.shot[data-clip] { position: relative; }
.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); background: transparent; }
.clip[hidden] { display: none; }
.playing .clip { opacity: 1; }
.clip-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(20, 19, 18, .62); color: #f4f2ec;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .25s var(--ease), background-color .2s;
}
.clip-toggle[hidden] { display: none; }
.clip-toggle .i { width: 16px; height: 16px; }
.clip-toggle .i-play { fill: currentColor; stroke: none; display: none; }
.clip-toggle[data-paused] .i-play { display: block; }
.clip-toggle[data-paused] .i-pause { display: none; }
.playing .clip-toggle, .clip-toggle:focus-visible, .clip-toggle[data-paused] { opacity: .9; }
.clip-toggle:hover { background: rgba(20, 19, 18, .85); opacity: 1; }

/* motion: entrance on load, reveal on scroll, hover lift; all off with prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .hero-copy > :nth-child(4) { animation-delay: .22s; }
  .hero-copy > :nth-child(5) { animation-delay: .3s; }
  .shot-hero { animation: rise 1s .32s var(--ease) both; }

  .motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .motion .reveal.in { opacity: 1; transform: none; }
  .motion .reveal.done { transition-delay: 0s !important; }
  .motion .feature-grid > .shot.reveal { transition-delay: .12s; }
  .motion .card.reveal:nth-child(2) { transition-delay: .08s; }
  .motion .card.reveal:nth-child(3) { transition-delay: .16s; }
  .motion .card.reveal:nth-child(4) { transition-delay: .24s; }

  .shot { transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .8s var(--ease); }
  .motion .shot.reveal { transition: transform .8s var(--ease), box-shadow .45s var(--ease), opacity .8s var(--ease); }
  .motion .shot.reveal.in { transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .8s var(--ease); }
  @media (hover: hover) {
    .shot:hover, .motion .shot.reveal.in:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), 0 30px 60px -30px var(--glow-strong); }
  }
  .card { transition: transform .35s var(--ease), border-color .35s var(--ease), opacity .8s var(--ease); }
  @media (hover: hover) { .card:hover, .motion .card.reveal.in:hover { transform: translateY(-3px); border-color: var(--line-strong); } }
}

/* replaces strip */
.replaces { margin-top: 56px; padding-bottom: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.replaces-label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.replaces-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.replaces-list li {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--sunk); color: var(--fg-2); font-size: 15.5px; font-weight: 500;
  text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-decoration-thickness: 1.5px;
}
.replaces-note { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); color: var(--fg); }

/* sections */
.eyebrow { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 48px; }
.section-head h2 { margin-top: 12px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); text-wrap: balance; }
.section-head p:not(.eyebrow) { margin-top: 16px; color: var(--fg-2); }
.more { margin-top: 22px; font-weight: 500; }
.more a { text-decoration: none; }
.more a:hover { text-decoration: underline; }
.center { text-align: center; }

/* features */
.features { padding-top: 72px; }
.feature { padding: 64px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature-flip .feature-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-flip .feature-copy { order: 2; }
.feature-copy h2 { margin-top: 12px; font-size: clamp(1.85rem, 1.3rem + 1.6vw, 2.55rem); text-wrap: balance; }
.feature-copy > p:not(.eyebrow):not(.more) { margin-top: 18px; color: var(--fg-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--fg); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent-soft);
}
.ticks li::after {
  content: ""; position: absolute; left: 5px; top: 9px; width: 10px; height: 10px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5 11-11'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5 5 11-11'/%3E%3C/svg%3E") center / contain no-repeat;
}
.steps { list-style: none; counter-reset: s; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.steps li {
  counter-increment: s; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); font-size: 15.5px; font-weight: 500;
}
.steps li::before {
  content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
  color: var(--accent); border: 1.5px solid var(--accent);
}

/* privacy */
.privacy { padding: 104px 0; background: var(--side); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.card-icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 18px; font-size: 18px; font-weight: 600; }
.card p { margin-top: 8px; color: var(--fg-2); font-size: 15.5px; line-height: 1.55; }
.privacy .more { margin-top: 36px; }

/* install */
.install { padding: 112px 0 96px; }
.tabs { max-width: 900px; margin: 0 auto; }
.tablist {
  display: flex; gap: 4px; padding: 4px; margin: 0 auto 18px; width: fit-content; max-width: 100%;
  background: var(--sunk); border: 1px solid var(--line); border-radius: 13px; overflow-x: auto;
}
.tablist[hidden] { display: none; }
.tablist button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent;
  font: 500 15.5px/1 var(--font-body); color: var(--fg-2); cursor: pointer; white-space: nowrap;
}
.tablist button:hover { color: var(--fg); }
.tablist button[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 0 0 1px var(--line); }
.tablist button[aria-selected="true"] .i { color: var(--accent); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 34px 38px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 18px; }
.js .panel + .panel { margin-top: 0; }
.panel[hidden] { display: none; }
.panel-title { font-family: var(--font-display); font-size: 26px; font-weight: 500; margin-bottom: 4px; }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.panel-sub { color: var(--muted); font-size: 15.5px; }
.install-steps { list-style: none; counter-reset: st; margin: 26px 0 0; padding: 0; display: grid; gap: 22px; }
.install-steps > li { counter-increment: st; position: relative; padding-left: 46px; min-width: 0; }
.install-steps > li::before {
  content: counter(st); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 14.5px;
}
.install-steps > li > * + * { margin-top: 12px; }
.aside-title { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15.5px; }
.aside-title + .code { margin-top: 12px; }
.note { margin-top: 20px; color: var(--muted); font-size: 15px; }
.install-foot { text-align: center; margin: 30px auto 0; max-width: 40rem; color: var(--fg-2); }

.code { position: relative; }
.code pre {
  margin: 0; padding: 16px 18px; overflow-x: auto;
  background: var(--code-bg); border: 1px solid var(--line); border-radius: 11px;
  font: 400 14px/1.65 var(--font-mono); color: var(--fg); tab-size: 2;
}
.code.has-copy pre { padding-right: 80px; }
.code pre code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
.code .c { color: var(--muted); }
.copy {
  position: absolute; top: 9px; right: 9px; padding: 5px 11px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg-2);
  font: 500 13px/1.3 var(--font-body); cursor: pointer;
}
.copy:hover { color: var(--fg); border-color: var(--muted); }
.copy[data-done] { color: var(--ok); border-color: var(--ok); }

/* faq */
.faq { padding: 96px 0 112px; border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-size: 18.5px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--fg-2), var(--fg-2)) center / 11px 1.6px no-repeat,
    linear-gradient(var(--fg-2), var(--fg-2)) center / 1.6px 11px no-repeat;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 4px 24px; color: var(--fg-2); max-width: 44rem; }

/* footer */
.site-footer { background: var(--side); border-top: 1px solid var(--line); padding: 64px 0 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
.footer-mark { display: inline-flex; color: var(--fg); }
.footer-mark svg { width: 40px; height: 40px; }
.footer-brand p { margin-top: 16px; color: var(--fg-2); }
.footer-brand p a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.footer-brand p a:hover { text-decoration-color: currentColor; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-links h2 { font-family: var(--font-body); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.footer-links ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.footer-links a { color: var(--fg-2); text-decoration: none; }
.footer-links a:hover { color: var(--fg); text-decoration: underline; }
.footer-fine { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; display: grid; gap: 6px; }

/* 404 */
.notfound { min-height: calc(100vh - 66px - 220px); display: grid; place-items: center; text-align: center; padding: 96px 0; }
.notfound .code404 { font-family: var(--font-mono); color: var(--accent); font-size: 15px; letter-spacing: .1em; }
.notfound h1 { margin-top: 14px; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); }
.notfound p { margin-top: 16px; color: var(--fg-2); }
.notfound .cta { margin-top: 30px; }

/* responsive */
@media (max-width: 1000px) {
  .feature-grid, .feature-flip .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature-flip .feature-copy { order: 0; }
  .feature-copy { max-width: 40rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16.5px; }
  .nav { display: none; }
  .header-inner { height: 60px; }
  .brand svg { height: 24px; }
  .hero { padding-top: 48px; }
  .hero h1 { margin-top: 22px; }
  .cta { width: 100%; }
  .cta .btn-primary { flex: 1 1 100%; }
  .cta .btn-ghost { flex: 1 1 0; padding: 0 14px; }
  .shot-hero { margin-top: 44px; border-radius: 11px; }
  .shot { border-radius: 10px; }
  .features { padding-top: 40px; }
  .feature { padding: 48px 0; }
  .privacy { padding: 72px 0; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 20px 18px; }
  .card h3 { margin-top: 0; }
  .card p { grid-column: 1 / -1; margin-top: 12px; }
  .install-steps > li > .code { margin-left: -40px; }
  .install { padding: 80px 0 72px; }
  .panel { padding: 24px 18px; border-radius: 13px; }
  .install-steps > li { padding-left: 40px; }
  .tablist { width: 100%; }
  .tablist button { flex: 1 1 0; justify-content: center; padding: 0 8px; font-size: 14.5px; gap: 6px; }
  .tablist button .i { display: none; }
  .code pre { font-size: 13px; padding: 14px; }
  .code.has-copy pre { padding-right: 14px; padding-top: 44px; }
  .faq { padding: 72px 0 80px; }
  .faq summary { font-size: 17px; padding: 18px 2px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge-sep, .badge-more { display: none; }
  .clip-toggle { width: 30px; height: 30px; right: 8px; bottom: 8px; }
  .clip-toggle .i { width: 13px; height: 13px; }
}
@media (max-width: 400px) {
  .header-gh { padding: 0 10px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
