/* Shared across the landing pages, the privacy policy and the support page,
   so the whole site reads as one product rather than three documents that
   happen to share a domain. The palette is the app's: --accent is
   Theme.accentColor, the same teal the in-tune state uses. */
:root {
  --accent: #1e8f82;
  --accent-soft: rgba(30, 143, 130, 0.12);
  --text: #1c1c1e;
  --muted: #6b6b70;
  --bg: #ffffff;
  --panel: #f6f7f7;
  --rule: #e5e5ea;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #35b3a3;
    --accent-soft: rgba(53, 179, 163, 0.16);
    --text: #f2f2f7;
    --muted: #a1a1a6;
    --bg: #111113;
    --panel: #1c1c1e;
    --rule: #38383a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 60rem; margin: 0 auto; padding: 0 24px; }

/* Header */
/* Wraps rather than scrolls: five nav items plus the wordmark overflow a
   390px phone, and an overflowing header silently hides the last link —
   which is the language switch. */
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 16px; padding: 20px 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { font-weight: 600; letter-spacing: -0.01em; }
.top nav { display: flex; gap: 14px 18px; font-size: 15px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 48px 0 8px; text-align: center; }
.hero img.mark {
  width: 108px; height: 108px; border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.1;
  margin: 24px 0 8px; letter-spacing: -0.02em;
}
.hero .lede { font-size: 1.2rem; color: var(--muted); margin: 0 auto; max-width: 34rem; }
.badge {
  display: inline-block; margin-top: 28px; padding: 10px 20px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font-weight: 600; font-size: 15px; text-decoration: none;
}

/* Download row. Two actions, not one: the App Store link converts the people
   who came to install, the browser link catches everyone on a platform that
   has no build yet — which today includes every Android visitor. */
.cta-row {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 28px;
}
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid var(--accent);
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--accent); }
.note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

/* Screenshots */
.shots {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  padding: 48px 0 8px;
}
.shots figure { margin: 0; width: min(240px, 42vw); }
.shots img {
  width: 100%; height: auto; display: block;
  border-radius: 18px; border: 1px solid var(--rule);
}
.shots figcaption {
  margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center;
}

/* Features */
.features {
  display: grid; gap: 20px; padding: 48px 0;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.card { background: var(--panel); border-radius: 16px; padding: 22px 24px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Sections */
section h2 {
  font-size: 1.5rem; margin: 40px 0 4px; letter-spacing: -0.01em;
}
section h2 + p { color: var(--muted); margin-top: 0; }

hr { border: 0; border-top: 1px solid var(--rule); margin: 48px 0; }

footer {
  border-top: 1px solid var(--rule); margin-top: 56px;
  padding: 28px 0 64px; color: var(--muted); font-size: 15px;
}
footer a { color: var(--muted); }
footer .row { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }

/* Document pages (privacy, support) */
.doc { padding-top: 8px; max-width: 46rem; }
.doc h1 { font-size: 1.9rem; line-height: 1.2; margin: 24px 0 4px; }
.doc h2 { font-size: 1.25rem; margin: 40px 0 8px; }
.doc h3 { font-size: 1.05rem; margin: 28px 0 4px; }
.doc .sub { color: var(--muted); margin: 0 0 8px; }
.doc .lede { font-size: 1.1rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin: 6px 0; }
