/* Rooted marketing site — palette aligned with Rooted in the Bible brand */
:root {
  --forest: #1a3d2e;
  --forest-mid: #234d3b;
  --forest-soft: #2d5c47;
  --gold: #c4a035;
  --gold-deep: #9a7b28;
  --cream: #faf8f4;
  --paper: #fffefa;
  --ink: #1e2a24;
  --ink-muted: #4a5a52;
  --bg: var(--cream);
  --bg-deep: var(--forest);
  --accent: var(--forest-mid);
  --accent-dark: var(--forest);
  --teal: var(--forest-soft);
  --teal-dark: var(--forest);
  --card: var(--paper);
  --border: rgba(26, 61, 46, 0.12);
  --radius: 14px;
  --shadow: 0 18px 48px rgba(26, 61, 46, 0.08);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --max: 720px;
  --max-wide: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  background-image: radial-gradient(
      ellipse 120% 85% at 50% -25%,
      rgba(196, 160, 53, 0.14),
      transparent 52%
    ),
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(26, 61, 46, 0.08), transparent 48%);
}

a {
  color: var(--forest-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(250, 248, 244, 0.92);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo:hover {
  opacity: 0.92;
}

.logo__img {
  height: 52px;
  width: auto;
  max-width: min(52vw, 200px);
  object-fit: contain;
  display: block;
}

@media (min-width: 480px) {
  .logo__img {
    height: 58px;
    max-width: 220px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink-muted);
}

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

.nav .btn {
  text-decoration: none;
}

main {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0 4rem;
  }
}

.hero__brand {
  margin: 0 auto 1.75rem;
  max-width: min(85vw, 300px);
}

@media (min-width: 640px) {
  .hero__brand {
    max-width: min(72vw, 360px);
  }
}

.hero__brand img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 36px rgba(26, 61, 46, 0.14));
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--forest);
}

.hero .lede {
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  color: var(--ink-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(145deg, var(--forest-mid), var(--forest));
  color: #fffef8;
  box-shadow: 0 4px 22px rgba(26, 61, 46, 0.35);
}

.btn--primary:hover {
  color: #fffef8;
  box-shadow: 0 6px 28px rgba(26, 61, 46, 0.45);
}

.btn--ghost {
  background: var(--card);
  color: var(--forest);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.btn--ghost:hover {
  color: var(--gold-deep);
  border-color: rgba(196, 160, 53, 0.45);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.features {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--forest);
}

.feature-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

.note {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(196, 160, 53, 0.1);
  border: 1px solid rgba(196, 160, 53, 0.28);
  font-size: 0.95rem;
  color: var(--ink-muted);
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* Legal / inner pages */
.page-legal {
  max-width: var(--max);
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.page-legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.5rem;
  color: var(--forest);
}

.page-legal .updated {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.page-legal h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.65rem;
}

.page-legal p,
.page-legal li {
  color: var(--ink-muted);
}

.page-legal ul {
  padding-left: 1.25rem;
}

.page-legal li {
  margin-bottom: 0.35rem;
}

.back-row {
  margin-bottom: 1.5rem;
}

.back-row a {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-footer {
  margin-top: auto;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.site-footer a {
  font-weight: 600;
  margin: 0 0.5rem;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.layout main {
  flex: 1;
}
