/* Seluna Care shared website styles */
:root {
  --bg-primary: #FAF8F5;
  --bg-secondary: #F3F0EB;
  --bg-card: #FFFFFF;
  --bg-deep: #2D2926;

  --text-primary: #2D2926;
  --text-secondary: #5C5552;
  --text-muted: #8A8482;
  --text-on-dark: #F3F0EB;
  --text-on-dark-muted: rgba(243, 240, 235, 0.7);

  --accent-sage: #7D9A8C;
  --accent-sage-deep: #5F7E70;
  --accent-sage-light: rgba(125, 154, 140, 0.12);
  --accent-sage-medium: rgba(125, 154, 140, 0.22);

  --accent-terracotta: #C4A192;
  --accent-terracotta-light: rgba(196, 161, 146, 0.15);

  --accent-gold: #B8A068;
  --accent-gold-light: rgba(184, 160, 104, 0.12);

  --border-light: rgba(45, 41, 38, 0.08);
  --border-medium: rgba(45, 41, 38, 0.14);

  --shadow-sm: 0 1px 3px rgba(45, 41, 38, 0.06);
  --shadow-md: 0 4px 14px rgba(45, 41, 38, 0.08);
  --shadow-lg: 0 12px 32px rgba(45, 41, 38, 0.10);
  --shadow-xl: 0 24px 48px rgba(45, 41, 38, 0.12);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ----- Top navigation ----- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-light);
}
.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-nav-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  text-decoration: none;
}
.site-nav-brand:hover { color: var(--accent-sage); }
.site-nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}
.site-nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-nav-links a:hover { color: var(--text-primary); }
.site-nav-links a.active { color: var(--accent-sage-deep); }
.site-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--text-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.site-nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  gap: 14px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-primary);
}
.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 0;
}
.mobile-menu.open { display: flex; }

@media (min-width: 860px) {
  .site-nav-links { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ----- Typography ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-sage-deep);
  padding: 6px 12px;
  background: var(--accent-sage-light);
  border-radius: 999px;
}
.serif {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.page-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 40px;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin: 18px 0 14px;
  color: var(--text-primary);
}
.page-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.section-lede {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
}

/* ----- Page header (shared) ----- */
.page-hero {
  padding: 64px 0 32px;
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 4px; }
.page-hero .page-subtitle { margin: 0 auto; }

/* ----- Sections ----- */
.section {
  padding: 64px 0;
}
.section-alt { background: var(--bg-secondary); }
.section-dark { background: var(--bg-deep); color: var(--text-on-dark); }
.section-dark .section-title,
.section-dark .page-title { color: var(--text-on-dark); }
.section-dark .section-lede,
.section-dark p { color: var(--text-on-dark-muted); }

/* ----- Cards ----- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card-soft {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--text-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sage { background: var(--accent-sage); color: #fff; }
.btn-sage:hover { background: var(--accent-sage-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}
.btn-ghost:hover { background: var(--bg-card); }

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-primary);
  padding: 56px 0 32px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: inline-block;
  text-decoration: none;
}
.footer-brand:hover { color: var(--accent-sage); }
.footer-tag {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 320px;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom .disclaimer { max-width: 640px; }
.footer-bottom a { color: var(--accent-sage-deep); text-decoration: none; }

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
  }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ----- Utility ----- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.text-center { text-align: center; }
.mt-sm { margin-top: 12px; } .mt-md { margin-top: 24px; } .mt-lg { margin-top: 40px; }
.mb-sm { margin-bottom: 12px; } .mb-md { margin-bottom: 24px; } .mb-lg { margin-bottom: 40px; }

/* ----- Article (blog post) ----- */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.article-meta .dot { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; opacity: 0.6; }
.article-title {
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.6px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.article-lede {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
}
.article-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin: 40px 0 14px;
  color: var(--text-primary);
}
.article-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--text-primary);
}
.article-body p {
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.75;
}
.article-body ul, .article-body ol {
  margin: 8px 0 22px 24px;
  color: var(--text-primary);
}
.article-body li { margin-bottom: 10px; font-size: 17px; line-height: 1.7; }
.article-body blockquote {
  border-left: 3px solid var(--accent-sage);
  padding: 6px 0 6px 22px;
  margin: 24px 0;
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  line-height: 1.4;
  color: var(--text-primary);
}
.article-body a { color: var(--accent-sage-deep); }
.article-tag {
  display: inline-flex;
  padding: 4px 10px;
  background: var(--accent-sage-light);
  color: var(--accent-sage-deep);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ----- Pillars / step list ----- */
.pillar { padding: 26px; }
.pillar-num {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: var(--accent-sage);
  margin-bottom: 8px;
  display: block;
}
.pillar h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pillar p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ----- FAQ ----- */
.faq-group { margin-bottom: 40px; }
.faq-group h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--text-primary);
}
.faq-item {
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--border-medium); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-sage);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-body {
  padding: 0 22px 22px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ----- Big CTA ----- */
.cta-band {
  background: linear-gradient(135deg, var(--accent-sage) 0%, var(--accent-sage-deep) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  margin: 56px auto;
  max-width: 920px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.cta-band p {
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn-primary { background: #fff; color: var(--text-primary); }
.cta-band .btn-primary:hover { background: var(--bg-secondary); }

/* ----- Blog list ----- */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .post-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
.post-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.post-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}

/* ----- Feature dots ----- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.6;
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent-sage-light);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237D9A8C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
