/* ═══════════════════════════════════════════════════════════════
   SCIENCE OF LIFELONG LEARNING — Main Stylesheet
   Palette: crimson red, clean white, deep red accents
═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Aurora Palette ── */
  --bg:            #0B1020;
  --card:          #1A1F2E;
  --slate:         #32405A;
  --cyan:          #4CE8FF;
  --sky:           #69B7FF;
  --periwinkle:    #8B7CFF;
  --violet:        #A66BFF;
  --pink:          #F67BC9;
  --aurora-green:  #67F5B5;
  --aurora-text:   #F5F7FA;
  --aurora-muted:  #B7C4D6;

  /* ── Legacy names mapped to Aurora ── */
  --green-neon:    #67F5B5;
  --neon-violet:   #A66BFF;
  --yellow:        #FFEA00;
  --tangerine:     #F67BC9;

  /* ── Structure & Brand ── */
  --green-deep:    #0B1020;
  --green-mid:     #8B7CFF;
  --green-soft:    #A66BFF;
  --green-pale:    rgba(139,124,255,.25);
  --green-tint:    rgba(139,124,255,.08);
  --amber:         #8B7CFF;
  --amber-light:   rgba(76,232,255,.12);
  --cream:         #F8FAFC;
  --beige:         #EEF2FF;
  --text-dark:     #0F172A;
  --text-mid:      #334155;
  --text-light:    #64748B;
  --white:         #ffffff;
  --radius:        10px;
  --radius-lg:     18px;
  --shadow:        0 2px 14px rgba(139,124,255,.09);
  --shadow-md:     0 6px 30px rgba(139,124,255,.16);
  --transition:    .2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  line-height: 1.25;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

em { color: var(--green-mid); font-style: italic; }

a { color: var(--green-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-deep); }

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

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

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--cyan);
  color: var(--text-dark);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,240,255,.35);
}
.btn-primary:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--text-dark);
  box-shadow: 0 0 36px rgba(0,240,255,.65);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--green-mid);
  border-color: var(--green-mid);
}
.btn-outline:hover {
  background: var(--green-tint);
  box-shadow: 0 0 16px rgba(68,0,204,.15);
}

.btn-sm { padding: 9px 20px; font-size: .88rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--slate);
  box-shadow: 0 4px 24px rgba(0,0,0,.45);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}
.logo:hover { color: var(--cyan); }
.logo-leaf { font-size: 1.3rem; }
.logo-img { height: 40px; width: 40px; display: block; }
.logo-text-wrap { display: flex; flex-direction: column; gap: 1px; }
.logo-name { font-family: 'Lora', serif; font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1.1; }
.logo-byline { font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 400; color: rgba(255,255,255,.7); letter-spacing: 0.02em; line-height: 1.2; }
.footer-byline { font-size: 0.72rem; color: var(--text-light); font-weight: 400; margin-top: 2px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
}
.main-nav a:hover { color: var(--cyan); }
.nav-cta {
  background: var(--cyan) !important;
  color: var(--text-dark) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .88rem !important;
  font-weight: 700 !important;
  box-shadow: 0 0 14px rgba(0,240,255,.4);
}
.nav-cta:hover {
  box-shadow: 0 0 28px rgba(0,240,255,.7) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #fff;
}

/* ── DROPDOWN NAV ───────────────────────────────────────────── */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-parent {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-chevron {
  font-size: .65rem;
  opacity: .6;
  transition: transform var(--transition);
  display: inline-block;
}
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

.nav-chevron-btn {
  display: none; /* shown only on mobile */
  background: none;
  border: none;
  font-size: .75rem;
  color: var(--aurora-muted);
  cursor: pointer;
  padding: 2px 6px;
  margin-left: -4px;
}

.nav-dropdown {
  /* Always in DOM — opacity hides it, no gap to cross */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate);
  min-width: 230px;
  padding: 8px 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  /* Delay the *hide* by .2s so a diagonal mouse move toward the menu
     doesn't close it before you can click ("disappears before I can click"). */
  transition: opacity .18s ease .2s, transform .18s ease .2s;
  transform: translateX(-50%) translateY(6px);
}
/* Invisible bridge so moving from the label into the menu never crosses a dead gap */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--slate);
}
/* Show on hover OR .open class (set by JS) */
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;  /* show immediately; only hiding is delayed */
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--aurora-muted);
  border-left: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: rgba(139,124,255,.12);
  color: var(--aurora-text);
  border-left-color: var(--periwinkle);
  padding-left: 22px;
}

/* Wide 2-column dropdown for long lists */
.nav-dropdown-wide {
  min-width: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px;
  gap: 2px;
}
.nav-dropdown-wide a { border-radius: 6px; border-left: none; }
.nav-dropdown-wide a:hover { padding-left: 18px; }

/* ── FLASH MESSAGES ─────────────────────────────────────────── */
.flash-bar { padding: 12px 24px; }
.flash {
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: .95rem;
  max-width: 700px;
  margin: 0 auto;
}
.flash-success { background: var(--green-tint); border: 1px solid var(--green-pale); color: var(--green-deep); }
.flash-error   { background: #fff3f3; border: 1px solid #ffcdd2; color: #b71c1c; }

/* ── SECTION EYEBROW / HEADER ───────────────────────────────── */
.section-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header h2 { margin-bottom: 12px; }
.section-sub { color: var(--text-light); font-size: 1.05rem; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: var(--bg);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 70% at 15% 50%, rgba(76,232,255,.07) 0%, transparent 65%),
    radial-gradient(ellipse 55% 65% at 85% 30%, rgba(166,107,255,.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 55% at 55% 85%, rgba(246,123,201,.05) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.hero-text h1 { margin-bottom: 20px; color: #fff; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero-badge {
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.28);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: .88rem;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

/* ── ABOUT ──────────────────────────────────────────────────── */
.section-about {
  padding: 96px 0;
  background: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
.avatar-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-deep);
  font-family: 'Lora', serif;
  font-size: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--green-soft);
}
.about-image-placeholder { display: flex; justify-content: center; padding-top: 8px; }
.about-text .section-eyebrow { margin-bottom: 10px; }
.about-text h2 { margin-bottom: 18px; }
.about-text p { color: var(--text-mid); margin-bottom: 16px; font-size: 1.05rem; }
.about-text .btn { margin-top: 8px; }

/* ── CONDITIONS SECTION ─────────────────────────────────────── */
.section-conditions {
  padding: 80px 0 72px;
  background: #0D1525;
}
.conditions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
  margin-bottom: 28px;
}
.condition-chip {
  border-radius: 50px;
  padding: 10px 22px;
  font-size: .9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  box-shadow: 0 3px 10px rgba(0,0,0,.14);
  transition: all .2s ease;
  cursor: pointer;
  text-decoration: none;
}
.condition-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  filter: brightness(1.1);
}

/* Section heading text on dark background */
.section-conditions .section-header h2 { color: #fff; }
.section-conditions .section-header p   { color: rgba(255,255,255,.80); }

/* ── Aurora color cycling across condition chips ── */
.conditions-grid .condition-chip:nth-child(6n+1) { background:rgba(76,232,255,.14)   !important; color:#F5F7FA !important; border-color:rgba(76,232,255,.42)   !important; }
.conditions-grid .condition-chip:nth-child(6n+2) { background:rgba(103,245,181,.12)  !important; color:#F5F7FA !important; border-color:rgba(103,245,181,.40)  !important; }
.conditions-grid .condition-chip:nth-child(6n+3) { background:rgba(139,124,255,.15)  !important; color:#F5F7FA !important; border-color:rgba(139,124,255,.44)  !important; }
.conditions-grid .condition-chip:nth-child(6n+4) { background:rgba(105,183,255,.14)  !important; color:#F5F7FA !important; border-color:rgba(105,183,255,.42)  !important; }
.conditions-grid .condition-chip:nth-child(6n+5) { background:rgba(246,123,201,.12)  !important; color:#F5F7FA !important; border-color:rgba(246,123,201,.40)  !important; }
.conditions-grid .condition-chip:nth-child(6n+6) { background:rgba(166,107,255,.13)  !important; color:#F5F7FA !important; border-color:rgba(166,107,255,.42)  !important; }

.conditions-note { color: rgba(255,255,255,.75) !important; }
.conditions-note a { color: #F5AD29 !important; }

.chip-icon { font-size: 1rem; line-height: 1; }
.conditions-note {
  text-align: center;
  font-size: .93rem;
  color: var(--text-light);
  margin-top: 8px;
}
.conditions-note a { color: var(--green-mid); font-weight: 600; }
.conditions-note a:hover { color: var(--green-deep); }

/* ── BLOG PREVIEW ───────────────────────────────────────────── */
.section-blog {
  padding: 80px 0;
  background: var(--white);
}
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.blog-preview-card {
  background: #fff;
  border-radius: 14px; overflow: hidden;
  border: 1.5px solid rgba(109,39,242,.12);
  box-shadow: 0 2px 14px rgba(109,39,242,.07);
  transition: box-shadow .2s, transform .15s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.blog-preview-card:hover {
  box-shadow: 0 10px 36px rgba(109,39,242,.18);
  transform: translateY(-4px);
  border-color: rgba(109,39,242,.28);
}
.blog-preview-banner {
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
}
.blog-preview-body {
  padding: 20px 22px 26px;
  flex: 1; display: flex; flex-direction: column;
}
.blog-preview-tag {
  font-size: .7rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--green-mid);
  margin-bottom: 7px;
}
.blog-preview-body h3 {
  font-size: 1rem; font-weight: 700; color: #1E1B4B;
  line-height: 1.4; margin-bottom: 8px;
}
.blog-preview-body p {
  font-size: .87rem; color: #475569; line-height: 1.6; flex: 1;
}
.blog-read-more {
  display: inline-block; margin-top: 14px;
  font-size: .82rem; font-weight: 700; color: var(--green-mid);
}
.blog-preview-card:hover .blog-read-more { text-decoration: underline; }

/* ── TOPICS GRID ────────────────────────────────────────────── */
.section-topics {
  padding: 96px 0;
  background: var(--beige);
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.topic-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.topic-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.topic-card-featured {
  background: var(--green-tint);
  border: 2px solid var(--green-pale);
}
.topic-icon { font-size: 2rem; }
.topic-card h3 { color: var(--green-deep); }
.topic-card p { color: var(--text-mid); font-size: .95rem; }
.topic-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.topic-points li {
  font-size: .88rem;
  color: var(--text-light);
  padding-left: 16px;
  position: relative;
}
.topic-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green-soft);
}
.topic-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--amber);
  margin-top: auto;
}
.topic-link:hover { color: var(--green-deep); }

/* ── SIX PILLARS GRID ───────────────────────────────────────── */
.pillars-six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 48px;
}
.pillar-mini {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--cyan);
  transition: box-shadow var(--transition), transform var(--transition);
}
.pillar-mini:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pillars-six-grid .pillar-mini:nth-child(1) { border-top-color: var(--cyan); }
.pillars-six-grid .pillar-mini:nth-child(2) { border-top-color: var(--aurora-green); }
.pillars-six-grid .pillar-mini:nth-child(3) { border-top-color: var(--violet); }
.pillars-six-grid .pillar-mini:nth-child(4) { border-top-color: var(--sky); }
.pillars-six-grid .pillar-mini:nth-child(5) { border-top-color: var(--pink); }
.pillars-six-grid .pillar-mini:nth-child(6) { border-top-color: var(--periwinkle); }
.pillar-mini-icon { font-size: 1.8rem; margin-bottom: 10px; }
.pillar-mini h4 { font-size: .95rem; color: var(--green-deep); margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 700; }
.pillar-mini p  { font-size: .87rem; color: var(--text-mid); line-height: 1.55; }

/* ── HOW THEY WORK TOGETHER ─────────────────────────────────── */
.pillars-mechanism {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.mechanism-heading {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-family: 'Lora', serif;
}
.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mechanism-card { display: flex; flex-direction: column; gap: 8px; }
.mechanism-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--sky));
  color: #0B1020;
  font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
  box-shadow: 0 0 12px rgba(76,232,255,.30);
}
.mechanism-card:nth-child(2) .mechanism-num { background: linear-gradient(135deg, var(--periwinkle), var(--violet)); color: #fff; box-shadow: 0 0 12px rgba(139,124,255,.30); }
.mechanism-card:nth-child(3) .mechanism-num { background: linear-gradient(135deg, #0D8A50, var(--aurora-green)); color: #0B1020; box-shadow: 0 0 12px rgba(103,245,181,.30); }
.mechanism-card h4 { font-size: .95rem; color: var(--green-deep); font-family: 'Inter', sans-serif; font-weight: 700; }
.mechanism-card p  { font-size: .88rem; color: var(--text-mid); line-height: 1.6; }

/* ── BENEFITS STRIP ─────────────────────────────────────────── */
.benefits-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.benefit-card {
  background: linear-gradient(135deg, #111A2E 0%, #1A2540 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--slate);
}
.benefits-strip .benefit-card:nth-child(2) { background: linear-gradient(135deg, #0D1B22 0%, #132535 100%); }
.benefits-strip .benefit-card:nth-child(3) { background: linear-gradient(135deg, #150F2A 0%, #1E153A 100%); }
.benefit-icon { font-size: 1.8rem; }
.benefit-card h4 { font-size: .95rem; font-weight: 700; color: var(--white); font-family: 'Inter', sans-serif; }
.benefit-card p  { font-size: .87rem; color: rgba(255,255,255,.82); line-height: 1.55; }

/* ── RESPONSIVE: PILLARS ────────────────────────────────────── */
@media (max-width: 900px) {
  .pillars-six-grid { grid-template-columns: repeat(2, 1fr); }
  .mechanism-grid   { grid-template-columns: 1fr; gap: 20px; }
  .benefits-strip   { grid-template-columns: 1fr; }
  .pillars-mechanism { padding: 28px 24px; }
}
@media (max-width: 640px) {
  .pillars-six-grid { grid-template-columns: 1fr; }
}

/* ── CHECKLIST PREVIEW ──────────────────────────────────────── */
.section-checklist-preview {
  padding: 96px 0;
  background: #0D1220;
  color: var(--white);
  position: relative;
}
.section-checklist-preview::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(139,124,255,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 60%, rgba(76,232,255,.05) 0%, transparent 55%);
  pointer-events: none;
}
.checklist-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.checklist-text .section-eyebrow { color: var(--amber-light); }
.checklist-text h2 { color: var(--white); margin-bottom: 16px; }
.checklist-text p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 1.05rem; }
.checklist-parts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.checklist-part {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: rgba(255,255,255,.9);
}
.part-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.part-green .part-dot  { background: #5cb85c; }
.part-yellow .part-dot { background: #f0ad4e; }
.part-red .part-dot    { background: #d9534f; }

.checklist-card-mock {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-size: .9rem;
}
.mock-header {
  padding: 10px 18px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--white);
}
.mock-green  { background: #4caf50; }
.mock-yellow { background: #ff9800; }
.mock-red    { background: #f44336; }
.mock-item {
  padding: 9px 18px;
  border-bottom: 1px solid var(--beige);
  color: var(--text-mid);
}
.mock-item:last-child { border-bottom: none; }

/* ── RESOURCES ──────────────────────────────────────────────── */
.section-resources {
  padding: 96px 0;
  background: var(--cream);
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.resource-category {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
}
.resource-cat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-pale);
}
.resource-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.resource-list li { }
.resource-list a {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.4;
  display: block;
  padding: 4px 0 4px 14px;
  position: relative;
  border-left: 2px solid transparent;
  transition: all var(--transition);
}
.resource-list a::before {
  content: "→";
  position: absolute;
  left: -2px;
  font-size: .75rem;
  color: var(--green-soft);
}
.resource-list a:hover {
  color: var(--green-deep);
  border-left-color: var(--green-soft);
  padding-left: 18px;
}

/* ── CONTACT ────────────────────────────────────────────────── */
.section-contact {
  padding: 96px 0;
  background: var(--beige);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-text .section-eyebrow { margin-bottom: 10px; }
.contact-text h2 { margin-bottom: 16px; }
.contact-text p { color: var(--text-mid); margin-bottom: 12px; font-size: 1.02rem; }
.contact-assurance {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.assurance-item { font-size: .93rem; color: var(--green-deep); font-weight: 500; }

.contact-email {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--green-pale);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-email-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
}
.contact-email-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-mid);
  word-break: break-all;
}
.contact-email-link:hover { color: var(--green-deep); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.required { color: #c0392b; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 15px;
  border: 1.5px solid #f5cccc;
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-soft); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--slate);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.footer-brand .footer-logo strong { color: var(--white); font-family: 'Lora', serif; font-size: 1.05rem; }
.footer-brand .logo-leaf { font-size: 1.3rem; }
.footer-brand p { font-size: .85rem; line-height: 1.6; margin-bottom: 14px; max-width: 260px; }
.footer-email { font-size: .82rem; color: var(--green-soft); word-break: break-all; }
.footer-email:hover { color: var(--white); }

.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-heading {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green-soft);
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
}
.footer-col a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.3); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ── CHECKLIST PAGE ─────────────────────────────────────────── */
.checklist-page { padding: 64px 0 96px; }
.checklist-page-header { text-align: center; margin-bottom: 48px; }
.checklist-page-header h1 { margin-bottom: 12px; }
.checklist-page-header p { color: var(--text-light); max-width: 600px; margin: 0 auto 24px; }
.print-btn { margin: 0 auto; display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; }

.checklist-section {
  max-width: 780px;
  margin: 0 auto 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.checklist-section-header {
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  font-family: 'Lora', serif;
}
.cs-green  .checklist-section-header { background: #388e3c; }
.cs-yellow .checklist-section-header { background: #f57c00; }
.cs-red    .checklist-section-header { background: #c62828; }
.checklist-items {
  background: var(--white);
  padding: 20px 28px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--beige);
}
.checklist-item:last-child { border-bottom: none; }
.checklist-item input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--green-mid);
  flex-shrink: 0;
}
.item-content strong {
  display: block;
  font-size: .95rem;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.item-content span { font-size: .88rem; color: var(--text-light); }

.app-guide-section { max-width: 780px; margin: 56px auto 0; }
.app-guide-section h2 { margin-bottom: 8px; }
.app-guide-section > p { color: var(--text-light); margin-bottom: 32px; }
.app-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.app-card h3 { color: var(--green-deep); margin-bottom: 12px; }
.app-steps { display: flex; flex-direction: column; gap: 10px; }
.app-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.app-step p { font-size: .9rem; color: var(--text-mid); }

/* ═══════════════════════════════════════════════════════════════
   CONDITIONS PAGE
═══════════════════════════════════════════════════════════════ */
.cond-category { padding: 64px 0; }
.cond-category-header { margin-bottom: 40px; }
.cond-category-badge {
  display: inline-block;
  color: #fff;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.cond-block { margin-bottom: 48px; }
.cond-block:last-child { margin-bottom: 0; }
.cond-block-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.cond-block-header h2 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0;
}
.cond-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.strategy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.strategy-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.strategy-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.strategy-icon { font-size: 1.6rem; }
.strategy-card h4 { font-size: .93rem; font-weight: 700; color: var(--text-dark); font-family: 'Inter', sans-serif; }
.strategy-card p  { font-size: .86rem; color: var(--text-mid); line-height: 1.6; }

@media (max-width: 900px) {
  .strategy-cards { grid-template-columns: repeat(2, 1fr); }
  .cond-block-header h2 { font-size: 1.1rem; }
}
@media (max-width: 640px) {
  .strategy-cards { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   TOPIC PAGES (Gut-Brain, Exercise, Learning)
═══════════════════════════════════════════════════════════════ */

/* ── TOPIC PAGE HERO ────────────────────────────────────────── */
.topic-page-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  padding: 64px 0 48px;
  border-bottom: none;
}
.topic-page-hero .breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 16px;
}
.topic-page-hero .breadcrumb a { color: var(--amber-light); }
.topic-page-hero .breadcrumb a:hover { color: #fff; }
.topic-page-hero h1 { margin-bottom: 14px; color: #fff; }
.topic-page-hero .hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  max-width: 640px;
  margin-bottom: 32px;
}

/* ── SUB-TOPIC NAVIGATION ───────────────────────────────────── */
.subtopic-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.subtopic-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  background: var(--white);
  border: 1.5px solid var(--green-pale);
  color: var(--text-mid);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.subtopic-nav a:hover {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}

/* ── TOPIC SECTION ──────────────────────────────────────────── */
.topic-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--slate);
}
.topic-section:nth-child(even) { background: var(--beige); }
.topic-section:nth-child(odd)  { background: var(--cream); }

.topic-section-header {
  margin-bottom: 40px;
}
.topic-section-header .section-eyebrow { margin-bottom: 8px; }
.topic-section-header h2 { margin-bottom: 12px; }
.topic-section-header .section-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 680px;
}

/* ── CALLOUT / INFO BOX ─────────────────────────────────────── */
.callout {
  background: var(--green-tint);
  border-left: 4px solid var(--green-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: .97rem;
  color: var(--text-mid);
}
.callout strong { color: var(--green-deep); }
.callout-amber {
  background: var(--amber-light);
  border-left-color: var(--amber);
}

/* ── TRACKER TABLE ──────────────────────────────────────────── */
.tracker-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.tracker-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .9rem;
}
.tracker-table th {
  background: var(--green-mid);
  color: var(--white);
  padding: 12px 18px;
  text-align: left;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
}
.tracker-table td {
  padding: 11px 18px;
  border-bottom: 1px solid var(--beige);
  color: var(--text-mid);
}
.tracker-table tr:last-child td { border-bottom: none; }
.tracker-table tr:nth-child(even) td { background: var(--cream); }
.tracker-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .83rem;
}

/* ── PROTOCOL / EMERGENCY CARDS ─────────────────────────────── */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.protocol-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--green-mid);
}
.protocol-card.amber-top { border-top-color: var(--amber); }
.protocol-card h4 {
  font-size: .95rem;
  color: var(--green-deep);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .8rem;
}
.protocol-card .lie {
  font-size: .9rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: var(--beige);
  border-radius: var(--radius);
}
.protocol-card .override {
  font-size: .93rem;
  color: var(--text-mid);
}
.protocol-card .override strong { color: var(--green-deep); }

/* ── PHASE CARDS ────────────────────────────────────────────── */
.phase-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.phase-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}
.phase-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-deep);
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phase-body h4 { font-size: 1rem; color: var(--green-deep); margin-bottom: 8px; }
.phase-body ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phase-body ul li {
  font-size: .91rem;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}
.phase-body ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green-soft);
  font-size: .8rem;
}

/* ── HABIT STACK TABLE ──────────────────────────────────────── */
.habit-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.habit-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .9rem;
}
.habit-table th {
  background: var(--amber);
  color: var(--white);
  padding: 12px 18px;
  text-align: left;
  font-weight: 600;
  font-size: .85rem;
}
.habit-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--beige);
  color: var(--text-mid);
  vertical-align: top;
}
.habit-table tr:last-child td { border-bottom: none; }
.habit-table .trigger-col { font-weight: 500; color: var(--text-dark); }

/* ── SUNDAY RESET PHASES ────────────────────────────────────── */
.reset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.reset-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.reset-card h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.reset-checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.reset-checklist li {
  font-size: .9rem;
  color: var(--text-mid);
  padding-left: 22px;
  position: relative;
}
.reset-checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: var(--green-soft);
}

/* ── SNACK CARDS ────────────────────────────────────────────── */
.snack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.snack-category h4 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--amber);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-pale);
}
.snack-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.snack-list li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: .9rem;
  color: var(--text-mid);
}
.snack-list li strong { display: block; color: var(--text-dark); margin-bottom: 2px; }
.snack-protein {
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--green-pale);
  padding: 2px 8px;
  border-radius: 50px;
  display: inline-block;
  margin-top: 4px;
}

/* ── WORKOUT SCHEDULE ───────────────────────────────────────── */
.workout-schedule { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.workout-day {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 140px 1fr;
}
.workout-day-label {
  background: var(--green-deep);
  color: var(--white);
  padding: 16px 18px;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
}
.workout-day-label.rest   { background: var(--text-light); }
.workout-day-label.active { background: var(--green-mid); }
.workout-day-label.recover{ background: var(--amber); }
.workout-day-content { padding: 14px 20px; }
.workout-day-content strong { display: block; font-size: .9rem; color: var(--text-dark); margin-bottom: 4px; }
.workout-day-content .exercises { font-size: .85rem; color: var(--text-mid); }
.workout-day-content .ef-tip {
  margin-top: 6px;
  font-size: .8rem;
  color: var(--amber);
  font-style: italic;
}

/* ── STRETCH LIST ───────────────────────────────────────────── */
.stretch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.stretch-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--green-soft);
}
.stretch-card h5 {
  font-size: .9rem;
  color: var(--green-deep);
  margin-bottom: 5px;
  font-family: 'Inter', sans-serif;
}
.stretch-card p { font-size: .85rem; color: var(--text-light); }

/* ── HOBBY CARDS ────────────────────────────────────────────── */
.hobby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.hobby-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.hobby-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hobby-icon { font-size: 1.8rem; }
.hobby-card h4 { font-size: 1rem; color: var(--green-deep); }
.hobby-card p { font-size: .88rem; color: var(--text-mid); flex: 1; }
.hobby-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--amber);
}
.hobby-link:hover { color: var(--green-deep); }
.hobby-tip {
  font-size: .8rem;
  color: var(--text-light);
  font-style: italic;
  padding: 8px 12px;
  background: var(--beige);
  border-radius: var(--radius);
}

/* ── TIME MANAGEMENT TOOLS ──────────────────────────────────── */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.tool-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.tool-card h4 { font-size: 1rem; color: var(--green-deep); margin-bottom: 8px; }
.tool-card p { font-size: .9rem; color: var(--text-mid); margin-bottom: 10px; }
.tool-card a { font-size: .85rem; font-weight: 600; color: var(--amber); }

/* ── COGNITIVE THREE TOOLS ──────────────────────────────────── */
.ef-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.ef-tool-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.ef-tool-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-deep);
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.ef-tool-card h4 { font-size: .95rem; color: var(--green-deep); margin-bottom: 8px; }
.ef-tool-card p { font-size: .87rem; color: var(--text-mid); }

/* ── EXERCISE INFO GRID ─────────────────────────────────────── */
.exercise-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.exercise-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--green-soft);
}
.exercise-info-card h4 { font-size: .95rem; color: var(--green-deep); margin-bottom: 8px; }
.exercise-info-card p { font-size: .9rem; color: var(--text-mid); }

/* ── STRATEGY STEPS ─────────────────────────────────────────── */
.strategy-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.strategy-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.strategy-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber-light);
  color: var(--amber);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.strategy-body h4 { font-size: .95rem; color: var(--text-dark); margin-bottom: 5px; }
.strategy-body p { font-size: .9rem; color: var(--text-mid); }

/* ── RESPONSIVE: TOPIC PAGES ────────────────────────────────── */
@media (max-width: 900px) {
  .protocol-grid,
  .reset-grid,
  .snack-grid,
  .stretch-grid,
  .tool-grid,
  .ef-tools-grid,
  .exercise-info-grid { grid-template-columns: 1fr; }

  .hobby-grid { grid-template-columns: repeat(2, 1fr); }
  .workout-day { grid-template-columns: 100px 1fr; }
}

@media (max-width: 640px) {
  .hobby-grid { grid-template-columns: 1fr; }
  .subtopic-nav a { font-size: .82rem; padding: 8px 14px; }
  .phase-card { grid-template-columns: 36px 1fr; gap: 14px; }
  .workout-day { grid-template-columns: 1fr; }
  .workout-day-label { padding: 10px 16px; }
}

/* ── COMPLETE DAY CELEBRATION ───────────────────────────────── */
.complete-day-wrap {
  max-width: 780px;
  margin: 48px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.complete-day-btn {
  font-size: 1.1rem;
  padding: 16px 48px;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease, box-shadow .15s ease;
}
.complete-day-btn:active { transform: scale(.97); }
.complete-day-note {
  font-size: .85rem;
  color: var(--text-light);
}
.success-msg {
  background: var(--green-tint);
  border: 2px solid var(--green-pale);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  animation: fadeInUp .5s ease;
}
.success-icon { font-size: 3rem; }
.success-msg h2 { color: var(--green-deep); margin: 0; }
.success-msg p  { color: var(--text-mid); font-size: 1rem; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PRINT STYLES ───────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .print-btn, .checklist-page-header p + * { display: none !important; }
  .checklist-page { padding: 20px 0; }
  .checklist-page-header h1 { font-size: 1.8rem; }
  .checklist-section { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  body { background: white; }

  @page {
    margin: 20mm;
    @bottom-right {
      content: counter(page);
      font-family: sans-serif;
      font-size: 10pt;
      color: #666;
    }
  }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Tablet range (821–900px): stack main grids but keep desktop nav */
  .hero-inner,
  .about-inner,
  .checklist-preview-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  .hero { padding: 72px 0 60px; }
  .hero-visual { display: none; }

  .topics-grid { grid-template-columns: 1fr 1fr; }
  .resources-grid { grid-template-columns: 1fr; }

  .about-image-placeholder { justify-content: flex-start; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  /* ── Mobile nav — applies to all phones AND foldable unfolded screens (≤820px) ── */
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--green-pale);
    box-shadow: var(--shadow-md);
    z-index: 100;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }

  /* Mobile dropdown overrides */
  .nav-item { flex-wrap: wrap; align-items: center; gap: 0; }
  .nav-chevron { display: none; }
  .nav-chevron-btn { display: inline-flex; }
  .nav-dropdown {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--slate);
    border-radius: 0;
    background: transparent;
    padding: 4px 0 4px 12px;
    width: 100%;
    margin-top: 4px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity .2s ease, max-height .25s ease;
  }
  .nav-dropdown-wide { grid-template-columns: 1fr; min-width: unset; }
  .nav-dropdown::before { display: none; }
  .nav-item.open .nav-dropdown {
    opacity: 1;
    max-height: 600px;
    pointer-events: auto;
  }
  .nav-item:hover .nav-dropdown { opacity: 0; pointer-events: none; }
  .nav-item.open .nav-dropdown { opacity: 1 !important; pointer-events: auto !important; }
  .nav-dropdown a { padding: 7px 10px; font-size: .85rem; white-space: normal; }

  /* Single-column layouts */
  .hero-inner,
  .about-inner,
  .checklist-preview-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  .hero { padding: 64px 0 56px; }
  .hero-visual { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .topics-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .about-image-placeholder { justify-content: flex-start; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Very narrow phones and Galaxy Z Fold folded (~360px) ── */
@media (max-width: 400px) {
  .container { padding: 0 14px; }
  h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  h2 { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .hero { padding: 44px 0 36px; }
  .hero-sub { font-size: .92rem; }
  .btn { padding: 10px 18px; font-size: .88rem; }
  .hero-actions { gap: 8px; }
  .conditions-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .condition-chip { font-size: .75rem; padding: 6px 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .goodjob-bar span { display: none; }
}

/* ── Blog ─────────────────────────────────────────────────── */

.blog-section { padding: 4rem 0; }
.blog-section-title { margin-bottom: 0.5rem; }
.blog-section-sub { color: var(--text-light); margin-bottom: 2.5rem; }
.blog-empty { color: var(--text-light); font-style: italic; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--green-pale);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  color: inherit;
  text-decoration: none;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.blog-card-body { padding: 1.5rem; }
.blog-card-title { font-size: 1.2rem; margin: 0.25rem 0 0.75rem; }

.blog-date { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.25rem; }
.blog-excerpt { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 1rem; line-height: 1.6; }

.blog-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.blog-tag {
  display: inline-block;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
}

/* Blog article */
.blog-article { max-width: 740px; padding-top: 3rem; padding-bottom: 4rem; }
.back-link { font-size: 0.875rem; color: var(--text-light); display: inline-block; margin-bottom: 1.5rem; }
.back-link:hover { color: var(--green-deep); }
.blog-article-title { margin-bottom: 0.5rem; }
.blog-tags-article { margin: 0.75rem 0 2rem; }

.blog-body { margin-top: 2rem; }
.blog-body h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.blog-body h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.blog-body p { margin-bottom: 1.1rem; line-height: 1.8; }
.blog-body ul, .blog-body ol { margin: 0.75rem 0 1.1rem 1.5rem; line-height: 1.8; }
.blog-body li { margin-bottom: 0.35rem; }
.blog-body strong { color: var(--text-dark); }
.blog-body em { color: var(--green-mid); }
.blog-body blockquote {
  border-left: 4px solid var(--green-pale);
  padding: 0.75rem 1.25rem;
  color: var(--text-mid);
  font-style: italic;
  margin: 1.5rem 0;
  background: var(--green-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── Admin ────────────────────────────────────────────────── */

.admin-wrap { max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; border-bottom: 2px solid var(--green-pale); padding-bottom: 1rem; }
.admin-header h1 { margin: 0; font-size: 1.75rem; }
.admin-nav a { font-size: 0.875rem; color: var(--text-light); margin-left: 1rem; }
.admin-nav a:hover { color: var(--green-deep); }

.admin-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; font-size: 0.9rem; }
.admin-table th { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 2px solid var(--green-pale); color: var(--text-mid); font-weight: 600; }
.admin-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--green-tint); vertical-align: middle; }
.admin-table tr:hover td { background: var(--green-tint); }

.admin-btn { padding: 0.35rem 0.85rem; border: 1px solid var(--green-pale); border-radius: var(--radius); background: var(--white); color: var(--green-deep); font-size: 0.82rem; cursor: pointer; transition: background var(--transition); }
.admin-btn:hover { background: var(--green-tint); }
.admin-btn-danger { border-color: #e0b0b0; color: #b44; }
.admin-btn-danger:hover { background: #fff0f0; }
.admin-btn-primary { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }
.admin-btn-primary:hover { background: var(--green-mid); border-color: var(--green-mid); }

.admin-field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-mid); margin-bottom: 0.35rem; }
.admin-field input[type="text"],
.admin-field input[type="password"],
.admin-field textarea {
  width: 100%; padding: 0.6rem 0.85rem;
  border: 1px solid var(--green-pale); border-radius: var(--radius);
  font-family: inherit; font-size: 0.9rem; color: var(--text-dark);
  background: var(--white); transition: border-color var(--transition);
}
.admin-field input:focus, .admin-field textarea:focus {
  outline: none; border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(0,168,132,.12);
}

.admin-editor { font-family: 'Courier New', monospace; font-size: 0.82rem; min-height: 520px; resize: vertical; }
.admin-status { font-size: 0.875rem; color: var(--text-light); margin-top: 0.5rem; min-height: 1.4em; }
.admin-status a { color: var(--green-mid); text-decoration: underline; }

.submission-card {
  border: 1px solid var(--green-pale); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem; margin-bottom: 1rem; background: var(--white);
}
.submission-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.submission-name { font-weight: 600; color: var(--text-dark); }
.submission-ts { font-size: 0.8rem; color: var(--text-light); }
.submission-email { font-size: 0.875rem; color: var(--green-mid); margin-bottom: 0.5rem; }
.submission-subject { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.submission-message { font-size: 0.9rem; color: var(--text-mid); white-space: pre-wrap; line-height: 1.6; }
