/* Mindful Health — shared styles */

:root {
  --navy: #272f39;
  --green: #cde09b;
  --green-dark: #b9d178;
  --lavender: #f4e4ff;
  --lavender-solid: #e4aaff;
  --white: #ffffff;
  --gray: #6b7280;
  --radius-pill: 100px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Work Sans', Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
}

h1, h2, h3, .display {
  font-family: 'Rozha One', Georgia, serif;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: 42px; }
h2 { font-size: 34px; }
h3 { font-size: 22px; }

p { margin: 0 0 16px; color: var(--navy); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: var(--radius-pill);
  padding: 14px 34px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid var(--navy);
  transition: all 0.15s ease;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: #3c4756; }
.btn-outline {
  background: transparent;
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Top announcement banner */
.top-banner {
  background: var(--lavender-solid);
  color: var(--navy);
  text-align: center;
  font-size: 14px;
  padding: 10px 16px;
}
.top-banner a { text-decoration: underline; font-weight: 600; }

/* Header / nav */
header.site-header {
  padding: 20px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.logo svg { width: 34px; height: 26px; }
nav.main-nav {
  display: flex;
  gap: 32px;
  font-weight: 500;
}
nav.main-nav a { padding: 6px 2px; border-bottom: 2px solid transparent; }
nav.main-nav a.active,
nav.main-nav a:hover { border-bottom-color: var(--navy); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  margin-top: 10px;
}
.hero-copy {
  background: var(--green);
  border-radius: 12px;
  padding: 48px;
  max-width: 420px;
  position: relative;
  z-index: 2;
  margin-right: -80px;
}
.hero-copy h1 { font-size: 38px; }
.hero-media {
  border-radius: 12px;
  overflow: hidden;
  min-height: 460px;
}

/* Placeholder graphic (stand-in for original photography) */
.ph-graphic {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green) 0%, var(--lavender-solid) 100%);
  position: relative;
  overflow: hidden;
}
.ph-graphic svg { width: 40%; max-width: 140px; opacity: 0.85; }
.ph-graphic::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-size: 11px;
  color: var(--navy);
  background: rgba(255,255,255,0.55);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-align: center;
}

/* Sections */
section { padding: 72px 0; }
.section-lavender { background: var(--lavender); }
.section-title { text-align: center; margin-bottom: 40px; }

/* Challenges carousel (static rebuild) */
.challenge-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(39,47,57,0.08);
}
.challenge-card .stat { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: #d8d8d8; }
.dots span.active { background: var(--navy); }

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.benefit {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 30px;
}
.benefit .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* Features (Product Features page) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }
.feature-number {
  font-family: 'Rozha One', serif;
  font-size: 48px;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.feature-media .ph-graphic { border-radius: 14px; min-height: 280px; }

/* Sign up page */
.signup-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 56px 0;
}
.signup-benefit .num {
  display: inline-flex;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 44px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(39,47,57,0.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}
.field textarea { min-height: 110px; resize: vertical; }
.form-msg { margin-top: 14px; font-size: 14px; }
.form-msg.success { color: #1a7a3d; }
.form-msg.error { color: #b3261e; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 32px;
  margin-top: 40px;
}
footer.site-footer h3 { color: var(--white); font-size: 20px; }
footer.site-footer p { color: #c7ccd3; }
.subscribe-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  flex-wrap: wrap;
}
.subscribe-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: inherit;
}
.subscribe-form .btn-primary {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
  color: #c7ccd3;
}
.social-icons { display: flex; gap: 14px; }
.social-icons a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
}
.social-icons svg { width: 16px; height: 16px; fill: var(--white); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { margin-right: 0; margin-bottom: -40px; max-width: 100%; }
  .hero-media { min-height: 320px; }
  .benefits-grid, .signup-benefits, .form-row, .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-copy { order: initial; }
  nav.main-nav { order: 3; width: 100%; justify-content: center; }
  h1 { font-size: 30px; }
}
