/* Lipedema Care Companion — soft & calming lavender palette */
:root {
  --lavender: #b9a5e0;
  --lavender-light: #ece5f8;
  --lavender-pale: #f7f4fc;
  --plum: #5a4a78;
  --plum-dark: #3d3454;
  --accent: #8b6fc0;
  --cream: #fdfcff;
  --rose: #e8d9f0;
  --text: #443b5c;
  --text-soft: #6c6284;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(90, 74, 120, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.05rem;
}

h1, h2, h3, .brand { font-family: 'Fraunces', Georgia, serif; color: var(--plum-dark); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 600; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent); }
img { max-width: 100%; }

.container { max-width: 1060px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header {
  background: rgba(253, 252, 255, 0.92);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--lavender-light);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.5rem; max-width: 1060px; margin: 0 auto; flex-wrap: wrap; gap: 0.5rem;
}
.brand { font-size: 1.25rem; font-weight: 700; text-decoration: none; color: var(--plum-dark); }
.brand span { color: var(--accent); }
nav ul { display: flex; list-style: none; gap: 1.4rem; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--text-soft); font-weight: 600; font-size: 0.97rem; }
nav a:hover, nav a.active { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--lavender-light) 0%, var(--rose) 55%, var(--lavender-pale) 100%);
  padding: 4.5rem 0 4rem;
  text-align: center;
}
.hero .tagline {
  font-size: 1.2rem; color: var(--plum); max-width: 620px; margin: 1.2rem auto 2rem;
}
.hero-badge {
  display: inline-block; background: #fff; color: var(--accent);
  padding: 0.35rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase; box-shadow: var(--shadow); margin-bottom: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 1.9rem; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 1rem; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(90,74,120,.22); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: #fff; color: var(--accent); border: 2px solid var(--accent); }
.btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 3.5rem 0; }
.section-alt { background: var(--lavender-pale); }
.section-title { text-align: center; margin-bottom: 2.2rem; }
.section-title p { color: var(--text-soft); max-width: 640px; margin: 0.5rem auto 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
  background: #fff; border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow); border: 1px solid var(--lavender-light);
}
.card .emoji { font-size: 2rem; display: block; margin-bottom: 0.6rem; }

/* Two-column feature */
.feature { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: center; }
.feature img.cover {
  border-radius: var(--radius); box-shadow: 0 12px 36px rgba(90,74,120,.25); width: 100%; max-width: 340px; margin: 0 auto; display: block;
}
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } }

/* Checklist */
.checklist { list-style: none; max-width: 560px; margin: 0 auto; }
.checklist li {
  background: #fff; border: 1px solid var(--lavender-light); border-radius: 12px;
  padding: 0.8rem 1.2rem; margin-bottom: 0.7rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.8rem; font-weight: 600; color: var(--plum);
}
.checklist li::before { content: "💜"; }

/* Quote */
.quote {
  text-align: center; font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem;
  color: var(--plum); max-width: 700px; margin: 0 auto; font-style: italic;
}

/* Prose pages */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin-top: 2.2rem; }
.prose ul { margin: 0 0 1rem 1.4rem; }
.prose li { margin-bottom: 0.4rem; }

.disclaimer {
  background: var(--lavender-light); border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0; padding: 1.2rem 1.5rem; margin: 2rem 0; font-size: 0.95rem; color: var(--plum);
}

/* Footer */
footer { background: var(--plum-dark); color: #d9d2ea; padding: 2.8rem 0 2rem; margin-top: 2rem; }
footer a { color: #cbb8ee; }
footer .container { text-align: center; }
footer .fine { font-size: 0.85rem; opacity: 0.75; max-width: 680px; margin: 1rem auto 0; }
