/* Who's Near — website styles. Mirrors the app's design tokens
   (src/theme/tokens.ts): emerald primary, warm off-white canvas,
   white cards, soft shadows, compact type scale. Light-only. */

:root {
  --primary: #2e9e77;
  --primary-dark: #20745a;
  --primary-soft: #e3f2eb;
  --accent: #56b5a2;
  --accent-soft: #e9f5f2;
  --background: #f7f6f2;
  --surface: #ffffff;
  --border: #e6e4dc;
  --text: #22312b;
  --muted: #68796f;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-card: 0 2px 6px rgba(26, 43, 36, 0.05);
  --shadow-floating: 0 5px 14px rgba(26, 43, 36, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

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

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}

.brand .name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

nav.site-nav {
  display: flex;
  gap: 6px;
}

nav.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

nav.site-nav a:hover {
  color: var(--primary-dark);
  background: var(--accent-soft);
}

nav.site-nav a.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

/* Hero */
.hero {
  text-align: center;
  padding: 48px 0 8px;
}

.hero img {
  width: 220px;
  max-width: 70%;
  height: auto;
  mix-blend-mode: multiply; /* blends the logo's off-white bg into the canvas */
}

.hero h1 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-top: 20px;
}

.hero p.tagline {
  color: var(--muted);
  margin-top: 8px;
  font-size: 17px;
}

/* Main content */
main {
  padding: 32px 0 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 24px;
  margin-bottom: 20px;
}

.card h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

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

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

.card p + p {
  margin-top: 10px;
}

.card ul {
  margin: 8px 0 8px;
  padding-left: 22px;
}

.card li {
  margin-bottom: 6px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 26px;
  border-radius: 999px;
  box-shadow: var(--shadow-floating);
}

.btn:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

/* Feature list on Support page */
.features {
  list-style: none;
  padding: 0;
}

.features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
}

.features li + li {
  border-top: 1px solid var(--border);
}

.features .dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--primary);
}

/* Privacy page headings */
.policy h2 {
  font-size: 20px;
  margin: 28px 0 8px;
  letter-spacing: -0.01em;
}

.policy h2:first-child {
  margin-top: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 40px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

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

@media (max-width: 480px) {
  .hero {
    padding-top: 32px;
  }

  .hero img {
    width: 170px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .card {
    padding: 20px 16px;
  }
}
