@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900&display=swap');

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

:root {
  --cream: #F2E6C5;
  --cream-dark: #E5D6AD;
  --cream-light: #FAF4E6;
  --cream-white: #FFFBF2;
  --brown: #5A4A30;
  --brown-light: #7A6A4A;
  --brown-muted: #A09070;
  --mint: #8EDCB5;
  --mint-dark: #5CC99A;
  --mint-deeper: #3DB87E;
  --mint-light: #C4F0DA;
  --mint-bg: #E8F8EF;
  --peach: #FFDAB5;
  --peach-light: #FFE8D0;
  --peach-bg: #FFF3E8;
  --pink: #F5C0C0;
  --pink-light: #FADEDE;
  --pink-bg: #FFF0F0;
  --lavender: #C6B8F0;
  --lavender-light: #E0D8F8;
  --lavender-bg: #F0ECF9;
  --gold: #C8A860;
  --gold-light: #F0E4C0;
  --red: #DC2626;
  --red-bg: #FEF2F2;
  --shadow-soft: 0 4px 24px rgba(138, 122, 96, 0.12);
  --shadow-card: 0 8px 32px rgba(138, 122, 96, 0.10), 0 2px 8px rgba(138, 122, 96, 0.06);
  --shadow-hero: 0 12px 48px rgba(138, 122, 96, 0.15);
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--cream);
  color: var(--brown);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Disclaimer strip */
.disclaimer-banner {
  background: var(--red-bg);
  border-bottom: 2px solid rgba(220, 38, 38, 0.15);
  padding: 10px 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.2px;
}

/* Header */
header {
  padding: 48px 0 40px;
  text-align: center;
  background: var(--cream-white);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(142, 220, 181, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 30%, rgba(200, 168, 96, 0.10) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(198, 184, 240, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  position: relative;
}

.logo-img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(61, 193, 201, 0.25);
}

.brand-text {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--brown);
}

.tagline {
  color: var(--brown-muted);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

/* Hero section - index page */
.hero-section {
  position: relative;
  padding: 48px 0 20px;
}

.hero-section .not-medical-callout {
  max-width: 640px;
  margin: 0 auto 36px;
  background: var(--cream-white);
  border: 2px solid var(--red);
  border-radius: 20px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.hero-section .not-medical-callout .callout-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.hero-section .not-medical-callout h3 {
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.hero-section .not-medical-callout p {
  color: var(--brown-light);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 0 60px;
}

.card {
  background: var(--cream-white);
  border: 1.5px solid var(--cream-dark);
  border-radius: 24px;
  padding: 32px 24px 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 24px 24px 0 0;
}

.card:nth-child(1)::before { background: linear-gradient(90deg, var(--mint), var(--mint-dark)); }
.card:nth-child(2)::before { background: linear-gradient(90deg, var(--peach), var(--gold)); }
.card:nth-child(3)::before { background: linear-gradient(90deg, var(--lavender), var(--pink)); }

.card:hover {
  transform: translateY(-6px);
  border-color: var(--mint);
  box-shadow: var(--shadow-hero);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.card:nth-child(1) .card-icon-wrap { background: var(--mint-bg); }
.card:nth-child(2) .card-icon-wrap { background: var(--peach-bg); }
.card:nth-child(3) .card-icon-wrap { background: var(--lavender-bg); }

.card h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--brown);
}

.card p {
  font-size: 14px;
  color: var(--brown-muted);
  line-height: 1.5;
}

.card .arrow {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mint-dark);
  letter-spacing: 0.3px;
  transition: transform 0.2s;
}

.card:hover .arrow {
  transform: translateX(4px);
}

/* Warning / disclaimer box on content pages */
.warning-box {
  border: 2px solid var(--red);
  border-radius: 20px;
  padding: 22px 24px;
  margin-bottom: 32px;
  background: var(--red-bg);
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  box-shadow: var(--shadow-soft);
}

.warning-box strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Content pages */
.content-page {
  padding: 40px 0 60px;
}

.content-page h1 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  color: var(--brown);
}

.updated {
  color: var(--brown-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.content-page h2 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--brown);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cream-dark);
}

.content-page p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--brown-light);
  margin-bottom: 12px;
}

.content-page ul {
  list-style: none;
  padding-left: 4px;
  margin: 14px 0;
}

.content-page ul li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--brown-light);
  padding-left: 24px;
  position: relative;
  margin-bottom: 4px;
}

.content-page ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.content-page .caps-paragraph {
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.8;
}

.content-page a {
  color: var(--mint-deeper);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--mint-light);
  transition: border-color 0.2s;
}

.content-page a:hover {
  border-color: var(--mint-dark);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mint-deeper);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 28px;
  padding: 8px 16px 8px 12px;
  border-radius: 12px;
  background: var(--mint-bg);
  transition: all 0.2s;
}

.back-link:hover {
  background: var(--mint-light);
}

/* Contact page */
.contact-box {
  background: var(--cream-white);
  border: 1.5px solid var(--cream-dark);
  border-radius: 24px;
  padding: 44px 32px;
  text-align: center;
  margin-top: 32px;
  box-shadow: var(--shadow-card);
}

.contact-box .email-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-box h2 {
  margin-top: 0;
  margin-bottom: 8px;
  border: none;
  padding-bottom: 0;
}

.contact-box p {
  color: var(--brown-muted);
  margin-bottom: 24px;
}

.email-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-deeper) 100%);
  color: #fff;
  padding: 16px 40px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: all 0.25s;
  box-shadow: 0 6px 24px rgba(92, 201, 154, 0.3);
  border: none;
}

.email-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(92, 201, 154, 0.4);
}

/* Footer */
footer {
  margin-top: auto;
  padding: 28px 0;
  text-align: center;
  border-top: 1.5px solid var(--cream-dark);
  background: var(--cream-white);
}

footer p {
  color: var(--brown-muted);
  font-size: 13px;
}

footer a {
  color: var(--mint-deeper);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  opacity: 0.7;
}

/* Page wrapper card */
.page-card {
  background: var(--cream-white);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--cream-dark);
  margin-bottom: 32px;
}

@media (max-width: 700px) {
  header { padding: 36px 0 28px; }

  .brand-text {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .cards {
    grid-template-columns: 1fr;
    padding: 0 0 40px;
  }

  .content-page h1 { font-size: 26px; }

  .contact-box { padding: 28px 20px; }

  .page-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
}
