/* muscle.ai — pelvic floor education hub */
:root {
  --cream: #F7F4EE;
  --cream-deep: #EFE9DF;
  --sage: #5F7A6A;
  --sage-dark: #4A6356;
  --sage-soft: #D6E0D8;
  --charcoal: #2C322E;
  --muted: #5C655F;
  --coral: #E07A5F;
  --coral-dark: #C9654A;
  --white: #FFFFFF;
  --line: rgba(44, 50, 46, 0.12);
  --shadow: 0 18px 50px rgba(44, 50, 46, 0.08);
  --radius: 18px;
  --radius-pill: 999px;
  --serif: "Libre Baskerville", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--sage-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-dark); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.lede { font-size: 1.08rem; color: var(--muted); max-width: 38rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.55rem;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-dark); color: var(--white); }
.btn-sage { background: var(--sage); color: var(--white); }
.btn-sage:hover { background: var(--sage-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  border-color: var(--sage);
  color: var(--sage-dark);
}
.btn-outline:hover { background: var(--sage); color: var(--white); }
.btn-ghost {
  background: transparent;
  border-color: rgba(44,50,46,0.2);
  color: var(--charcoal);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn-note { font-size: 0.85rem; color: var(--muted); margin: 0.65rem 0 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  gap: 1rem;
}
.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.logo-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sage) 0%, var(--sage-soft) 100%);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 28% 28% 22% 28%;
  border: 2px solid var(--cream);
  border-radius: 50% 50% 45% 45%;
  border-top: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--sage); }
.nav-cta { margin-left: 0.4rem; padding: 0.65rem 1.15rem; font-size: 0.9rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-size: 1rem;
  color: var(--charcoal);
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  color: var(--sage-dark);
  margin-bottom: 1rem;
}
.hero-copy { color: var(--muted); font-size: 1.05rem; max-width: 34rem; }
.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 460px);
}
.hero-frame {
  border-radius: 48% 48% 18px 18px / 42% 42% 18px 18px;
  overflow: hidden;
  background: var(--sage-soft);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-bubble {
  position: absolute;
  left: -1.2rem;
  bottom: 12%;
  background: var(--white);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
  max-width: 210px;
  font-size: 0.88rem;
  color: var(--charcoal);
  border: 1px solid var(--line);
}
.hero-bubble strong { display: block; color: var(--sage); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.25rem; }

/* Age notice */
.age-bar {
  background: var(--sage);
  color: var(--cream);
  text-align: center;
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
}
.age-bar a { color: var(--cream); }

/* Benefits */
.section { padding: 4.5rem 0; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); color: var(--sage-dark); }
.section-head p { margin-inline: auto; color: var(--muted); max-width: 36rem; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: 0 8px 24px rgba(44,50,46,0.04);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.benefit-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.benefit-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Process */
.process {
  background: var(--cream-deep);
}
.process-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.process-intro h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--sage-dark); }
.process-list { list-style: none; padding: 0; margin: 0; }
.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.process-item:first-child { padding-top: 0; }
.process-num {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.15rem;
}
.process-item h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.process-item p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.process-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5/4;
}
.process-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Checklist strip */
.checklist-strip {
  background: var(--sage);
  color: var(--cream);
  padding: 2.75rem 0;
}
.checklist-strip h2 { color: var(--cream); font-size: clamp(1.55rem, 2.8vw, 2.1rem); margin-bottom: 0.5rem; }
.checklist-strip p { color: rgba(247,244,238,0.88); max-width: 40rem; }
.checklist-strip .btn-coral { margin-top: 0.5rem; }

/* Library */
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-card-body { padding: 1.25rem 1.3rem 1.4rem; }
.article-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.article-card h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }
.article-card p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* Soft feature band */
.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-band img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.feature-copy { padding: 2rem 2rem 2rem 0.5rem; }
.feature-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); color: var(--sage-dark); }

/* CTA panel */
.cta-panel {
  background: linear-gradient(135deg, var(--sage-dark), var(--sage));
  border-radius: 28px;
  padding: 2.75rem 2.25rem;
  color: var(--cream);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.cta-panel h2 { color: var(--cream); font-size: clamp(1.7rem, 2.8vw, 2.25rem); }
.cta-panel p { color: rgba(247,244,238,0.9); margin-bottom: 1.1rem; }
.cta-panel .btn-coral { border-color: transparent; }
.cta-panel .btn-outline {
  border-color: rgba(247,244,238,0.55);
  color: var(--cream);
}
.cta-panel .btn-outline:hover { background: var(--cream); color: var(--sage-dark); }
.cta-side {
  background: rgba(247,244,238,0.1);
  border: 1px solid rgba(247,244,238,0.2);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
}
.cta-side h3 { color: var(--cream); font-size: 1.05rem; font-family: var(--sans); font-weight: 700; }
.cta-side a { color: var(--cream); font-weight: 600; }
.cta-side ul { margin: 0.6rem 0 0; padding-left: 1.1rem; color: rgba(247,244,238,0.88); font-size: 0.94rem; }

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 28rem; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.85rem;
}
.footer-col a {
  display: block;
  color: var(--charcoal);
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}
.footer-col a:hover { color: var(--sage); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 52rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  line-height: 1.55;
}

/* Article pages */
.article-hero {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.article-hero .tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.article-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  color: var(--sage-dark);
  max-width: 18ch;
}
.article-meta { color: var(--muted); font-size: 0.92rem; }
.article-cover {
  margin: 1.75rem auto 0;
  width: min(100%, var(--max));
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 21/9;
  box-shadow: var(--shadow);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body {
  width: min(100% - 2.5rem, 720px);
  margin: 2.5rem auto 3rem;
}
.article-body h2 {
  font-size: 1.55rem;
  color: var(--sage-dark);
  margin-top: 2rem;
}
.article-body h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}
.article-body .callout {
  background: var(--sage-soft);
  border-left: 4px solid var(--sage);
  border-radius: 0 14px 14px 0;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  color: var(--charcoal);
  font-size: 0.96rem;
}
.article-body .checklist {
  list-style: none;
  padding: 0;
}
.article-body .checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  border-bottom: 1px solid var(--line);
}
.article-body .checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid var(--sage);
  border-radius: 4px;
  background: var(--white);
}
.article-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--cream-deep);
  border-radius: 18px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
  color: var(--sage);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .process-layout,
  .feature-band,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .library-grid { grid-template-columns: 1fr; }
  .feature-copy { padding: 1.5rem; }
  .hero-visual { justify-self: center; }
  .hero-bubble { left: 0.5rem; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    align-items: flex-start;
  }
  .nav-toggle { display: inline-block; }
  .benefits-grid { grid-template-columns: 1fr; }
  .header-inner { position: relative; }
  .article-cover { aspect-ratio: 16/9; }
}
