/* Shared by the landing page and the legal pages.
 *
 * No build step, no framework, no webfont. Same reasoning as the tracking
 * page: every byte and every extra origin sits between a reader and the thing
 * they came for, and none of these pages is complex enough to earn a
 * toolchain. A Play reviewer opening /privacy on a slow connection is a real
 * user too. */

:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #14181d;
  --muted: #5b6672;
  --line: #dfe3e8;
  --accent: #d6336c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181d;
    --panel: #1c2126;
    --ink: #eef1f4;
    --muted: #9aa5b1;
    --line: #2a3037;
    --accent: #4caf7d;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

header.site svg { width: 34px; height: 34px; flex: none; }
header.site .name { font-weight: 700; font-size: 19px; letter-spacing: -0.2px; }
header.site a { color: inherit; text-decoration: none; }

h1 { font-size: 30px; line-height: 1.25; letter-spacing: -0.4px; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 36px 0 10px; letter-spacing: -0.2px; }
h3 { font-size: 16px; margin: 24px 0 6px; }
p, li { color: var(--ink); }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.muted { color: var(--muted); }
small.updated { color: var(--muted); display: block; margin-bottom: 28px; }

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
}

.card.warn { border-color: #b3261e; }
.card.warn strong { color: #b3261e; }

ul { padding-left: 20px; }
li { margin: 6px 0; }

.features { display: grid; gap: 14px; margin: 28px 0; }
@media (min-width: 620px) { .features { grid-template-columns: 1fr 1fr; } }

.feature { background: var(--panel); border: 1px solid var(--line);
           border-radius: 14px; padding: 16px 18px; }
.feature h3 { margin: 0 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

footer.site {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Sign in, top right of the landing page. The portal is where somebody manages
   an account they already have; the page's job is still to explain the product,
   so this is a quiet link rather than a call to action. */
header.site .signin {
  margin-left: auto;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 0.35rem 0.8rem;
  opacity: 0.85;
}
header.site .signin:hover { opacity: 1; }

/* TEMPORARY - remove with the testing notice in index.html at production
   launch. Deliberately set apart from the feature cards: it is a status note
   about the product, not a feature of it. */
.testing {
  border: 1px solid #d6336c;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(31, 111, 74, 0.06);
}
.testing h3 { margin: 0 0 0.4rem; }
.testing p { margin: 0.4rem 0; }
.testing .cta {
  display: inline-block;
  background: #d6336c;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: 600;
}
.testing .cta:hover { background: #17563a; }
