/* ===== Lipedema Insights — Site Styles ===== */
/* Warm, empowering aesthetic inspired by the app's earthy palette */

:root {
  /* -- App-matched warm palette -- */
  --sage-900: #2d3b2d;
  --sage-800: #3d5a3d;
  --sage-700: #4a7a5a;
  --sage-600: #5a8a6a;
  --sage-500: #7aaa8a;
  --sage-400: #9cc4a8;
  --sage-100: #e2f0e6;
  --sage-50:  #f0f7f2;

  --teal-900: #1a3a3a;
  --teal-800: #1f5050;
  --teal-700: #2a6b6b;
  --teal-600: #357e7e;
  --teal-500: #4a9e9e;
  --teal-400: #6bbfbf;
  --teal-100: #d4efef;
  --teal-50:  #eef8f8;

  --warm-900: #3d2e1e;
  --warm-800: #5c4430;
  --warm-700: #7a5c3f;
  --warm-600: #9a7a55;
  --warm-500: #b89a70;
  --warm-400: #d4b88a;
  --warm-300: #e6d4b8;
  --warm-200: #efe1cc;
  --warm-100: #f7f0e6;
  --warm-50:  #fdfaf6;

  --cream: #faf7f2;
  --cream-dark: #f5efe5;

  --slate-900: #1a1d23;
  --slate-800: #2d3039;
  --slate-700: #3d424d;
  --slate-600: #555b68;
  --slate-500: #6b7280;
  --slate-400: #9199a6;
  --slate-300: #c4c9d4;
  --slate-200: #dfe2e8;
  --slate-100: #f1f3f6;

  --white: #ffffff;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
  --shadow-glow: 0 4px 30px rgba(42,107,107,0.15);
  --max-w: 720px;
  --max-w-wide: 1100px;
  --max-w-full: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--slate-800);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ========== NAV ========== */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w-full);
  margin: 0 auto;
  padding: 1.25rem 2rem;
}
.site-nav .logo {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal-800);
  text-decoration: none;
}
.site-nav .nav-links {
  display: flex;
  gap: 2rem;
}
.site-nav .nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav .nav-links a:hover { color: var(--teal-700); }
.btn-nav {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  background: var(--teal-700);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-nav:hover { background: var(--teal-800); transform: translateY(-1px); }

/* ========== HERO ========== */
.hero {
  max-width: var(--max-w-full);
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content {
  max-width: 560px;
}
.hero .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-700);
  background: var(--warm-100);
  border: 1px solid var(--warm-200);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--teal-900);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal-700);
}
.hero .hero-sub {
  font-size: 1.2rem;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.hero .hero-desc {
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 14px;
}
.btn-primary {
  background: var(--teal-700);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-secondary {
  background: var(--white);
  color: var(--teal-800);
  border: 1.5px solid var(--warm-300);
}
.btn-secondary:hover {
  border-color: var(--teal-500);
  background: var(--teal-50);
}

/* ========== SOCIAL PROOF ========== */
.social-proof {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--teal-900);
}
.proof-text {
  font-family: "Fraunces", serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--warm-200);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}
.strike {
  text-decoration: line-through;
  opacity: 0.6;
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-600);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--teal-900);
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ========== FEATURES ========== */
.features {
  max-width: var(--max-w-full);
  margin: 0 auto;
  padding: 5rem 2rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--warm-300);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--sage-100), var(--teal-100));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--teal-700);
}
.feature-card h3 {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--teal-900);
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ========== APP SHOWCASE ========== */
.app-showcase {
  max-width: var(--max-w-full);
  margin: 0 auto;
  padding: 5rem 2rem;
  background: var(--cream-dark);
}
.showcase-grid {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.showcase-item-reverse {
  direction: rtl;
}
.showcase-item-reverse > * {
  direction: ltr;
}
.showcase-phone {
  display: flex;
  justify-content: center;
}
.showcase-phone img {
  width: 280px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}
.showcase-text {
  padding: 1rem 0;
}
.step-number {
  font-family: "Fraunces", serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--warm-300);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}
.showcase-text h3 {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 0.75rem;
}
.showcase-text p {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
}
.showcase-text em {
  font-style: italic;
  color: var(--teal-700);
  font-weight: 600;
}

/* ========== WHY SECTION ========== */
.why-section {
  max-width: var(--max-w-full);
  margin: 0 auto;
  padding: 5rem 2rem;
}
.why-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.3s ease;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 52px;
  height: 52px;
  background: var(--warm-100);
  border: 1px solid var(--warm-200);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--warm-700);
}
.why-card h3 {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 0.5rem;
}
.why-card p {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ========== AUDIENCE SECTION ========== */
.audience-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--teal-900), var(--sage-900));
  text-align: center;
}
.audience-content {
  max-width: 700px;
  margin: 0 auto;
}
.audience-content h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--warm-200);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.audience-emphasis {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

/* ========== CTA / SIGNUP ========== */
.cta-section {
  padding: 5rem 2rem;
  text-align: center;
}
.cta-content {
  max-width: 560px;
  margin: 0 auto;
}
.cta-content h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--teal-900);
  margin-bottom: 0.75rem;
}
.cta-content > p {
  font-size: 1.1rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.cta-actions {
  margin-bottom: 2rem;
}
.signup-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.signup-divider::before,
.signup-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--warm-200);
}
.signup-divider span {
  font-size: 0.85rem;
  color: var(--slate-400);
  white-space: nowrap;
}
.signup-form {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.signup-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--warm-300);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  background: var(--white);
  transition: border-color 0.2s;
}
.signup-form input[type="email"]:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(42,107,107,0.1);
}
.signup-form .btn {
  border-radius: var(--radius);
}

/* ========== FOOTER ========== */
.site-footer {
  max-width: var(--max-w-full);
  margin: 0 auto;
  padding: 0 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--warm-200);
  gap: 2rem;
}
.footer-brand .logo {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-800);
  display: block;
  margin-bottom: 0.4rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--slate-400);
  font-style: italic;
}
.footer-links-group {
  display: flex;
  gap: 4rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--slate-600);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal-700); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--warm-200);
  font-size: 0.8rem;
  color: var(--slate-400);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-tagline {
  font-style: italic;
}

/* ========== LEGAL PAGES ========== */
.legal {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}
.legal h1 {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-900);
  margin-bottom: 0.35rem;
}
.legal .effective-date {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal-800);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}
.legal p, .legal li {
  font-size: 0.95rem;
  color: var(--slate-700);
  margin-bottom: 0.75rem;
}
.legal ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--teal-700); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem 3rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-phone {
    order: -1;
  }
  .hero-image {
    max-width: 400px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-item,
  .showcase-item-reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .showcase-item-reverse {
    direction: ltr;
  }
  .showcase-phone img {
    width: 240px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .site-nav {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
  }
  .site-nav .nav-links {
    gap: 1.25rem;
  }
  .btn-nav {
    display: none;
  }
  .hero {
    padding: 1.5rem 1.25rem 2.5rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-image {
    max-width: 300px;
  }
  .features {
    padding: 3rem 1.25rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .app-showcase {
    padding: 3rem 1.25rem;
  }
  .showcase-phone img {
    width: 200px;
  }
  .why-section {
    padding: 3rem 1.25rem;
  }
  .audience-section {
    padding: 3rem 1.25rem;
  }
  .cta-section {
    padding: 3rem 1.25rem;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
