:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface-subtle: #f3f1ea;
  --text: #1c1c1a;
  --text-muted: #6a6a64;
  --text-dim: #9a9a92;
  --border: #e2dfd4;
  --border-strong: #c9c6ba;
  --accent: #2d5f3f;

  --ayurveda: #534ab7;
  --ayurveda-soft: #eeedfe;
  --herbalism: #3b6d11;
  --herbalism-soft: #eaf3de;
  --yoga: #0f6e56;
  --yoga-soft: #e1f5ee;
  --breathwork: #185fa5;
  --breathwork-soft: #e6f1fb;

  --warning: #854f0b;
  --warning-bg: #faeeda;
  --warning-border: #f0d089;

  --radius: 10px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(45, 95, 63, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}

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

h1, h2, h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--text);
}

em {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 1.02em;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Site header ===== */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.logo {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.015em;
}

.site-nav { display: flex; gap: 28px; }
.site-nav a { font-size: 15px; color: var(--text-muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }

/* ===== Demo banner ===== */

.demo-banner {
  background: var(--warning-bg);
  border-bottom: 1px solid var(--warning-border);
  color: var(--warning);
  padding: 8px 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.demo-banner strong {
  font-weight: 600;
}

/* ===== Breadcrumb ===== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 32px;
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { color: var(--text-dim); }

/* ===== Condition header ===== */

.condition-header {
  margin-bottom: 48px;
  max-width: 720px;
}

.condition-header h1 {
  font-size: 44px;
  line-height: 1.05;
  margin-bottom: 8px;
}

.also-known-as {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
}

.description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--surface-subtle);
  color: var(--text-muted);
}

.tag-dosha { background: var(--ayurveda-soft); color: var(--ayurveda); }

/* ===== Prelude blocks ===== */

.prelude-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.prelude-block { min-width: 0; }

.section-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}

.bullet-list { list-style: none; }

.bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline { list-style: none; }

.timeline li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 15px;
}

.timeline .day {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 70px;
  flex-shrink: 0;
}

.timeline .event { line-height: 1.5; }

/* ===== Results grid ===== */

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.column-title {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 24px;
}

/* ===== Modality sections ===== */

.modality { margin-bottom: 36px; }
.modality:last-child { margin-bottom: 0; }

.modality-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.modality-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.modality-name {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.modality-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.modality[data-modality="ayurveda"] .modality-dot { background: var(--ayurveda); }
.modality[data-modality="ayurveda"] .modality-name { color: var(--ayurveda); }

.modality[data-modality="herbalism"] .modality-dot { background: var(--herbalism); }
.modality[data-modality="herbalism"] .modality-name { color: var(--herbalism); }

.modality[data-modality="yoga"] .modality-dot { background: var(--yoga); }
.modality[data-modality="yoga"] .modality-name { color: var(--yoga); }

.modality[data-modality="breathwork"] .modality-dot { background: var(--breathwork); }
.modality[data-modality="breathwork"] .modality-name { color: var(--breathwork); }

/* ===== Product cards ===== */

.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: border-color 0.15s;
}

.product:hover { border-color: var(--border-strong); }

.product.top-pick {
  border-width: 2px;
  padding: 17px 19px;
}

.modality[data-modality="ayurveda"] .product.top-pick { border-color: var(--ayurveda); }
.modality[data-modality="herbalism"] .product.top-pick { border-color: var(--herbalism); }

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.product-header h3 {
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.product-header .qualifier {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  font-style: italic;
}

.product-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.modality[data-modality="ayurveda"] .pill-top {
  background: var(--ayurveda-soft);
  color: var(--ayurveda);
}

.modality[data-modality="herbalism"] .pill-top {
  background: var(--herbalism-soft);
  color: var(--herbalism);
}

/* ===== Reviews ===== */

.reviews {
  margin-bottom: 14px;
}

.review {
  background: var(--surface-subtle);
  border-radius: var(--radius);
  padding: 11px 14px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
  border-left: 2px solid transparent;
  transition: border-left-color 0.15s;
}

.review:last-child { margin-bottom: 0; }

.modality[data-modality="ayurveda"] .review { border-left-color: var(--ayurveda-soft); }
.modality[data-modality="herbalism"] .review { border-left-color: var(--herbalism-soft); }

.review p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 4px;
}

.review cite {
  display: block;
  font-size: 11px;
  font-style: normal;
  color: var(--text-muted);
  font-weight: 500;
}

.more-reviews {
  margin-top: 8px;
}

.more-reviews summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.more-reviews summary::-webkit-details-marker { display: none; }

.more-reviews summary::before {
  content: '+';
  font-size: 14px;
  font-weight: 400;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: all 0.15s;
}

.more-reviews[open] summary::before { content: '−'; }

.more-reviews summary:hover { color: var(--text); }

.more-reviews summary:hover::before {
  border-color: var(--text);
  color: var(--text);
}

.more-reviews[open] > .review { margin-top: 8px; }

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.price {
  font-size: 17px;
  font-weight: 500;
  font-family: 'Newsreader', Georgia, serif;
}

.cta-row { display: flex; gap: 8px; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: var(--bg);
  transition: all 0.15s;
}

.cta:hover { border-color: var(--text); background: var(--surface-subtle); }
.cta .arrow { font-size: 11px; opacity: 0.6; }

/* ===== Yoga practices with pose illustrations ===== */

.practices { list-style: none; }

.practices-yoga li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.practices-yoga li:last-child { border-bottom: none; padding-bottom: 4px; }
.practices-yoga li:first-child { padding-top: 4px; }

.pose-illustration {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--yoga-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yoga);
  padding: 8px;
}

.pose-illustration svg {
  width: 100%;
  height: 100%;
}

.practice-text {
  flex: 1;
  min-width: 0;
}

.practice-text h3 {
  font-size: 17px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.practice-text .english {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  font-style: italic;
  margin-left: 4px;
}

.practice-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Breathwork practices with video links ===== */

.practices-breath li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.practices-breath li:last-child { border-bottom: none; padding-bottom: 4px; }
.practices-breath li:first-child { padding-top: 4px; }

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: var(--bg);
  transition: all 0.15s;
}

.modality[data-modality="yoga"] .video-link:hover {
  border-color: var(--yoga);
  background: var(--yoga-soft);
  color: var(--yoga);
}

.modality[data-modality="breathwork"] .video-link:hover {
  border-color: var(--breathwork);
  background: var(--breathwork-soft);
  color: var(--breathwork);
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
}

.modality[data-modality="yoga"] .play-icon { background: var(--yoga); }
.modality[data-modality="breathwork"] .play-icon { background: var(--breathwork); }

.play-icon svg {
  width: 10px;
  height: 10px;
}

/* ===== Doctor callout ===== */

.doctor-callout {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 48px;
}

.callout-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warning);
  margin-bottom: 8px;
}

.doctor-callout p:last-child {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

/* ===== Related conditions ===== */

.related { margin-bottom: 64px; }
.related .section-label { color: var(--text-muted); margin-bottom: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-subtle);
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s;
}

.chip:hover { background: var(--border); }

/* ===== Site footer ===== */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-subtle);
  padding: 32px 0;
  margin-top: 32px;
}

.site-footer p {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

.site-footer a { color: var(--text-muted); }

.site-footer .footer-meta {
  margin-top: 6px;
  color: var(--text-dim);
}

/* ===== Modality overview (cross-tradition framing) ===== */

.modality-overview {
  margin-bottom: 56px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.modality-overview .section-label {
  margin-bottom: 22px;
  color: var(--accent);
}

.modality-perspectives {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.perspective {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.perspective-marker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.perspective-marker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.perspective-marker .label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.perspective[data-modality="ayurveda"] .dot { background: var(--ayurveda); }
.perspective[data-modality="ayurveda"] .label { color: var(--ayurveda); }
.perspective[data-modality="herbalism"] .dot { background: var(--herbalism); }
.perspective[data-modality="herbalism"] .label { color: var(--herbalism); }
.perspective[data-modality="yoga"] .dot { background: var(--yoga); }
.perspective[data-modality="yoga"] .label { color: var(--yoga); }
.perspective[data-modality="breathwork"] .dot { background: var(--breathwork); }
.perspective[data-modality="breathwork"] .label { color: var(--breathwork); }

.perspective p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

.synthesis {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

.synthesis-label {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  margin-right: 4px;
}

/* ===== Editorial pair: decision aid + skip list ===== */

.editorial-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.decision-aid,
.skip-list {
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.decision-aid .section-label,
.skip-list .section-label {
  margin-bottom: 18px;
  color: var(--accent);
}

.scenarios,
.skip-items {
  list-style: none;
}

.scenario {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.scenario:first-child {
  padding-top: 0;
  border-top: none;
}

.scenario:last-child {
  padding-bottom: 4px;
}

.scenario-case {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.3;
}

.scenario-action {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  margin: 0;
}

.skip-items li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

.skip-items li:first-child {
  padding-top: 0;
  border-top: none;
}

.skip-items li:last-child {
  padding-bottom: 4px;
}

.skip-item {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.3;
  position: relative;
  padding-left: 22px;
}

.skip-item::before {
  content: '×';
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--text-dim);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
}

.skip-reason {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  padding-left: 22px;
  margin: 0;
}

/* ===== Responsive ===== */

@media (min-width: 720px) {
  .prelude-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 32px 36px;
  }

  .modality-perspectives {
    grid-template-columns: 1fr 1fr;
    gap: 24px 36px;
  }

  .learning-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (min-width: 920px) {
  .results-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .editorial-pair {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .condition-header h1 { font-size: 52px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }

  .condition-header h1 { font-size: 34px; }
  .description { font-size: 16px; }

  .header-inner { padding-top: 18px; padding-bottom: 18px; }
  .logo { font-size: 22px; }

  .product-footer { flex-direction: column; align-items: flex-start; }

  .practices-yoga li { gap: 12px; }
  .pose-illustration { width: 60px; height: 60px; }
}

/* =====================================
   VISION DOCUMENT
   ===================================== */

.vision-page {
  background: var(--bg);
}

.vision-header {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.vision-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vision-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.02em;
}

.vision-article {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.vision-intro {
  padding-top: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.vision-eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 18px;
}

.vision-intro h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--text);
}

.vision-deck {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 580px;
}

.vision-article .lede {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 400;
}

.vision-article .lede::first-letter {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 64px;
  font-weight: 500;
  float: left;
  line-height: 0.95;
  margin-right: 12px;
  margin-top: 4px;
  color: var(--accent);
}

.vision-article > p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
}

.vision-section {
  margin-top: 56px;
  margin-bottom: 56px;
}

.vision-section h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 20px;
}

.vision-section p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

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

.vision-section strong {
  font-weight: 600;
  color: var(--text);
}

.placeholder {
  background: rgba(45, 95, 63, 0.08);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95em;
  font-weight: 500;
}

/* ===== Three-layer diagram ===== */

.layers-diagram {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0 36px;
}

.layer {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}

.layer-num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  width: 36px;
  flex-shrink: 0;
}

.layer-body {
  flex: 1;
  min-width: 0;
}

.layer-body h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 4px;
  color: var(--text);
}

.layer-business {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}

.layer-detail {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Phases grid ===== */

.phases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0 36px;
}

.phase {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.phase-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.phase-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
}

.phase-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phase-details li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.phase-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== Founder + risk blocks ===== */

.founder-block,
.risk-block {
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.founder-name,
.risk-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.risk-name {
  color: var(--accent);
}

.founder-block p:last-child,
.risk-block p:last-child {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.risk-block p:last-child {
  color: var(--text-muted);
}

/* ===== Close ===== */

.vision-close {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  padding-bottom: 80px;
}

.signature {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  margin-top: 24px !important;
}

/* ===== Footer ===== */

.vision-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-subtle);
  padding: 24px 0;
}

.vision-footer p {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* ===== TAM/SAM grid ===== */

.tam-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 20px 0 32px;
}

.tam-block {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.tam-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.tam-line {
  margin-bottom: 16px;
}

.tam-line:last-child {
  margin-bottom: 0;
}

.tam-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px !important;
}

.tam-value {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
  margin-left: 8px;
}

.tam-detail {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

/* ===== Practitioner breakdown sidebar ===== */

.breakdown {
  margin-top: 36px;
  padding: 28px 30px;
  background: var(--surface-subtle, var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}

.breakdown-label {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px !important;
}

.breakdown-intro {
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--text-muted) !important;
  margin-bottom: 24px !important;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.breakdown-subheader {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 4px !important;
  line-height: 1.3;
}

.breakdown-subheader-second {
  margin-top: 24px !important;
}

.breakdown-note {
  font-size: 13px !important;
  font-style: italic;
  color: var(--text-muted) !important;
  margin-bottom: 12px !important;
}

.breakdown-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.breakdown-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  gap: 16px;
}

.breakdown-list li:first-child {
  border-top: none;
  padding-top: 4px;
}

.breakdown-list .count {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.breakdown-total {
  font-size: 13px !important;
  font-style: italic;
  color: var(--text-muted) !important;
  margin: 8px 0 0 !important;
}

/* ===== Vision page responsive ===== */

@media (min-width: 720px) {
  .phases-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .tam-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .vision-intro { padding-top: 56px; padding-bottom: 36px; margin-bottom: 36px; }
  .vision-intro h1 { font-size: 38px; }
  .vision-deck { font-size: 17px; }
  .vision-article .lede { font-size: 17px; }
  .vision-article .lede::first-letter { font-size: 52px; }
  .vision-section h2 { font-size: 26px; }
  .vision-section { margin-top: 44px; margin-bottom: 44px; }
  .layer { flex-direction: column; gap: 10px; padding: 18px 20px; }
  .layer-num { font-size: 24px; width: auto; }
  .breakdown { padding: 22px 20px; }
  .tam-block { padding: 18px 20px; }
  .tam-value { font-size: 20px; }
}

/* ===== Western herbalism deep-dive page ===== */

.approach-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  background: var(--surface);
}

.approach-label[data-modality="herbalism"] {
  color: var(--herbalism);
  border-color: rgba(93, 124, 71, 0.3);
  background: rgba(93, 124, 71, 0.05);
}

.herbalist-frame {
  margin-bottom: 56px;
  padding: 32px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--herbalism);
  border-radius: var(--radius-lg);
}

.herbalist-frame .section-label {
  margin-bottom: 18px;
  color: var(--herbalism);
}

.herbalist-frame p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

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

.herbalist-frame strong {
  font-weight: 600;
  color: var(--herbalism);
}

.section-header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.section-header .section-label {
  margin-bottom: 4px;
}

.section-header h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
}

.remedy-block {
  margin-bottom: 36px;
  padding: 32px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.remedy-block.remedy-top {
  border-left: 3px solid var(--herbalism);
  background: rgba(93, 124, 71, 0.025);
}

.remedy-header {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.remedy-rank {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--herbalism);
  margin-bottom: 8px;
}

.remedy-header h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 4px;
}

.remedy-meta {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
}

.remedy-lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 400;
}

.remedy-block p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 16px;
}

.remedy-block strong {
  font-weight: 600;
}

.how-to {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--bg);
  border-left: 2px solid var(--herbalism);
  border-radius: var(--radius);
}

.how-to-label {
  font-size: 11px !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--herbalism);
  margin-bottom: 6px !important;
}

.how-to p:not(.how-to-label) {
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.brand-label {
  font-size: 11px !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 20px !important;
  margin-bottom: 12px !important;
}

.brand-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.brand-list > li {
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.brand-list > li:first-child {
  padding-top: 6px;
  border-top: none;
}

.brand-list > li:last-child {
  padding-bottom: 0;
}

.brand-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16px !important;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 4px !important;
  line-height: 1.3;
}

.brand-detail {
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

.diy-section {
  margin-top: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.diy-section summary {
  padding: 14px 20px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--herbalism);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.diy-section summary::-webkit-details-marker { display: none; }

.diy-section summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--herbalism);
  transition: transform 0.2s ease;
}

.diy-section[open] summary::after {
  content: '−';
}

.diy-content {
  padding: 0 20px 20px;
  border-top: 1px solid var(--border);
}

.diy-content p {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--text) !important;
  margin: 16px 0 !important;
}

.diy-content > p:first-child {
  margin-top: 18px !important;
}

.recipe-label {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 15px !important;
  font-weight: 500;
  font-style: italic;
  color: var(--herbalism) !important;
  margin: 18px 0 8px !important;
}

.recipe-list {
  padding-left: 22px;
  margin-bottom: 16px;
}

.recipe-list li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 8px;
}

.recipe-note {
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: var(--text-muted) !important;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--radius);
  margin-top: 12px !important;
}

.recipe-note strong {
  color: var(--herbalism);
}

.further-learning {
  margin-top: 56px;
  margin-bottom: 48px;
  padding: 32px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.further-learning .section-label {
  margin-bottom: 12px;
  color: var(--herbalism);
}

.further-learning > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.learning-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.learning-block {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.learning-type {
  font-size: 11px !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--herbalism);
  margin-bottom: 12px !important;
}

.learning-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.learning-block li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}

.learning-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--herbalism);
}

.page-credit {
  margin-top: 40px;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border-left: 2px solid var(--herbalism);
}

.credit-line {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.credit-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

/* Product cards nested inside remedy-block need a different bg to differentiate */
.remedy-block .buy-options { margin-bottom: 0; }
.remedy-block .product { background: var(--bg); }
.remedy-block .product.top-pick { background: var(--bg); }

/* =====================================
   LANDING PAGE
   ===================================== */

.landing { padding: 0; }

/* ===== Hero ===== */

.hero {
  padding: 64px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 720px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 24px;
}

.hero-eyebrow[data-modality="herbalism"] {
  color: var(--herbalism);
  border-color: rgba(93, 124, 71, 0.3);
  background: rgba(93, 124, 71, 0.06);
}

.hero h1, .hero-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
}

.search-prompt {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.search-wrapper {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  padding: 0 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(45, 95, 63, 0.08);
}

.search-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

#search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 18px 14px;
  font-family: inherit;
  font-size: 17px;
  color: var(--text);
  min-width: 0;
}

#search-input::placeholder {
  color: var(--text-dim);
  font-style: italic;
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  z-index: 10;
  overflow: hidden;
  text-align: left;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.1s;
}

.result-item:last-child { border-bottom: none; }
.result-item:hover { background: var(--surface-subtle); }

.result-item.result-disabled {
  cursor: default;
  opacity: 0.55;
}

.result-item.result-disabled:hover { background: var(--surface); }

.result-text { min-width: 0; }

.result-name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}

.result-region {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.result-status {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.result-status-available {
  background: rgba(45, 95, 63, 0.08);
  color: var(--accent);
}

.result-empty {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.search-hint {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

.hint-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(45, 95, 63, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}

.hint-link:hover { text-decoration-color: var(--accent); }

/* ===== Regions ===== */

.regions {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.regions .section-label {
  text-align: center;
  margin-bottom: 28px;
  color: var(--text-muted);
}

.region-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.region-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.15s ease;
}

.region-tile:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.region-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface-subtle);
  color: var(--accent);
}

.region-icon svg {
  width: 22px;
  height: 22px;
}

.region-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.region-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
}

.region-count {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== How it works ===== */

.how-it-works {
  padding: 64px 0 80px;
}

.how-it-works .section-label {
  text-align: center;
  margin-bottom: 36px;
  color: var(--text-muted);
}

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}

.hiw-block {
  padding: 0;
}

.hiw-num {
  display: inline-block;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  width: 28px;
  height: 28px;
  line-height: 27px;
  text-align: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  margin-bottom: 12px;
}

.hiw-block h3 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.hiw-block p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ===== Landing responsive ===== */

@media (min-width: 720px) {
  .region-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hiw-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

@media (min-width: 920px) {
  .hero { padding: 96px 0 100px; }
  .hero h1, .hero-headline { font-size: 52px; }

  .region-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .hero { padding: 48px 0 60px; }
  .hero h1, .hero-headline { font-size: 28px; margin-bottom: 36px; }
  .search-prompt { font-size: 14px; margin-bottom: 12px; }

  #search-input { font-size: 16px; padding: 16px 12px; }
  .search-input-wrap { padding: 0 14px; }

  .regions, .how-it-works { padding: 48px 0; }
}
