/* Colours: the app's Tangerine on graphite (android ui/Color.kt). --primary is
   links and the badge, so it is the text-safe orange, not the fill. */
:root {
  --background: #f7f5f2;
  --text: #18140f;
  --secondary: #6e675e;
  --border: #ded8cf;
  --primary: #c2410c;
  --tint: #ffe4d6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f0e0d;
    --text: #f6f3ef;
    --secondary: #a39b90;
    --border: #302c28;
    --primary: #ff8a5c;
    --tint: #3a1c0f;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

header.site {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

nav.site {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

nav.site a {
  color: var(--secondary);
  text-decoration: none;
}

nav.site a:hover,
nav.site a[aria-current="page"] {
  color: var(--primary);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1.2;
}

h2 {
  margin: 2.25rem 0 0.5rem;
  font-size: 1.3rem;
  line-height: 1.3;
}

h3 {
  margin: 1.5rem 0 0.25rem;
  font-size: 1.05rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.35rem;
}

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

.lede {
  color: var(--secondary);
  font-size: 1.15rem;
}

.updated {
  margin-bottom: 2rem;
  color: var(--secondary);
  font-size: 0.95rem;
}

.note {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: var(--tint);
}

.table {
  margin: 0 0 1rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--secondary);
  font-weight: 600;
}

footer.site {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-size: 0.9rem;
}

.hero {
  padding-bottom: 0.5rem;
}

.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.75rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.badge {
  display: inline-block;
  margin: 1.5rem 0 0.75rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--background);
  font-weight: 600;
  font-size: 0.95rem;
}

.fine-print {
  margin: 0;
  color: var(--secondary);
  font-size: 0.9rem;
}

main section + section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.problem h2,
.how h2,
.privacy-summary h2,
.pricing h2 {
  margin-top: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
}
