/* Mindwell — shared stylesheet
   Design system ported from the original site (mindwell-netlify-deploy):
   exact tokens, typography scale, spacing and component styles. */
:root {
  --teal:        #2D5A3D;
  --teal-dark:   #1E3D2A;
  --teal-mid:    #6B8C5A;
  --teal-light:  #EAF0E4;
  --teal-pale:   #F2F5EE;
  --text:        #1A2E2A;
  --text-mid:    #3A4A2E;
  --text-light:  #6B7A5A;
  --border:      #C8D4B8;
  --white:       #ffffff;
  --cta:         #C4501E;
  --cta-dark:    #A33E15;
  --cta-light:   #FBE8E0;
  --cream:       #F7F2E8;
  /* aliases used by page markup */
  --ink: var(--text);
  --sage: var(--teal-mid);
  --sage-text: #4C6B3C;
  --pale: var(--teal-light);
  --line: var(--border);
  --muted: var(--text-mid);
  --soft: var(--text-light);
  --radius: 12px;
  --maxw: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-family: var(--font); color: var(--text); background: var(--cream); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Header / nav (original .nav) ─────────────────────── */
.site-header { background: var(--cream); border-bottom: 1px solid rgba(30,61,42,0.08); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 68px; flex-wrap: wrap; gap: 8px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.main-nav ul { display: flex; gap: 28px; list-style: none; align-items: center; flex-wrap: wrap; }
.main-nav a { text-decoration: none; color: var(--text-mid); font-size: 14px; font-weight: 500; transition: color .15s; }
.main-nav a:hover { color: var(--teal); }

/* ── Buttons (original) ───────────────────────────────── */
.btn { display: inline-block; padding: 14px 32px; border-radius: 4px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s; letter-spacing: .3px;
  background: var(--cta); color: var(--white) !important; text-decoration: none; border: none;
  box-shadow: 0 2px 12px rgba(196,80,30,0.3); }
.btn:hover { background: var(--cta-dark); box-shadow: 0 4px 20px rgba(196,80,30,0.4); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--teal) !important; border: 2px solid var(--teal); box-shadow: none; }
.btn--ghost:hover { background: var(--teal-light); box-shadow: none; }
.btn--sm { padding: 10px 22px; font-size: 14px; }

/* ── Mission banner (original) ────────────────────────── */
.mission-banner { background: #111111; color: rgba(255,255,255,0.85); text-align: center; padding: 14px 24px;
  font-size: 14px; font-family: var(--serif); letter-spacing: .3px; font-style: italic; }

/* ── Typography (original) ────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--teal); line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.15; margin-bottom: 20px; }
h1 em { font-style: normal; color: var(--teal-mid); }
h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 16px; }
h3 { font-size: 18px; margin-bottom: 8px; }
.eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--teal-mid); font-weight: 600; margin-bottom: 12px; display: block; }
.lede { font-size: 18px; color: var(--text-mid); margin: 0 0 36px; line-height: 1.7; max-width: 520px; }
.section-intro { font-size: 17px; color: var(--text-mid); max-width: 600px; line-height: 1.7; margin-bottom: 36px; }

/* ── Sections (original: 80px) ────────────────────────── */
section { padding: 80px 0; }
section.alt { background: #EEF2E8; }

/* ── Hero (original: gradient + 2-col grid) ───────────── */
.hero { background: linear-gradient(160deg, #E8EDE0 0%, #F7F2E8 60%); padding: 96px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-visual { background: #F0EBE0; border-radius: 16px; aspect-ratio: 4/3; border: 1px solid var(--border); position: relative; overflow: hidden; }
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; animation: heroFade 15s infinite; }
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide svg { width: 100%; height: 100%; display: block; }
.hero-slide-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); animation: dotActive 15s infinite; }
.hero-dot:nth-child(1) { animation-delay: 0s; }
.hero-dot:nth-child(2) { animation-delay: 5s; }
.hero-dot:nth-child(3) { animation-delay: 10s; }
@keyframes heroFade { 0% {opacity:0;} 5% {opacity:1;} 28% {opacity:1;} 33% {opacity:0;} 100% {opacity:0;} }
@keyframes dotActive { 0% {background:rgba(255,255,255,0.92);} 33% {background:rgba(255,255,255,0.92);} 34% {background:rgba(255,255,255,0.40);} 100% {background:rgba(255,255,255,0.40);} }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:first-child { opacity: 1; }
  .hero-dot { animation: none; }
}

/* hero trust bar (original .hero-trust look, applied to .hero-stats markup) */
.hero-stats { margin-top: 28px; padding: 14px 18px; background: rgba(234,240,228,0.55); border: 1px solid rgba(200,212,184,0.7);
  border-radius: 12px; display: flex; gap: 28px; flex-wrap: wrap; width: fit-content; }
.hero-stats div { position: relative; }
.hero-stats div + div { padding-left: 28px; border-left: 1px solid rgba(200,212,184,0.7); }
.hero-stats div strong { display: block; font-size: 15px; font-weight: 700; color: var(--teal-dark); line-height: 1.25; }
.hero-stats div span { font-size: 10px; font-weight: 700; letter-spacing: 1.3px; color: var(--text-light); text-transform: uppercase; }

/* ── Cards & grids ────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--teal-pale); border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px;
  transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: 0 8px 28px rgba(28,107,90,0.10); transform: translateY(-2px); }
.card p { color: var(--text-mid); font-size: 15px; line-height: 1.6; }
.card .card-link { display: inline-block; margin-top: 12px; font-weight: 600; text-decoration: none; font-size: 14px; }
.steps { } /* grid wrapper for numbered steps */
.step .num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff;
  align-items: center; justify-content: center; font-weight: 700; font-family: var(--serif); margin-bottom: 14px; }

/* ── Chips / tags (original .tag) ─────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.chips li { list-style: none; background: var(--teal-light); color: var(--teal); border-radius: 20px; padding: 5px 14px; font-size: 13px; font-weight: 500; }
.chips li a { text-decoration: none; }

/* ── Checklist ────────────────────────────────────────── */
.checklist { list-style: none; margin: 24px 0 36px; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 16px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; font-size: 17px; }
.checklist strong { display: block; color: var(--teal-dark); }
.checklist span { color: var(--text-mid); font-size: 15px; }

/* ── Pricing ──────────────────────────────────────────── */
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 38px 36px; max-width: 460px;
  box-shadow: 0 4px 24px rgba(28,107,90,0.08); }
.price-card .price { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--teal); }
.price-card .price small { font-family: var(--font); font-size: 15px; color: var(--text-mid); font-weight: 400; }
.price-card ul { list-style: none; margin: 20px 0; }
.price-card li { padding-left: 26px; position: relative; margin-bottom: 10px; font-size: 15px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; padding: 18px 22px; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--teal-dark); font-size: 15px; }
.faq details p { margin-top: 10px; color: var(--text-mid); font-size: 15px; }

/* ── Team (original: pale cards, circular 130px avatars, centered) ── */
.team-grid { display: grid; gap: 18px 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 0 0 24px; overflow: hidden;
  box-shadow: 0 2px 14px rgba(28,107,90,0.08); text-align: center; text-decoration: none; color: inherit; display: block;
  transition: box-shadow .2s, transform .2s, border-color .2s; }
.team-card:hover { box-shadow: 0 8px 28px rgba(28,107,90,0.12); transform: translateY(-2px); border-color: var(--teal-mid); }
.team-card img { width: 100%; height: 300px; border-radius: 0; object-fit: cover; object-position: center 22%;
  margin: 0 0 4px; background: var(--teal-light); transition: transform .35s ease; }
.team-card:hover img { transform: scale(1.03); }
.team-card .meta strong { display: block; font-family: var(--serif); color: var(--teal); font-size: 19px; margin-bottom: 4px; }
.team-card .meta em { font-style: normal; color: var(--teal-mid); font-size: 13px; font-weight: 500; display: block; margin-bottom: 10px; }
.team-card .meta span { display: block; color: var(--text-mid); font-size: 13px; line-height: 1.5; }

/* ── Quotes ───────────────────────────────────────────── */
blockquote { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 26px 30px; margin: 0 0 18px; position: relative; }
blockquote::before { content: "“"; font-family: var(--serif); font-size: 56px; line-height: .8; color: rgba(46,92,60,0.18); display: block; margin-bottom: 6px; }
blockquote p { font-style: italic; color: var(--teal-dark); font-size: 16px; line-height: 1.55; }
blockquote footer { margin-top: 12px; font-size: 13px; color: var(--text-light); }

/* ── Breadcrumbs ──────────────────────────────────────── */
.breadcrumbs { font-size: 13px; color: var(--text-light); padding: 18px 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--border); }
.breadcrumbs a { color: var(--text-light); }

/* ── Prose / policy pages (original .policy-content) ──── */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.25rem; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.prose h3 { margin-top: 26px; }
.prose p, .prose ul, .prose ol { margin-bottom: 16px; font-size: 15px; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 24px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.prose th { background: var(--white); }
.policy-highlight-box { background: var(--teal-light); border-left: 4px solid var(--teal); border-radius: 8px; padding: 18px 22px; margin: 18px 0; }
.policy-crisis-box { background: #fdf3ee; border: 1px solid #f0ddd2; border-radius: 8px; padding: 20px 24px; margin: 18px 0; }
.last-updated { color: var(--text-light); }
.summary-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.summary-table th, .summary-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.summary-table th { background: var(--white); }

/* ── CTA band (original .cta-section gradient) ────────── */
.cta-band { background: linear-gradient(160deg, var(--teal) 0%, #145048 100%); color: #fff; text-align: center; border-radius: 16px; padding: 90px 32px; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 0 auto 16px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 17px; max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.cta-band .note { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 18px; }

/* ── Crisis note ──────────────────────────────────────── */
.crisis { background: rgba(232,180,90,0.08); border: 1px solid rgba(232,180,90,0.4); border-left: 3px solid #E8B45A; border-radius: 8px; padding: 16px 20px; font-size: 14px; margin: 32px 0 0; }

/* ── Reviewer byline, definitions, related links ──────── */
.reviewed { font-size: 13px; color: var(--text-light); margin-top: -20px; margin-bottom: 28px; }
.reviewed a { color: var(--text-light); }
.definition { background: var(--teal-light); border-left: 4px solid var(--teal); border-radius: 8px; padding: 16px 20px; }
.related { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 28px; font-size: 15px; }

/* ── Footer (original) ────────────────────────────────── */
.site-footer { background: #0F2420; color: rgba(255,255,255,0.7); padding: 56px 0 32px; margin-top: 0; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 48px; grid-template-columns: 2fr 1fr 1fr 1fr; margin-bottom: 48px; }
.site-footer .footer-h { font-family: var(--serif); color: #fff; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.4); max-width: none !important; }
.footer-legal a { color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── Utilities ────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--teal-dark); color: #fff; padding: 10px 18px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .main-nav ul { gap: 14px; }
  .main-nav a { font-size: 13px; }
  .hero { padding: 60px 0; }
  section { padding: 60px 0; }
  .hero-stats { gap: 14px; }
  .hero-stats div + div { padding-left: 14px; }
  .cta-band { padding: 60px 24px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; width: 100%; }
  .hero-stats div + div { padding-left: 0; border-left: none; padding-top: 12px; border-top: 1px solid rgba(200,212,184,0.7); }
}


/* ── Footer (ported from original site) ── */
footer { background: #0F2420; color: rgba(255,255,255,0.7); padding: 56px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-family: Georgia, serif; color: white; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-crisis { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; margin-bottom: 48px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-left: 3px solid #E8B45A; border-radius: 10px; color: rgba(255,255,255,0.78); font-size: 13.5px; line-height: 1.55; }
.footer-crisis svg { color: #E8B45A; flex-shrink: 0; margin-top: 2px; }
.footer-crisis strong { color: #fff; font-weight: 600; }
.footer-crisis a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer-crisis a:hover { color: #E8B45A; }
.footer-compliance { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 20px 0 24px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px; font-size: 12.5px; color: rgba(255,255,255,0.55); }
.footer-compliance-item { display: inline-flex; align-items: center; gap: 7px; letter-spacing: 0.2px; }
.footer-compliance-item svg { color: rgba(255,255,255,0.45); }
@media (max-width: 860px) {
.footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
.footer-inner { grid-template-columns: 1fr; }
}

/* ── Mobile hamburger (parity with original nav) ── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--teal); border-radius: 2px; transition: .3s; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
@media (max-width: 720px) {
  .main-nav ul { display: none; }
  .main-nav ul.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(247,242,232,0.98); padding: 16px 24px 24px; gap: 8px; border-bottom: 1px solid var(--border); z-index: 99; }
  .nav-hamburger { display: flex; }
}
