/* ═══════════════════════════════════════════
   THE APOSTOLIC GUIDE — Design System v2
   Sacred Minimalism · Premium · KJV-centered
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Outfit:wght@300;400;500&display=swap');

/* ── Tokens ── */
:root {
  /* Palette */
  --ivory:       #F8F5EF;
  --ivory-warm:  #F2EDE3;
  --ivory-deep:  #E8E0D0;
  --parchment:   #DDD4C0;
  --sage:        #8A9B7A;
  --sage-light:  #B5C4A8;
  --sage-dim:    rgba(138,155,122,0.12);
  --mineral:     #6B8FA8;
  --mineral-dim: rgba(107,143,168,0.12);
  --gold:        #B8963E;
  --gold-light:  #D4B06A;
  --gold-dim:    rgba(184,150,62,0.12);
  --gold-line:   rgba(184,150,62,0.25);
  --charcoal:    #2A2D25;
  --olive:       #3D4035;
  --text:        #2A2D25;
  --text-2:      #5C6052;
  --text-3:      #8A9080;
  --white:       #FFFFFF;
  --glass:       rgba(248,245,239,0.72);
  --glass-dark:  rgba(42,45,37,0.82);
  --surface:     rgba(255,255,255,0.6);
  --surface-2:   rgba(248,245,239,0.5);

  /* Typography */
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Outfit', system-ui, sans-serif;

  /* Spacing */
  --gap-xs:  4px;
  --gap-sm:  8px;
  --gap-md:  16px;
  --gap-lg:  24px;
  --gap-xl:  40px;
  --gap-2xl: 64px;
  --gap-3xl: 96px;

  /* Radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(42,45,37,0.06), 0 1px 2px rgba(42,45,37,0.04);
  --shadow-md:  0 4px 16px rgba(42,45,37,0.08), 0 2px 4px rgba(42,45,37,0.04);
  --shadow-lg:  0 12px 40px rgba(42,45,37,0.10), 0 4px 12px rgba(42,45,37,0.06);
  --shadow-gold: 0 4px 24px rgba(184,150,62,0.15);

  /* Borders */
  --border:     1px solid rgba(42,45,37,0.08);
  --border-med: 1px solid rgba(42,45,37,0.12);
  --border-gold: 1px solid rgba(184,150,62,0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration: 220ms;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Background texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(138,155,122,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 90%, rgba(107,143,168,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(184,150,62,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Page wrapper ── */
.page { position: relative; z-index: 1; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════
   NAVIGATION
══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(184,150,62,0.12);
  transition: background var(--duration) var(--ease);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-mark {
  width: 30px; height: 30px;
  background: var(--charcoal);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.nav-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  border: none;
  background: transparent;
  transition: all var(--duration) var(--ease);
  letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active {
  color: var(--charcoal);
  background: rgba(42,45,37,0.06);
}
.nav-cta {
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ivory);
  background: var(--charcoal);
  border: none;
  transition: all var(--duration) var(--ease);
  letter-spacing: 0.01em;
}
.nav-cta:hover {
  background: var(--olive);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  color: var(--text);
}

/* ══════════════════════════════════
   SECTIONS — shared
══════════════════════════════════ */
section { padding: var(--gap-2xl) 0; }
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--gold-light);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
  margin-top: 12px;
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  padding-top: 120px;
  padding-bottom: var(--gap-2xl);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold-light);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--olive);
}
.hero-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-markers {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-marker {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-marker::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--parchment);
  flex-shrink: 0;
}
.hero-visual {
  position: relative;
}
.hero-mockup {
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: var(--border-gold);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.5) inset;
  position: relative;
  overflow: hidden;
}
.hero-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,150,62,0.4), transparent);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: var(--border);
}
.mockup-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--parchment);
}
.mockup-tab-row {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.mockup-tab {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(42,45,37,0.06);
  color: var(--text-3);
  font-weight: 400;
}
.mockup-tab.active {
  background: var(--charcoal);
  color: var(--gold-light);
}
.mockup-verse-block {
  background: var(--ivory-warm);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.mockup-verse-text {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 5px;
}
.mockup-verse-ref {
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mockup-prompt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.mockup-prompt {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(42,45,37,0.12);
  color: var(--text-2);
  background: var(--surface);
}
.mockup-ai-bubble {
  background: var(--charcoal);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.mockup-ai-label {
  font-size: 9px;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mockup-ai-text {
  font-size: 12px;
  color: rgba(248,245,239,0.75);
  line-height: 1.6;
}

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  border: none;
  transition: all var(--duration) var(--ease);
  letter-spacing: 0.01em;
  font-family: var(--sans);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--ivory);
}
.btn-primary:hover {
  background: var(--olive);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: var(--border-med);
}
.btn-secondary:hover {
  background: rgba(42,45,37,0.05);
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--gold);
  color: var(--ivory);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: var(--border);
  padding: 9px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  width: 100%;
  text-align: left;
  transition: all var(--duration) var(--ease);
  font-family: var(--sans);
  cursor: pointer;
}
.btn-ghost:hover {
  background: var(--ivory-warm);
  color: var(--charcoal);
  border-color: rgba(42,45,37,0.16);
}
.btn-arrow::after {
  content: '→';
  font-size: 13px;
  opacity: 0.5;
  margin-left: auto;
}
.btn-arrow { justify-content: space-between; }

/* ══════════════════════════════════
   GUIDED PATHS (Section 3)
══════════════════════════════════ */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: var(--gap-xl);
}
.path-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,150,62,0.3), transparent);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.path-card:hover {
  border-color: rgba(184,150,62,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.path-card:hover::before { opacity: 1; }
.path-icon {
  width: 36px; height: 36px;
  background: var(--ivory-warm);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.path-icon svg { width: 16px; height: 16px; opacity: 0.6; }
.path-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.3;
}
.path-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.55;
}

/* ══════════════════════════════════
   PILLARS (Section 4)
══════════════════════════════════ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: var(--gap-xl);
}
.pillar {
  background: linear-gradient(145deg, var(--surface), rgba(255,255,255,0.3));
  border: var(--border);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
.pillar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.5) inset;
}
.pillar-water { background: linear-gradient(145deg, rgba(107,143,168,0.08), rgba(255,255,255,0.4)); }
.pillar-bread { background: linear-gradient(145deg, rgba(184,150,62,0.07), rgba(255,255,255,0.4)); }
.pillar-tree  { background: linear-gradient(145deg, rgba(138,155,122,0.09), rgba(255,255,255,0.4)); }
.pillar-symbol {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pillar-water .pillar-symbol { color: var(--mineral); }
.pillar-bread .pillar-symbol { color: var(--gold); }
.pillar-tree  .pillar-symbol { color: var(--sage); }
.pillar-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.2;
}
.pillar-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ══════════════════════════════════
   PRODUCT DEPTH (Section 5)
══════════════════════════════════ */
.depth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: var(--gap-xl);
}
.depth-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--duration) var(--ease);
}
.depth-card:hover {
  border-color: rgba(184,150,62,0.2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.depth-card-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--parchment);
  line-height: 1;
  margin-bottom: 10px;
}
.depth-card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.depth-card-text {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
}

/* ══════════════════════════════════
   ANSWERS (Section 6)
══════════════════════════════════ */
.answers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--gap-xl);
}
.answer-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}
.answer-card:hover {
  border-color: rgba(184,150,62,0.25);
  box-shadow: var(--shadow-sm);
}
.answer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  gap: 16px;
}
.answer-category {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.answer-question {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.35;
}
.answer-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: var(--border-med);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text-3);
  font-size: 12px;
  transition: all var(--duration) var(--ease);
}
.answer-card.open .answer-chevron {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
  transform: rotate(180deg);
}
.answer-body {
  display: none;
  padding: 0 22px 18px;
  border-top: var(--border);
}
.answer-card.open .answer-body { display: block; }
.answer-short {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 12px;
  padding-top: 14px;
}
.answer-verse {
  background: var(--ivory-warm);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 10px 14px;
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 12px;
}
.answer-verse-ref {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* ══════════════════════════════════
   TEACHERS (Section 7)
══════════════════════════════════ */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: var(--gap-xl);
}
.teacher-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: 24px 18px;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}
.teacher-card:hover {
  border-color: rgba(184,150,62,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.teacher-card.active {
  border-color: rgba(184,150,62,0.35);
  box-shadow: var(--shadow-gold);
}
.teacher-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.teacher-avatar-a { background: var(--charcoal); color: var(--gold-light); }
.teacher-avatar-b { background: var(--gold-dim); color: var(--gold); border: var(--border-gold); }
.teacher-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 3px;
  line-height: 1.3;
}
.teacher-role {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.45;
  margin-bottom: 12px;
}
.teacher-detail {
  display: none;
  margin-top: var(--gap-lg);
}
.teacher-detail.visible { display: block; }
.teacher-detail-inner {
  background: var(--glass);
  border: var(--border-gold);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}
.teacher-detail-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.teacher-detail-title {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.teacher-detail-bio {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 14px;
}
.teacher-detail-specialty {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 18px;
}

/* ══════════════════════════════════
   BIBLE GUIDE SECTION (Section 8)
══════════════════════════════════ */
.guide-section {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.guide-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(138,155,122,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 70%, rgba(107,143,168,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.guide-section .section-label { color: var(--gold-light); }
.guide-section .section-label::before { background: var(--gold); opacity: 0.4; }
.guide-section .section-title { color: rgba(248,245,239,0.92); }
.guide-section .section-sub { color: rgba(248,245,239,0.5); }
.guide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: start;
  position: relative;
  z-index: 1;
}
.guide-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: var(--gap-xl);
}
.guide-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.guide-feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}
.guide-feature-text {
  font-size: 14px;
  color: rgba(248,245,239,0.65);
  line-height: 1.6;
}
.guide-feature-text strong {
  color: rgba(248,245,239,0.88);
  font-weight: 500;
}
.guide-disclaimer {
  margin-top: var(--gap-xl);
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  font-size: 12px;
  color: rgba(248,245,239,0.35);
  line-height: 1.6;
}
.guide-panel-preview {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,62,0.2);
  border-radius: var(--r-xl);
  padding: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.guide-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.guide-panel-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--gold-light);
}
.guide-panel-reset {
  font-size: 11px;
  color: rgba(248,245,239,0.3);
  background: none;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-pill);
  padding: 3px 9px;
  cursor: pointer;
  font-family: var(--sans);
  transition: all var(--duration) var(--ease);
}
.guide-panel-reset:hover { color: rgba(248,245,239,0.6); border-color: rgba(255,255,255,0.16); }
.guide-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  max-height: 200px;
  overflow-y: auto;
}
.guide-thread::-webkit-scrollbar { width: 2px; }
.guide-thread::-webkit-scrollbar-thumb { background: rgba(184,150,62,0.3); border-radius: 1px; }
.guide-bubble-user {
  align-self: flex-end;
  background: rgba(255,255,255,0.07);
  border-radius: var(--r-md) var(--r-sm) var(--r-md) var(--r-md);
  padding: 9px 13px;
  font-size: 12px;
  color: rgba(248,245,239,0.6);
  max-width: 80%;
  font-style: italic;
}
.guide-bubble-ai {
  background: rgba(184,150,62,0.08);
  border: 1px solid rgba(184,150,62,0.15);
  border-radius: var(--r-sm) var(--r-md) var(--r-md) var(--r-md);
  padding: 12px 14px;
  font-size: 12px;
  color: rgba(248,245,239,0.7);
  line-height: 1.65;
  max-width: 95%;
}
.guide-input-row {
  display: flex;
  gap: 8px;
}
.guide-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 9px 13px;
  font-size: 13px;
  color: rgba(248,245,239,0.8);
  font-family: var(--sans);
  outline: none;
  transition: border-color var(--duration) var(--ease);
}
.guide-input::placeholder { color: rgba(248,245,239,0.25); }
.guide-input:focus { border-color: rgba(184,150,62,0.4); }
.guide-send {
  padding: 9px 14px;
  background: var(--gold);
  border: none;
  border-radius: var(--r-md);
  color: var(--ivory);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.guide-send:hover { background: var(--gold-light); }
.guide-send:disabled { opacity: 0.4; cursor: not-allowed; }
.guide-thinking {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}
.guide-thinking.active { display: flex; }
.guide-thinking span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  animation: think 1.2s infinite;
}
.guide-thinking span:nth-child(2) { animation-delay: 0.2s; }
.guide-thinking span:nth-child(3) { animation-delay: 0.4s; }
@keyframes think { 0%,60%,100%{transform:translateY(0);opacity:0.6} 30%{transform:translateY(-4px);opacity:1} }
.guide-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.guide-quick {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(184,150,62,0.2);
  background: transparent;
  color: rgba(248,245,239,0.5);
  cursor: pointer;
  font-family: var(--sans);
  transition: all var(--duration) var(--ease);
}
.guide-quick:hover {
  background: rgba(184,150,62,0.1);
  color: var(--gold-light);
  border-color: rgba(184,150,62,0.35);
}
.guide-model-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
  color: rgba(248,245,239,0.3);
}
.guide-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.guide-status-dot.loading { background: var(--gold); animation: pulse 1s infinite; }
.guide-status-dot.ready { background: #6FCF97; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ══════════════════════════════════
   CROSS DEVICE (Section 9)
══════════════════════════════════ */
.devices-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xl);
  margin-top: var(--gap-xl);
  flex-wrap: wrap;
}
.device-item {
  text-align: center;
}
.device-icon {
  width: 56px; height: 56px;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  box-shadow: var(--shadow-sm);
}
.device-icon svg { width: 22px; height: 22px; opacity: 0.5; }
.device-label { font-size: 13px; color: var(--text-3); }

/* ══════════════════════════════════
   MEMBERS PLACEHOLDER (Section 10)
══════════════════════════════════ */
.members-section {
  background: linear-gradient(160deg, var(--ivory-warm), var(--ivory));
  border-top: var(--border);
}
.members-coming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--sage-dim);
  border: 1px solid rgba(138,155,122,0.25);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.members-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: var(--gap-xl);
  opacity: 0.55;
}
.member-feature {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.member-feature-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
  margin-top: 5px;
}
.member-feature-title { font-size: 14px; font-weight: 500; color: var(--charcoal); margin-bottom: 3px; }
.member-feature-text { font-size: 12px; color: var(--text-3); line-height: 1.5; }

/* ══════════════════════════════════
   FINAL CTA (Section 11)
══════════════════════════════════ */
.cta-section {
  text-align: center;
  padding: var(--gap-2xl) 0;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-title em { font-style: italic; color: var(--olive); }
.cta-sub {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  border-top: var(--border);
  padding: 28px 0;
  background: var(--ivory-warm);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-name {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--charcoal);
  font-weight: 400;
}
.footer-note {
  font-size: 11px;
  color: var(--text-3);
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer-link {
  font-size: 12px;
  color: var(--text-3);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: color var(--duration) var(--ease);
}
.footer-link:hover { color: var(--charcoal); }

/* ══════════════════════════════════
   AI DOWNLOAD MODAL
══════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(42,45,37,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-box {
  background: var(--ivory);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.7) inset;
  position: relative;
}
.modal-mark {
  width: 52px; height: 52px;
  background: var(--charcoal);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-light);
  margin: 0 auto 20px;
}
.modal-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.modal-sub {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 24px;
}
.modal-prog-wrap {
  background: var(--ivory-deep);
  border-radius: var(--r-pill);
  height: 4px;
  margin-bottom: 8px;
  overflow: hidden;
}
.modal-prog {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: var(--r-pill);
  width: 0%;
  transition: width 0.3s var(--ease);
}
.modal-prog-label {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 20px;
  text-align: left;
}
.modal-skip {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--text-3);
  cursor: pointer;
  font-family: var(--sans);
  text-decoration: underline;
  margin-top: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: color var(--duration) var(--ease);
}
.modal-skip:hover { color: var(--text-2); }

/* ══════════════════════════════════
   VERSE BLOCK (shared)
══════════════════════════════════ */
.verse-block {
  background: var(--ivory-warm);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 12px 16px;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.8;
}
.verse-ref {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ══════════════════════════════════
   BADGE
══════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
}
.badge-sage { background: var(--sage-dim); color: var(--sage); border: 1px solid rgba(138,155,122,0.25); }
.badge-gold { background: var(--gold-dim); color: var(--gold); border: var(--border-gold); }
.badge-mineral { background: var(--mineral-dim); color: var(--mineral); border: 1px solid rgba(107,143,168,0.2); }

/* ══════════════════════════════════
   APP PAGES (Bible, Study, etc.)
══════════════════════════════════ */
.app-page {
  display: none;
  min-height: 100vh;
  padding-top: 80px;
}
.app-page.active { display: block; }
.app-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.app-hero {
  margin-bottom: var(--gap-xl);
}
.app-hero-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.2;
}
.app-hero-sub {
  font-size: 14px;
  color: var(--text-3);
}

/* Bible browser */
.bible-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.bible-toggle {
  display: flex;
  background: var(--ivory-warm);
  border-radius: var(--r-md);
  padding: 3px;
  border: var(--border);
}
.bible-toggle-btn {
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-3);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-family: var(--sans);
}
.bible-toggle-btn.active {
  background: var(--white);
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 5px;
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 14px;
  padding-right: 4px;
}
.book-grid::-webkit-scrollbar { width: 3px; }
.book-grid::-webkit-scrollbar-thumb { background: var(--parchment); border-radius: 2px; }
.book-btn {
  padding: 7px 6px;
  border-radius: var(--r-md);
  border: var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 11px;
  cursor: pointer;
  text-align: center;
  transition: all var(--duration) var(--ease);
  font-family: var(--sans);
  line-height: 1.3;
}
.book-btn:hover, .book-btn.sel {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}
.chapter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.ch-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  border: var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 12px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration) var(--ease);
  font-family: var(--sans);
}
.ch-btn:hover, .ch-btn.sel {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}
.verse-list {
  max-height: 440px;
  overflow-y: auto;
  padding-right: 4px;
}
.verse-list::-webkit-scrollbar { width: 3px; }
.verse-list::-webkit-scrollbar-thumb { background: var(--parchment); border-radius: 2px; }
.verse-row {
  padding: 10px 0;
  border-bottom: var(--border);
}
.verse-row:last-child { border-bottom: none; }
.verse-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 6px;
}
.verse-num {
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  min-width: 20px;
  padding-top: 3px;
  flex-shrink: 0;
}
.verse-text {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.8;
}
.verse-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-left: 30px;
  margin-bottom: 6px;
}
.verse-action-btn {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: var(--border-med);
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-family: var(--sans);
}
.verse-action-btn:hover {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}
.verse-versions {
  display: flex;
  gap: 5px;
  padding-left: 30px;
  flex-wrap: wrap;
}
.ver-link {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--ivory-warm);
  color: var(--text-3);
  border: var(--border);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  font-family: var(--sans);
}
.ver-link:hover {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}

/* Lesson cards */
.lesson-list { display: flex; flex-direction: column; gap: 10px; }
.lesson-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all var(--duration) var(--ease);
  backdrop-filter: blur(12px);
}
.lesson-card:hover {
  border-color: rgba(184,150,62,0.25);
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}
.lesson-card-title { font-size: 15px; font-weight: 500; color: var(--charcoal); margin-bottom: 3px; }
.lesson-card-sub { font-size: 12px; color: var(--text-3); }
.lesson-card-arrow { color: var(--parchment); font-size: 18px; flex-shrink: 0; }
.lesson-detail { display: none; }
.lesson-detail.active { display: block; }

/* Search */
.search-wrap { position: relative; margin-bottom: 16px; }
.search-input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border-radius: var(--r-md);
  border: var(--border-med);
  background: var(--surface);
  color: var(--charcoal);
  font-size: 14px;
  font-family: var(--sans);
  outline: none;
  transition: border-color var(--duration) var(--ease);
  backdrop-filter: blur(12px);
}
.search-input::placeholder { color: var(--text-3); }
.search-input:focus { border-color: rgba(184,150,62,0.35); }
.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px;
  opacity: 0.3;
  pointer-events: none;
}
.bible-loading {
  text-align: center;
  padding: 40px;
  color: var(--text-3);
  font-size: 13px;
}
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid var(--ivory-deep);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Section divider label */
.section-divider {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 14px 0 8px;
  padding-bottom: 6px;
  border-bottom: var(--border);
}

/* Chapter study bar */
.chapter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ══════════════════════════════════
   KEYWORD SEARCH RESULTS
══════════════════════════════════ */
.result-item {
  padding: 12px 0;
  border-bottom: var(--border);
}
.result-ref {
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.result-text {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.hl { background: rgba(184,150,62,0.18); color: var(--gold); border-radius: 2px; padding: 0 2px; }

/* ══════════════════════════════════
   BACK BUTTON
══════════════════════════════════ */
.back-btn {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--gold);
  cursor: pointer;
  font-family: var(--sans);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
  padding: 0;
  transition: color var(--duration) var(--ease);
}
.back-btn:hover { color: var(--charcoal); }

/* ══════════════════════════════════
   MOBILE
══════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .paths-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; gap: 10px; }
  .depth-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-inner { grid-template-columns: 1fr; }
  .members-features { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .hero { padding-top: 90px; padding-bottom: 48px; min-height: auto; }
  .hero-title { font-size: clamp(32px, 8vw, 52px); }
  .section-title { font-size: clamp(24px, 5vw, 36px); }
  .pillars-grid { gap: 10px; }
  .depth-grid { gap: 10px; }
  .paths-grid { gap: 10px; }
  .guide-section { padding: 48px 0; }
  .members-section { padding: 48px 0; }
  .cta-section { padding: 48px 0; }
}
@media (max-width: 600px) {
  section { padding: 36px 0; }
  .container { padding: 0 16px; }
  .container-sm { padding: 0 16px; }
  .paths-grid { grid-template-columns: 1fr; gap: 8px; }
  .depth-grid { grid-template-columns: 1fr; gap: 8px; }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pillars-grid { gap: 8px; }
  .hero { padding-top: 80px; padding-bottom: 36px; }
  .hero-title { font-size: clamp(28px, 9vw, 44px); margin-bottom: 14px; }
  .hero-sub { font-size: 14px; margin-bottom: 22px; }
  .hero-actions { gap: 8px; }
  .hero-markers { gap: 10px; }
  .section-title { font-size: clamp(22px, 6vw, 32px); }
  .section-sub { font-size: 14px; margin-top: 8px; }
  .pillar { padding: 24px 20px; }
  .depth-card { padding: 18px 16px; }
  .path-card { padding: 18px 16px; }
  .answers-list { gap: 8px; }
  .answer-head { padding: 14px 16px; }
  .answer-body { padding: 0 16px 14px; }
  .guide-section .container { padding: 0 16px; }
  .guide-panel-preview { padding: 16px; }
  .cta-section { padding: 36px 0; }
  .cta-title { font-size: clamp(24px, 7vw, 40px); }
  .members-features { gap: 8px; }
  .footer { padding: 20px 0; }
  .footer-inner { flex-direction: column; gap: 8px; }
  .footer-links { flex-wrap: wrap; gap: 10px; }
}

/* ══════════════════════════════════
   MOBILE NAV MENU
══════════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 190;
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 15px;
  color: var(--text-2);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  text-align: left;
  transition: all var(--duration) var(--ease);
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(42,45,37,0.06);
  color: var(--charcoal);
}

/* ══════════════════════════════════
   ANIMATIONS
══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) forwards;
}
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════════════
   LAUNCH UPDATE — bottom nav, sheets, drawers, concordance,
   personal study, read mode, guide launch note
══════════════════════════════════════════════════════════════════ */

/* ── Mobile sticky bottom nav ───────────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-top: 1px solid rgba(184,150,62,0.18);
  padding: 6px 4px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 16px rgba(42,45,37,0.08);
}
.bottom-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  padding: 8px 4px 6px;
  min-height: 54px;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--text-3);
  cursor: pointer;
  border-radius: var(--r-md);
  transition: color var(--duration) var(--ease);
}
.bottom-nav-link svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}
.bottom-nav-link.active {
  color: var(--gold);
}
.bottom-nav-link.active svg {
  stroke: var(--gold);
  opacity: 1;
}
.bottom-nav-link:active {
  background: rgba(184,150,62,0.08);
}
@media (max-width: 900px) {
  .bottom-nav { display: flex; }
  /* Push content up so it doesn't get covered */
  .page { padding-bottom: 76px; }
  body.sheet-open { overflow: hidden; }
}

/* ── Universal backdrop + bottom sheet ──────────────────────── */
.ag-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42,45,37,0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: opacity 0.25s var(--ease);
}
.ag-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.ag-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 310;
  background: var(--ivory);
  border-top-left-radius: var(--r-xl);
  border-top-right-radius: var(--r-xl);
  box-shadow: 0 -8px 40px rgba(42,45,37,0.16);
  padding: 14px 22px 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.32s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid rgba(184,150,62,0.2);
}
.ag-sheet.open { transform: translateY(0); }
@media (min-width: 700px) {
  .ag-sheet {
    left: 50%;
    transform: translate(-50%, 100%);
    width: min(560px, calc(100% - 32px));
    bottom: 24px;
    border-radius: var(--r-xl);
  }
  .ag-sheet.open { transform: translate(-50%, 0); }
}
.ag-sheet-handle {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: rgba(42,45,37,0.15);
  margin: 0 auto 10px;
}
.ag-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,150,62,0.15);
}
.ag-sheet-ref {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.ag-sheet-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.ag-sheet-close {
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: rgba(42,45,37,0.06);
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--text-2);
  cursor: pointer;
  flex-shrink: 0;
}
.ag-sheet-close:hover {
  background: rgba(42,45,37,0.12);
}

/* ── Verse action sheet ────────────────────────────────────── */
.vs-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.vs-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid rgba(184,150,62,0.18);
  border-radius: var(--r-lg);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  transition: all var(--duration) var(--ease);
  min-height: 48px;
}
.vs-action:hover, .vs-action:active {
  background: var(--ivory-warm);
  border-color: rgba(184,150,62,0.4);
  transform: translateY(-1px);
}
.vs-action-primary {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
  grid-column: 1 / -1;
  justify-content: center;
}
.vs-action-primary:hover, .vs-action-primary:active {
  background: var(--olive);
  color: var(--gold-light);
  border-color: var(--olive);
}
.vs-action-icon {
  font-size: 16px;
  opacity: 0.7;
  width: 18px;
  text-align: center;
}
.vs-versions-row {
  padding-top: 8px;
  border-top: 1px solid rgba(184,150,62,0.12);
}
.vs-versions-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}

/* ── Guide drawer ─────────────────────────────────────────── */
.guide-drawer-status {
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--sans);
}
.guide-drawer-status.ready {
  background: var(--sage-dim);
  color: var(--olive);
  border: 1px solid rgba(138,155,122,0.3);
}
.guide-drawer-status.muted {
  background: rgba(42,45,37,0.06);
  color: var(--text-3);
  border: 1px solid rgba(42,45,37,0.1);
}
.gd-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.gd-quick {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid rgba(184,150,62,0.18);
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 13px;
  color: var(--charcoal);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.gd-quick:hover, .gd-quick:active {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}
.gd-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.gd-input-row input {
  flex: 1;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid rgba(184,150,62,0.25);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
  min-height: 44px;
}
.gd-input-row input:focus {
  outline: none;
  border-color: var(--gold);
}
.gd-disclaimer {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  margin-top: 6px;
}

/* ── Guide launch note (homepage subtle copy) ─────────────── */
.guide-launch-note {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 10px;
  font-style: italic;
  line-height: 1.5;
  font-family: var(--sans);
}

/* ── Concordance sheet ────────────────────────────────────── */
.conc-words {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2;
  color: var(--charcoal);
  padding: 4px 0 8px;
}
.conc-word {
  display: inline-block;
  padding: 2px 4px;
  margin: 2px 1px;
  border-radius: var(--r-sm);
}
.conc-word.plain {
  color: var(--text-2);
}
.conc-word.tagged {
  background: rgba(184,150,62,0.08);
  border-bottom: 1px dashed rgba(184,150,62,0.4);
  color: var(--charcoal);
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}
.conc-word.tagged:hover, .conc-word.tagged:active {
  background: rgba(184,150,62,0.2);
}
.conc-word sup {
  font-size: 9.5px;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--gold);
  margin-left: 3px;
  letter-spacing: 0.02em;
}
.conc-loading,
.conc-empty {
  padding: 24px 8px;
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
  font-family: var(--sans);
}
.conc-empty p { margin: 0 0 8px; }
.conc-empty-sub {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.6;
  font-family: var(--sans);
}
.conc-empty code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  background: rgba(42,45,37,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--olive);
}
.conc-fallback-words {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 0;
}
.conc-word-fallback {
  padding: 6px 12px;
  background: var(--ivory-warm);
  border: 1px solid rgba(184,150,62,0.18);
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--charcoal);
  cursor: pointer;
}
.conc-word-fallback:hover, .conc-word-fallback:active {
  background: var(--charcoal);
  color: var(--gold-light);
}

/* ── Strong's detail panel ────────────────────────────────── */
.strongs-detail {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 320;
  background: var(--ivory);
  border-top-left-radius: var(--r-xl);
  border-top-right-radius: var(--r-xl);
  box-shadow: 0 -8px 40px rgba(42,45,37,0.18);
  padding: 14px 22px 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.32s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1));
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.strongs-detail.open { transform: translateY(0); }
@media (min-width: 700px) {
  .strongs-detail {
    left: 50%;
    transform: translate(-50%, 100%);
    width: min(560px, calc(100% - 32px));
    bottom: 24px;
    border-radius: var(--r-xl);
  }
  .strongs-detail.open { transform: translate(-50%, 0); }
}
.strongs-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(184,150,62,0.15);
}
.strongs-detail-ref {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.strongs-block {
  margin-bottom: 14px;
}
.strongs-label {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
  font-family: var(--sans);
  font-weight: 500;
}
.strongs-value {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--charcoal);
  font-family: var(--sans);
}
.strongs-lemma {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--olive);
}
.strongs-occ {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.strongs-occ-pill {
  padding: 4px 10px;
  background: var(--ivory-warm);
  border: 1px solid rgba(184,150,62,0.15);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  color: var(--text-2);
  font-family: var(--sans);
}
button.strongs-occ-link {
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
button.strongs-occ-link:hover {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}
.strongs-occ-more {
  padding: 4px 10px;
  font-size: 11.5px;
  color: var(--text-3);
  font-style: italic;
  font-family: var(--sans);
}
.strongs-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(184,150,62,0.12);
}
@media (min-width: 500px) {
  .strongs-actions { flex-direction: row; }
  .strongs-actions .btn { flex: 1; }
}

/* ── Personal Study page ──────────────────────────────────── */
.ps-search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.ps-search-bar input {
  flex: 1;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid rgba(184,150,62,0.25);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
  min-height: 48px;
}
.ps-search-bar input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,62,0.12);
}
.ps-search-hint {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 22px;
  font-style: italic;
}
.ps-results { margin-bottom: 28px; }
.ps-loading {
  padding: 24px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}
.ps-empty {
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(184,150,62,0.15);
  border-radius: var(--r-lg);
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
  text-align: center;
}
.ps-empty-sub {
  font-size: 12.5px;
  color: var(--text-3);
  font-style: italic;
}
.ps-block {
  margin-bottom: 22px;
}
.ps-block-title {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
  font-weight: 500;
}
.ps-result-list {
  display: grid;
  gap: 8px;
}
.ps-result-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid rgba(184,150,62,0.18);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-family: inherit;
}
.ps-result-card:hover, .ps-result-card:active {
  border-color: rgba(184,150,62,0.45);
  background: var(--ivory-warm);
}
.ps-result-num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.ps-result-lemma {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.ps-result-def {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
}
.ps-show-more {
  margin-top: 10px;
  padding: 10px 16px;
  background: none;
  border: 1px dashed rgba(184,150,62,0.3);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--text-2);
  cursor: pointer;
  width: 100%;
}
.ps-show-more:hover {
  background: var(--ivory-warm);
  border-style: solid;
}
.ps-occ-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ps-occ-pill {
  padding: 4px 10px;
  background: var(--ivory-warm);
  border: 1px solid rgba(184,150,62,0.15);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  color: var(--text-2);
}
.ps-occ-more {
  padding: 4px 10px;
  font-size: 11.5px;
  color: var(--text-3);
  font-style: italic;
}
.ps-verse-card {
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(184,150,62,0.18);
  border-radius: var(--r-lg);
}
.ps-verse-ref {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.ps-verse-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.ps-tagged-words {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px solid rgba(184,150,62,0.12);
}
.ps-tagged-pill {
  padding: 5px 10px;
  background: rgba(184,150,62,0.1);
  border: 1px solid rgba(184,150,62,0.25);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  color: var(--charcoal);
  cursor: pointer;
  font-family: var(--sans);
}
.ps-tagged-pill:hover, .ps-tagged-pill:active {
  background: var(--charcoal);
  color: var(--gold-light);
}
.ps-section { margin-bottom: 28px; }
.ps-section-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.ps-recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ps-recent-pill {
  padding: 6px 12px;
  background: var(--ivory-warm);
  border: 1px solid rgba(184,150,62,0.18);
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.ps-recent-pill:hover, .ps-recent-pill:active {
  background: var(--charcoal);
  color: var(--gold-light);
}
.ps-saved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
.ps-saved-card {
  text-align: left;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid rgba(184,150,62,0.15);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-family: inherit;
}
.ps-saved-card:hover, .ps-saved-card:active {
  border-color: rgba(184,150,62,0.45);
  background: var(--ivory-warm);
}
.ps-saved-num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--gold);
  margin-bottom: 3px;
}
.ps-saved-meta {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--text-2);
}
.ps-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.ps-tool-card {
  text-align: left;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid rgba(184,150,62,0.15);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-family: inherit;
}
.ps-tool-card:hover, .ps-tool-card:active {
  border-color: rgba(184,150,62,0.45);
  background: var(--ivory-warm);
  transform: translateY(-1px);
}
.ps-tool-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.ps-tool-sub {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.5;
}
.ps-attribution {
  margin-top: 36px;
  padding: 14px 0;
  font-size: 11.5px;
  color: var(--text-3);
  text-align: center;
  font-style: italic;
  border-top: 1px solid rgba(184,150,62,0.12);
}

/* ══════════════════════════════════
   BIBLE READER — Mobile-first
══════════════════════════════════ */

/* App page override for Bible — no padding-top, full bleed */
#page-bible {
  padding-top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top bar */
.bible-top-bar {
  position: sticky;
  top: 60px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(184,150,62,0.12);
  gap: 8px;
}
.bible-loc-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--ivory-warm);
  border: var(--border-gold);
  border-radius: var(--r-pill);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  min-width: 0;
  max-width: 55vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bible-loc-pill:hover { background: var(--ivory-deep); }
.bible-loc-pill svg { flex-shrink: 0; stroke: var(--gold); }
.bible-top-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.bible-ver-pill {
  padding: 7px 12px;
  background: transparent;
  border: var(--border-med);
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all var(--duration) var(--ease);
}
.bible-ver-pill:hover {
  background: var(--ivory-warm);
  color: var(--charcoal);
}
.bible-icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  color: var(--text-2);
}
.bible-icon-btn svg { width: 18px; height: 18px; }
.bible-icon-btn:hover {
  background: var(--ivory-warm);
  color: var(--charcoal);
  border-color: rgba(184,150,62,0.3);
}

/* Desktop/tablet layout wrapper */
.bible-desktop-wrap {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Sidebar — hidden on mobile, visible on desktop */
.bible-sidebar {
  display: none;
}
.bible-sidebar-inner {
  padding: 20px 16px;
  overflow-y: auto;
  height: 100%;
}

/* Reader wrap — takes all space */
.bible-reader-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Chapter bar — hidden on mobile */
.bible-chapter-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 10px;
  border-bottom: var(--border);
  flex-wrap: wrap;
  gap: 8px;
}
.bible-chapter-label {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--charcoal);
}
.bible-chapter-bar-right {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

/* Verse section — reading area */
.bible-verse-section {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 160px;
  -webkit-overflow-scrolling: touch;
}
.bible-verse-section .verse-list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}
.bible-end-note {
  font-size: 11px;
  color: var(--text-3);
  text-align: center;
  padding: 20px 0 8px;
}

/* Mobile picker state */
.bible-mobile-picker {
  padding: 24px;
}

/* Search panel inside reader */
.bible-search-panel-inner {
  padding: 20px 18px 60px;
  overflow-y: auto;
}

/* Mobile: top bar visible, sidebar hidden */
@media (max-width: 899px) {
  .bible-top-bar { display: flex; }
  .bible-sidebar { display: none !important; }
  .bible-chapter-bar { display: none !important; }
  #page-bible { padding-top: 0; }
}

/* Tablet 700px+: show chapter bar */
@media (min-width: 700px) and (max-width: 899px) {
  .bible-chapter-bar { display: flex; }
  .bible-top-bar { top: 60px; }
}

/* Desktop 900px+: sidebar layout, hide mobile top bar */
@media (min-width: 900px) {
  #page-bible { padding-top: 60px; }
  .bible-top-bar { display: none; }
  .bible-sidebar {
    display: flex;
    flex-direction: column;
    width: 280px;
    flex-shrink: 0;
    border-right: var(--border);
    overflow-y: auto;
    height: calc(100vh - 60px);
    position: sticky;
    top: 60px;
    background: var(--ivory-warm);
  }
  .bible-chapter-bar { display: flex; }
  .bible-verse-section { padding: 24px 40px 80px; }
  .bible-verse-section .verse-text { font-size: 17px; line-height: 1.95; }
  #bible-load-msg { display: none !important; }
  #bible-load-msg-desk { display: flex !important; }
  #bible-sidebar-browser { display: block !important; }
  #book-grid { max-height: none !important; }
}

/* Prev/Next chapter floating buttons */
.bible-chapter-nav {
  position: fixed;
  bottom: calc(76px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
  z-index: 150;
}
.bible-ch-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: var(--shadow-md);
  transition: all var(--duration) var(--ease);
  color: var(--charcoal);
}
.bible-ch-nav-btn svg { width: 18px; height: 18px; }
.bible-ch-nav-btn:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--gold-light);
  transform: scale(1.05);
}
.bible-ch-nav-btn:disabled {
  opacity: 0.25;
  pointer-events: none;
}
@media (min-width: 900px) {
  .bible-chapter-nav { display: none !important; }
}

/* ── Book/Chapter Picker Sheet ─────────────────────────── */
.book-picker-sheet {
  max-height: 92vh;
  padding: 14px 0 0;
}
.bp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 12px;
  border-bottom: var(--border);
}
.bp-cancel, .bp-history-btn {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  padding: 4px 0;
  transition: color var(--duration) var(--ease);
}
.bp-cancel:hover, .bp-history-btn:hover { color: var(--charcoal); }
.bp-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
}
.bp-sort-bar {
  display: flex;
  gap: 6px;
  padding: 10px 18px 8px;
}
.bp-sort-btn {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 500;
  font-family: var(--sans);
  border: var(--border-med);
  background: transparent;
  color: var(--text-3);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.bp-sort-btn.active {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}
.bp-book-list {
  padding: 6px 12px 20px;
  overflow-y: auto;
  max-height: 68vh;
  -webkit-overflow-scrolling: touch;
}
.bp-book-row {
  border-bottom: var(--border);
}
.bp-book-row:last-child { border-bottom: none; }
.bp-book-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 6px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  transition: color var(--duration) var(--ease);
}
.bp-book-btn.active { color: var(--gold); font-weight: 500; }
.bp-book-btn svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-3);
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
}
.bp-book-btn.expanded svg { transform: rotate(180deg); }
.bp-chapter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 6px 0 14px 4px;
}
.bp-ch-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  border: var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease);
  font-family: var(--sans);
}
.bp-ch-btn:hover, .bp-ch-btn.sel {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}
.bp-history-list {
  padding: 10px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 72vh;
  overflow-y: auto;
}
.bp-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: var(--border);
  cursor: pointer;
  transition: color var(--duration) var(--ease);
}
.bp-history-item:last-child { border-bottom: none; }
.bp-history-item:hover .bp-history-loc { color: var(--gold); }
.bp-history-loc {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--charcoal);
  transition: color var(--duration) var(--ease);
}
.bp-history-time {
  font-size: 11px;
  color: var(--text-3);
}
.bp-history-empty {
  padding: 24px 18px;
  font-size: 13px;
  color: var(--text-3);
  font-style: italic;
}

/* ── Version Picker Sheet ──────────────────────────────── */
.version-picker-sheet { padding: 14px 22px 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.ver-picker-list { display: flex; flex-direction: column; gap: 6px; }
.ver-picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  font-family: var(--sans);
}
.ver-picker-item:hover { border-color: rgba(184,150,62,0.35); background: var(--ivory-warm); }
.ver-picker-item.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--gold-light);
}
.ver-picker-name { font-size: 15px; font-weight: 500; }
.ver-picker-desc { font-size: 12px; color: var(--text-3); }
.ver-picker-item.active .ver-picker-desc { color: rgba(212,176,106,0.6); }
.ver-picker-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-weight: 500;
  flex-shrink: 0;
}
.ver-picker-item.active .ver-picker-badge { background: rgba(212,176,106,0.15); color: var(--gold-light); }
.ver-picker-badge-ext { background: var(--ivory-warm); color: var(--text-3); border: var(--border); }

/* ── Bible Search Sheet ────────────────────────────────── */
.bible-search-sheet { padding: 14px 0 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.bs-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 12px;
  border-bottom: var(--border);
}
.bs-input {
  flex: 1;
  padding: 11px 14px;
  background: var(--ivory-warm);
  border: var(--border-med);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--duration) var(--ease);
}
.bs-input:focus { border-color: var(--gold); }
.bs-cancel {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  white-space: nowrap;
  padding: 4px 0;
}
.bs-results {
  padding: 12px 18px 20px;
  overflow-y: auto;
  max-height: 70vh;
  -webkit-overflow-scrolling: touch;
}

/* ── More Menu Sheet ───────────────────────────────────── */
.bible-more-sheet { padding: 14px 16px 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.more-menu-list { display: flex; flex-direction: column; gap: 4px; }
.more-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  transition: all var(--duration) var(--ease);
}
.more-menu-item:hover, .more-menu-item:active {
  background: var(--ivory-warm);
  border-color: rgba(184,150,62,0.3);
}
.more-menu-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

/* ── Universal Scripture Links ─────────────────────────────── */
.scripture-link {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  color: var(--gold);
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(184,150,62,0.4);
  transition: color var(--duration) var(--ease), text-decoration-color var(--duration) var(--ease);
  line-height: inherit;
}
.scripture-link:hover {
  color: var(--charcoal);
  text-decoration-color: rgba(42,45,37,0.5);
}
.guide-bubble-ai .scripture-link {
  color: var(--gold-light);
  text-decoration-color: rgba(212,176,106,0.4);
}
.guide-bubble-ai .scripture-link:hover {
  color: #fff;
  text-decoration-color: rgba(255,255,255,0.5);
}
.scripture-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--gold-dim);
  color: var(--gold);
  border: var(--border-gold);
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  transition: all var(--duration) var(--ease);
}
.scripture-pill:hover {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}

/* ── Settings page ──────────────────────────────────────── */
.settings-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: var(--border);
}
.settings-section:last-of-type {
  border-bottom: none;
}
.settings-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.settings-section-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
}
.settings-section-count {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-dim);
  border: var(--border-gold);
  border-radius: var(--r-pill);
  padding: 2px 9px;
  letter-spacing: 0.02em;
}
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-md);
  backdrop-filter: blur(12px);
}
.settings-item-main { flex: 1; min-width: 0; }
.settings-item-ref {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.settings-item-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.settings-item-action {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: var(--border-med);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  font-family: var(--sans);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
}
.settings-item-action:hover {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}
.settings-empty {
  font-size: 13px;
  color: var(--text-3);
  font-style: italic;
  padding: 12px 0;
  line-height: 1.6;
}
.settings-info-row {
  font-size: 14px;
  color: var(--charcoal);
  padding: 12px 0;
  font-family: var(--serif);
}
.settings-toggle {
  padding: 7px 18px;
  border-radius: var(--r-pill);
  border: var(--border-med);
  background: transparent;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  min-width: 52px;
  text-align: center;
}
.settings-toggle.settings-toggle-on {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}
.settings-danger {
  margin-top: 8px;
}
.settings-action-btn {
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  background: var(--surface);
  border: var(--border-med);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  backdrop-filter: blur(12px);
}
.settings-action-btn:hover {
  background: var(--ivory-warm);
  color: var(--charcoal);
  border-color: rgba(42,45,37,0.16);
}
.settings-action-destructive {
  color: #C0392B;
  border-color: rgba(192,57,43,0.2);
}
.settings-action-destructive:hover {
  background: rgba(192,57,43,0.06);
  border-color: rgba(192,57,43,0.35);
  color: #C0392B;
}

/* Verse highlight animation (for navigateToVerse) */
.verse-highlight {
  background: rgba(184,150,62,0.14) !important;
  border-radius: var(--r-sm);
  transition: background 0.3s var(--ease);
}

/* ── Saved toast ──────────────────────────────────────────── */
.saved-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--charcoal);
  color: var(--gold-light);
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--ease);
  z-index: 400;
  box-shadow: var(--shadow-lg, 0 8px 24px rgba(42,45,37,0.2));
}
.saved-toast.open {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ── Read Mode ────────────────────────────────────────────── */
body.read-mode .verse-row {
  border: none !important;
  background: transparent !important;
  padding: 18px 4px !important;
  box-shadow: none !important;
}
body.read-mode .verse-actions,
body.read-mode .verse-options,
body.read-mode .verse-versions {
  display: none !important;
}
body.read-mode .verse-text {
  font-size: 19px !important;
  line-height: 1.95 !important;
  color: var(--charcoal) !important;
}
body.read-mode .verse-num {
  font-size: 11px !important;
  opacity: 0.55 !important;
}
body.read-mode .app-hero,
body.read-mode .section-divider,
body.read-mode .bible-toggle-btn:not(#read-mode-toggle) {
  opacity: 0.4;
}
body.read-mode #read-mode-toggle {
  background: var(--charcoal) !important;
  color: var(--gold-light) !important;
  border-color: var(--charcoal) !important;
}
#read-mode-toggle.active {
  background: var(--charcoal);
  color: var(--gold-light);
}

/* ── Mobile Bible reader polish ───────────────────────────── */
@media (max-width: 900px) {
  /* Sticky book/chapter selectors near top of bible page */
  #page-bible .book-grid,
  #page-bible #ch-section {
    position: relative;
  }
  /* Larger verse text on mobile */
  .verse-text {
    font-size: 16.5px;
    line-height: 1.85;
  }
  .verse-num {
    font-size: 12px;
  }
  .verse-row {
    padding: 14px 12px;
  }
  /* Bigger tap target for action buttons */
  .verse-action-btn {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 13px;
  }
  /* Better spacing between verses */
  .verse-list { gap: 12px; }
}

/* ══════════════════════════════════
   DASHBOARD HOME
══════════════════════════════════ */
.dashboard {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 16px 100px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Header */
.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 0 6px;
  margin-bottom: 4px;
}
.dash-header-inner {}
.dash-greeting {
  font-family: var(--serif);
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.dash-sub {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 3px;
}
.dash-header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  padding-top: 4px;
}
.dash-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  backdrop-filter: blur(12px);
}
.dash-icon-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-3);
}
.dash-icon-btn:hover {
  background: var(--ivory-warm);
  border-color: rgba(184,150,62,0.3);
}
.dash-icon-btn:hover svg {
  stroke: var(--charcoal);
}

/* Generic card base */
.dash-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-xl);
  padding: 20px 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Continue Reading */
.dash-continue {
  cursor: pointer;
  border-color: rgba(184,150,62,0.2);
  background: linear-gradient(135deg, rgba(184,150,62,0.06) 0%, var(--surface) 60%);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.dash-continue::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,150,62,0.35), transparent);
}
.dash-continue:hover {
  border-color: rgba(184,150,62,0.4);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.dash-continue-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.dash-continue-loc {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.2;
}
.dash-continue-action {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Verse of the Day */
.dash-votd {
  border-color: rgba(138,155,122,0.25);
  background: linear-gradient(135deg, rgba(138,155,122,0.05) 0%, var(--surface) 70%);
}
.dash-votd-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}
.dash-votd-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.dash-votd-ref {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.dash-votd-actions {
  display: flex;
  gap: 8px;
}
.dash-votd-btn {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  border: var(--border-med);
  background: transparent;
  color: var(--text-2);
}
.dash-votd-btn:hover {
  background: var(--ivory-warm);
  color: var(--charcoal);
}
.dash-votd-btn-primary {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
  margin-left: auto;
}
.dash-votd-btn-primary:hover {
  background: var(--olive);
  color: var(--gold-light);
  border-color: var(--olive);
}

/* Quick Actions 2×2 */
.dash-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dash-quick-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: 18px 16px;
  text-align: left;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  backdrop-filter: blur(12px);
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-quick-card:hover {
  border-color: rgba(184,150,62,0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.dash-quick-card:active {
  transform: translateY(0);
  background: var(--ivory-warm);
}
.dash-quick-icon {
  width: 32px;
  height: 32px;
  background: var(--ivory-warm);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-quick-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-2);
}
.dash-quick-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
}

/* Section headers */
.dash-section { display: flex; flex-direction: column; gap: 10px; }
.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-section-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.dash-section-more {
  font-size: 12px;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}
.dash-section-more:hover { color: var(--charcoal); }

/* Recent studies row */
.dash-recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dash-recent-empty {
  font-size: 13px;
  color: var(--text-3);
  font-style: italic;
  padding: 8px 0;
}

/* Doctrine Progress */
.dash-doctrine {
  border-color: rgba(107,143,168,0.2);
  background: linear-gradient(135deg, rgba(107,143,168,0.05) 0%, var(--surface) 70%);
}
.dash-doctrine-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mineral);
  margin-bottom: 4px;
}
.dash-doctrine-sub {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 14px;
}
.dash-doctrine-lessons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}
.dash-doctrine-pill {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-family: var(--sans);
  font-weight: 500;
}
.dash-doctrine-pill-done {
  background: var(--sage-dim);
  color: var(--sage);
  border: 1px solid rgba(138,155,122,0.25);
}
.dash-doctrine-pill-next {
  background: var(--charcoal);
  color: var(--gold-light);
}
.dash-doctrine-pill-todo {
  background: var(--ivory-warm);
  color: var(--text-3);
  border: var(--border);
}
.dash-doctrine-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--mineral);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  padding: 0;
  transition: color var(--duration) var(--ease);
}
.dash-doctrine-btn:hover { color: var(--charcoal); }

/* Guide status card */
.dash-guide-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}
.dash-guide-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(42,45,37,0.2);
  flex-shrink: 0;
  transition: background 0.4s;
}
.dash-guide-status-dot.loading {
  background: var(--gold);
  animation: pulse 1s infinite;
}
.dash-guide-status-dot.ready {
  background: #6FCF97;
}
.dash-guide-status-dot.offline {
  background: rgba(42,45,37,0.15);
}
.dash-guide-status-inner { flex: 1; min-width: 0; }
.dash-guide-status-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.dash-guide-status-sub {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.4;
}
.dash-guide-open-btn {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-dim);
  border: var(--border-gold);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  cursor: pointer;
  font-family: var(--sans);
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
}
.dash-guide-open-btn:hover {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}

/* Featured Resource */
.dash-resource-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(12px);
}
.dash-resource-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 3px;
}
.dash-resource-sub {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}
.dash-resource-link {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-dim);
  border: var(--border-gold);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
  flex-shrink: 0;
}
.dash-resource-link:hover {
  background: var(--charcoal);
  color: var(--gold-light);
  border-color: var(--charcoal);
}

/* Tablet dashboard 2-col */
@media (min-width: 700px) {
  .dashboard {
    padding: 100px 24px 80px;
  }
  .dash-header { padding: 0 0 8px; }
}
@media (min-width: 960px) {
  .dashboard {
    max-width: 1060px;
    padding: 100px 32px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 16px;
    align-items: start;
  }
  .dash-header {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  /* Left column items */
  .dash-continue    { grid-column: 1; }
  .dash-quick-grid  { grid-column: 1; }
  .dash-doctrine    { grid-column: 1; }
  /* Right column items */
  .dash-votd        { grid-column: 2; }
  .dash-guide-status { grid-column: 2; }
  /* Full-width items */
  .dash-section     { grid-column: 1 / -1; }
}

/* Override home page flex for dashboard (no flex-direction column on mobile anymore) */
@media (max-width: 900px) {
  #home-page { display: block; }
}
