:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #1a1f2b;
  --text-soft: #4a5468;
  --text-muted: #7a8499;
  --border: #e3e7ed;
  --accent: #2c3e50;
  --accent-soft: #ecf0f1;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 30, 50, 0.04), 0 4px 16px rgba(20, 30, 50, 0.06);
  --shadow-strong: 0 4px 12px rgba(20, 30, 50, 0.08), 0 12px 32px rgba(20, 30, 50, 0.10);
  --max: 1100px;
  --max-narrow: 720px;
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 650; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; }

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

.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.section:first-of-type { border-top: none; }
.section.alt { background: var(--bg-alt); }

/* Top nav */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255, 255, 255, 0.85);
}
.brand {
  font-weight: 650;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; color: var(--accent); }
.nav-link {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Hero */
.hero {
  padding: 80px 24px 64px;
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: var(--max-narrow);
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.hero h1 { margin-bottom: 12px; }
.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-soft);
  margin-bottom: 32px;
  line-height: 1.5;
}
.hero-index .tagline { font-size: 1.15rem; }

/* CTA button */
.cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: var(--shadow);
}
.cta:hover {
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-strong);
}

/* Lede paragraph */
.lede {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-bottom: 1.5em;
}

/* Conditions list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 32px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* Condition deep-dives */
.condition-details {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.condition-detail {
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.condition-detail h3 {
  margin-bottom: 8px;
}
.condition-detail p {
  color: var(--text-soft);
  margin: 0;
  line-height: 1.65;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.pillar {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--text-soft); margin: 0; font-size: 0.97rem; }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  counter-reset: step;
}
.steps li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.steps li:last-child { border-bottom: none; }
.step-num {
  flex: 0 0 40px;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.step-body h3 { margin-bottom: 4px; }
.step-body p { color: var(--text-soft); margin: 0; }

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 24px;
}
.col h3 { margin-bottom: 12px; }
.col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.col ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
}
.col ul li:last-child { border-bottom: none; }
.col ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

/* CTA section */
.cta-section { text-align: center; }
.cta-section h2 { margin-bottom: 8px; }
.cta-section p { color: var(--text-soft); margin-bottom: 24px; }

/* Index grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  border-top: 3px solid var(--accent);
}
.card:hover {
  text-decoration: none;
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent);
}
.card-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}
.card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0 0 16px;
  flex-grow: 1;
}
.card-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg-alt);
}
.disclaimer {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.site-footer a {
  font-size: 0.92rem;
  color: var(--text-soft);
}

@media (max-width: 600px) {
  .hero { padding: 56px 24px 48px; }
  .section { padding: 48px 0; }
  body { font-size: 16px; }
}
