:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --line: #e9e9e7;
  --text: #0b0b0b;
  --soft: #8d8d8a;
  --muted: #5f5f5c;
  --inv-bg: #0b0b0b;
  --inv-text: #fbfbfa;
  --ok: #157f3d;
  --sans: "Inter", "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Geist Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050505; --surface: #0c0c0c; --line: #1f1f1f; --text: #f2f2f0; --soft: #7c7c79; --muted: #a3a39f;
    --inv-bg: #f2f2f0; --inv-text: #050505; --ok: #4ade80; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; display: block; }
code { font: 13px var(--mono); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.soft { color: var(--soft); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); }
.top-row { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font: 600 18px/1 var(--sans); letter-spacing: -0.03em; text-decoration: none; }
.logo img { border-radius: 6px; }
nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
nav a:hover { color: var(--text); }
nav .nav-cta { color: var(--inv-text); background: var(--inv-bg); padding: 9px 16px; border-radius: 999px; }
nav .nav-cta:hover { color: var(--inv-text); opacity: .85; }

/* hero */
.hero { text-align: center; padding: 160px 24px 96px; }
.eyebrow { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--soft); margin: 0 0 32px; }
h1 { font-size: clamp(48px, 9vw, 104px); line-height: 1.0; font-weight: 600; letter-spacing: -0.05em; margin: 0 0 36px; }
.lede { max-width: 620px; margin: 0 auto 48px; font-size: 19px; color: var(--muted); }
.lede.left { margin: 0 0 40px; text-align: left; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; font: 500 15px/1 var(--sans); padding: 14px 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; white-space: nowrap; text-decoration: none; transition: opacity .2s; }
.btn.big { padding: 17px 30px; font-size: 16px; }
.btn.primary { background: var(--inv-bg); color: var(--inv-text); border-color: var(--inv-bg); }
.btn:hover { opacity: .85; }
.btn:disabled { opacity: .5; cursor: progress; }
.fine { font-size: 13px; color: var(--soft); margin: 18px 0 0; min-height: 1.6em; }
.fine.err { color: var(--text); }
.fine.ok { color: var(--ok); }

/* screenshot */
.showcase { padding-bottom: 40px; }
.showcase img { width: 100%; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(0,0,0,.35); }
.caption { text-align: center; color: var(--soft); font-size: 14px; margin: 22px 0 0; }

/* statement */
.statement { padding: 140px 24px; max-width: 860px; text-align: center; }
.statement p { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.3; letter-spacing: -0.03em; margin: 0 0 24px; color: var(--soft); }
.statement .strong { color: var(--text); }
.statement em { font-style: normal; }

/* sections */
section h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; font-weight: 600; letter-spacing: -0.04em; margin: 0 0 56px; }
.steps, .stops, .quiet, .privacy, .download, .updates { padding: 80px 24px; }
.grid { display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
.grid.three { grid-template-columns: repeat(3, 1fr); gap: 48px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; line-height: 1.3; }
.grid p, .card p { color: var(--muted); margin: 0; font-size: 16px; }
.num { display: block; font: 500 12px/1 var(--mono); color: var(--soft); letter-spacing: .1em; margin-bottom: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.tag { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px; vertical-align: middle; margin-left: 6px; }

/* quiet / tray illustration */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 28px; }
.split p { color: var(--muted); }
.split p.soft { color: var(--soft); font-size: 15px; }
.tray { margin: 0; position: relative; min-height: 300px; }
.tray-menu { width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 24px 60px -30px rgba(0,0,0,.35); font-size: 14px; }
.tray-item { padding: 8px 12px; border-radius: 8px; color: var(--muted); }
.tray-item.strong { color: var(--ok); font-weight: 600; }
.tray-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.toast { position: absolute; right: 0; bottom: 0; width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: 0 24px 60px -30px rgba(0,0,0,.35); font-size: 14px; }
.toast b { display: block; margin-bottom: 4px; }
.toast span { color: var(--muted); }

/* downloads */
.dl-card { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; transition: border-color .2s, transform .2s; }
a.dl-card:hover { border-color: var(--text); transform: translateY(-2px); }
.dl-card.mine { border-color: var(--text); }
.dl-card p { color: var(--muted); margin: 0 0 12px; }
.dl-card .note { font-size: 14px; color: var(--soft); margin: 0; }
.dl-card .note a, .linkish { color: var(--text); text-decoration: underline; cursor: pointer; }
.alt { display: block; margin-top: 8px; }

/* signup */
.signup { display: flex; gap: 8px; max-width: 640px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.signup:focus-within { border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 6%, transparent); }
.signup input[type="email"] { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 18px; border: 0; background: transparent; color: var(--text); outline: none; }
.signup select { font: inherit; font-size: 14px; border: 0; background: transparent; color: var(--muted); padding: 0 8px; outline: none; }

/* closing + footer */
.closing { text-align: center; padding: 140px 24px; }
.closing h2 { margin-bottom: 40px; }
.foot { border-top: 1px solid var(--line); padding: 36px 24px 56px; font-size: 14px; color: var(--soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot a { color: var(--muted); }

@media (max-width: 860px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { padding: 104px 20px 72px; }
  .grid.three, .grid.two, .split { grid-template-columns: 1fr; gap: 28px; }
  .statement { padding: 96px 20px; }
  .steps, .stops, .quiet, .privacy, .download, .updates { padding: 56px 20px; }
  .tray { min-height: 0; display: grid; gap: 16px; }
  .toast { position: static; width: auto; }
  .tray-menu { width: auto; }
  .signup { flex-wrap: wrap; border-radius: 18px; }
  .signup input[type="email"] { flex-basis: 100%; }
  .signup .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
