/* Fit Dozi — site styles
   Structural pattern matches dozi-website (Plus Jakarta Sans, dark hero +
   white content-wrapper with deep shadow, accent-underline h2, stat cards,
   tip / warning boxes, drop cap intro).
   Brand palette: emerald (#10b981) + coral accent (#ff7a45) to align with
   the orange chef mascot. Hero background is deep pine so Fit Dozi sits
   visually between Dozi (teal) and Astro Dozi (purple) inside the family.
*/

:root {
  --fit-primary: #10b981;
  --fit-primary-dark: #047857;
  --fit-primary-light: #34d399;
  --fit-accent: #ff7a45;
  --fit-accent-dark: #ea580c;
  --fit-accent-light: #ffa170;
  --fit-dark: #0a1f1a;
  --fit-dark-2: #13372e;
  --bg-light: #f8faf8;
  --text-main: #475569;
  --text-bold: #1e293b;
  --border-light: #e2e8f0;
  --gradient-hero: linear-gradient(135deg, #0a1f1a 0%, #13372e 50%, #0a1f1a 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-light);
}

a { color: var(--fit-primary-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--fit-primary); }

/* ── Navbar ─────────────────────────────────────── */

.navbar {
  background: var(--fit-dark);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: white;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fit-accent-light); }
.nav-links a.nav-cta {
  background: linear-gradient(135deg, var(--fit-accent), var(--fit-accent-light));
  color: white;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 122, 69, 0.3);
}
.nav-links a.nav-cta:hover { color: white; transform: translateY(-1px); }

/* ── Hero ───────────────────────────────────────── */

.hero {
  background: var(--gradient-hero);
  color: white;
  padding: 5rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(255, 122, 69, 0.18), transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(16, 185, 129, 0.18), transparent 55%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--fit-primary-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  color: white;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--fit-accent-light), var(--fit-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fit-primary-light);
  margin-bottom: 0.75rem;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}
.hero-stat .value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--fit-accent-light);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.35rem;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--fit-accent), var(--fit-accent-light));
  color: white;
  box-shadow: 0 10px 26px rgba(255, 122, 69, 0.35);
}
.btn-primary:hover { color: white; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 122, 69, 0.45); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover { color: white; background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.btn-light {
  background: var(--fit-primary);
  color: white;
  box-shadow: 0 10px 26px rgba(16, 185, 129, 0.32);
}
.btn-light:hover { color: white; transform: translateY(-2px); background: var(--fit-primary-dark); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}
.hero-mascot {
  width: 420px;
  max-width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(255, 122, 69, 0.35));
  position: relative;
  z-index: 2;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.hero-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 161, 112, 0.4), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(16, 185, 129, 0.3), transparent 60%);
  filter: blur(20px);
  z-index: 0;
}
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 3;
}
.floating-card .fc-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.28);
  border-radius: 6px;
  font-size: 0.85rem;
}
.floating-card.fc-1 { top: 10%; left: -4%; animation: float 5s ease-in-out infinite; }
.floating-card.fc-2 { top: 22%; right: -6%; animation: float 6.5s ease-in-out infinite 0.5s; }
.floating-card.fc-3 { bottom: 20%; left: -2%; animation: float 5.8s ease-in-out infinite 1s; }
.floating-card.fc-4 { bottom: 8%; right: 2%; animation: float 6s ease-in-out infinite 0.7s; }

/* ── Stats bar (under hero) ─────────────────────── */

.stats-bar {
  background: white;
  border-bottom: 1px solid var(--border-light);
}
.stats-bar .stats-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.stats-bar .stat-item { text-align: center; }
.stats-bar .stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fit-accent);
  letter-spacing: -0.02em;
}
.stats-bar .stat-label {
  font-size: 0.82rem;
  color: var(--text-main);
  margin-top: 0.2rem;
}

/* ── Section ────────────────────────────────────── */

section.page-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title .eyebrow {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 122, 69, 0.12);
  color: var(--fit-accent);
  border: 1px solid rgba(255, 122, 69, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-bold);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.section-title p {
  color: var(--text-main);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Feature grid ───────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.feature-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(52, 211, 153, 0.26));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.feature-card.accent .icon {
  background: linear-gradient(135deg, rgba(255, 122, 69, 0.14), rgba(255, 161, 112, 0.3));
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-bold);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── Science preview grid ───────────────────────── */

.science-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.ref-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}
.ref-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
  border-color: rgba(16, 185, 129, 0.35);
}
.ref-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fit-primary-dark);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.ref-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-bold);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.ref-card .authors {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}
.ref-card p {
  font-size: 0.93rem;
  color: var(--text-main);
  margin-bottom: 0.85rem;
  line-height: 1.6;
}
.ref-card .effect-size {
  font-size: 0.82rem;
  color: var(--fit-accent-dark);
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.ref-card a.read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fit-accent);
}

/* ── Blog preview cards (home) ───────────────────── */

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.blog-preview-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
  color: inherit;
}
.blog-preview-card .cover {
  height: 170px;
  background: linear-gradient(135deg, var(--fit-primary) 0%, var(--fit-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  position: relative;
  overflow: hidden;
}
.blog-preview-card.warm .cover {
  background: linear-gradient(135deg, var(--fit-accent) 0%, var(--fit-accent-light) 100%);
}
.blog-preview-card.dark .cover {
  background: linear-gradient(135deg, var(--fit-dark) 0%, var(--fit-dark-2) 100%);
  color: var(--fit-primary-light);
}
.blog-preview-card .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 60%);
}
.blog-preview-card .body {
  padding: 1.5rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-preview-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--fit-primary-dark);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.85rem;
  width: fit-content;
}
.blog-preview-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-bold);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.blog-preview-card p {
  font-size: 0.92rem;
  color: var(--text-main);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.blog-preview-card .meta {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* ── Sister apps / ecosystem ────────────────────── */

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.eco-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.eco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.09);
  color: inherit;
}
.eco-card.dozi:hover { border-color: #40E0D0; }
.eco-card.astro:hover { border-color: #7C3AED; }

.eco-card .eco-logo {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.eco-card.dozi .eco-logo { background: linear-gradient(135deg, #0f172a, #1e3a5f); }
.eco-card.astro .eco-logo { background: linear-gradient(135deg, #1e1b4b, #4c1d95); }
.eco-card .eco-logo img { width: 72%; height: 72%; object-fit: contain; }

.eco-card .eco-info {
  flex: 1;
}
.eco-card .eco-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.4rem;
}
.eco-card.dozi .eco-tag { color: #0369a1; background: rgba(64, 224, 208, 0.18); }
.eco-card.astro .eco-tag { color: #6d28d9; background: rgba(124, 58, 237, 0.15); }
.eco-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-bold);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.eco-card p {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}
.eco-card .eco-link {
  font-size: 0.85rem;
  font-weight: 700;
}
.eco-card.dozi .eco-link { color: #0891b2; }
.eco-card.astro .eco-link { color: #7c3aed; }

/* ── CTA banner ─────────────────────────────────── */

.cta-banner {
  background: var(--gradient-hero);
  color: white;
  padding: 4.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 122, 69, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(16, 185, 129, 0.18), transparent 55%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: white;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ── Footer ─────────────────────────────────────── */

footer.site {
  background: var(--fit-dark);
  color: rgba(255, 255, 255, 0.55);
  padding: 3rem 2rem 2rem;
}
footer.site .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.88rem;
}
footer.site .links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
footer.site .links a { color: rgba(255, 255, 255, 0.7); }
footer.site .links a:hover { color: var(--fit-primary-light); }

/* ── Blog / legal / article pages ───────────────── */

.article-hero {
  background: var(--gradient-hero);
  color: white;
  padding: 5rem 2rem 7rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 122, 69, 0.15), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(16, 185, 129, 0.15), transparent 55%);
}
.article-hero > * { position: relative; z-index: 1; }
.article-hero .eyebrow {
  color: var(--fit-primary-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.article-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  max-width: 860px;
  margin: 0 auto 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: white;
}
.article-hero .subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin: 0 auto;
}
.article-hero .mascot {
  margin-top: 1.75rem;
}
.article-hero .mascot img {
  width: 130px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.content-wrapper {
  max-width: 820px;
  margin: -4.5rem auto 0;
  padding: 3.5rem 4rem 4rem;
  background: white;
  border-radius: 32px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fit-accent);
  font-weight: 700;
  margin-bottom: 1.75rem;
  transition: transform 0.2s;
  font-size: 0.95rem;
}
.back-link:hover { transform: translateX(-4px); color: var(--fit-accent-dark); }

.content-wrapper .drop-cap {
  font-family: "Lora", Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #475569;
  margin-bottom: 2.25rem;
  border-left: 4px solid var(--fit-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(255, 122, 69, 0.07) 0%, transparent 100%);
  line-height: 1.75;
}

.content-wrapper h2 {
  font-size: 1.7rem;
  color: var(--text-bold);
  margin: 2.75rem 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  position: relative;
  padding-bottom: 0.65rem;
}
.content-wrapper h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--fit-accent);
  border-radius: 2px;
}
.content-wrapper h3 {
  font-size: 1.2rem;
  color: var(--text-bold);
  font-weight: 800;
  margin: 2rem 0 0.85rem;
  letter-spacing: -0.01em;
}
.content-wrapper p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #334155;
}
.content-wrapper ul,
.content-wrapper ol {
  padding-left: 1.3rem;
  margin-bottom: 1.5rem;
}
.content-wrapper li {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 0.55rem;
}
.content-wrapper strong { color: var(--text-bold); font-weight: 700; }
.content-wrapper a { color: var(--fit-primary-dark); border-bottom: 1px solid rgba(16, 185, 129, 0.35); }
.content-wrapper a:hover { color: var(--fit-primary); border-bottom-color: var(--fit-primary); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2.25rem 0;
}
.stat-card {
  background: #f8faf8;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.stat-card .num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--fit-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-card .label {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-top: 0.55rem;
  line-height: 1.4;
}

.tip-box {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-left: 4px solid var(--fit-primary);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.tip-box h3 { color: #065f46; font-size: 1.05rem; margin: 0 0 0.5rem; }
.tip-box p { color: #047857; margin: 0; font-size: 0.98rem; }

.warning-box {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-left: 4px solid #f59e0b;
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.warning-box h3 { color: #92400e; font-size: 1.05rem; margin: 0 0 0.5rem; }
.warning-box p { color: #a16207; margin: 0; font-size: 0.98rem; }

.source-box {
  background: #f8faf8;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
}
.source-box h3 { color: var(--text-bold); font-size: 1rem; margin: 0 0 0.85rem; }
.source-box ol {
  padding-left: 1.2rem;
  margin: 0;
}
.source-box li {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.7rem;
  line-height: 1.55;
}
.source-box li em { color: #64748b; }

.article-cta {
  background: var(--gradient-hero);
  color: white;
  padding: 3rem 2.5rem;
  border-radius: 26px;
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.article-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 122, 69, 0.2), transparent 60%);
}
.article-cta > * { position: relative; z-index: 1; }
.article-cta h2 {
  color: white;
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 1.5rem;
}
.article-cta h2::after { display: none; }
.article-cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.article-cta .btn { font-size: 0.95rem; }

/* Legal pages reuse content-wrapper with a simpler hero */
.legal-hero {
  background: var(--gradient-hero);
  color: white;
  padding: 4rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.14), transparent 55%);
}
.legal-hero > * { position: relative; z-index: 1; }
.legal-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  max-width: 760px;
  margin: 0 auto 0.75rem;
  letter-spacing: -0.02em;
  color: white;
}
.legal-hero .updated { color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; }

/* ── Responsive ─────────────────────────────────── */

@media (max-width: 960px) {
  .navbar { padding: 0.85rem 1.25rem; }
  .nav-links { gap: 1rem; }
  .nav-links a:not(.nav-cta) { display: none; }

  .hero { padding: 3rem 1.5rem 4rem; }
  .hero-container { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero h1 { font-size: 2.3rem; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-visual { min-height: 340px; }
  .hero-mascot { width: 280px; }
  .floating-card { font-size: 0.76rem; padding: 0.5rem 0.8rem; }

  .stats-bar .stats-container { gap: 1.5rem; }

  section.page-section { padding: 3.5rem 1.25rem; }
  .section-title h2 { font-size: 1.85rem; }
  .feature-grid,
  .blog-preview-grid { grid-template-columns: 1fr; }
  .science-grid,
  .ecosystem-grid { grid-template-columns: 1fr; }

  .article-hero { padding: 3.5rem 1.5rem 5rem; }
  .article-hero h1 { font-size: 1.9rem; }
  .content-wrapper {
    padding: 2rem 1.5rem 2.5rem;
    margin: -3rem 0.75rem 0;
    border-radius: 22px;
  }
  .content-wrapper h2 { font-size: 1.4rem; }
  .content-wrapper p { font-size: 1rem; }
  .stats-grid { grid-template-columns: 1fr; }

  .cta-banner h2 { font-size: 1.7rem; }
  .eco-card { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .hero h1 { font-size: 1.9rem; }
  .section-title h2 { font-size: 1.6rem; }
  .article-hero h1 { font-size: 1.65rem; }
}
