/*
Theme Name: Healthillusion
Theme URI: https://healthillusion.com
Author: Healthillusion Editorial & Design Team
Author URI: https://healthillusion.com
Description: Premium evidence-based wellness WordPress theme. One-Click Demo Import ready. Matches the Healthillusion Clinical Hub design with terracotta + forest green branding, SEO-optimized content, and Elementor support.
Version: 2.5.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: healthillusion
Tags: health, wellness, blog, elementor, one-click-demo-import, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --hi-terracotta: #E84C3D;
  --hi-terracotta-dark: #D43A2B;
  --hi-terracotta-soft: #FAEDE8;
  --hi-sage: #1B5E3B;
  --hi-sage-mid: #2E7D4F;
  --hi-sage-light: #E8F5EE;
  --hi-charcoal: #1A2E24;
  --hi-cream: #F7F4EF;
  --hi-cream-soft: #FBF9F6;
  --hi-gold: #D99B26;
  --hi-white: #FFFFFF;
  --hi-muted: #5A6B62;
  --hi-radius: 16px;
  --hi-radius-pill: 999px;
  --hi-shadow: 0 4px 24px rgba(26, 46, 36, 0.08);
  --hi-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--hi-font);
  background-color: var(--hi-cream-soft);
  color: var(--hi-charcoal);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--hi-charcoal);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--hi-terracotta);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--hi-terracotta-dark); }

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

/* ========== TOP BAR ========== */
.hi-topbar {
  background: var(--hi-sage);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hi-topbar-badge {
  background: rgba(255,255,255,0.15);
  padding: 2px 10px;
  border-radius: var(--hi-radius-pill);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.hi-topbar-text { opacity: 0.95; }

/* ========== HEADER ========== */
.hi-header {
  background: var(--hi-white);
  border-bottom: 1px solid rgba(26,46,36,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(26,46,36,0.04);
}
.hi-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hi-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: inherit;
}
.hi-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
}
.hi-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.hi-logo-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--hi-sage);
  letter-spacing: -0.02em;
}
.hi-logo-accent { color: var(--hi-terracotta); }
.hi-logo-tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hi-sage-mid);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Navigation pills */
.hi-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.hi-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--hi-radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--hi-charcoal);
  background: transparent;
  transition: all 0.2s ease;
}
.hi-nav a:hover,
.hi-nav .current-menu-item > a,
.hi-nav .current_page_item > a {
  background: var(--hi-sage);
  color: #fff !important;
}
.hi-nav .menu-item-home > a,
.hi-nav li:first-child > a {
  background: var(--hi-sage);
  color: #fff !important;
}

/* ========== HERO (front page) ========== */
.hi-hero {
  background: linear-gradient(180deg, #F5F0E8 0%, var(--hi-cream-soft) 100%);
  padding: 64px 24px 80px;
  text-align: center;
}
.hi-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27,94,59,0.08);
  color: var(--hi-sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: var(--hi-radius-pill);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hi-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  color: var(--hi-charcoal);
  max-width: 820px;
  margin: 0 auto 20px;
  letter-spacing: -0.03em;
}
.hi-hero h1 .hi-accent { color: var(--hi-sage); }
.hi-hero-sub {
  font-size: 18px;
  color: var(--hi-muted);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hi-search-wrap {
  max-width: 560px;
  margin: 0 auto 28px;
  display: flex;
  background: var(--hi-white);
  border-radius: var(--hi-radius-pill);
  box-shadow: var(--hi-shadow);
  overflow: hidden;
  border: 1px solid rgba(26,46,36,0.06);
}
.hi-search-wrap input[type="search"] {
  flex: 1;
  border: none;
  padding: 16px 24px;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
  outline: none;
  color: var(--hi-charcoal);
}
.hi-search-wrap button {
  background: var(--hi-sage);
  color: #fff;
  border: none;
  padding: 0 28px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 0 var(--hi-radius-pill) var(--hi-radius-pill) 0;
  transition: background 0.2s;
}
.hi-search-wrap button:hover { background: var(--hi-sage-mid); }

.hi-popular-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--hi-muted);
}
.hi-popular-topics span { font-weight: 600; margin-right: 4px; }
.hi-topic-chip {
  display: inline-block;
  padding: 6px 14px;
  background: var(--hi-white);
  border: 1px solid rgba(26,46,36,0.1);
  border-radius: var(--hi-radius-pill);
  color: var(--hi-charcoal);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}
.hi-topic-chip:hover {
  background: var(--hi-sage);
  color: #fff;
  border-color: var(--hi-sage);
}

/* ========== FEATURE CARDS ========== */
.hi-features {
  max-width: 1200px;
  margin: -40px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}
.hi-feature-card {
  background: var(--hi-white);
  border-radius: var(--hi-radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--hi-shadow);
  border: 1px solid rgba(26,46,36,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hi-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,46,36,0.12);
}
.hi-feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.hi-feature-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.hi-feature-card p {
  font-size: 13px;
  color: var(--hi-muted);
  margin: 0;
  line-height: 1.5;
}

/* ========== ARTICLE GRID ========== */
.hi-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.hi-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.hi-section-header h2 {
  font-size: 28px;
  margin: 0;
}
.hi-section-header p {
  color: var(--hi-muted);
  margin: 4px 0 0;
  font-size: 15px;
}

.healthillusion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.hi-card {
  background: var(--hi-white);
  border-radius: var(--hi-radius);
  overflow: hidden;
  box-shadow: var(--hi-shadow);
  border: 1px solid rgba(26,46,36,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.hi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,46,36,0.12);
}
.hi-card-thumb {
  aspect-ratio: 16/10;
  background: var(--hi-sage-light);
  object-fit: cover;
  width: 100%;
}
.hi-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.hi-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hi-sage);
  margin-bottom: 8px;
}
.hi-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
}
.hi-card-title a { color: var(--hi-charcoal); }
.hi-card-title a:hover { color: var(--hi-terracotta); }
.hi-card-excerpt {
  font-size: 14px;
  color: var(--hi-muted);
  margin: 0 0 16px;
  flex: 1;
  line-height: 1.55;
}
.hi-card-meta {
  font-size: 12px;
  color: var(--hi-muted);
  display: flex;
  gap: 12px;
}

/* ========== FOOTER ========== */
.hi-footer {
  background: var(--hi-charcoal);
  color: #C8D4CC;
  padding: 64px 0 28px;
  margin-top: 40px;
}
.hi-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.hi-footer .hi-logo-name { color: #fff; }
.hi-footer .hi-logo-tagline { color: #8FA89A; }
.hi-footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
  color: #A3B4AA;
}
.hi-footer-heading {
  color: #FAEDE8;
  font-size: 15px;
  margin: 0 0 16px;
  font-weight: 700;
}
.hi-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hi-footer-links li { margin-bottom: 10px; }
.hi-footer-links a {
  color: #A3B4AA;
  font-size: 14px;
}
.hi-footer-links a:hover { color: var(--hi-terracotta); }
.hi-footer-disclaimer {
  font-size: 13px;
  line-height: 1.55;
  color: #85968C;
  margin: 0;
}
.hi-footer-bottom {
  border-top: 1px solid #2E3E35;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #85968C;
}

/* Floating assistant button (visual match) */
.hi-assistant-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--hi-sage);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--hi-radius-pill);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(27,94,59,0.35);
  z-index: 90;
  text-decoration: none !important;
  color: #fff !important;
}
.hi-assistant-fab:hover { background: var(--hi-sage-mid); color: #fff !important; }

/* Single post */
.single .site-main,
.page .site-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.single .entry-title { font-size: 36px; margin-bottom: 16px; }
.single .entry-content { font-size: 17px; line-height: 1.75; }
.single .entry-content h2 { margin-top: 2em; }

/* Responsive */
@media (max-width: 900px) {
  .hi-footer-grid { grid-template-columns: 1fr 1fr; }
  .hi-nav { display: none; } /* simple mobile: hide full nav for now */
  .hi-header-inner { justify-content: center; }
}
@media (max-width: 600px) {
  .hi-footer-grid { grid-template-columns: 1fr; }
  .hi-hero { padding: 40px 16px 60px; }
  .hi-features { margin-top: -24px; }
}

/* FAB responsive */
@media (max-width: 600px) {
  .hi-assistant-fab .hi-fab-label { display: none; }
  .hi-assistant-fab {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

/* ========== SIDE CHAT WIDGET (compact floating panel) ========== */
.hi-chat-backdrop {
  display: none !important;
}

.hi-chat-panel {
  position: fixed;
  right: 20px;
  bottom: 92px;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 120px));
  background: #FAF7F2;
  border-radius: 18px;
  border: 1px solid #EAE3D7;
  box-shadow: 0 16px 48px rgba(28, 38, 33, 0.22);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hi-chat-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.hi-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #2E5A44;
  color: #fff;
  flex-shrink: 0;
}
.hi-chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hi-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.hi-chat-header strong {
  display: block;
  font-size: 14px;
  color: #fff;
  line-height: 1.2;
}
.hi-chat-header small {
  display: block;
  font-size: 11px;
  opacity: 0.9;
  color: #E8F5EE;
}
.hi-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hi-chat-close,
.hi-chat-reset-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}
.hi-chat-close:hover,
.hi-chat-reset-btn:hover { background: rgba(255,255,255,0.12); }

.hi-chat-panel .hi-chat-notice {
  background: #FBF3D9;
  color: #6B5A2A;
  font-size: 11px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #F0E4B8;
  flex-shrink: 0;
}

.hi-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #FAF7F2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.hi-chat-panel .hi-chat-msg { display: flex; }
.hi-chat-panel .hi-chat-msg--user { justify-content: flex-end; }
.hi-chat-panel .hi-chat-msg--bot { justify-content: flex-start; }
.hi-chat-panel .hi-chat-bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}
.hi-chat-panel .hi-chat-msg--bot .hi-chat-bubble {
  background: #fff;
  border: 1px solid #EAE3D7;
  color: #1C2621;
  border-top-left-radius: 4px;
}
.hi-chat-panel .hi-chat-msg--user .hi-chat-bubble {
  background: #2E5A44;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.hi-chat-chips,
.hi-chat-panel .hi-chat-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid #EAE3D7;
  background: #fff;
  overflow-x: auto;
  flex-shrink: 0;
}
.hi-chat-panel .hi-chat-chip {
  border: 1px solid #EAE3D7;
  background: #E8F5EE;
  color: #2E5A44;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}
.hi-chat-panel .hi-chat-chip:hover { background: #2E5A44; color: #fff; border-color: #2E5A44; }

.hi-chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid #EAE3D7;
  background: #fff;
  flex-shrink: 0;
}
.hi-chat-form input {
  flex: 1;
  border: 1px solid #EAE3D7;
  background: #F7F4EF;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  min-width: 0;
}
.hi-chat-form input:focus { border-color: #2E5A44; background: #fff; }
.hi-chat-form button {
  background: #2E5A44;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.hi-chat-form button:hover { background: #1C3B2C; }

button.hi-assistant-fab {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 480px) {
  .hi-chat-panel {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: 80px;
    height: min(70vh, 520px);
  }
}

/* ========== FULL PAGE CHAT (/chat) ========== */
.hi-chat-page {
  min-height: calc(100vh - 160px);
  background: #F5F1EB;
  padding: 32px 16px 48px;
}
.hi-chat-page-inner {
  max-width: 820px;
  margin: 0 auto;
}
.hi-chat-card {
  background: #FAF7F2;
  border-radius: 20px;
  border: 1px solid #EAE3D7;
  box-shadow: 0 12px 40px rgba(28, 38, 33, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 640px;
}
.hi-chat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #2E5A44;
  color: #fff;
}
.hi-chat-card-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hi-chat-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.hi-chat-card-title {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.hi-chat-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E06D53;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(224, 109, 83, 0.35);
}
.hi-chat-card-sub {
  font-size: 12px;
  opacity: 0.9;
  color: #E8F5EE;
}
.hi-chat-reset {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  line-height: 1;
}
.hi-chat-reset:hover { background: rgba(255,255,255,0.12); }

.hi-chat-notice {
  background: #FBF3D9;
  color: #6B5A2A;
  font-size: 13px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #F0E4B8;
}

.hi-chat-page-messages {
  flex: 1;
  padding: 24px 20px;
  overflow-y: auto;
  min-height: 320px;
  max-height: 48vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hi-chat-page .hi-chat-msg--bot {
  align-items: flex-start;
  gap: 10px;
}
.hi-chat-bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2E5A44;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.hi-chat-bubble-wrap { max-width: 90%; }
.hi-chat-page .hi-chat-msg--bot .hi-chat-bubble {
  background: #fff;
  border: 1px solid #EAE3D7;
  border-radius: 14px;
  border-top-left-radius: 4px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.55;
  color: #1C2621;
}
.hi-chat-page .hi-chat-msg--user {
  justify-content: flex-end;
}
.hi-chat-page .hi-chat-msg--user .hi-chat-bubble {
  background: #2E5A44;
  color: #fff;
  border-radius: 14px;
  border-bottom-right-radius: 4px;
  padding: 12px 16px;
  font-size: 15px;
  max-width: 85%;
}
.hi-chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  font-size: 11px;
  color: #8A9A90;
  flex-wrap: wrap;
}

.hi-chat-try {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  border-top: 1px solid #EAE3D7;
  background: #fff;
}
.hi-chat-try-label {
  font-size: 12px;
  font-weight: 700;
  color: #5A6B62;
  white-space: nowrap;
}
.hi-chat-page .hi-chat-chip {
  white-space: nowrap;
  flex-shrink: 0;
}

.hi-chat-page-form {
  display: flex;
  gap: 10px;
  padding: 14px 16px 18px;
  background: #fff;
  border-top: 1px solid #EAE3D7;
}
.hi-chat-page-form input {
  flex: 1;
  border: 1px solid #EAE3D7;
  background: #F7F4EF;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.hi-chat-page-form input:focus {
  border-color: #2E5A44;
  background: #fff;
}
.hi-chat-page-form button {
  background: #2E5A44;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
}
.hi-chat-page-form button:hover { background: #1C3B2C; }

@media (max-width: 600px) {
  .hi-chat-page { padding: 12px 8px 32px; }
  .hi-chat-card { min-height: calc(100vh - 140px); border-radius: 14px; }
  .hi-chat-page-messages { max-height: none; flex: 1; }
}

/* Hero CTAs */
.hi-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.hi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.hi-btn-primary {
  background: #2E5A44;
  color: #fff !important;
}
.hi-btn-primary:hover { background: #1C3B2C; color: #fff !important; }
.hi-btn-ghost {
  background: #fff;
  color: #2E5A44 !important;
  border-color: #2E5A44;
}
.hi-btn-ghost:hover { background: #E8F5EE; }
.hi-btn-accent {
  background: #E06D53;
  color: #fff !important;
}
.hi-btn-accent:hover { background: #D43A2B; color: #fff !important; }

.hi-feature-card {
  text-decoration: none !important;
  color: inherit;
}
.hi-section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #E06D53;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.hi-section-header-center {
  text-align: center;
  justify-content: center;
}
.hi-section-header-center .hi-section-lead {
  max-width: 560px;
  margin: 10px auto 0;
  color: #5A6B62;
}
.hi-link-all {
  font-weight: 600;
  font-size: 14px;
  color: #2E5A44;
}
.hi-section-cta {
  text-align: center;
  margin-top: 32px;
}

/* Myth cards */
.hi-myths-section { background: #F3EFE8; border-radius: 0; }
.hi-myth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.hi-myth-card {
  background: #fff;
  border: 1px solid #EAE3D7;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(28,38,33,0.05);
}
.hi-myth-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2E5A44;
  background: #E8F5EE;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.hi-myth-claim {
  background: #FAEDE8;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.hi-myth-claim strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #E06D53;
  margin-bottom: 4px;
}
.hi-myth-claim p,
.hi-myth-reality p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #1C2621;
}
.hi-myth-reality {
  background: #E8F5EE;
  border-radius: 12px;
  padding: 12px 14px;
}
.hi-myth-reality strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #2E5A44;
  margin-bottom: 4px;
}

/* Gut score */
.hi-gut-section { padding-top: 20px; }
.hi-gut-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #EAE3D7;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 8px 32px rgba(28,38,33,0.08);
  text-align: center;
}
.hi-gut-card h2 { margin-bottom: 10px; }
.hi-gut-form {
  text-align: left;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hi-gut-q span {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: #1C2621;
}
.hi-gut-q select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #EAE3D7;
  font-family: inherit;
  font-size: 14px;
  background: #FAF7F2;
}
.hi-gut-form .hi-btn { align-self: center; margin-top: 8px; min-width: 200px; }
.hi-gut-result {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #EAE3D7;
}
.hi-gut-score-num {
  font-size: 48px;
  font-weight: 800;
  color: #2E5A44;
  line-height: 1;
}
.hi-gut-score-num small {
  font-size: 20px;
  color: #5A6B62;
  font-weight: 600;
}
.hi-gut-result p {
  color: #5A6B62;
  max-width: 480px;
  margin: 12px auto 20px;
}

/* Chat page music bar (full page only) */
.hi-chat-music-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #EAE3D7;
  border-radius: 12px;
}
.hi-chat-music-bar small {
  color: #5A6B62;
  font-size: 12px;
}
.hi-music-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #2E5A44;
  background: #E8F5EE;
  color: #2E5A44;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.hi-music-toggle.is-on {
  background: #2E5A44;
  color: #fff;
}
.hi-music-icon { font-size: 16px; }
