/* HoneyTrackr marketing + legal site.
 * One stylesheet shared across /, /privacy, /terms. Warm honey palette
 * matching the app: off-white background, brand green for accents,
 * amber for highlights. Serif headings for warmth, system sans for
 * body so legal pages stay readable on every device.
 *
 * Mobile-first. The single media query at the bottom widens the
 * container on desktop; everything above it is the mobile defaults.
 */

:root {
  --bg: #FDFCFA;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #5B5B5B;
  --text-faint: #8A8A8A;
  --border: #E8E5E0;
  --brand: #1D9E75;
  --brand-dark: #146D52;
  --amber: #E5A823;
  --honey-tint: #FFF8E1;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--brand); }

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: 30px; }
h2 { font-size: 20px; margin-top: 36px; }
h3 { font-size: 16px; margin-top: 24px; }

p { margin: 0 0 14px; color: var(--text); }

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 4px; }

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--honey-tint);
  padding: 1px 5px;
  border-radius: 4px;
}

/* ── Layout ──────────────────────────────────────────────────── */

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

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 0.5px solid var(--border);
  background: var(--surface);
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.site-header .brand-mark {
  font-size: 22px;
  line-height: 1;
}
.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-left: 18px;
}
.site-header nav a:hover { color: var(--brand-dark); }

footer.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 32px 20px;
  margin-top: 48px;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}
.site-footer .footer-links {
  margin-bottom: 8px;
}
.site-footer .footer-links a {
  margin: 0 8px;
  color: var(--text-muted);
}

/* ── Landing page ────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 56px 20px 36px;
  background: linear-gradient(180deg, var(--honey-tint) 0%, var(--bg) 100%);
  border-bottom: 0.5px solid var(--border);
}
.hero h1 {
  font-size: 42px;
  margin-bottom: 14px;
}
.hero .tagline {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
}
.hero .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.hero .cta:hover { background: var(--brand-dark); color: #fff; }
.hero .cta-secondary {
  display: inline-block;
  margin-left: 8px;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}
.hero .cta-secondary:hover { color: var(--text); }

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 36px 0;
}
.feature {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 18px 18px 16px;
}
.feature h3 { margin-top: 0; }
.feature p { color: var(--text-muted); font-size: 14px; margin: 0; }

.disclaimer-card {
  background: var(--honey-tint);
  border: 0.5px solid #E0C794;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 28px 0;
  font-size: 14px;
  color: #5A4500;
}
.disclaimer-card strong { color: #3F3000; }

/* ── Legal pages ─────────────────────────────────────────────── */

.legal h1 + .effective {
  color: var(--text-faint);
  font-size: 13px;
  margin-top: -8px;
  margin-bottom: 28px;
}
.legal h2 {
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 6px;
}
.legal .toc {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 28px;
  font-size: 14px;
}
.legal .toc ol {
  margin: 0;
  padding-left: 22px;
}
.legal .toc a { color: var(--text); }

/* ── Desktop ────────────────────────────────────────────────── */

@media (min-width: 720px) {
  .features { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 36px; }
  .hero h1 { font-size: 52px; }
  .page { padding: 56px 24px 96px; }
}
