:root {
  /* 🌿 Sana Form palette – tuned to your logo */
  --primary: #2f7b57;     /* main green: headings, buttons */
  --accent: #81b493;      /* softer green accent */
  --accent-soft: #e6f3eb; /* light green background */
  --bg: #f9fafb;
  --text: #374151;
  --white: #ffffff;
  --border: #e5e7eb;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-subtle: 0 10px 25px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #f2fbf6 0, #f9fafb 55%, #edf5f0 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.btn {
  font-family: inherit;
}

/* Layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(249, 250, 251, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

/* If you want to use the logo image instead of “SF”, uncomment: */
/*
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
*/

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--primary);
}

.brand-text span:last-child {
  font-size: 0.8rem;
  color: #6b7280;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  color: #4b5563;
  font-weight: 500;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  border-color: transparent;
  color: #f9fafb;
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  background: #256648;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.6);
  color: #4b5563;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.02);
  color: #6b7280;
}

.social-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.9);
  font-size: 0.78rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-title span.highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #4b5563;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.8);
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.hero-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.hero-card-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.hero-card-text {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: rgba(249, 250, 251, 0.95);
  color: #6b7280;
}

.hero-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-subtle);
}

/* Sections */

section {
  padding: 3rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  max-width: 30rem;
  margin: 0.25rem auto 0;
}

/* About-style layouts */

.about-grid,
.podcast-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.about-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
}

.about-card p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0.7rem;
}

.about-list {
  list-style: none;
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.about-bullet {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  margin-top: 0.2rem;
}

/* Podcast */

.podcast-text h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.podcast-text p {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0.7rem;
}

.podcast-list {
  font-size: 0.9rem;
  color: #4b5563;
  list-style: none;
}

.podcast-list li {
  margin-bottom: 0.35rem;
}

.podcast-player {
  background: #020617;
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid #020617;
}

.podcast-player iframe {
  border-radius: 12px;
  border: 0;
  width: 100%;
  min-height: 232px;
}

/* Cards / Events */

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.card-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}

.card-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.card p {
  color: #4b5563;
  margin-top: 0.3rem;
}

/* Community CTA */

.community {
  padding: 3rem 0 3.5rem;
}

.community-inner {
  background: linear-gradient(120deg, var(--primary), #0b2b1c);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.community h2 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.community p {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.community-small {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.community-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.community-form input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  outline: none;
}

.community-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(129, 180, 147, 0.6);
}

/* Social strip */

.social-strip {
  padding: 1.2rem 0 0.8rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
  padding-top: 0.9rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-chip {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(156, 163, 175, 0.7);
  background: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.social-chip span.icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent-soft);
}

/* Footer */

footer {
  padding: 1.8rem 0 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(249, 250, 251, 0.95);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Page-intro sections for About / Events */

.page-intro {
  padding: 3.2rem 0 2.4rem;
}

.page-intro-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.page-intro-inner h1 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.page-intro-inner p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* Responsive */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .podcast-layout,
  .community-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.4rem;
  }

  .cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-grid {
    gap: 2rem;
  }

  .cards-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .community-inner {
    padding: 1.6rem 1.2rem;
  }
}

/* Make the logo image fit nicely and zoomed inside the circular logo-mark */
.logo-mark img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  display: block;
  border-radius: 999px;
}

/* Make social icon images fill the small circle nicely */
.social-chip span.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 🔧 Extra mobile tweaks */
@media (max-width: 640px) {
  /* Header layout: avoid squashing */
  .nav {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav-left {
    flex: 1 1 100%;
  }

  .nav-cta {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .nav-cta .btn {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  /* Hero: centre things, tighten spacing */
  .hero {
    padding: 2rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .hero-title,
  .hero-subtitle {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
    text-align: center;
  }

  .hero-card {
    max-width: 420px;
    margin: 0 auto;
    padding-bottom: 1.8rem; /* more room for badge */
  }

  /* Move badge so it doesn't cover text */
  .hero-badge {
    position: static;
    margin-top: 0.9rem;
    align-self: flex-start;
  }

  /* Section headings centred + comfy */
  .section-heading {
    padding: 0 0.5rem;
  }

  .section-title,
  .section-subtitle {
    text-align: center;
  }

  /* Cards full width stacked */
  .cards-row {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Social strip: stack nicely */
  .social-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .social-links {
    gap: 0.5rem;
  }

  .social-chip {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
  }

  /* Community block: full-width, less padding */
  .community-inner {
    padding: 1.6rem 1.2rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu-toggle {
  display: none;
  font-size: 1.9rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  margin-left: 0.75rem;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0.75rem;
  margin-top: 0.5rem;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-subtle);
  min-width: 180px;
  z-index: 30;
}

.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
}

/* Default: hide mobile menu, show desktop nav */
@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
}

/* On small screens: show hamburger and mobile menu, hide desktop links */
@media (max-width: 960px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav {
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none !important;
  }

  .nav-cta {
    margin-left: auto;
  }
}
