/* Shared by the site's pages. Dark only, in the icon's indigo, like the store
   images. */
:root {
  color-scheme: dark;
  --bg: #08080f;
  --surface: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .08);
  --line-hi: rgba(255, 255, 255, .14);
  --fg: #f1f1f7;
  --soft: #c6c7da;
  --muted: #8b8da8;
  --brand: #5b63d3;
  --brand-hi: #a3a8f5;
  --on: #8ce99a;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, -apple-system, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  min-height: 100vh; overflow-x: hidden; color: var(--fg);
  font: 16px/1.65 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
}
/* Two soft glows behind the top of every page. */
body::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1100px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 480px at 50% -120px, rgba(91, 99, 211, .42), transparent 70%),
    radial-gradient(600px 420px at 85% 320px, rgba(122, 63, 160, .18), transparent 70%);
}
a { color: var(--brand-hi); text-decoration-color: rgba(163, 168, 245, .4); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
code { font: .88em ui-monospace, SFMono-Regular, Menlo, monospace; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Sticky top bar, frosted: the site blurs what scrolls under it. */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8, 8, 15, .6); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
nav .home { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
nav .home img { width: 24px; height: 24px; border-radius: 6px; }
nav .spacer { flex: 1; }
nav a.link { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .15s; }
nav a.link:hover { color: var(--fg); }
nav a.link.install { color: var(--fg); font-weight: 600; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-hi); white-space: nowrap; }
nav a.link.install:hover { background: rgba(255, 255, 255, .06); }
.faq a { color: var(--fg); }
@media (max-width: 560px) { nav a.link.optional { display: none; } nav .wrap { gap: 16px; } }
/* The landing page also has "Add to Chrome" in the nav; on a phone that wins the space. */
@media (max-width: 440px) { nav a.link.narrow-hide { display: none; } }

.button {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 15px var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s;
  color: #0b0b14; background: var(--fg); border: 0;
}
.button:hover { background: #fff; transform: translateY(-1px); }
.button.ghost { color: var(--fg); background: transparent; box-shadow: inset 0 0 0 1px var(--line-hi); }
.button.ghost:hover { background: rgba(255, 255, 255, .06); }
.button svg { width: 16px; height: 16px; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-hi); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

footer { margin-top: 120px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 32px; padding-bottom: 48px; }
footer .spacer { flex: 1; }
footer a { color: var(--soft); text-decoration: none; }
footer a:hover { color: var(--fg); }

/* Text pages such as the privacy policy. */
.prose { max-width: 700px; padding-top: 72px; }
.prose h1 { font-size: clamp(40px, 7vw, 60px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; margin: 12px 0 16px; }
.prose .lead { font-size: 19px; color: var(--soft); }
.prose h2 { font-size: 20px; letter-spacing: -.01em; margin: 48px 0 4px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose p, .prose ul { margin-top: 12px; color: var(--soft); }
.prose ul { padding-left: 20px; }
.prose li { padding-left: 4px; }
.prose li + li { margin-top: 10px; }
.prose li::marker { color: var(--muted); }
.prose strong { color: var(--fg); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
