/* ===== VARIABLES ===== */
:root {
  --bg-dark: #0B1F17;
  --bg-dark-secondary: #0F2A20;
  --bg-dark-tertiary: #14352A;
  --primary-green: #6FAF7A;
  --primary-green-muted: #5C9D6A;
  --accent-light: #A8D5BA;
  --accent-glow: #CFE9D9;
  --surface-light: #F5F3EF;
  --surface-beige: #E8E4DC;
  --text-light: #FFFFFF;
  --text-light-secondary: #C7D1CC;
  --text-dark: #1A1A1A;
  --text-dark-secondary: #5F6B66;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--surface-light);
  color: var(--text-dark);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== LAYOUT ===== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAV ===== */
.site-nav {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(111, 175, 122, 0.12);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.nav-logo .logo-icon { font-size: 1.4rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--text-light); }

.btn-get-rooted {
  background: var(--bg-dark-tertiary);
  color: var(--text-light);
  border: 1.5px solid var(--primary-green);
  border-radius: 8px;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-get-rooted:hover {
  background: var(--primary-green);
  color: var(--bg-dark);
}

/* ===== HERO ===== */
.hero {
  background: var(--bg-dark);
  line-height: 0;
}

.hero img { width: 100%; }

/* ===== FEATURES ===== */
.features {
  background: var(--surface-light);
  padding: 5.5rem 0;
  text-align: center;
}

.features-eyebrow {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.features h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.features .section-subtitle {
  color: var(--text-dark-secondary);
  font-size: 1rem;
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  line-height: 1.55;
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-dark-secondary);
  padding: 5.5rem 0;
  color: var(--text-light);
}

.about-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: center;
}

.about-logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(111, 175, 122, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  flex-shrink: 0;
}

.about-text h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-light-secondary);
  line-height: 1.75;
  max-width: 520px;
}

.about-text .made-with {
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
}

.about-image {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  background: var(--bg-dark-tertiary);
  border: 1px solid rgba(111, 175, 122, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

/* ===== PILLARS ===== */
.pillars {
  background: var(--surface-beige);
  padding: 5.5rem 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--surface-light);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.pillar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
  flex: 1;
}

.pillar-link {
  font-size: 0.85rem;
  color: var(--primary-green-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

.pillar-link:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light-secondary);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 0.6rem; }
.footer-brand p { font-size: 0.85rem; }

.footer-col h4 {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-light-secondary);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--text-light); }

.footer-col .contact-note {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.email-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--accent-light);
  transition: color 0.2s;
}

.email-link:hover { color: var(--text-light); }

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-dark-tertiary);
  border: 1px solid rgba(111, 175, 122, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
  cursor: pointer;
}

.social-btn:hover { background: var(--bg-dark-secondary); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 1.5rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.55;
}

/* ===== STUB PAGES ===== */
.stub-hero {
  background: var(--bg-dark);
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 4rem 2rem;
}

.stub-hero-inner { max-width: 480px; }
.stub-hero .stub-icon { font-size: 3.5rem; margin-bottom: 1.25rem; }
.stub-hero h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.stub-hero p { color: var(--text-light-secondary); font-size: 1.05rem; line-height: 1.65; }
.stub-hero .back-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.9rem;
}
.stub-hero .back-link:hover { text-decoration: underline; }

/* ===== INNER PAGE LAYOUTS ===== */
.page-hero {
  background: var(--bg-dark);
  padding: 4rem 2rem 3.5rem;
  text-align: center;
  color: var(--text-light);
  border-bottom: 1px solid rgba(111, 175, 122, 0.12);
}

.page-hero-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-light-secondary);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.content-section { padding: 4.5rem 0; background: var(--surface-light); }
.content-section.dark { background: var(--bg-dark-secondary); color: var(--text-light); }
.content-section.tinted { background: var(--surface-beige); }

.prose {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.prose h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  color: var(--text-dark);
}
.content-section.dark .prose h2 { color: var(--text-light); }

.prose h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}
.content-section.dark .prose h3 { color: var(--text-light); }

.prose p {
  font-size: 0.925rem;
  color: var(--text-dark-secondary);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}
.content-section.dark .prose p { color: var(--text-light-secondary); }

.prose ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.prose ul li {
  font-size: 0.925rem;
  color: var(--text-dark-secondary);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}

.prose ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-green-muted);
}
.content-section.dark .prose ul li { color: var(--text-light-secondary); }

.prose hr {
  border: none;
  border-top: 1px solid var(--surface-beige);
  margin: 2.5rem 0;
}
.content-section.dark .prose hr { border-top-color: rgba(255,255,255,0.07); }

.prose .policy-meta {
  font-size: 0.8rem;
  color: var(--text-dark-secondary);
  opacity: 0.7;
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* Content cards */
.content-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.content-card {
  background: var(--surface-light);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border: 1px solid var(--surface-beige);
}
.content-section.tinted .content-card { background: var(--surface-light); }
.content-section.dark .content-card {
  background: var(--bg-dark-tertiary);
  border-color: rgba(111, 175, 122, 0.15);
}

.content-card .card-icon { font-size: 1.75rem; }

.content-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.content-section.dark .content-card h3 { color: var(--text-light); }

.content-card p {
  font-size: 0.875rem;
  color: var(--text-dark-secondary);
  line-height: 1.65;
  margin: 0;
}
.content-section.dark .content-card p { color: var(--text-light-secondary); }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--surface-light);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--surface-beige);
}

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  margin-top: 0;
}

.faq-item p {
  font-size: 0.875rem;
  color: var(--text-dark-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Contact banner */
.contact-banner {
  background: var(--bg-dark-secondary);
  border: 1px solid rgba(111, 175, 122, 0.2);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-light);
  margin-top: 0;
}

.contact-banner .banner-icon { font-size: 2.25rem; margin-bottom: 1rem; }

.contact-banner h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.contact-banner p {
  color: var(--text-light-secondary);
  font-size: 0.925rem;
  max-width: 480px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--primary-green);
  color: var(--bg-dark);
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-contact:hover { background: var(--accent-light); }

/* Wide section layout for about page */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-split .split-graphic {
  width: 100%;
  aspect-ratio: 1;
  max-width: 320px;
  border-radius: 24px;
  background: var(--bg-dark-tertiary);
  border: 1px solid rgba(111, 175, 122, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-left: auto;
}

.about-split h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about-split p {
  font-size: 0.925rem;
  line-height: 1.8;
  color: var(--text-dark-secondary);
  margin-bottom: 0.9rem;
}

.content-section.dark .about-split p { color: var(--text-light-secondary); }
.content-section.dark .about-split h2 { color: var(--text-light); }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tag {
  background: var(--accent-glow);
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
}

.content-section.dark .tag {
  background: var(--bg-dark-tertiary);
  color: var(--accent-light);
  border: 1px solid rgba(111, 175, 122, 0.25);
}

@media (max-width: 960px) {
  .about-split { grid-template-columns: 1fr; gap: 2rem; }
  .about-split .split-graphic { display: none; }
  .content-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .page-hero h1 { font-size: 1.8rem; }
  .content-cards { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-logo-circle { margin: 0 auto; }
  .about-text p { max-width: 100%; }
  .about-image { display: none; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .features h2 { font-size: 1.6rem; }
}

@media (max-width: 420px) {
  .features-grid { grid-template-columns: 1fr; }
}
