:root {
  --brand-red: #2E5233;
  --brand-dark: #2A2418;
  --brand-cream: #F3ECDA;
  --brand-gold: #2E5233;
  --text-dark: #2A2418;
  --text-light: #FBF7EB;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--brand-cream);
  line-height: 1.6;
}

a { color: inherit; }

.hero {
  background: linear-gradient(160deg, var(--brand-red), #17281c);
  color: var(--text-light);
  padding-bottom: 4rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

.nav-links a:hover { opacity: 1; }

.btn-outline {
  border: 1px solid var(--text-light);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.hero-banner {
  max-width: 900px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.hero-content {
  max-width: 720px;
  margin: 3rem auto 0;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.tagline {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions.center { margin-top: 2rem; }

.btn-primary {
  background: var(--brand-gold);
  color: var(--text-light);
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }

.btn-secondary {
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.6);
}

.section {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section.alt {
  background: #fff;
  max-width: 100%;
  padding: 4rem 1.5rem;
}

.section.alt > * {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: 2rem;
  color: var(--brand-red);
  margin-bottom: 1.5rem;
}

.section p { margin-bottom: 1rem; }

.app-cta-banner {
  background: var(--brand-gold);
  color: var(--text-light);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}

.app-cta-banner p { margin: 0; max-width: 480px; }

.app-cta-banner .btn-primary {
  background: var(--text-light);
  color: var(--brand-gold);
  white-space: nowrap;
}

.app-cta-banner .btn-primary:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.35); }

.membership-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature {
  background: var(--brand-cream);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.06);
}

.feature h3 {
  color: var(--brand-red);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-email a {
  color: var(--brand-red);
  font-weight: 600;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--brand-red);
}

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--brand-dark);
  color: var(--text-light);
}

footer a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
}

@media (max-width: 600px) {
  .hero-content h1 { font-size: 2.2rem; }
  .navbar { justify-content: center; text-align: center; }
  .app-cta-banner { flex-direction: column; }
}

/* Legal pages (privacy.html / terms.html) -- compact hero, no CTA buttons */
.legal-hero { padding-bottom: 2rem; }

.legal-hero-content { margin-top: 1.5rem; }

.legal-hero-content h1 { font-size: 2.25rem; }

.legal-hero-content .tagline { font-size: 1rem; opacity: 0.8; margin-bottom: 0; }

.section.legal { max-width: 760px; }

.section.legal h2 {
  font-size: 1.4rem;
  color: var(--brand-red);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.section.legal h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.section.legal ul {
  margin: 0 0 1rem 1.25rem;
}

.section.legal li { margin-bottom: 0.4rem; }

.section.legal a {
  color: var(--brand-red);
  font-weight: 600;
}
