/* The app's sans look (Gradient's docs/design/README.md): SF Pro for
   everything, graphite ink on white or soft white on a neutral charcoal,
   no cards or heavy rules. Colors are the app's default theme tokens
   (DesignSystem/Themes.swift); the accent is the blue of the app's
   average ring (the B band's stroke). */
:root {
  --ground: #ffffff; --well: #f2f2f5; --raised: #ffffff;
  --ink: #0d0d12; --ink2: #5e5e69; --ink3: #7f7f8b;
  --rule: rgba(13, 13, 18, 0.09);
  --accent: #3b7bf0; --on-accent: #ffffff;
    color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #161617; --well: #242426; --raised: #3c3c40;
    --ink: #f5f5f7; --ink2: #aeaeb4; --ink3: #86868c;
    --rule: rgba(245, 245, 247, 0.10);
    --accent: #5e93f5; --on-accent: #ffffff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 680px; margin: 0 auto; padding: 48px 20px 64px; }

/* Header: the home link, a bold tightly tracked title, an ink2 line under it. */
header { margin-bottom: 28px; }
header a { color: var(--accent); text-decoration: none; font-size: 15px; font-weight: 600; }
h1 { font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 6px; }
.dated, .note { display: block; color: var(--ink2); font-size: 15px; }

/* Section titles: bold, no rule under them. */
h2 { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.03em; margin: 36px 0 6px; }
strong { font-weight: 600; }
ul, ol { padding-left: 1.3em; }
li { margin: 4px 0; }
li::marker { color: var(--ink3); }

/* Links in the accent blue. */
a { color: var(--accent); text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }

/* A quiet well box, flat: no border or shadow. */
.box { background: var(--well); border-radius: 14px; padding: 16px 18px; margin: 20px 0; }
code { font: 15px ui-monospace, "SF Mono", Menlo, monospace; background: var(--well);
  padding: 1px 6px; border-radius: 6px; word-break: break-all; }
.box code { background: var(--ground); }

footer { margin-top: 48px; padding-top: 14px; border-top: 1px solid var(--rule);
  color: var(--ink2); font-size: 13px; line-height: 1.5; }

/* ---- Home page ----------------------------------------------------------
   The marketing page: wider than the text pages, same type and colors. */
main.wide { max-width: 1000px; padding-top: 8px; }
.home footer { margin-top: 72px; }

nav.top { max-width: 1000px; margin: 0 auto; padding: 16px 20px; display: flex;
  align-items: center; justify-content: space-between; gap: 12px; }
nav.top a { text-decoration: none; }
.brand { display: inline-flex; }
.brand img { border-radius: 8px; box-shadow: 0 0 0 1px var(--rule); }
.top-links { display: flex; gap: 20px; }
.top-links a { color: var(--ink2); font-size: 15px; font-weight: 500; }
.top-links a:hover { color: var(--ink); }

.hero { text-align: center; padding: 64px 0 52px; }
.wordmark { margin: 0 auto 22px; line-height: 0; }
.wordmark img { width: 380px; max-width: 80%; height: auto; }
.lede { font-size: 22px; line-height: 1.4; letter-spacing: -0.01em; max-width: 560px;
  margin: 0 auto; color: var(--ink); }
.sub { color: var(--ink2); margin: 10px 0 0; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.soon, .ghost { border-radius: 999px; padding: 10px 20px; font-size: 15px; font-weight: 600; }
.soon { background: var(--ink); color: var(--ground); }
.ghost { background: var(--well); color: var(--ink); text-decoration: none; }
.ghost:hover { color: var(--accent); }

/* Posters: the nine App Store screenshots as one panorama, full bleed from
   the screen's left edge, with no scroll bar. The script in index.html makes
   it drift on a loop. */
.home { overflow-x: clip; }
.posters { width: 100vw; margin-left: calc(50% - 50vw); }
.strip { overflow-x: auto; scrollbar-width: none; outline: none; }
.strip::-webkit-scrollbar { display: none; }
.pano { display: flex; width: max-content; }
.pano img { display: block; height: 600px; width: auto; }
@media (max-width: 760px) { .pano img { height: 480px; } }

/* Features: a 3×3 grid of an accent line icon, a bold name and one line. */
h2.section { font-size: 32px; line-height: 1.15; letter-spacing: -0.035em; text-align: center; margin: 88px 0 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.feat h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 12px 0 4px; }
.feat p { color: var(--ink2); font-size: 15px; line-height: 1.5; margin: 0; }
.ic { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; display: block; }
.tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink2);
  background: var(--well); border-radius: 999px; padding: 2px 8px; vertical-align: 2px; margin-left: 4px; white-space: nowrap; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 36px; }
  .lede { font-size: 19px; }
  h2.section { font-size: 26px; margin-top: 64px; }
  .top-links { gap: 14px; }
  .top-links a[href="#features"] { display: none; }
}

/* The privacy banner: one flat well, the only box on the page. */
.banner { display: flex; gap: 20px; align-items: flex-start; background: var(--well);
  border-radius: 24px; padding: 32px 36px; margin-top: 88px; }
.banner h2 { font-size: 24px; margin: 0 0 6px; }
.banner p { margin: 0; color: var(--ink2); }
.ic.big { width: 40px; height: 40px; flex: none; stroke-width: 1.5; margin-top: 2px; }
@media (max-width: 480px) { .banner { flex-direction: column; gap: 12px; padding: 26px 22px; } }

.supporter { text-align: center; }
.supporter p { max-width: 560px; margin: 0 auto; color: var(--ink2); }
.supporter strong { color: var(--ink); }
.icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.icons img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 0 0 1px var(--rule); }
@media (max-width: 480px) {
  .icons { gap: 12px; max-width: 330px; margin-left: auto; margin-right: auto; }
  .icons img { width: 56px; height: 56px; border-radius: 13px; }
}

.foot-links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }
.foot-links a { color: var(--ink2); text-decoration: none; font-size: 14px; font-weight: 500; }
.foot-links a:hover { color: var(--ink); }
