/* Shared by /privacy, /support, /health-data, /creators and /c.
   Same palette as the home page (home.css) and the app: canvas, white
   cards, ink. The variable names are used by the pages' inline styles. */

:root {
  --bg: #f4f4f2;
  --surface: #ffffff;
  --text: #111111;
  --text-muted: #555552;
  --border: #d4d4d0;
  --accent: #111111;
  --accent-ink: #111111;
  --button-ink: #ffffff;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1c1c1c;
    --text: #f2f2f0;
    --text-muted: #a7a7a3;
    --border: #2e2e2d;
    --accent: #f2f2f0;
    --accent-ink: #f2f2f0;
    --button-ink: #111111;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  padding: 22px 0 8px;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand::before {
  content: "";
  width: 26px;
  height: 24px;
  background: currentColor;
  -webkit-mask: url(/assets/walker-trail-96.png) center / contain no-repeat;
  mask: url(/assets/walker-trail-96.png) center / contain no-repeat;
}

nav.site a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 20px;
}

nav.site a:hover {
  color: var(--text);
}

main {
  padding: 48px 0 96px;
}

.hero {
  padding: 56px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.hero p.lede {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 480px;
  margin: 0 auto;
}

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

@media (max-width: 520px) {
  .card-row {
    grid-template-columns: 1fr;
  }
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--accent);
}

.card h2 {
  margin: 0 0 6px;
  font-size: 17px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 21px;
  margin-top: 40px;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 16px;
  margin-top: 24px;
}

p, li {
  color: var(--text);
}

p.meta {
  color: var(--text-muted);
  font-size: 14px;
}

a {
  color: var(--accent-ink);
  text-underline-offset: 3px;
}

.faq dt {
  font-weight: 600;
  margin-top: 22px;
}

.faq dd {
  margin: 6px 0 0;
  color: var(--text-muted);
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 15px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--button-ink);
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
}

footer.site .wrap {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

footer.site a {
  color: var(--text-muted);
}

/* Comparison tables (/walk-to-unlock-apps). Rows stack on phones. */
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 16px 0 8px;
}

table.compare th,
table.compare td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px 10px 0;
  border-top: 1px solid var(--border);
}

table.compare th {
  border-top: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

table.compare td:first-child {
  width: 30%;
  font-weight: 600;
}

table.compare .sub {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 520px) {
  table.compare thead {
    display: none;
  }

  table.compare tr {
    display: block;
    border-top: 1px solid var(--border);
    padding: 12px 0;
  }

  table.compare td,
  table.compare td:first-child {
    display: block;
    width: auto;
    border: 0;
    padding: 2px 0;
  }

  table.compare td[data-label]::before {
    content: attr(data-label) ": ";
    color: var(--text-muted);
    font-size: 13px;
  }
}
