/* One sheet for all three pages: a landing, a privacy policy and terms. The
   palette is the app's own — the violet ramp from the brand gradient — so a
   person arriving from the App Store recognises where they are. */
:root {
  --ink: #17132a;
  --muted: #5d5776;
  --line: #e7e3f0;
  --surface: #ffffff;
  --page: #faf9fd;
  --accent: #7a2fe8;
  --accent-soft: #f2ebff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f2fa;
    --muted: #a49dbd;
    --line: #2b2540;
    --surface: #17142a;
    --page: #0e0b1b;
    --accent: #b98bff;
    --accent-soft: #241a3d;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 22px; }

header {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.bar { display: flex; align-items: center; gap: 18px; }
.brand { font-size: 21px; font-weight: 700; letter-spacing: -0.4px; text-decoration: none; color: var(--ink); }
.bar nav { margin-left: auto; display: flex; gap: 18px; font-size: 14.5px; }
.bar nav a { text-decoration: none; color: var(--muted); }
.bar nav a:hover { color: var(--accent); }

/* The hero carries the same sentence as the App Store screenshots, because a
   visitor who followed the link should not have to re-learn what this is. */
.hero {
  background: linear-gradient(160deg, #3b1d8f 0%, #6b2fd6 52%, #a855f7 100%);
  color: #fff;
  padding: 64px 0 72px;
  text-align: center;
}
.hero h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.12; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: #eddcff; }
.hero p { margin: 0 auto; max-width: 480px; font-size: 17.5px; opacity: 0.92; }

.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 44px 0 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.card h3 { margin: 0 0 6px; font-size: 16.5px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

main { padding: 10px 0 56px; }
main h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.3px; }
main h3 { font-size: 16.5px; margin: 26px 0 6px; }
main p { color: var(--muted); }
main p.lead { color: var(--ink); font-size: 17px; }

.note {
  background: var(--accent-soft);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 26px 0;
  font-size: 15px;
}
.note p { color: var(--ink); margin: 0; }

.updated { color: var(--muted); font-size: 14px; margin-top: 4px; }

footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 14px;
  background: var(--surface);
}
footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
footer a { text-decoration: none; }

@media (max-width: 560px) {
  .hero { padding: 48px 0 54px; }
  .hero h1 { font-size: 31px; }
}
