/* Health Camper — shared styles */
:root {
  --forest: #1f4d3f;
  --forest-dark: #143528;
  --sage: #7fb69b;
  --mist: #eaf4ee;
  --cream: #fbf9f4;
  --sun: #f4b860;
  --ink: #22332c;
  --muted: #5c6f66;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 53, 40, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Lora', Georgia, serif; color: var(--forest-dark); line-height: 1.25; }

a { color: var(--forest); text-decoration: none; }

img { max-width: 100%; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31, 77, 63, 0.08);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Lora', serif; font-size: 1.25rem; font-weight: 700; color: var(--forest-dark); }
.logo svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { font-weight: 700; color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--forest); }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--forest); color: var(--white) !important;
  font-weight: 800; font-size: 0.95rem; border: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--forest-dark); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--forest) !important; }
.btn-light:hover { background: var(--mist); }
.btn-sun { background: var(--sun); color: var(--forest-dark) !important; }
.btn-sun:hover { background: #eea940; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--mist) 0%, var(--cream) 55%, #fdf6ea 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; background: rgba(127, 182, 155, 0.22); color: var(--forest);
  padding: 6px 16px; border-radius: 999px; font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 30px; max-width: 34rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }

/* phone mockup */
.phone {
  width: 270px; height: 550px; margin: 0 auto;
  border-radius: 42px; background: var(--forest-dark);
  padding: 14px; box-shadow: 0 30px 60px rgba(20, 53, 40, 0.28);
  position: relative;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, #2a6b55 0%, #1f4d3f 60%, #143528 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #eaf4ee; text-align: center; padding: 24px;
}
.phone-screen .moon { font-size: 3rem; margin-bottom: 12px; }
.phone-screen h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.phone-screen p { font-size: 0.85rem; color: #b9d8c8; margin-bottom: 22px; }
.breath-ring {
  width: 130px; height: 130px; border-radius: 50%;
  border: 3px solid rgba(244, 184, 96, 0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244,184,96,0.25); }
  50% { transform: scale(1.15); box-shadow: 0 0 0 24px rgba(244,184,96,0); }
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow); transition: transform 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card .icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--mist);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.95rem; color: var(--muted); }

/* daily affirmation band */
.affirmation-band {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--mist); text-align: center; border-radius: var(--radius);
  padding: 56px 32px;
}
.affirmation-band h2 { color: var(--sun); font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; font-family: 'Nunito', sans-serif; margin-bottom: 18px; }
.affirmation-band blockquote { font-family: 'Lora', serif; font-size: clamp(1.4rem, 3vw, 2rem); font-style: italic; max-width: 40rem; margin: 0 auto 24px; color: #fff; }

/* blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.post-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.15s ease;
}
.post-card:hover { transform: translateY(-4px); }
.post-card .banner { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; }
.banner-mind { background: linear-gradient(135deg, #dceee4, #b9d8c8); }
.banner-motivation { background: linear-gradient(135deg, #fdeccd, #f7d492); }
.banner-affirm { background: linear-gradient(135deg, #e4e9f7, #c3cdec); }
.post-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .tag { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
.post-card h3 { font-size: 1.15rem; }
.post-card p { font-size: 0.92rem; color: var(--muted); flex: 1; }
.post-card .read-more { font-weight: 800; font-size: 0.9rem; }

/* newsletter */
.newsletter { background: var(--mist); border-radius: var(--radius); padding: 48px 32px; text-align: center; }
.newsletter form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.newsletter input {
  padding: 13px 20px; border-radius: 999px; border: 1px solid rgba(31,77,63,0.2);
  min-width: 260px; font-size: 0.95rem; font-family: inherit;
}

/* footer */
footer { background: var(--forest-dark); color: #b9d8c8; padding: 48px 0 32px; margin-top: 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
footer a { color: #eaf4ee; font-size: 0.9rem; }
footer .small { font-size: 0.8rem; color: #7fa693; margin-top: 20px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Blog article pages ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 60px 24px; }
.article .tag { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 10px 0 12px; }
.article .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; }
.article h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.article p { margin-bottom: 18px; color: #33443c; }
.article ul, .article ol { margin: 0 0 18px 24px; color: #33443c; }
.article li { margin-bottom: 8px; }
.article blockquote {
  border-left: 4px solid var(--sun); background: var(--mist);
  padding: 18px 22px; border-radius: 0 12px 12px 0; font-style: italic; margin: 24px 0;
}
.article .back { display: inline-block; margin-bottom: 24px; font-weight: 800; font-size: 0.9rem; }
.article-cta {
  background: var(--mist); border-radius: var(--radius); padding: 28px;
  text-align: center; margin-top: 48px;
}
.article-cta h3 { margin-bottom: 8px; }
.article-cta p { margin-bottom: 16px; }

/* page header for blog index */
.page-head { background: linear-gradient(160deg, var(--mist), var(--cream)); text-align: center; padding: 64px 24px 48px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-head p { color: var(--muted); max-width: 36rem; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .phone { width: 230px; height: 470px; margin-top: 24px; }
  .nav-links { gap: 16px; }
  .nav-links li.hide-mobile { display: none; }
}
