/* Shared marketing site styles. */
:root {
  --fg: #1c2a1c;
  --bg: #fafaf6;
  --accent: #437a3e;
  --accent-dark: #2d5829;
  --muted: #6b756b;
  --border: #e4e2d8;
  --card: #ffffff;
  --warning: #c97a30;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  margin: 0;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.container { max-width: 920px; margin: 0 auto; padding: 0 1.5rem; }

header.site {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.site .brand { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--fg); }
header.site nav a {
  margin-left: 1.25rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

main { padding: 2.5rem 0; }
main h1 { font-size: 2.25rem; margin: 0 0 0.75rem; line-height: 1.2; }
main h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; line-height: 1.3; }
main h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
main .lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 2rem; }

.badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.badge:hover { background: var(--accent-dark); color: white; }
.badge.outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.tier {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--card);
}
.tier.featured { border-color: var(--accent); box-shadow: 0 4px 12px rgba(67, 122, 62, 0.08); }
.tier h3 { margin-top: 0; }
.tier .price { font-size: 2rem; font-weight: 700; }
.tier .price small { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.tier ul { padding-left: 1.2rem; margin: 1rem 0; }
.tier li { margin-bottom: 0.5rem; }
.tier .featured-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.tier-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  margin: 1rem 0 2rem;
}
.tier-matrix th,
.tier-matrix td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.tier-matrix th { background: #f0eee5; }
.tier-matrix td.center { text-align: center; }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.feature-card h3 { margin-top: 0; }

.faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq-item h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.faq-item p { margin: 0; color: var(--fg); }

.callout {
  background: #f0eee5;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin: 1rem 0;
}
.callout.warn { border-left-color: var(--warning); background: #f9efdc; }

footer.site {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 3rem;
}
footer.site .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
footer.site a { color: var(--muted); text-decoration: none; margin-right: 1rem; }
footer.site a:hover { color: var(--fg); text-decoration: underline; }

@media (max-width: 600px) {
  main h1 { font-size: 1.75rem; }
  header.site nav a { margin-left: 0.75rem; font-size: 0.9rem; }
  footer.site .container { flex-direction: column; }
}
