/* Sprout brand — DSB palette per docs/BRAND.md */
:root {
  --brand-start: #065f46;
  --brand-end: #f59e0b;
  --bg: #f8f9fa;
  --card: #ffffff;
  --text: #222222;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border: #e0e0e0;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-start); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Hero (landing) */
.hero {
  background: linear-gradient(180deg, var(--brand-start) 0%, var(--brand-end) 100%);
  color: white;
  padding: 80px 24px 60px;
  text-align: center;
}
.hero .seedling { font-size: 80px; line-height: 1; margin-bottom: 16px; }
.hero h1 { font-size: 56px; margin: 0 0 8px; font-weight: 700; letter-spacing: -1px; }
.hero .tagline { font-size: 18px; letter-spacing: 2px; opacity: 0.9; margin: 0 0 24px; }
.hero .blurb { font-size: 18px; max-width: 540px; margin: 0 auto 12px; opacity: 0.95; line-height: 1.5; }
.hero .by { font-size: 13px; letter-spacing: 1px; opacity: 0.7; margin-top: 24px; }

/* Email capture (stub) */
.capture {
  max-width: 520px;
  margin: 32px auto 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.capture input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border: 0;
  border-radius: 30px;
  font-size: 16px;
  background: rgba(255,255,255,0.95);
}
.capture button {
  padding: 14px 28px;
  border: 0;
  border-radius: 30px;
  background: var(--text);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.capture button:hover { opacity: 0.9; }
.capture-note { font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 12px; }

/* Pillars */
.pillars {
  max-width: 960px;
  margin: 64px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.pillar {
  background: var(--card);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.pillar .icon { font-size: 36px; margin-bottom: 8px; }
.pillar h3 { margin: 8px 0 4px; font-size: 17px; }
.pillar p { margin: 0; font-size: 14px; color: var(--text-secondary); }

/* Footer */
footer {
  max-width: 960px;
  margin: 64px auto 32px;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer a { margin-right: 16px; }

/* Privacy page */
.policy {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.policy .topbar {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.policy .topbar .seedling { font-size: 32px; }
.policy .topbar .name { font-weight: 700; font-size: 20px; color: var(--text); }
.policy .topbar .name a { color: inherit; }
.policy h1 { font-size: 36px; margin: 0 0 8px; }
.policy .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.policy h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--brand-start);
}
.policy h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.policy p { margin: 0 0 16px; }
.policy ul { margin: 0 0 16px; padding-left: 24px; }
.policy li { margin-bottom: 6px; }
.policy code {
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.policy th, .policy td {
  text-align: left;
  padding: 8px 12px;
  border: 1px solid var(--border);
}
.policy th { background: var(--bg); font-weight: 600; }
.policy .tldr {
  background: rgba(6, 95, 70, 0.06);
  border-left: 4px solid var(--brand-start);
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 32px;
}
.policy .tldr strong { display: block; margin-bottom: 8px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-start); }
.policy hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

@media (max-width: 600px) {
  .hero h1 { font-size: 42px; }
  .hero .blurb { font-size: 16px; }
  .policy h1 { font-size: 28px; }
}
