/* Minimal reset */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #111;
}

.container {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h1, h2, h3 {
  line-height: 1.2;
}

.site-footer {
  border-top: 1px solid #e5e5e5;
  margin-top: 3rem;
  padding: 1rem 0;
  color: #666;
  font-size: 0.9rem;
}

/* Brand palette inspired by reference */
:root {
  --green: #0a604b;
  --pink: #ffa8d5;
  --white: #ffffff;
  --ink: #141414;
  --muted: #6b7280;
  --rounding: 20px;
  --card: #0d725b;
  --panel: #0f7761;
}

.site-header {
  background: var(--green);
  color: var(--white);
  border-bottom-left-radius: var(--rounding);
  border-bottom-right-radius: var(--rounding);
}
.header-inner { display:flex; align-items:center; justify-content:space-between; padding: 1rem 0; }
.brand a { color: var(--white); text-decoration: none; font-weight: 700; }
.nav a { color: var(--white); opacity: 0.95; text-decoration: none; margin-left: 1rem; }
.nav a:hover { opacity: 1; }

.hero {
  background: var(--green);
  color: var(--white);
  margin: 2rem 0;
  border-radius: var(--rounding);
  min-height: 60vh;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 900px; margin: 0 auto; padding: 4rem 1.25rem; text-align: center; }
.hero .eyebrow { text-transform: none; letter-spacing: 0; opacity: .9; margin: 0 0 0.75rem; font-weight: 600; }
.display { font-size: clamp(2rem, 6vw, 4.25rem); line-height: 1.05; margin: 0 0 1rem; font-weight: 900; }
.highlight { background: var(--pink); color: #3b0d0d; padding: 0 .5rem; border-radius: .5rem; display: inline-block; }
.lede { max-width: 52ch; margin: 0.5rem auto 1.5rem; color: #eaeaea; }

.cta-group { display:inline-flex; background:#fff; color:#000; padding: .5rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.btn { display:inline-block; padding: .8rem 1.25rem; border-radius: 999px; text-decoration:none; color:#111; font-weight:700; }
.btn + .btn { margin-left: .25rem; }
.btn-primary { background: var(--pink); color: #2a1a1a; }
.btn:hover { transform: translateY(-1px); }

.award-badge { position:absolute; left: 1rem; bottom: 1rem; background: var(--white); color: var(--ink); border-radius: 50%; width: 140px; height: 140px; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.85rem; box-shadow: 0 8px 30px rgba(0,0,0,.2); }

/* Sections */
.section { margin: 3rem 0; }
.section.muted { background: #f7f8f8; border-radius: var(--rounding); padding: 1rem; }
.section-header { text-align: center; margin-bottom: 1.25rem; }
.section-title { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin: 0.25rem 0; }
.section-lede { color: var(--muted); margin: 0 auto; max-width: 60ch; }

/* Grid & cards */
.grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card { display: block; text-decoration: none; color: inherit; border-radius: 16px; background: var(--card); color: #fff; padding: 1rem; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.card-body h3 { margin: .5rem 0; font-size: 1.1rem; }
.card-body p { margin: 0; color: #e9fffa; font-size: .95rem; }
.pill { display:inline-block; padding:.25rem .6rem; border-radius:999px; background: rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.35); font-size:.8rem; }
.show-card.cptsd { background: linear-gradient(145deg, #0a604b, #118066); }
.show-card.anxiety { background: linear-gradient(145deg, #0a4b60, #116680); }
.show-card.grief { background: linear-gradient(145deg, #60490a, #8a6b1a); }
.show-card.royalty { background: linear-gradient(145deg, #3a105e, #5b1e91); }

/* Features */
.features { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
@media (min-width: 768px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.feature { background: #fff; border-radius: 14px; padding: 1.25rem; border: 1px solid #eee; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.feature-icon { font-size: 2rem; margin-bottom: 0.75rem; }

/* CTA panel / newsletter */
.cta-panel { background: var(--panel); color: #fff; border-radius: var(--rounding); padding: 1.25rem; text-align: center; box-shadow: 0 8px 28px rgba(0,0,0,.15); }
.newsletter { display:flex; gap:.5rem; justify-content:center; margin-top:.75rem; flex-wrap: wrap; }
.newsletter input[type="email"] { padding:.8rem 1rem; border-radius: 999px; border:none; min-width: 260px; }
.newsletter button { border:none; cursor:pointer; }
.fine-print { color: #e6fffa; opacity:.85; font-size: .85rem; margin-top:.5rem; }

/* Contacts */
.contacts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.contact-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: .75rem 1rem; }

/* Content styling */
.content {
  max-width: 65ch;
  margin: 0 auto;
  line-height: 1.7;
}

.content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.content h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
}

.content p {
  margin: 0 0 1rem;
  color: #374151;
}

.content p:last-child {
  margin-bottom: 0;
}

.content ul, .content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.content li {
  margin: 0.5rem 0;
  color: #374151;
}

.content blockquote {
  border-left: 4px solid var(--pink);
  background: #f9fafb;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
  color: #4b5563;
  font-style: italic;
}

.content strong {
  color: var(--ink);
  font-weight: 600;
}

.content em {
  color: var(--green);
}

.content a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-underline-offset: 2px;
}

.content a:hover {
  text-decoration-color: var(--green);
}

/* Accessibility improvements */
.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;
  top: -40px;
  left: 6px;
  background: var(--green);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Focus states */
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.btn:focus {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--ink);
  }
  
  .btn {
    border: 2px solid var(--ink);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .card,
  .btn,
  * {
    transition: none !important;
    animation: none !important;
  }
}
