/* ============================================
   The Growing Disciple — Brand Stylesheet
   Dr. Andrew T. Burggraff · Shepherds Press
   Sky Variant · April 2026
   Forked from BIBLE 101 (Gospel Advance)
   ============================================ */

/* --- Google Fonts (Inter only — Georgia is a system font) --- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/* --- CSS Custom Properties (Brand System — Sky Variant) --- */
:root {
  /* Brand Palette */
  --brand-sky: #7ecbc3;
  --brand-mint: #dff3ef;
  --brand-mint-soft: #eef8f5;
  --brand-sky-dark: #5bafa8;
  --brand-teal: #199fa2;
  --brand-teal-deep: #0e5d5f;
  --brand-teal-ink: #073f41;
  --brand-gold: #c2a46f;
  --brand-brown: #655227;
  --brand-brown-dark: #4a3c1c;
  --brand-lime: #a2ce52;
  --brand-lime-dark: #8fb838;
  /* Blue accent family — added April 2026 to break up the green-heavy palette.
     --brand-blue: saturated, use on LIGHT backgrounds (cream, white).
     --brand-blue-light: softer, use on DARK backgrounds (teal-deep, brown)
     where full-saturation blue would be unreadable. */
  --brand-blue: #2b5caf;
  --brand-blue-light: #6a94d8;
  --brand-cream: #fafcfc;
  --brand-charcoal: #2b2b2b;
  --brand-gray: #6b6b6b;
  --brand-gray-light: #cfcfcf;
  --brand-white: #ffffff;

  /* Functional Aliases */
  --text-primary: var(--brand-charcoal);
  --text-secondary: var(--brand-gray);
  --text-on-dark: var(--brand-cream);
  --bg-primary: var(--brand-sky);
  --bg-dark: var(--brand-teal-deep);
  --accent: var(--brand-lime);
  --border-light: #d0e8e3;
  --border-lighter: #e8f2ef;
  --border-dark: var(--brand-teal-deep);

  /* Typography */
  --font-heading: Georgia, Cambria, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --nav-height: 64px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 18px;
  --shadow-soft: 0 18px 50px rgba(7, 63, 65, 0.1);
  --shadow-card: 0 10px 32px rgba(7, 63, 65, 0.08);

  /* Transitions */
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--brand-cream);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand-teal);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--brand-teal-deep);
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-brown);
}
h1 {
  font-size: 2.75rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.1rem;
}
p {
  margin-bottom: var(--space-md);
}

.text-teal {
  color: var(--brand-teal);
}
.text-muted {
  color: var(--text-secondary);
}
.text-cream {
  color: var(--brand-cream);
}

.label-accent {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-teal);
}

/* --- Scripture Callout --- */
.scripture-callout {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--brand-teal-deep);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}
.scripture-ref {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--brand-teal);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.container--narrow {
  max-width: var(--max-width-narrow);
}
main {
  flex: 1;
}
.section {
  padding: var(--space-4xl) 0;
}

/* ============================================
   COLOR-BLOCK SECTION VARIANTS
   Per Dr. Burggraff: "I like a lot of color
   on the page rather than a lot of white/cream."
   ============================================ */
.section--sky {
  background-color: var(--brand-sky);
  color: var(--brand-charcoal);
}
.section--teal-deep {
  background-color: var(--brand-teal-deep);
  color: var(--brand-cream);
}
.section--brown {
  background-color: var(--brand-brown);
  color: var(--brand-cream);
}
.section--cream {
  background-color: var(--brand-cream);
  color: var(--brand-charcoal);
}
.section--lime {
  background-color: var(--brand-lime);
  color: var(--brand-charcoal);
}
.section--dark {
  background-color: var(--brand-teal-deep);
  color: var(--brand-cream);
}
.section--white {
  background-color: var(--brand-white);
}

/* Dark-section headline overrides */
.section--teal-deep h1,
.section--teal-deep h2,
.section--teal-deep h3,
.section--teal-deep h4,
.section--brown h1,
.section--brown h2,
.section--brown h3,
.section--brown h4,
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--brand-cream);
}

/* Light-section headline overrides */
.section--sky h1,
.section--sky h2,
.section--cream h1,
.section--cream h2 {
  color: var(--brand-brown);
}

/* --- Divider --- */
.divider {
  width: 80px;
  height: 2px;
  background-color: var(--brand-sky);
  border: none;
  margin: var(--space-lg) 0;
}
.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */
.announcement-bar {
  background: var(--brand-sky);
  color: var(--brand-teal-deep);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border-light);
}
.announcement-bar strong {
  color: var(--brand-teal-deep);
  font-weight: 700;
}

/* =============================================
   NAVIGATION — Dark Teal (GiG Brand)
   ============================================= */
.nav {
  background-color: var(--brand-teal-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--brand-sky);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.nav__brand {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-cream);
  text-decoration: none;
}
.nav__brand i {
  font-weight: 400;
  color: var(--brand-sky);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}
.nav__links a {
  color: var(--brand-cream);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.7;
  transition:
    opacity var(--transition),
    color var(--transition);
}
.nav__links a:hover {
  opacity: 1;
  color: var(--brand-sky);
}
.nav__links a.is-active {
  opacity: 1;
  color: var(--brand-sky);
}

/* Dual CTAs: signin (visible when logged out) vs dashboard (visible when logged in) */
.nav__cta,
.nav__cta--signin,
.nav__cta--dashboard {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  background: var(--brand-sky);
  color: var(--brand-teal-deep);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 5px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  opacity: 1 !important;
}
.nav__cta:hover,
.nav__cta--signin:hover,
.nav__cta--dashboard:hover {
  background: var(--brand-lime);
  color: var(--brand-charcoal);
}
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--brand-cream);
  font-size: 1.4rem;
  cursor: pointer;
  padding: var(--space-sm);
}

/* =============================================
   HERO — Base (Dark, for course/landing pages)
   ============================================= */
.hero {
  background-color: var(--brand-teal-deep);
  color: var(--brand-cream);
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(126, 203, 195, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero h1 {
  color: var(--brand-cream);
  margin-bottom: var(--space-md);
  position: relative;
}
.hero p {
  color: var(--brand-sky);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  position: relative;
}
.hero .label-accent {
  margin-bottom: var(--space-md);
  display: block;
  position: relative;
  color: var(--brand-sky);
}
.hero--landing {
  padding: var(--space-4xl) var(--space-xl) var(--space-3xl);
}
.hero--landing h1 {
  font-size: 3rem;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}
.hero__subtitle {
  color: var(--brand-sky);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto var(--space-md);
  position: relative;
}

/* =============================================
   HERO WORDMARK — "Growing in Grace"
   ============================================= */
.hero-wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-brown);
  line-height: 1.05;
  margin: 0;
}
.hero-wordmark__in {
  font-style: italic;
  font-weight: 400;
  color: var(--brand-teal-deep);
  font-size: 0.55em;
  margin-right: 0.2em;
}
.hero-wordmark__grace {
  color: var(--brand-teal-deep);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: var(--brand-lime);
  color: var(--brand-charcoal);
  font-weight: 700;
  border-color: var(--brand-lime);
}
.btn--primary:hover {
  background: var(--brand-lime-dark);
  border-color: var(--brand-lime-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14, 93, 95, 0.12);
}
.btn--sky {
  background: var(--brand-sky);
  color: var(--brand-teal-deep);
  border-color: var(--brand-sky);
}
.btn--sky:hover {
  background: var(--brand-lime);
  color: var(--brand-charcoal);
  border-color: var(--brand-lime);
}
.btn--lime {
  background: var(--brand-lime);
  color: var(--brand-charcoal);
  border-color: var(--brand-lime);
}
.btn--lime:hover {
  background: var(--brand-lime-dark);
  border-color: var(--brand-lime-dark);
}
/* Outline + ghost buttons default to blue on light backgrounds.
   Dark-background overrides (.hero, .cta) appear further down. */
.btn--outline {
  background-color: transparent;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.btn--outline:hover {
  background-color: var(--brand-blue);
  color: var(--brand-cream);
  border-color: var(--brand-blue);
}
.btn--outline-teal {
  background-color: transparent;
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}
.btn--outline-teal:hover {
  background-color: var(--brand-teal);
  color: var(--brand-cream);
}
.btn--dark {
  background-color: var(--brand-teal-deep);
  color: var(--brand-cream);
}
.btn--dark:hover {
  background-color: var(--brand-brown-dark);
}
.btn--ghost {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.btn--ghost:hover {
  background: var(--brand-blue);
  color: var(--brand-cream);
  border-color: var(--brand-blue);
}
/* Hero override: on the teal-deep hero, blue-on-dark would be too low
   contrast for the button label, so keep the label cream but use blue
   for the border accent. */
.hero .btn--ghost {
  color: var(--brand-cream);
  border-color: var(--brand-blue);
  background: transparent;
}
.hero .btn--ghost:hover {
  background: var(--brand-blue);
  color: var(--brand-cream);
  border-color: var(--brand-blue);
}
/* Flagship override: the "Get the Workbook" ghost button inside the
   flagship section retains its original subtle-cream look (no blue
   treatment) per brand direction. */
.section--flagship .btn--ghost {
  color: var(--brand-cream);
  border-color: rgba(250, 252, 252, 0.25);
  background: transparent;
}
.section--flagship .btn--ghost:hover {
  background: transparent;
  color: var(--brand-cream);
  border-color: var(--brand-cream);
}
.btn--lg {
  padding: 1.1rem 2.75rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: var(--brand-sky);
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.cta-band h3 {
  color: var(--brand-teal-deep);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.cta-band p {
  color: var(--brand-teal-deep);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

/* =============================================
   TEXT HIGHLIGHT SYSTEM
   ============================================= */
.text-highlight {
  color: var(--brand-charcoal);
  font-weight: 700;
}
.text-highlight--teal {
  color: var(--brand-teal);
  font-weight: 700;
}
.text-highlight--underline {
  color: var(--brand-charcoal);
  font-weight: 700;
  background: rgba(126, 203, 195, 0.2);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.text-underline {
  text-decoration: underline;
  text-decoration-color: var(--brand-teal);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* =============================================
   VALUE CARDS
   ============================================= */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
.value-card {
  background: var(--brand-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(14, 93, 95, 0.08);
}
.value-card__icon {
  width: 56px;
  height: 56px;
  background: var(--brand-sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  border: 2px solid var(--border-light);
}
.value-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--brand-teal-deep);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}
.value-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   COURSE HEADER (Compact, growing-in-grace.html)
   ============================================= */
.course-header {
  background: var(--brand-teal-deep);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  border-bottom: 2px solid var(--brand-sky);
}
.course-header .label-accent {
  display: block;
  margin-bottom: var(--space-md);
  color: var(--brand-sky);
}
.course-header h1 {
  font-size: 2.75rem;
  color: var(--brand-cream);
  margin-bottom: 0.75rem;
}
.course-header__sub {
  font-size: 1.1rem;
  color: var(--brand-sky);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* =============================================
   MODULE CARDS (Section overview grid)
   ============================================= */
.course-modules {
  background: var(--brand-sky);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-light);
}
.module-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.module-card {
  background: var(--brand-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.25rem 1.75rem;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(14, 93, 95, 0.1);
  border-color: var(--brand-teal);
}
.module-card__number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-teal);
  line-height: 1;
  margin-bottom: 0.85rem;
}
.module-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}
.module-card__weeks {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 0.85rem;
}
.module-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}
.module-card--coming-soon {
  opacity: 0.45;
  cursor: default;
}
.module-card--coming-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border-light);
}
.module-card--coming-soon .module-card__weeks {
  color: var(--brand-gray);
}

/* =============================================
   COURSE SIGNUP (Auth form card)
   ============================================= */
.course-signup {
  background: var(--brand-sky);
  padding: 4rem 0;
}
.signup-card {
  background: var(--brand-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  padding: 3rem 3.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(14, 93, 95, 0.08);
  max-width: 640px;
  margin: 0 auto;
}
.signup-card h2 {
  font-size: 1.75rem;
  color: var(--brand-brown);
  margin-bottom: 0.65rem;
}
.signup-card > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.signup-form {
  text-align: left;
}
.signup-form h2 {
  font-size: 1.75rem;
  color: var(--brand-brown);
  margin-bottom: 0.5rem;
}
.signup-form__intro {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.signup-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: var(--space-md);
}
.signup-form__group {
  margin-bottom: var(--space-md);
}
.signup-form__group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-charcoal);
  margin-bottom: 0.3rem;
}
.signup-form__group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--brand-cream);
  color: var(--text-primary);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.signup-form__group input:focus {
  outline: none;
  border-color: var(--brand-teal);
  background: var(--brand-white);
}
.signup-form__group input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--brand-cream);
  color: var(--text-primary);
  transition:
    border-color var(--transition),
    background var(--transition);
}
.signup-form__group input[type="password"]:focus {
  outline: none;
  border-color: var(--brand-teal);
  background: var(--brand-white);
}
.signup-form__btn {
  width: 100%;
  margin-top: var(--space-sm);
}
.signup-form__note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--brand-gray);
  margin-top: var(--space-md);
  margin-bottom: 0;
}

/* =============================================
   CARDS (General)
   ============================================= */
.card {
  background-color: var(--brand-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-xl);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 93, 95, 0.08);
}
.card__tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: var(--space-sm);
}
.card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

/* =============================================
   MODULE / ACCORDION (Dashboard)
   ============================================= */
.module {
  background: var(--brand-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: var(--space-md);
  overflow: hidden;
}
.module__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  cursor: pointer;
  transition: background-color var(--transition);
  user-select: none;
}
.module__header:hover {
  background-color: rgba(126, 203, 195, 0.12);
}
.module__number {
  width: 40px;
  height: 40px;
  background: var(--brand-teal-deep);
  color: var(--brand-sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.module__info {
  flex: 1;
}
.module__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-brown);
}
.module__subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.module__toggle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.module.is-open .module__toggle {
  transform: rotate(180deg);
}
.module__lessons {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.module.is-open .module__lessons {
  max-height: 2000px;
}
.module__lesson-list {
  padding: 0 var(--space-xl) var(--space-lg);
  list-style: none;
}

/* Coming Soon module variant */
.module--coming-soon {
  opacity: 0.5;
  cursor: default;
}
.module--coming-soon .module__header {
  cursor: default;
}
.module--coming-soon .module__header:hover {
  background-color: transparent;
}

/* =============================================
   LESSON ITEMS (Dashboard)
   ============================================= */
.lesson-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  margin-bottom: var(--space-sm);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.lesson-item:hover {
  background-color: rgba(126, 203, 195, 0.12);
  border-color: var(--brand-teal);
  color: inherit;
}
.lesson-item__week {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-teal);
  white-space: nowrap;
  min-width: 60px;
}
.lesson-item__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  flex: 1;
  color: var(--brand-charcoal);
}
.lesson-item__arrow {
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: transform var(--transition);
}
.lesson-item:hover .lesson-item__arrow {
  transform: translateX(4px);
  color: var(--brand-teal);
}

/* =============================================
   LESSON PAGE
   ============================================= */
.lesson-header {
  background: var(--brand-teal-deep);
  color: var(--brand-cream);
  padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
}
.lesson-header .label-accent {
  margin-bottom: var(--space-sm);
  color: var(--brand-sky);
}
.lesson-header h1 {
  color: var(--brand-cream);
  font-size: 2.25rem;
  max-width: 700px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--brand-sky);
  opacity: 0.8;
}
.breadcrumb a:hover {
  opacity: 1;
}
.breadcrumb__sep {
  color: var(--brand-gray);
}
.breadcrumb__current {
  color: var(--brand-cream);
}

/* Embed Blocks */
.embed-block {
  margin-bottom: var(--space-xl);
}
.embed-block__label {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--brand-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
}
.embed-block__icon {
  width: 44px;
  height: 44px;
  background: var(--brand-teal-deep);
  color: var(--brand-sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.embed-block__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-charcoal);
}
.embed-block__subtitle {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--brand-teal-deep);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}
.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Lesson Content */
.lesson-content {
  padding: var(--space-3xl) 0;
}
.lesson-section {
  margin-bottom: var(--space-2xl);
}
.lesson-section__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--brand-teal);
  display: inline-block;
}
.lesson-section ul {
  list-style: none;
  padding: 0;
}
.lesson-section li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}
.lesson-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--brand-teal);
  border-radius: 50%;
}
.lesson-section--resource {
  display: block;
}

/* Key Terms */
.term {
  margin-bottom: var(--space-md);
}
.term__name {
  font-weight: 700;
  color: var(--brand-charcoal);
}
.term__def {
  color: var(--text-secondary);
}

/* Scripture Tags */
.scripture-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.scripture-tag {
  background: var(--brand-teal-deep);
  color: var(--brand-cream);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ESV Cross-Reference Tool */
a.esv-crossref-link {
  color: var(--brand-blue) !important;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a.esv-crossref-link:hover,
a.esv-crossref-link:focus-visible {
  color: var(--brand-teal-ink) !important;
  text-decoration-style: solid;
}
.scripture-tag a.esv-crossref-link {
  color: inherit !important;
  text-decoration: none;
}
.scripture-tag a.esv-crossref-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--brand-mint);
  outline-offset: 3px;
}

/* Lesson Nav */
.lesson-top-nav {
  background: var(--brand-sky);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
}
.lesson-top-nav__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-teal-deep);
  text-decoration: none;
  transition: color 0.2s;
}
.lesson-top-nav__link:hover {
  color: var(--brand-brown);
}

/* Bottom Course Overview button */
.lesson-nav__overview {
  text-align: center;
  padding: var(--space-lg) 0 0;
  margin-top: var(--space-lg);
}
.lesson-nav__overview .btn--outline {
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--brand-charcoal);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.lesson-nav__overview .btn--outline:hover {
  border-color: var(--brand-teal);
  background: rgba(126, 203, 195, 0.12);
}

.lesson-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: var(--space-md);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-light);
  margin-top: var(--space-lg);
}
.lesson-nav__link {
  display: flex;
  flex-direction: column;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  max-width: 48%;
}
.lesson-nav__link:hover {
  border-color: var(--brand-teal);
  background: rgba(126, 203, 195, 0.12);
  color: inherit;
}
.lesson-nav__link--prev {
  align-items: flex-start;
}
.lesson-nav__link--next {
  align-items: flex-end;
  margin-left: auto;
}
.lesson-nav__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 4px;
}
.lesson-nav__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

/* =============================================
   EMAIL FORM
   ============================================= */
.email-form {
  max-width: 480px;
  margin: 0 auto;
}
.email-form__group {
  margin-bottom: var(--space-md);
}
.email-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}
.email-form input[type="text"],
.email-form input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--brand-white);
  color: var(--text-primary);
  transition: border-color var(--transition);
}
.email-form input:focus {
  outline: none;
  border-color: var(--brand-teal);
}

/* =============================================
   BENEFITS GRID
   ============================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
.benefits-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
.benefit {
  text-align: center;
  padding: var(--space-lg);
}
.benefit__icon {
  width: 56px;
  height: 56px;
  background: var(--brand-teal-deep);
  color: var(--brand-sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-md);
}
.benefit__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}
.benefit__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* =============================================
   DASHBOARD HEADER
   ============================================= */
.dash-header {
  background: var(--brand-teal-deep);
  color: var(--brand-cream);
  padding: 2.75rem 0 2.5rem;
  text-align: center;
}
.dash-header__greeting {
  font-size: 0.95rem;
  color: var(--brand-sky);
  margin-bottom: var(--space-sm);
}
.dash-header__greeting strong {
  color: var(--brand-cream);
}
.dash-header__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-cream);
  margin-bottom: 0.25rem;
}
.dash-header__sub {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brand-sky);
  margin-bottom: 1.75rem;
}

/* =============================================
   PROGRESS BAR
   ============================================= */
.progress-wrapper {
  max-width: 480px;
  margin: 0 auto 1.5rem;
}
.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.progress-bar__fill {
  height: 100%;
  background: var(--brand-lime);
  border-radius: 20px;
  transition: width 0.6s ease;
}
.progress-bar__text {
  font-size: 0.82rem;
  color: var(--brand-sky);
  margin-bottom: 0;
}

/* =============================================
   LESSON COMPLETION STATES (Dashboard)
   ============================================= */
.lesson-item__check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-light);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  transition: all var(--transition);
}
.lesson-item.is-completed .lesson-item__check {
  background: var(--brand-lime);
  border-color: var(--brand-lime);
  font-size: 0.7rem;
  color: var(--brand-charcoal);
}
.lesson-item.is-completed .lesson-item__check::after {
  content: "\2713";
}
.lesson-item.is-started .lesson-item__check {
  border-color: var(--brand-teal);
  background: rgba(25, 159, 162, 0.1);
}
.lesson-item.is-completed .lesson-item__title {
  color: var(--brand-gray);
}

/* =============================================
   AUTH MESSAGES
   ============================================= */
.auth-message {
  padding: 0.85rem 1.25rem;
  border-radius: var(--border-radius);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  text-align: center;
}
.auth-message--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.auth-message--info {
  background: #f0f9ff;
  color: #075985;
  border: 1px solid #bae6fd;
}

/* =============================================
   LESSON COMPLETE BUTTON
   ============================================= */
.lesson-complete {
  text-align: center;
  padding: var(--space-2xl) 0 var(--space-lg);
}
.lesson-complete__btn {
  min-width: 280px;
}
.lesson-complete__btn.is-completed {
  background: var(--brand-sky);
  color: var(--brand-teal-deep);
  border-color: var(--brand-sky);
  cursor: default;
  opacity: 0.85;
}
.lesson-complete__btn.is-completed:hover {
  transform: none;
  box-shadow: none;
}

/* =============================================
   PASSWORD VISIBILITY TOGGLE
   ============================================= */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrapper input {
  padding-right: 2.75rem;
  width: 100%;
}
.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.password-toggle:hover {
  color: var(--text-primary);
}

/* =============================================
   FORGOT PASSWORD LINK
   ============================================= */
.signup-form__forgot {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--brand-teal);
  text-decoration: none;
  transition: opacity 0.2s;
}
.signup-form__forgot:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* =============================================
   EMAIL SENT POPUP / MODAL
   ============================================= */
.email-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.25s ease;
}
.email-popup {
  background: var(--brand-white);
  border-radius: 1rem;
  padding: 2.5rem 2rem 2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.3s ease;
}
.email-popup__icon {
  margin-bottom: 1rem;
}
.email-popup__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.email-popup__message {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.email-popup__resend {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.email-popup__close {
  display: block;
  width: 100%;
  font-size: 0.9rem;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--brand-teal-deep);
  color: var(--brand-cream);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  font-size: 0.85rem;
  border-top: 2px solid var(--brand-sky);
}
.footer a {
  color: var(--brand-mint);
}
.footer a:hover {
  color: var(--brand-white);
}
.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.footer__tagline {
  color: #d2e8e4;
  font-size: 0.84rem;
  margin-bottom: var(--space-md);
  font-style: italic;
}
.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.footer__copy {
  color: #b8d5d1;
  font-size: 0.78rem;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }

  .container {
    padding: 0 var(--space-md);
  }
  .section {
    padding: var(--space-2xl) 0;
  }

  /* Nav */
  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--brand-teal-deep);
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 2px solid var(--brand-sky);
    gap: var(--space-md);
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__links a {
    opacity: 1;
    font-size: 1rem;
  }
  .nav__hamburger {
    display: block;
  }
  /* Nav CTAs stay visible inside the hamburger menu (they're now inside the ul).
     Adjust spacing to look like proper menu items on mobile. */
  .nav__links .nav__cta,
  .nav__links .nav__cta--signin,
  .nav__links .nav__cta--dashboard {
    align-self: flex-start;
    margin-top: 0.25rem;
  }

  /* Hero (course pages) */
  .hero {
    padding: var(--space-2xl) var(--space-md);
  }
  .hero--landing h1 {
    font-size: 2rem;
  }

  /* Value Cards */
  .value-grid {
    grid-template-columns: 1fr;
  }

  /* Benefits */
  .benefits-grid,
  .benefits-grid--3col {
    grid-template-columns: 1fr 1fr;
  }

  /* Course header */
  .course-header h1 {
    font-size: 2rem;
  }
  .course-header {
    padding: 2.5rem 0 2rem;
  }

  /* Module cards → 2 columns on tablet */
  .module-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .module-card {
    padding: 1.5rem 1rem 1.25rem;
  }
  .module-card__title {
    font-size: 0.95rem;
  }
  .module-card__desc {
    font-size: 0.8rem;
  }

  /* Signup card */
  .signup-card {
    padding: 2rem 1.5rem;
  }
  .signup-card h2 {
    font-size: 1.4rem;
  }

  /* Lesson page */
  .lesson-header h1 {
    font-size: 1.75rem;
  }
  .lesson-nav {
    flex-direction: column;
  }
  .lesson-nav__link {
    max-width: 100%;
  }
  .lesson-nav__link--next {
    align-items: flex-start;
  }

  /* Lesson items */
  .lesson-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .benefits-grid,
  .benefits-grid--3col {
    grid-template-columns: 1fr;
  }

  /* Module cards → single column on mobile */
  .module-cards {
    grid-template-columns: 1fr;
  }

  /* Signup form → stacked on mobile */
  .signup-form__row {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   GROWING IN GRACE V2 SYSTEM
   ============================================= */
.section-heading {
  margin-bottom: 1.75rem;
}
.section-heading__eyebrow,
.lesson-section__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(14, 93, 95, 0.08);
  color: var(--brand-teal-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-heading h2,
.lesson-section__heading {
  color: var(--brand-teal-ink);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  max-width: 720px;
  margin: 0;
}

/* Signup V2 */
.course-modules--overview {
  display: none;
}
.course-signup--v2 {
  background:
    radial-gradient(circle at 50% 0%, rgba(126, 203, 195, 0.13), transparent 34rem),
    linear-gradient(180deg, #fffdf9, var(--brand-cream));
  padding: 4.1rem 0 2.2rem;
}
.signup-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
  gap: 0;
  align-items: stretch;
  max-width: 1310px;
  margin: 0 auto;
  border: 1px solid #d8ebe7;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 60px rgba(7, 63, 65, 0.1);
  overflow: hidden;
}
.signup-visual,
.signup-card--v2 {
  overflow: hidden;
  box-shadow: none;
}
.signup-visual {
  min-height: 715px;
  position: relative;
  isolation: isolate;
  background: #073f41;
}
.signup-visual__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/public/images/growing-in-grace/signup/signup-hero-grow-in-grace-walk-in-christ.webp");
  background-size: cover;
  background-position: center;
}
.signup-card--v2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 3.8rem);
  border: 0;
  background: rgba(255, 255, 255, 0.74);
  text-align: left;
}
.signup-form__mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 1px solid var(--brand-teal);
  border-radius: 50%;
  color: var(--brand-teal);
  background: var(--brand-mint-soft);
  font-size: 1rem;
}
.signup-card--v2 h2 {
  color: var(--brand-teal-ink);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  text-align: center;
  line-height: 1.04;
}
.signup-card--v2 h2 em {
  color: var(--brand-teal);
  font-style: italic;
  font-weight: 700;
}
.signup-card--v2 .signup-form__intro {
  max-width: 430px;
  margin: 0 auto 2rem;
  color: #536b6b;
  text-align: center;
  font-size: 0.98rem;
}
.signup-card--v2 .signup-form__group {
  margin-bottom: 1.1rem;
}
.signup-card--v2 .signup-form__group label {
  color: var(--brand-teal-ink);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.signup-card--v2 .signup-form__group input {
  min-height: 48px;
  border-color: #b8d8d5;
  background: #fbfefd;
  border-radius: 10px;
}
.signup-card--v2 .signup-form__group input:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(25, 159, 162, 0.12);
}
.signup-card--v2 .signup-form__btn {
  min-height: 56px;
  border-radius: 10px;
  background: var(--brand-teal-deep);
  border-color: var(--brand-teal-deep);
  color: var(--brand-cream);
}
.signup-card--v2 .signup-form__btn:hover {
  background: var(--brand-teal-ink);
  border-color: var(--brand-teal-ink);
}
.signup-trust-row {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.signup-trust-row span {
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--border-lighter);
  border-radius: 999px;
  color: var(--brand-teal-deep);
  background: var(--brand-mint-soft);
  font-size: 0.74rem;
  font-weight: 700;
}
.signup-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1310px;
  margin: 0 auto;
  padding: 1.5rem 1.8rem;
  border: 1px solid #e2efec;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(7, 63, 65, 0.06);
}
.signup-benefits div {
  padding: 0 1.8rem;
  border-left: 1px solid #d8ebe7;
}
.signup-benefits div:first-child {
  border-left: 0;
}
.signup-benefits strong {
  display: block;
  color: var(--brand-teal-ink);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.signup-benefits span {
  display: block;
  color: #526869;
  font-size: 0.9rem;
  line-height: 1.45;
}
.signup-scripture {
  margin: 1.65rem auto 0;
  color: var(--brand-teal-ink);
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
}
.signup-scripture cite {
  display: block;
  margin-top: 0.35rem;
  color: var(--brand-teal);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: normal;
}

/* Dashboard V2 */
.dash-header--v2 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fffefa, var(--brand-cream));
  color: var(--brand-teal-ink);
  padding: 3.4rem 0 1.7rem;
  text-align: left;
  border-bottom: 0;
}
.dash-header__grid {
  display: block;
  max-width: 1180px;
}
.dash-header__title {
  color: var(--brand-teal-ink);
  font-size: clamp(2.6rem, 5vw, 4.35rem);
  letter-spacing: 0;
  margin-bottom: 0.8rem;
}
.dash-header__sub {
  font-family: var(--font-body);
  font-style: normal;
  color: #566b6d;
  max-width: 650px;
  font-size: 1.05rem;
}
.dash-header__greeting {
  margin-bottom: 0.5rem;
  color: var(--brand-teal);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dashboard-progress-card {
  display: grid;
  grid-template-columns: 118px 1fr auto;
  align-items: center;
  gap: 1.7rem;
  margin-top: 2rem;
  padding: 1.35rem 1.55rem;
  border: 1px solid rgba(126, 203, 195, 0.24);
  border-radius: var(--border-radius-xl);
  background:
    radial-gradient(circle at 12% 50%, rgba(126, 203, 195, 0.18), transparent 14rem),
    linear-gradient(135deg, #074244, #0e6a6d);
  box-shadow: 0 18px 42px rgba(7, 63, 65, 0.16);
  color: var(--brand-cream);
}
.dashboard-progress-card__ring {
  width: 92px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 10px solid rgba(126, 203, 195, 0.38);
  border-top-color: var(--brand-sky);
  border-radius: 50%;
  color: var(--brand-cream);
  line-height: 1;
}
.dashboard-progress-card__ring span {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
}
.dashboard-progress-card__ring small {
  margin-top: 0.2rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dashboard-progress-card__label {
  margin-bottom: 0.45rem;
  color: var(--brand-sky);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dashboard-progress-card h2 {
  margin: 0 0 0.25rem;
  color: var(--brand-cream);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}
.dashboard-progress-card p {
  margin-bottom: 0;
  color: rgba(250, 252, 252, 0.84);
}
.dashboard-progress-card .progress-wrapper {
  max-width: none;
  margin: 0.8rem 0 0;
}
.dashboard-progress-card .progress-bar {
  height: 6px;
  background: rgba(250, 252, 252, 0.18);
}
.dashboard-progress-card .progress-bar__fill {
  background: linear-gradient(90deg, var(--brand-sky), var(--brand-lime));
}
.dashboard-progress-card .progress-bar__text {
  color: rgba(250, 252, 252, 0.72);
  font-size: 0.78rem;
}
.dashboard-progress-card .btn {
  border-radius: 999px;
  background: var(--brand-mint);
  border-color: var(--brand-mint);
  color: var(--brand-teal-ink);
  white-space: nowrap;
}
.dashboard-curriculum {
  background: linear-gradient(180deg, var(--brand-cream), var(--brand-mint-soft));
  padding: 1.8rem 0 2rem;
}
.dashboard-curriculum__inner {
  max-width: 1180px;
}
.dashboard-curriculum .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.dashboard-curriculum .section-heading h2 {
  font-size: 1.8rem;
}
.dashboard-curriculum .module {
  margin-bottom: 0.65rem;
  border-color: #b9ddda;
  border-radius: 8px;
  box-shadow: none;
}
.dashboard-curriculum .module__header {
  padding: 1.15rem 1.35rem;
}
.dashboard-curriculum .module__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-teal-deep);
  color: var(--brand-sky);
}
.dashboard-curriculum .module__title {
  color: var(--brand-teal-ink);
  font-size: 1.22rem;
}
.dashboard-curriculum .module__subtitle {
  color: #607475;
}
.dashboard-curriculum .module__lesson-list {
  padding: 0 1.5rem 1.5rem;
}
.dashboard-curriculum .lesson-item {
  gap: 0.9rem;
  margin-bottom: 0.7rem;
  padding: 0.9rem 1rem;
  border-color: #e0eeeb;
  background: #fbfefd;
}
.dashboard-curriculum .lesson-item:hover {
  background: var(--brand-mint-soft);
}
.dashboard-curriculum .lesson-item__title {
  color: var(--brand-teal-ink);
}
.dashboard-account {
  padding: 0 0 3rem;
  background: var(--brand-mint-soft);
}
.dashboard-account__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid #dbece8;
  border-radius: 16px;
  background: var(--brand-white);
}
.dashboard-account__card h3 {
  margin: 0 0 0.15rem;
  color: var(--brand-teal-ink);
  font-size: 1.1rem;
}
.dashboard-account__card p {
  margin: 0;
  color: #607475;
  font-size: 0.85rem;
}
.dashboard-account__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.dashboard-account__actions .btn {
  padding: 0.55rem 1.1rem;
  border-radius: 9px;
  font-size: 0.84rem;
}
.dashboard-account__signout {
  border-color: #b95c5c;
  color: #9f3434;
}
.dashboard-account__signout:hover {
  background: #9f3434;
  border-color: #9f3434;
  color: var(--brand-cream);
}

/* Lesson V2 */
.lesson-page-v2 {
  background: var(--brand-cream);
}
.lesson-page-v2 .lesson-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.8rem 0 2rem;
  background:
    linear-gradient(90deg, rgba(7, 63, 65, 0.98) 0%, rgba(7, 63, 65, 0.92) 48%, rgba(7, 63, 65, 0.62) 100%),
    url("/public/images/growing-in-grace/lesson/lesson-hero-road-to-cross-wide.webp"),
    linear-gradient(135deg, #073f41, #0e5d5f);
  background-size: cover;
  background-position: center;
}
.lesson-page-v2 .lesson-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 203, 195, 0.45), transparent);
}
.lesson-page-v2 .lesson-header .container {
  max-width: 1040px;
}
.lesson-page-v2 .lesson-header .label-accent {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(126, 203, 195, 0.38);
  border-radius: 999px;
  background: rgba(7, 63, 65, 0.48);
  color: var(--brand-sky);
}
.lesson-page-v2 .lesson-header h1 {
  max-width: 820px;
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: 0;
}
.lesson-hero__intro {
  max-width: 710px !important;
  margin-top: 1.1rem !important;
  color: rgba(250, 252, 252, 0.82) !important;
  font-size: 1.05rem !important;
  line-height: 1.75;
}
.lesson-progress-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 620px;
  margin-top: 1.8rem;
  padding: 0.45rem;
  border: 1px solid rgba(250, 252, 252, 0.14);
  border-radius: 999px;
  background: rgba(250, 252, 252, 0.08);
}
.lesson-progress-nav a {
  flex: 1 1 90px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: rgba(250, 252, 252, 0.78);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.lesson-progress-nav a:hover {
  background: rgba(126, 203, 195, 0.16);
  color: var(--brand-cream);
}
.lesson-page-v2 .lesson-top-nav {
  background: var(--brand-white);
}
.lesson-page-v2 .lesson-content {
  background: linear-gradient(180deg, var(--brand-cream), var(--brand-mint-soft));
  padding: 2.5rem 0 4rem;
}
.lesson-page-v2 .lesson-content .container {
  max-width: 980px;
}
.lesson-page-v2 .embed-block {
  margin: 0 0 2.5rem;
  padding: 1rem;
  border: 1px solid #dbece8;
  border-radius: 20px;
  background: var(--brand-white);
  box-shadow: var(--shadow-card);
}
.lesson-page-v2 .embed-block__label {
  border: 0;
  padding: 0.35rem 0.35rem 1rem;
  background: transparent;
}
.lesson-page-v2 .embed-block__icon {
  background: var(--brand-teal-ink);
  color: var(--brand-sky);
}
.lesson-page-v2 .embed-block__title {
  color: var(--brand-teal-ink);
  font-size: 1.22rem;
}
.lesson-page-v2 .embed-container {
  border-radius: 16px;
}
.lesson-page-v2 .divider {
  display: none;
}
.lesson-page-v2 .lesson-section {
  margin-bottom: 2.1rem;
  padding: 1.55rem;
  border: 1px solid #dbece8;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}
.lesson-page-v2 .lesson-section__title {
  display: block;
  width: fit-content;
  margin-bottom: 1rem;
  border: 0;
  color: var(--brand-teal-ink);
  font-size: 1.65rem;
}
.lesson-page-v2 .scripture-list {
  gap: 0.7rem;
}
.lesson-page-v2 .scripture-tag {
  padding: 0.48rem 0.85rem;
  border: 1px solid rgba(126, 203, 195, 0.25);
  border-radius: 999px;
  background: var(--brand-teal-ink);
  color: var(--brand-cream);
  box-shadow: 0 6px 14px rgba(7, 63, 65, 0.08);
}
.lesson-section--concepts,
.lesson-section--outcomes,
.lesson-section--resource {
  background: var(--brand-white) !important;
}
.key-concept-list {
  display: grid;
}
.key-concept {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid #e4f0ed;
}
.key-concept:first-child {
  border-top: 0;
}
.key-concept__number {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--brand-mint);
  color: var(--brand-teal-deep);
  font-size: 0.78rem;
  font-weight: 800;
}
.key-concept h3,
.outcome-card h3 {
  color: var(--brand-teal-ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}
.key-concept p,
.outcome-card p,
.resource-download-card p {
  margin: 0;
  color: #526869;
  font-size: 0.94rem;
  line-height: 1.72;
}
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.outcome-card {
  padding: 1rem;
  border: 1px solid #e4f0ed;
  border-radius: 14px;
  background: var(--brand-mint-soft);
}
.resource-download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.lesson-handout-link {
  display: inline-flex;
  width: fit-content;
  margin: -0.35rem 0 0.85rem 3.7rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid rgba(126, 203, 195, 0.28);
  border-radius: 999px;
  color: var(--brand-teal-ink);
  background: rgba(238, 248, 245, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.lesson-handout-link:hover,
.lesson-handout-link:focus-visible {
  color: var(--brand-teal-deep);
  background: var(--brand-mint);
  outline: none;
}
.lesson-page-v2 .lesson-complete {
  position: relative;
  overflow: hidden;
  margin: 2.5rem 0 1.5rem;
  padding: 2rem;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(7, 63, 65, 0.97), rgba(14, 93, 95, 0.86)),
    url("/public/images/growing-in-grace/lesson/lesson-hero-road-to-cross-wide.webp");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-card);
}
.lesson-page-v2 .lesson-complete::before {
  content: "Ready for the next step?";
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-cream);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.lesson-page-v2 .lesson-complete__btn {
  min-width: min(100%, 320px);
  border-radius: 999px;
  background: var(--brand-sky);
  border-color: var(--brand-sky);
  color: var(--brand-teal-ink);
}
.lesson-page-v2 .lesson-complete__btn:hover {
  background: var(--brand-lime);
  border-color: var(--brand-lime);
}
.lesson-page-v2 .lesson-nav__overview {
  display: none;
}
.lesson-page-v2 .lesson-nav {
  margin-top: 0;
  padding: 0;
  border: 0;
}
.lesson-page-v2 .lesson-nav__link {
  max-width: 100%;
  flex: 1;
  padding: 1.25rem;
  border-color: #dbece8;
  border-radius: 18px;
  background: var(--brand-white);
  box-shadow: 0 8px 24px rgba(7, 63, 65, 0.05);
}
.lesson-page-v2 .lesson-nav__link--next {
  align-items: flex-start;
}
.lesson-nav__eyebrow {
  margin-bottom: 0.45rem;
  color: var(--brand-teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lesson-page-v2 .lesson-nav__label {
  color: #607475;
}
.lesson-page-v2 .lesson-nav__title {
  color: var(--brand-teal-ink);
  font-size: 1.12rem;
}

/* Lesson reference alignment pass */
.lesson-page-v2 .nav {
  background: #052a2c;
  border-bottom: 1px solid rgba(126, 203, 195, 0.13);
}
.lesson-page-v2 .lesson-header {
  min-height: 360px;
  padding: 1.5rem 0 3.9rem;
  background:
    linear-gradient(90deg, rgba(4, 44, 46, 0.98) 0%, rgba(4, 58, 60, 0.84) 43%, rgba(4, 58, 60, 0.18) 100%),
    url("/public/images/growing-in-grace/lesson/lesson-hero-road-to-cross-wide.webp"),
    linear-gradient(135deg, #073f41, #0e5d5f);
  background-position: center 52%;
}
.lesson-page-v2 .lesson-header .container {
  max-width: 1180px;
  position: relative;
}
.lesson-page-v2 .breadcrumb {
  margin-bottom: 2.3rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(250, 252, 252, 0.08);
}
.lesson-page-v2 .lesson-header .label-accent {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d69b3a;
  letter-spacing: 0.22em;
}
.lesson-page-v2 .lesson-header h1 {
  max-width: 620px;
  font-size: clamp(2.8rem, 5vw, 4.35rem);
  line-height: 1.02;
}
.lesson-page-v2 .lesson-header h1 em {
  color: var(--brand-blue-light);
  font-style: italic;
}
.lesson-page-v2 .lesson-header h1::first-line {
  color: var(--brand-cream);
}
.lesson-hero__intro {
  max-width: 650px !important;
  font-size: 0.96rem !important;
  line-height: 1.55 !important;
}
.lesson-progress-nav {
  position: absolute;
  top: 4.4rem;
  right: var(--space-xl);
  width: min(100%, 520px);
  margin: 0;
  padding: 0.36rem 0.5rem;
  gap: 0.35rem;
  border-color: rgba(250, 252, 252, 0.28);
  background: rgba(3, 37, 39, 0.48);
  box-shadow: inset 0 1px 0 rgba(250, 252, 252, 0.08);
}
.lesson-progress-nav a {
  flex: 1 1 0;
  padding: 0.55rem 0.7rem;
  color: var(--brand-cream);
  font-size: 0.78rem;
}
.lesson-progress-nav a:first-child {
  background: rgba(43, 92, 175, 0.9);
  box-shadow: 0 0 0 1px rgba(126, 203, 195, 0.22);
}
.lesson-progress-nav a[href="#complete"] {
  color: var(--brand-gold);
}
.lesson-page-v2 .lesson-top-nav {
  padding: 1rem 0;
  background: #fffdf9;
}
.lesson-page-v2 .lesson-content {
  padding: 0 0 4.5rem;
  background: linear-gradient(180deg, #fffdf9, #f8fbf9 58%, var(--brand-mint-soft));
}
.lesson-page-v2 .lesson-content .container {
  max-width: 880px;
}
.lesson-page-v2 .embed-block {
  width: min(100%, 760px);
  margin: -2.9rem auto 1.15rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.lesson-page-v2 .embed-block__label {
  min-height: 76px;
  margin-bottom: 0.55rem;
  padding: 1rem 1.25rem;
  border: 1px solid #d9dfdc;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(7, 63, 65, 0.08);
}
.lesson-page-v2 .embed-block__icon {
  width: 54px;
  height: 54px;
  background: var(--brand-blue);
  color: var(--brand-cream);
}
.lesson-page-v2 .embed-block__title {
  font-family: var(--font-heading);
  font-size: 1.24rem;
}
.lesson-page-v2 .embed-container {
  border: 1px solid #d9dfdc;
  border-radius: 13px;
  background: var(--brand-white);
  box-shadow: 0 12px 28px rgba(7, 63, 65, 0.08);
}
.lesson-page-v2 .lesson-section {
  margin: 0 auto 2.15rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.lesson-page-v2 .lesson-section:first-of-type {
  width: min(100%, 760px);
  margin-bottom: 0.9rem;
}
.lesson-page-v2 .lesson-section--source,
.lesson-page-v2 .lesson-complete--source,
.lesson-page-v2 .lesson-nav__overview--source,
.lesson-page-v2 .lesson-nav--source {
  display: none !important;
}
.lesson-page-v2 .lesson-section__title {
  color: var(--brand-teal-ink);
}
.lesson-page-v2 .lesson-section:first-of-type .lesson-section__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.lesson-page-v2 .lesson-section:first-of-type .lesson-section__title::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand-gold);
}
.lesson-page-v2 .scripture-tag {
  padding: 0.35rem 0.85rem;
  background: var(--brand-teal-ink);
  color: var(--brand-cream);
  box-shadow: none;
}
.lesson-page-v2 .lesson-complete {
  width: min(100%, 820px);
  min-height: 220px;
  display: grid;
  align-content: center;
  justify-items: center;
  margin: 2.2rem auto 1rem;
  padding: 2.2rem;
  border-radius: 13px;
  text-align: center;
}
.lesson-page-v2 .lesson-complete::before {
  content: "Complete this lesson\\A and continue growing.";
  white-space: pre-line;
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  line-height: 1.05;
}
.lesson-page-v2 .lesson-complete__btn {
  min-width: 280px;
  background: linear-gradient(90deg, #188b86, #7ecbc3);
  border: 0;
  color: var(--brand-cream);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.lesson-page-v2 .lesson-nav__overview {
  display: block;
  float: left;
  width: 180px;
  margin: 0.2rem 0 2rem;
  padding: 0;
  text-align: left;
}
.lesson-page-v2 .lesson-nav__overview .btn--outline {
  width: 100%;
  border-color: #d6dfdc;
  color: var(--brand-teal-ink);
  background: var(--brand-white);
}
.lesson-page-v2 .lesson-nav {
  display: flex;
  clear: none;
  width: 240px;
  margin: 0.2rem 0 2rem auto;
  padding: 0;
}
.lesson-page-v2 .lesson-nav__link {
  border-color: #d6dfdc;
  border-radius: 9px;
  padding: 0.75rem 0.95rem;
  box-shadow: none;
}
.lesson-page-v2 .lesson-nav__eyebrow {
  color: var(--brand-gold);
}
.lesson-page-v2 .lesson-nav__label {
  color: var(--brand-gold);
  font-size: 0.68rem;
}
.lesson-page-v2 .lesson-nav__title {
  font-size: 0.92rem;
  line-height: 1.18;
}
.lesson-v2-generated {
  clear: both;
  padding-top: 1.2rem;
}
.lesson-editorial-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.55rem;
}
.lesson-editorial-heading span {
  color: var(--brand-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}
.lesson-editorial-heading i {
  height: 1px;
  background: rgba(194, 164, 111, 0.72);
}
.lesson-page-v2 .lesson-section__heading {
  margin-bottom: 1.2rem;
  color: var(--brand-teal-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}
.lesson-page-v2 .lesson-section__heading em {
  color: var(--brand-gold);
  font-style: italic;
}
.key-concept-list {
  position: relative;
}
.key-concept {
  grid-template-columns: 150px 1fr;
  gap: 2rem;
  padding: 1.35rem 0;
  border-top: 1px solid #d9dfdc;
}
.key-concept__marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid #d9dfdc;
}
.key-concept__marker::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-gold);
}
.key-concept__number {
  width: auto;
  height: auto;
  background: transparent;
  color: var(--brand-gold);
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1;
}
.key-concept__label {
  margin-top: 0.25rem;
  color: var(--brand-gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
}
.key-concept h3 {
  color: var(--brand-teal-ink);
  font-family: var(--font-heading);
  font-size: 1.16rem;
}
.key-concept p {
  font-size: 1rem;
}
.lesson-section__lead {
  color: #486366;
  font-size: 1rem;
}
.scripture-list--large .scripture-tag {
  min-width: 160px;
  justify-content: center;
  display: inline-flex;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--brand-gold);
  background: var(--brand-teal-ink);
  font-family: var(--font-heading);
  font-size: 1rem;
}
.scripture-list--large .scripture-tag:nth-child(even) {
  background: transparent;
  color: var(--brand-teal-ink);
}
.outcome-grid {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
.outcome-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.8rem 1rem;
  border: 1px solid #d6dfdc;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
}
.outcome-card span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-mint);
  color: var(--brand-teal-ink);
  font-weight: 800;
}
.resource-download-card {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.2rem;
  border: 1px solid #d6dfdc;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
}
.resource-download-card__icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--brand-teal-ink);
  color: var(--brand-gold);
  font-size: 0.72rem;
  font-weight: 800;
}
.resource-download-card h3 {
  margin: 0 0 0.2rem;
  color: var(--brand-teal-ink);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}
.resource-download-card__link {
  color: var(--brand-gold);
  font-weight: 800;
}
.lesson-page-v2 .lesson-complete {
  width: min(100%, 760px);
  min-height: 0;
  display: block;
  margin: 0.65rem auto 0.85rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}
.lesson-page-v2 .lesson-complete::before {
  content: none;
}
.lesson-page-v2 .lesson-complete__btn {
  min-width: 250px;
  min-height: 42px;
  border-radius: 7px;
  background: var(--brand-blue);
  color: var(--brand-cream);
  font-family: var(--font-body);
  font-size: 0.86rem;
  box-shadow: 0 10px 20px rgba(43, 92, 175, 0.2);
}
.lesson-page-v2 .lesson-nav {
  clear: none;
  width: 240px;
  margin: 0.7rem 0 2rem auto;
}
.lesson-page-v2 .lesson-nav__link--next {
  min-height: 64px;
  display: flex;
  width: 100%;
  flex: 0 0 100%;
  border: 1px solid #d6dfdc;
  border-radius: 9px;
  background: var(--brand-white);
  color: inherit;
}
.lesson-page-v2 .lesson-nav__link--next .lesson-nav__title {
  color: var(--brand-teal-ink);
  font-family: var(--font-heading);
  font-size: 0.92rem;
}
.lesson-bottom-complete {
  min-height: 244px;
  display: grid;
  align-content: center;
  justify-items: center;
  margin: 2.2rem auto 1rem;
  padding: 2.2rem;
  border-radius: 13px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(4, 44, 46, 0.98), rgba(5, 73, 76, 0.82)),
    url("/public/images/growing-in-grace/lesson/lesson-hero-road-to-cross-wide.webp");
  background-size: cover;
  background-position: center;
}
.lesson-bottom-complete h2 {
  margin: 0 0 0.75rem;
  color: var(--brand-cream);
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  text-align: center;
}
.lesson-bottom-complete h2 em {
  color: var(--brand-gold);
  font-style: italic;
}
.lesson-bottom-complete p {
  max-width: 640px;
  color: rgba(250, 252, 252, 0.86);
}
.lesson-complete-proxy {
  min-width: 285px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #16857f, #75c5bd);
  color: var(--brand-cream);
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(4, 44, 46, 0.45);
  cursor: pointer;
}
.lesson-complete-proxy__indicator {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(250, 252, 252, 0.86);
  border-radius: 50%;
  background: rgba(4, 44, 46, 0.12);
  box-shadow: inset 0 0 0 2px rgba(4, 44, 46, 0.08);
}
.lesson-complete-proxy.is-completed {
  background: linear-gradient(90deg, #0f6f6b, #5fb8af);
  color: var(--brand-cream);
}
.lesson-complete-proxy.is-completed .lesson-complete-proxy__indicator {
  border-color: var(--brand-gold);
  background: var(--brand-gold);
}
.lesson-complete-proxy.is-completed .lesson-complete-proxy__indicator::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -1px;
  border: solid var(--brand-teal-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.lesson-bottom-next {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  margin: 0 auto;
  padding: 1.35rem 1.55rem;
  border-radius: 13px;
  background:
    linear-gradient(90deg, rgba(4, 44, 46, 0.98), rgba(4, 74, 77, 0.94)),
    url("/public/images/growing-in-grace/lesson/lesson-hero-road-to-cross-wide.webp");
  background-size: cover;
  color: var(--brand-cream);
}
.lesson-bottom-next span {
  color: var(--brand-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: none;
}
.lesson-bottom-next h2 {
  margin: 0.3rem 0 0;
  color: var(--brand-cream);
  font-size: clamp(1.25rem, 3vw, 1.85rem);
}
.lesson-bottom-next strong {
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--brand-gold);
  border-radius: 999px;
  color: var(--brand-gold);
  white-space: nowrap;
}

/* Lesson media details and next-step card */
.lesson-media-meta {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1fr 1.28fr;
  gap: 0;
  min-height: 132px;
  padding: 1.4rem 1rem;
  border: 1px solid #d5e1de;
  border-radius: 9px;
  background: var(--brand-white);
  color: var(--brand-teal-ink);
}
.lesson-media-meta__item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.15rem 1.3rem;
  border-right: 1px solid #dbe6e3;
  color: inherit;
}
.lesson-media-meta__item:nth-child(3) {
  border-right: 1px solid #dbe6e3;
}
.lesson-media-meta__item:last-child {
  border-right: 0;
}
.lesson-media-meta__item--teacher {
  grid-column: auto;
}
.lesson-media-meta__icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: var(--brand-gold);
}
.lesson-media-meta__item span:last-child {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.55rem;
}
.lesson-media-meta strong {
  color: var(--brand-teal-ink);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}
.lesson-media-meta small {
  color: #786f63;
  font-size: 0.8rem;
  line-height: 1.35;
}
.lesson-media-meta__item--teacher span:last-child {
  display: block;
}
.lesson-media-meta__item--teacher small {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lesson-media-meta__item--teacher strong {
  display: block;
  color: var(--brand-charcoal);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  letter-spacing: 0;
  text-transform: none;
}
.lesson-page-v2 .embed-block__label {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin: 0.8rem 0;
  padding: 1rem 1.35rem;
  border: 0;
  border-radius: 8px;
  background: var(--brand-teal-deep);
  box-shadow: none;
}
.lesson-watch-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 178px;
  padding: 0.76rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 252, 252, 0.72);
  background: rgba(3, 37, 39, 0.28);
  color: var(--brand-cream);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.lesson-watch-pill span {
  color: var(--brand-gold);
  font-size: 0.72rem;
}
.lesson-watch-copy {
  min-width: 0;
}
.lesson-page-v2 .lesson-watch-copy .embed-block__subtitle {
  margin: 0;
  color: rgba(250, 252, 252, 0.82);
  font-size: 0.9rem;
}
.lesson-bottom-next {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  min-height: 178px;
  padding: 1.7rem 1.9rem;
  background-position: center 58%;
  box-shadow: 0 14px 34px rgba(7, 63, 65, 0.13);
}
.lesson-bottom-next__copy {
  min-width: 0;
}
.lesson-bottom-next__copy span {
  display: block;
  margin-bottom: 0.55rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.lesson-bottom-next__copy h2 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  line-height: 1.08;
}
.lesson-bottom-next__copy p {
  margin: 0.6rem 0 0;
  color: rgba(250, 252, 252, 0.72);
  font-size: 0.87rem;
}
.lesson-bottom-next > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-width: 174px;
  padding: 0.9rem 1.3rem;
  background: rgba(4, 44, 46, 0.58);
  transition: background 160ms ease, color 160ms ease;
}
.lesson-bottom-next:hover > strong {
  background: var(--brand-gold);
  color: var(--brand-teal-deep);
}

@media (max-width: 640px) {
  .lesson-media-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    padding: 0.75rem;
  }
  .lesson-media-meta__item {
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.45rem;
  }
  .lesson-media-meta__icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
  .lesson-media-meta__item--teacher strong {
    font-size: 0.84rem;
  }
  .lesson-media-meta__item:nth-child(2) {
    border-right: 0;
  }
  .lesson-media-meta__item:nth-child(3),
  .lesson-media-meta__item--teacher {
    grid-column: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #dbe6e3;
  }
  .lesson-media-meta__item:nth-child(3) {
    border-right: 1px solid #dbe6e3;
  }
  .lesson-page-v2 .embed-block__label {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    min-height: 0;
  }
  .lesson-watch-pill {
    min-width: 136px;
    padding-inline: 0.85rem;
    font-size: 0.72rem;
  }
  .lesson-page-v2 .lesson-watch-copy .embed-block__subtitle {
    font-size: 0.82rem;
  }
  .lesson-bottom-next {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .lesson-bottom-next > strong {
    width: fit-content;
  }
}

@media (max-width: 900px) {
  .signup-shell,
  .dash-header__grid {
    grid-template-columns: 1fr;
  }
  .signup-visual {
    min-height: 420px;
  }
  .dash-header--v2 {
    text-align: left;
  }
  .outcome-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .course-signup--v2,
  .dashboard-curriculum {
    padding: 2.5rem 0;
  }
  .dash-header--v2 {
    padding: 2.4rem 0 1.2rem;
  }
  .dash-header__greeting {
    letter-spacing: 0.12em;
  }
  .dash-header__title {
    font-size: clamp(2rem, 11vw, 2.75rem);
    line-height: 1.08;
  }
  .dash-header__sub {
    font-size: 1rem;
    line-height: 1.65;
  }
  .dashboard-progress-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    text-align: center;
  }
  .dashboard-progress-card__ring {
    width: 88px;
    height: 88px;
  }
  .dashboard-progress-card__body,
  .dashboard-progress-card .progress-wrapper,
  .dashboard-progress-card .btn {
    width: 100%;
    min-width: 0;
  }
  .dashboard-progress-card h2 {
    max-width: 15rem;
    margin-right: auto;
    margin-left: auto;
    font-size: 1.35rem;
    line-height: 1.15;
  }
  .dashboard-progress-card p,
  .dashboard-progress-card .progress-bar__text {
    font-size: 0.86rem;
    line-height: 1.45;
  }
  .dashboard-progress-card .btn {
    justify-content: center;
    white-space: normal;
    line-height: 1.25;
  }
  .dashboard-curriculum .section-heading {
    display: block;
  }
  .dashboard-curriculum .section-heading__eyebrow {
    margin-bottom: 0.8rem;
  }
  .dashboard-curriculum .section-heading h2 {
    font-size: 1.75rem;
  }
  .dashboard-curriculum .module__header {
    grid-template-columns: 48px 1fr auto;
    gap: 0.8rem;
    padding: 1rem;
  }
  .dashboard-curriculum .module__title {
    font-size: 1.15rem;
    line-height: 1.15;
  }
  .dashboard-curriculum .module__subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .dashboard-curriculum .module__lesson-list {
    padding: 0 1rem 1rem;
  }
  .dashboard-curriculum .lesson-item {
    grid-template-columns: 24px 1fr;
    align-items: start;
    padding: 1rem;
  }
  .dashboard-curriculum .lesson-item__week,
  .dashboard-curriculum .lesson-item__title {
    grid-column: 2;
  }
  .dashboard-curriculum .lesson-item__arrow {
    grid-column: 2;
    justify-self: start;
  }
  .signup-visual {
    min-height: 360px;
  }
  .signup-card--v2 {
    padding: 1.35rem;
  }
  .dash-header--v2 {
    padding: 3rem 0;
  }
  .dashboard-account__card,
  .resource-download-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .signup-benefits {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .signup-benefits div {
    padding: 1rem 0;
    border-left: 0;
    border-top: 1px solid #d8ebe7;
  }
  .signup-benefits div:first-child {
    border-top: 0;
  }
  .lesson-page-v2 .lesson-header {
    min-height: 0;
    padding: 2.2rem 0 2rem;
  }
  .lesson-progress-nav {
    position: static;
    width: 100%;
    margin-top: 1.25rem;
    border-radius: 18px;
  }
  .lesson-progress-nav a {
    flex-basis: calc(50% - 0.4rem);
  }
  .lesson-page-v2 .lesson-section,
  .lesson-page-v2 .embed-block,
  .lesson-page-v2 .lesson-complete {
    border-radius: 14px;
    padding: 1rem;
  }
  .key-concept {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .key-concept__marker {
    border-right: 0;
  }
  .key-concept__marker::after {
    display: none;
  }
  .resource-download-card {
    grid-template-columns: 54px 1fr;
  }
  .resource-download-card__link {
    grid-column: 2;
  }
  .lesson-bottom-next {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   PUBLIC HOMEPAGE COMPONENTS
   Ported from gig-homepage-prototype.html.
   Used on: index.html, about.html, curriculum.html,
   workbook.html, videos.html.
   DO NOT use on authenticated pages (dashboard, lessons)
   unless the class is explicitly opted-in.
   ============================================= */

/* --- Hero variant: homepage (image bg + overlay + drop shadows) --- */
.hero--home {
  background-color: var(--brand-teal-deep);
  background-image: url("/public/images/growing-in-grace/home/home-hero-background-8k.webp");
  background-size: cover;
  background-position: center 40%;
  padding: 7rem var(--space-xl) 6rem;
  text-align: center;
  color: var(--brand-cream);
  position: relative;
  overflow: hidden;
}
.hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 93, 95, 0.72) 0%,
    rgba(14, 93, 95, 0.75) 40%,
    rgba(14, 93, 95, 0.8) 100%
  );
  pointer-events: none;
}
.hero--home .hero__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.hero--home .hero__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-blue-light);
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.hero--home .hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-cream);
  margin-bottom: 1.5rem;
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.5),
    0 1px 4px rgba(0, 0, 0, 0.3);
}
.hero--home .hero__title em {
  font-style: italic;
  color: var(--brand-blue-light);
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.5),
    0 1px 4px rgba(0, 0, 0, 0.3);
}
.hero--home .hero__sub {
  font-size: 1.05rem;
  color: var(--brand-sky);
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.hero--home .hero__ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Scripture strip (homepage, not the lesson-page scripture tags).
       Brown background introduced April 2026 to break up green. --- */
.scripture {
  background: var(--brand-brown);
  padding: 1.75rem var(--space-xl);
  text-align: center;
}
.scripture__text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
  color: var(--brand-cream);
  max-width: 500px;
  margin: 0 auto 0.3rem;
  line-height: 1.5;
}
.scripture__text em {
  color: var(--brand-blue-light);
  font-style: italic;
  font-weight: 600;
}
.scripture__ref {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-sky);
  opacity: 0.85;
  letter-spacing: 0.05em;
}

/* --- Centered section header (label / title / divider / desc) --- */
.section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.section__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-teal-deep);
  opacity: 0.6;
  margin-bottom: 0.75rem;
}
.section__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 0.75rem;
}
/* Blue italic emphasis inside centered section titles on light backgrounds
   (e.g., "Explore. Learn. <em>Grow.</em>" on the pillars section). */
.section__title em {
  color: var(--brand-blue);
  font-style: italic;
}
.section__desc {
  font-size: 0.95rem;
  color: var(--brand-gray);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}
/* Scoped override: smaller divider inside centered section headers
   (base .divider is 80px; prototype uses 60px here). */
.section__header .divider {
  width: 60px;
  margin: 1rem auto;
}

/* --- Very subtle sky tint for alternating cream sections --- */
.section--sky-wash {
  background: rgba(126, 203, 195, 0.08);
}

/* --- Four pillars strip --- */
.pillars-section {
  padding-top: 3rem;
  padding-bottom: var(--space-4xl);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar {
  background: var(--brand-white);
  border-radius: 12px;
  padding: 3.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(14, 93, 95, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(14, 93, 95, 0.1);
  color: inherit;
}
.pillar__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--brand-sky);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-teal-deep);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-teal-deep);
  margin-bottom: 0.6rem;
}
.pillar__desc {
  font-size: 0.9rem;
  color: var(--brand-gray);
  line-height: 1.6;
}

/* --- Content row (image/card + text pair) --- */
.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.content-row--reverse {
  direction: rtl;
}
.content-row--reverse > * {
  direction: ltr;
}
.content-row__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
}
.content-row__title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.content-row__desc {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  opacity: 0.8;
}
.content-row__link {
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
  text-decoration: none;
}
.content-row__link:hover {
  gap: 0.7rem;
}
.on-cream .content-row__eyebrow {
  color: var(--brand-teal-deep);
  opacity: 0.6;
}
.on-cream .content-row__title {
  color: var(--brand-charcoal);
}
.on-cream .content-row__desc {
  color: var(--brand-gray);
}
.on-cream .content-row__link {
  color: var(--brand-teal-deep);
}
.section--dark .content-row__eyebrow,
.section--teal-deep .content-row__eyebrow {
  color: var(--brand-sky);
  opacity: 0.5;
}
.section--dark .content-row__title,
.section--teal-deep .content-row__title {
  color: var(--brand-cream);
}
.section--dark .content-row__desc,
.section--teal-deep .content-row__desc {
  color: var(--brand-cream);
  opacity: 0.7;
}
.section--dark .content-row__link,
.section--teal-deep .content-row__link {
  color: var(--brand-lime);
}

/* --- Media card (YouTube thumbnail with play button) --- */
.media-card {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  background: var(--brand-teal-deep);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(250, 252, 252, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.media-card__play svg {
  width: 20px;
  height: 20px;
  fill: var(--brand-teal-deep);
  margin-left: 2px;
}

/* --- Book feature card (Discipleship Today cover) --- */
.book-feature {
  border-radius: 10px;
  overflow: hidden;
  background: var(--brand-white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(14, 93, 95, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem;
  text-align: center;
}
.book-feature__cover {
  width: 180px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  margin-bottom: 1.25rem;
}
.book-feature__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 0.25rem;
}
.book-feature__author {
  font-size: 0.8rem;
  color: var(--brand-gray);
}

/* --- Flagship curriculum section (teal-deep with radial glow) --- */
.section--flagship {
  background: var(--brand-teal-deep);
  color: var(--brand-cream);
  padding: 6rem 0;
  border-top: 3px solid var(--brand-sky);
  border-bottom: 3px solid var(--brand-sky);
  position: relative;
  overflow: hidden;
}
.section--flagship::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(126, 203, 195, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.section--flagship .container {
  position: relative;
  z-index: 1;
}
.curriculum-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}
.curriculum-row__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brand-lime);
  margin-bottom: 0.75rem;
}
.curriculum-row__title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-cream);
  margin-bottom: 1.25rem;
}
/* Blue-light italic emphasis inside the flagship section title on the
   teal-deep dark background (e.g., "manual for <em>new believers.</em>"). */
.curriculum-row__title em {
  color: var(--brand-blue-light);
  font-style: italic;
}
.curriculum-row__desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--brand-cream);
  opacity: 0.75;
  margin-bottom: 2rem;
  max-width: 480px;
}
.curriculum-row__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --- Section list (12 curriculum sections, glow-bordered) --- */
.section-list {
  background: rgba(126, 203, 195, 0.06);
  border: 1px solid rgba(126, 203, 195, 0.18);
  border-radius: 14px;
  padding: 2.5rem 2.25rem;
  box-shadow:
    0 0 40px rgba(126, 203, 195, 0.08),
    inset 0 1px 0 rgba(250, 252, 252, 0.05);
}
.section-list__heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-lime);
  margin-bottom: 1.25rem;
}
.section-list__items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--brand-cream);
}
.section-list__num {
  font-weight: 700;
  margin-right: 0.6rem;
  color: var(--brand-sky);
  font-size: 1.1rem;
}
.section-list__item--soon {
  opacity: 0.3;
}

/* --- Compact about strip (homepage, not the /about page) --- */
.about__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}
.about__photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--brand-teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--brand-cream);
  font-weight: 700;
  border: 3px solid var(--brand-sky);
  flex-shrink: 0;
}
.about__eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-teal-deep);
  opacity: 0.6;
  margin-bottom: 0.4rem;
}
.about__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 0.5rem;
}
.about__bio {
  font-size: 0.9rem;
  color: var(--brand-gray);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 0.75rem;
}
.about__link {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--brand-teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.about__link:hover {
  gap: 0.65rem;
}

/* =============================================
   ANDY BURGGRAFF ABOUT PAGE
   ============================================= */
.teacher-page {
  background:
    radial-gradient(circle at 12% 4%, rgba(126, 203, 195, 0.18), transparent 30rem),
    linear-gradient(180deg, #fbfcfa 0%, #f6fbf9 42%, #fbfcfa 100%);
}
.teacher-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    linear-gradient(90deg, rgba(3, 43, 45, 0.94), rgba(6, 67, 69, 0.78)),
    url("/public/images/growing-in-grace/home/home-hero-background-8k.webp") center / cover;
  color: var(--brand-cream);
  border-bottom: 3px solid var(--brand-gold);
}
.teacher-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% 36%;
  height: 70%;
  background: radial-gradient(circle, rgba(126, 203, 195, 0.34), transparent 60%);
  filter: blur(18px);
  pointer-events: none;
}
.teacher-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}
.teacher-kicker,
.teacher-section-label {
  color: var(--brand-gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.teacher-hero h1 {
  max-width: 660px;
  margin: 0.7rem 0 1.1rem;
  color: var(--brand-cream);
  font-size: clamp(2.45rem, 5.5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.teacher-hero h1 em {
  color: var(--brand-blue-light);
}
.teacher-hero p {
  max-width: 600px;
  color: rgba(250, 252, 252, 0.82);
  font-size: clamp(0.96rem, 1.5vw, 1.08rem);
  line-height: 1.68;
}
.teacher-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}
.teacher-hero__actions .btn--ghost {
  color: var(--brand-cream);
  border-color: var(--brand-sky);
}
.teacher-hero__actions .btn--ghost:hover {
  color: var(--brand-teal-deep);
  background: var(--brand-sky);
  border-color: var(--brand-sky);
}
.teacher-portrait {
  justify-self: end;
  width: min(100%, 310px);
  padding: 1rem;
  border: 1px solid rgba(126, 203, 195, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(250, 252, 252, 0.09), rgba(250, 252, 252, 0.03)),
    rgba(3, 43, 45, 0.44);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}
.teacher-portrait__ring {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 38%, rgba(126, 203, 195, 0.28), transparent 38%),
    linear-gradient(135deg, #022e31, #0e5d5f 52%, #022e31);
  border: 1px solid rgba(250, 252, 252, 0.16);
}
.teacher-portrait__ring span {
  display: grid;
  place-items: center;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  border: 2px solid var(--brand-sky);
  outline: 1px solid rgba(250, 252, 252, 0.34);
  outline-offset: 8px;
  color: var(--brand-cream);
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
}
.teacher-portrait__caption {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 0.35rem 0.2rem;
  color: var(--brand-cream);
}
.teacher-portrait__caption span {
  color: rgba(250, 252, 252, 0.68);
  font-size: 0.84rem;
}
.teacher-intro,
.teacher-teaching,
.teacher-books,
.teacher-cta {
  padding: clamp(3.25rem, 6vw, 5rem) 0;
}
.teacher-intro__grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.teacher-intro h2,
.teacher-section-header h2,
.teacher-cta h2 {
  margin-top: 0.55rem;
  color: var(--brand-teal-ink);
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1.08;
}
.teacher-intro__body {
  display: grid;
  gap: 1.25rem;
  color: var(--brand-gray);
  font-size: 0.98rem;
  line-height: 1.78;
}
.teacher-intro__body em {
  color: var(--brand-teal-ink);
  font-family: var(--font-heading);
}
.teacher-intro__heading {
  position: sticky;
  top: 2rem;
}
.teacher-intro__summary {
  max-width: 330px;
  margin-top: 1rem;
  color: #536c6d;
  font-size: 0.95rem;
  line-height: 1.65;
}
.teacher-intro__content {
  display: grid;
  gap: 2rem;
}
.teacher-credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(14, 93, 95, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}
.teacher-credential {
  min-width: 0;
  padding: 1.15rem;
  border-right: 1px solid rgba(14, 93, 95, 0.14);
}
.teacher-credential:nth-child(3) {
  border-right: 0;
}
.teacher-credential--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 5rem 1fr;
  align-items: center;
  border-top: 1px solid rgba(14, 93, 95, 0.14);
  border-right: 0;
}
.teacher-credential strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--brand-gold);
  font-family: var(--font-heading);
  font-size: 1.45rem;
}
.teacher-credential--wide strong {
  margin-bottom: 0;
  font-size: 2rem;
}
.teacher-credential span {
  color: var(--brand-teal-ink);
  font-size: 0.78rem;
  line-height: 1.45;
}
.teacher-teaching {
  background: linear-gradient(180deg, rgba(223, 243, 239, 0.6), rgba(250, 252, 252, 0.98));
}
.teacher-section-header {
  max-width: 620px;
  margin-bottom: 1.7rem;
}
.teacher-section-header--light h2 {
  color: var(--brand-teal-ink);
}
.teaching-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.teaching-card {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 42%, rgba(126, 203, 195, 0.2), transparent 44%),
    linear-gradient(135deg, #032b2d, #021f21);
  color: var(--brand-cream);
  box-shadow: 0 14px 34px rgba(7, 63, 65, 0.14);
  isolation: isolate;
}
.teaching-card--featured {
  grid-column: span 2;
}
.teaching-card--text-only {
  background:
    radial-gradient(circle at 78% 18%, rgba(126, 203, 195, 0.28), transparent 24%),
    linear-gradient(135deg, #042f31, #074b4d 48%, #021f21);
}
.teaching-card--text-only::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(194, 164, 111, 0.32);
  border-radius: 8px;
  opacity: 0.8;
}
.teaching-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  opacity: 0.92;
  transition: transform 0.45s ease;
}
.teaching-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 70% 18%, rgba(126, 203, 195, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(2, 36, 38, 0.34) 0%, rgba(2, 36, 38, 0.2) 38%, rgba(2, 36, 38, 0.94) 100%),
    linear-gradient(90deg, rgba(2, 36, 38, 0.72), transparent 62%);
}
.teaching-card:hover {
  color: var(--brand-cream);
}
.teaching-card:hover img {
  transform: scale(1.025);
}
.teaching-card__play {
  position: absolute;
  z-index: 2;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(250, 252, 252, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.teaching-card__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 0.48rem solid transparent;
  border-bottom: 0.48rem solid transparent;
  border-left: 0.72rem solid var(--brand-teal-deep);
}
.teaching-card__body {
  position: absolute;
  z-index: 2;
  left: 1rem;
  right: 1rem;
  bottom: 0.95rem;
}
.teaching-card--text-only .teaching-card__body {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  padding-right: 2.5rem;
}
.teaching-card__body span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--brand-gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.teaching-card__body h3 {
  color: var(--brand-cream);
  font-size: clamp(1.05rem, 1.55vw, 1.38rem);
  line-height: 1.08;
}
.teacher-books {
  overflow: hidden;
  background: linear-gradient(180deg, #fbfcfa 0%, #f3f8f6 100%);
  border-top: 1px solid rgba(14, 93, 95, 0.1);
  border-bottom: 1px solid rgba(14, 93, 95, 0.1);
}
.book-cinema {
  position: relative;
  margin-inline: 0;
  padding: 2rem 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(126, 203, 195, 0.2), transparent 24rem),
    linear-gradient(135deg, #032b2d, #074648 48%, #021f21);
  border-radius: 16px;
}
.book-cinema::before,
.book-cinema::after {
  display: none;
}
.book-cinema__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: auto;
  padding: 0 2rem;
}
.book-slide {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: 100%;
  min-height: 220px;
  padding: 1rem;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(250, 252, 252, 0.96), rgba(246, 251, 249, 0.91)),
    var(--brand-cream);
  border: 1px solid rgba(250, 252, 252, 0.38);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  color: var(--brand-teal-ink);
}
.book-slide:hover {
  color: var(--brand-teal-ink);
}
.book-slide img,
.book-slide__cover {
  width: 118px;
  aspect-ratio: 0.68;
  object-fit: contain;
  border-radius: 6px;
  background: #f7f8f6;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}
.book-slide__cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 0.85rem;
  background:
    linear-gradient(180deg, rgba(194, 164, 111, 0.18), transparent 42%),
    linear-gradient(145deg, #063f42, #0e5d5f);
  color: var(--brand-cream);
  font-family: var(--font-heading);
}
.book-slide--manual .book-slide__cover {
  background:
    linear-gradient(180deg, rgba(106, 148, 216, 0.28), transparent 44%),
    linear-gradient(145deg, #073f41, #102d46);
}
.book-slide__cover span {
  color: var(--brand-gold);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.book-slide__cover strong {
  font-size: 1.38rem;
  line-height: 1;
}
.book-slide__cover small {
  color: rgba(250, 252, 252, 0.72);
  font-family: var(--font-body);
  font-size: 0.68rem;
}
.book-slide span {
  display: block;
  color: var(--brand-gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.book-slide h3 {
  margin: 0.35rem 0 0.55rem;
  color: var(--brand-teal-ink);
  font-size: 1.42rem;
  line-height: 1.08;
}
.book-slide p {
  margin-bottom: 0.8rem;
  color: var(--brand-gray);
  font-size: 0.84rem;
  line-height: 1.55;
}
.book-slide strong {
  color: var(--brand-blue);
  font-size: 0.86rem;
}
.teacher-cta {
  background: linear-gradient(180deg, #fbfcfa, #eef8f5);
}
.teacher-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(14, 93, 95, 0.12);
  border-bottom: 1px solid rgba(14, 93, 95, 0.12);
  background: transparent;
  box-shadow: none;
}

.teacher-cta h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
}
@media (max-width: 900px) {
  .teacher-hero__grid,
  .teacher-intro__grid {
    grid-template-columns: 1fr;
  }
  .teacher-portrait {
    justify-self: start;
    width: min(100%, 320px);
  }
  .teacher-intro__heading {
    position: static;
  }
  .teaching-grid {
    grid-template-columns: 1fr 1fr;
  }
  .teaching-card--featured {
    grid-column: span 2;
  }
  .book-cinema__track {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .teacher-hero {
    padding: 4rem 0;
  }
  .teacher-hero__actions,
  .teacher-cta__inner {
    align-items: stretch;
    flex-direction: column;
  }
  .teacher-cta__inner {
    padding: 1.35rem 1rem;
  }
  .teacher-hero__actions .btn,
  .teacher-cta__inner .btn {
    width: 100%;
    justify-content: center;
  }
  .teacher-portrait {
    display: none;
  }
  .teacher-credentials {
    grid-template-columns: 1fr;
  }
  .teacher-credential,
  .teacher-credential:nth-child(3) {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    align-items: start;
    border-right: 0;
    border-bottom: 1px solid rgba(14, 93, 95, 0.14);
  }
  .teacher-credential--wide {
    grid-column: auto;
    border-top: 0;
    border-bottom: 0;
  }
  .teacher-credential strong,
  .teacher-credential--wide strong {
    margin-bottom: 0;
    font-size: 1.45rem;
  }
  .teaching-grid {
    grid-template-columns: 1fr;
  }
  .teaching-card--featured {
    grid-column: auto;
  }
  .book-cinema {
    margin-inline: 0;
    padding: 1rem;
  }
  .book-cinema__track {
    padding: 0;
  }
  .book-slide {
    grid-template-columns: 92px minmax(0, 1fr);
    width: 100%;
    min-height: 220px;
    gap: 1rem;
    padding: 1rem;
  }
  .book-slide img,
  .book-slide__cover {
    width: 88px;
  }
  .book-slide span {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    line-height: 1.45;
  }
  .book-slide__cover strong {
    font-size: 1.15rem;
  }
  .book-slide h3 {
    font-size: 1.28rem;
  }
  .book-slide p {
    font-size: 0.82rem;
  }
}

/* --- Standalone CTA section (different from .cta-band).
       Brown background introduced April 2026 to break up green. --- */
.cta {
  background: var(--brand-brown);
  padding: 4rem var(--space-xl);
  text-align: center;
}
.cta__inner {
  max-width: 500px;
  margin: 0 auto;
}
.cta__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-cream);
  margin-bottom: 0.6rem;
}
.cta__title em {
  color: var(--brand-blue-light);
  font-style: italic;
}
.cta__desc {
  font-size: 0.9rem;
  color: var(--brand-cream);
  opacity: 0.85;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
/* Outline button inside .cta: stays cream-bordered/cream-texted for contrast
   on the brown background. Blue treatment would be unreadable here. */
.cta .btn--outline {
  color: var(--brand-cream);
  border-color: var(--brand-cream);
  background: transparent;
}
.cta .btn--outline:hover {
  background: var(--brand-cream);
  color: var(--brand-brown);
  border-color: var(--brand-cream);
}

/* --- Footer 4-col grid variant (public marketing pages only) ---
   Authenticated pages keep the existing centered footer by NOT
   wrapping their content in .footer__inner. */
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  text-align: left;
}
.footer__inner .footer__brand {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.footer__inner .footer__tagline {
  color: #d2e8e4;
  font-size: 0.84rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-style: italic;
}
.footer__inner .footer__copy {
  color: #b8d5d1;
  font-size: 0.75rem;
}
.footer__col-title {
  color: #acd5d0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}
.footer__inner .footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0;
  padding: 0;
  justify-content: flex-start;
}
.footer__inner .footer__links a {
  font-size: 0.88rem;
  color: #e4f2ef;
  transition:
    color 0.2s;
}
.footer__inner .footer__links a:hover {
  color: var(--brand-white);
}

/* --- Public pages responsive overrides --- */
@media (max-width: 768px) {
  /* Keep 3 pillars on one row at tablet (was repeat(2, 1fr) with 2+1 orphan) */
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .pillar {
    padding: 2.5rem 1rem;
  }
  .pillar__title {
    font-size: 1.15rem;
  }
  .pillar__desc {
    font-size: 0.82rem;
  }
  .content-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .content-row--reverse {
    direction: ltr;
  }
  .curriculum-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .curriculum-row__title {
    font-size: 1.8rem;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero--home {
    padding: 5rem var(--space-md) 4rem;
  }
  /* Hero CTAs stack vertically on mobile (ghost button is wide) */
  .hero--home .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .hero--home .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .pillars {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   HOME V2 OVERRIDES
   ============================================= */
.hero--home {
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--brand-teal-ink);
  background-image:
    linear-gradient(90deg, rgba(7, 34, 35, 0.94) 0%, rgba(7, 63, 65, 0.78) 42%, rgba(7, 63, 65, 0.24) 100%),
    url("/public/images/growing-in-grace/home/home-hero-background-8k.webp");
  background-size: cover;
  background-position: center 42%;
  padding: 6.5rem var(--space-xl) 5.7rem;
  text-align: left;
  border-bottom: 3px solid rgba(101, 82, 39, 0.85);
}
.hero--home::before {
  display: none;
}
.hero--home .hero__inner {
  max-width: 930px;
  margin: 0;
  padding-left: max(0px, calc((100vw - var(--max-width)) / 2));
}
.hero--home .hero__label {
  margin-bottom: 1.4rem;
  color: var(--brand-blue-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}
.hero--home .hero__title {
  max-width: 920px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.4rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.hero--home .hero__title em {
  color: #4d82ff;
}
.hero--home .hero__sub {
  max-width: 610px;
  margin: 0 0 2rem;
  color: rgba(250, 252, 252, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.55;
}
.hero--home .hero__ctas {
  justify-content: flex-start;
  gap: 1rem;
}
.hero--home .btn {
  min-height: 58px;
  border-radius: 8px;
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
}
.hero--home .btn--sky {
  background: var(--brand-sky);
  border-color: var(--brand-sky);
  color: var(--brand-teal-ink);
}
.hero--home .btn--ghost {
  border-color: var(--brand-blue);
  color: var(--brand-cream);
}
.scripture {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(126, 203, 195, 0.32), transparent 22rem),
    radial-gradient(circle at 26% 10%, rgba(43, 92, 175, 0.32), transparent 19rem),
    radial-gradient(circle at 78% 88%, rgba(162, 206, 82, 0.14), transparent 18rem),
    linear-gradient(135deg, #1e2d2f 0%, #102426 52%, #071b1d 100%);
  padding: 3.15rem var(--space-xl);
  border-top: 1px solid rgba(126, 203, 195, 0.42);
  border-bottom: 3px solid rgba(126, 203, 195, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(250, 252, 252, 0.08),
    inset 0 0 84px rgba(126, 203, 195, 0.18);
}
.scripture::before,
.scripture::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.scripture::before {
  width: min(74vw, 900px);
  height: 190px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(126, 203, 195, 0.34) 0%,
    rgba(43, 92, 175, 0.18) 42%,
    transparent 72%
  );
  filter: blur(18px);
}
.scripture::after {
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(126, 203, 195, 0.3), transparent),
    linear-gradient(180deg, rgba(250, 252, 252, 0.04), transparent 36%, rgba(0, 0, 0, 0.18));
  opacity: 0.78;
}
.scripture__text {
  position: relative;
  max-width: 930px;
  color: var(--brand-cream);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.4;
  text-shadow:
    0 0 26px rgba(126, 203, 195, 0.26),
    0 2px 18px rgba(0, 0, 0, 0.42);
}
.scripture__text em {
  color: #86d8ff;
  text-shadow:
    0 0 24px rgba(43, 92, 175, 0.6),
    0 0 16px rgba(126, 203, 195, 0.42);
}
.scripture__ref {
  position: relative;
  color: var(--brand-sky);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(126, 203, 195, 0.42);
}
.pillars-section {
  padding: 6rem 0 6.8rem;
  background: #fffdf9;
  border-top: 3px solid rgba(101, 82, 39, 0.82);
  border-bottom: 3px solid var(--brand-teal-deep);
}
.section__label {
  color: var(--brand-teal-deep);
  opacity: 1;
}
.section__title {
  color: var(--brand-teal-ink);
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.section__title em {
  color: var(--brand-blue);
}
.section__desc {
  max-width: 640px;
  color: #606669;
  font-size: 1.25rem;
}
.pillars {
  gap: 2.7rem;
  max-width: 1180px;
  margin: 0 auto;
}
.pillar {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: #d9d9d6;
  border-radius: 14px;
  padding: 3.4rem 2.4rem;
  box-shadow: 0 24px 42px rgba(7, 63, 65, 0.055);
}
.pillar__icon {
  width: 76px;
  height: 76px;
  margin-bottom: 1.75rem;
  background: var(--brand-mint);
}
.pillar__icon svg {
  width: 34px;
  height: 34px;
}
.pillar__title {
  color: var(--brand-teal-ink);
  font-size: 2rem;
}
.pillar__desc {
  max-width: 280px;
  margin: 0 auto;
  color: #606669;
  font-size: 1.02rem;
}
.section--flagship {
  padding: 6.6rem 0;
  background:
    radial-gradient(circle at 55% 12%, rgba(126, 203, 195, 0.13), transparent 28rem),
    linear-gradient(135deg, #052d2f, #0b5b5c 55%, #073f41);
  border-top: 0;
  border-bottom: 3px solid var(--brand-teal-deep);
}
.section--flagship::before {
  display: none;
}
.curriculum-row {
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.78fr);
  gap: 5rem;
  align-items: center;
}
.curriculum-row__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  background: rgba(126, 203, 195, 0.13);
  color: var(--brand-sky);
  letter-spacing: 0.08em;
}
.curriculum-row__title {
  max-width: 700px;
  font-size: clamp(3rem, 5.5vw, 4.6rem);
  letter-spacing: 0;
}
.curriculum-row__title em {
  color: var(--brand-blue-light);
}
.curriculum-row__desc {
  max-width: 620px;
  color: rgba(250, 252, 252, 0.78);
  font-size: 1.18rem;
}
.curriculum-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  max-width: 600px;
  margin: 2.2rem 0;
}
.curriculum-stat {
  padding-right: 1.5rem;
  border-right: 1px solid rgba(250, 252, 252, 0.16);
}
.curriculum-stat:last-child {
  border-right: 0;
}
.curriculum-stat__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  border-radius: 12px;
  background: rgba(126, 203, 195, 0.12);
  color: var(--brand-sky);
}
.curriculum-stat strong {
  display: block;
  color: var(--brand-cream);
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1;
}
.curriculum-stat span:last-child {
  color: var(--brand-sky);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.curriculum-benefits {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  color: rgba(250, 252, 252, 0.88);
  font-size: 1rem;
}
.curriculum-benefits li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.curriculum-benefits li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-sky);
  color: var(--brand-teal-ink);
  font-weight: 800;
  flex: 0 0 auto;
}
.section-list {
  padding: 2rem 2rem 0;
  border-color: rgba(126, 203, 195, 0.22);
  border-radius: 14px;
  background: rgba(250, 252, 252, 0.055);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.section-list__heading {
  color: var(--brand-blue-light);
  font-size: 1rem;
}
.section-list__items {
  gap: 0;
  font-weight: 700;
}
.section-list__items > div {
  display: flex;
  align-items: center;
  min-height: 50px;
  border-top: 1px solid rgba(250, 252, 252, 0.09);
}
.section-list__num {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--brand-cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
}
.section-list__item--soon {
  opacity: 0.35;
}
.section-list::after {
  content: "More sections unlock as you progress.";
  display: block;
  margin: 1.4rem -2rem 0;
  padding: 1.2rem 2rem;
  border-top: 1px solid rgba(250, 252, 252, 0.1);
  color: var(--brand-sky);
  background: rgba(250, 252, 252, 0.04);
  font-size: 0.95rem;
}
.section--sky-wash {
  background: linear-gradient(180deg, #effbfb, #f7ffff);
}
.content-row {
  max-width: 1230px;
  margin: 0 auto;
}
.content-row__eyebrow {
  color: var(--brand-teal-deep);
  opacity: 1;
}
.content-row__eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 0.45rem;
  background: var(--brand-teal);
}
.content-row__title {
  color: var(--brand-charcoal);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}
.content-row__desc {
  color: #5e6568;
  font-size: 1.04rem;
}
.media-card {
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}
.media-card::after {
  content: "Featured Video";
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.35rem 0.55rem;
  border-radius: 5px;
  background: rgba(250, 252, 252, 0.86);
  color: var(--brand-teal-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.media-card__play {
  width: 58px;
  height: 58px;
}
#books {
  background: #fffdf9;
}
.book-feature {
  width: min(100%, 380px);
  margin: 0 auto;
  border-radius: 8px;
  padding: 2.2rem;
  box-shadow: 0 18px 38px rgba(7, 63, 65, 0.1);
}
.about__inner {
  max-width: 760px;
}
.cta {
  display: none;
}
@media (max-width: 900px) {
  .hero--home {
    min-height: auto;
  }
  .hero--home .hero__inner {
    padding-left: 0;
  }
  .curriculum-row {
    grid-template-columns: 1fr;
  }
  .curriculum-stats {
    grid-template-columns: 1fr;
  }
  .curriculum-stat {
    border-right: 0;
  }
}

/* =============================================
   CURRICULUM PAGE COMPONENTS
   Used on: curriculum.html (public overview page).
   Non-interactive equivalent of the dashboard's
   .module accordion — shows all 12 sections to
   non-authenticated visitors.
   ============================================= */

/* Non-interactive section card (curriculum overview, not dashboard) */
.section-card {
  background: var(--brand-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.section-card__number {
  width: 40px;
  height: 40px;
  background: var(--brand-teal-deep);
  color: var(--brand-sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.section-card__body {
  flex: 1;
}
.section-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-brown);
  margin-bottom: 0.25rem;
}
.section-card__meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 0.4rem;
}
.section-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.section-card--coming-soon {
  opacity: 0.45;
}
.section-card--coming-soon .section-card__meta {
  color: var(--brand-gray);
}

/* Coming-soon badge (small pill beside "Coming Soon" meta) */
.coming-soon-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-brown);
  background: rgba(162, 206, 82, 0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Simple value props (no icons) — curriculum "What You'll Learn" */
.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
.value-prop {
  text-align: center;
}
.value-prop__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-brown);
  margin-bottom: 0.5rem;
}
.value-prop__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .value-props {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* =============================================
   ADMIN PAGE COMPONENTS
   Used on: admin.html. Gated by profiles.is_admin
   on both the client (initAdmin) and the database
   (RLS policies).
   ============================================= */

/* Admin header — brown variant to visually distinguish
   from the student dashboard's teal-deep header */
.admin-header {
  background: var(--brand-brown);
  color: var(--brand-cream);
  padding: 2.75rem 0 2.5rem;
  text-align: center;
  border-bottom: 2px solid var(--brand-sky);
}
.admin-header__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-sky);
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}
.admin-header__title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand-cream);
  margin-bottom: 0.25rem;
}
.admin-header__sub {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
  color: var(--brand-sky);
  opacity: 0.85;
}

/* Demo-mode banner */
.admin-demo-banner {
  background: var(--brand-lime);
  color: var(--brand-charcoal);
  padding: 0.85rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: var(--space-xl) 0;
}
.admin-demo-banner code {
  background: rgba(14, 93, 95, 0.12);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-size: 0.85em;
}

/* Admin section wrapper */
.admin-section {
  margin: var(--space-2xl) 0 var(--space-3xl);
}
.admin-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--brand-sky);
}
.admin-section__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-brown);
  margin: 0;
}
.admin-section__meta {
  font-size: 0.85rem;
  color: var(--brand-gray);
  margin: 0;
}
.admin-section__meta strong {
  color: var(--brand-teal-deep);
}

/* Admin table */
.admin-table-wrap {
  overflow-x: auto;
  background: var(--brand-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table thead th {
  background: var(--brand-teal-deep);
  color: var(--brand-sky);
  text-align: left;
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-table tbody td {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--border-light);
  color: var(--brand-charcoal);
  vertical-align: middle;
}
.admin-table tbody tr:hover {
  background: rgba(126, 203, 195, 0.08);
}
.admin-table tbody tr:first-child td {
  border-top: none;
}
.admin-empty {
  text-align: center;
  color: var(--brand-gray);
  font-style: italic;
  padding: 1.5rem !important;
}

.admin-lesson-title {
  max-width: 320px;
}

.admin-badge {
  display: inline-block;
  background: var(--brand-lime);
  color: var(--brand-charcoal);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* Completion % inline bar */
.admin-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 140px;
}
.admin-bar {
  flex: 1;
  height: 8px;
  background: rgba(14, 93, 95, 0.1);
  border-radius: 10px;
  overflow: hidden;
}
.admin-bar__fill {
  height: 100%;
  background: var(--brand-lime);
  border-radius: 10px;
  transition: width 0.3s ease;
}
.admin-bar__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-teal-deep);
  min-width: 42px;
  text-align: right;
}

.admin-footnote {
  font-size: 0.8rem;
  color: var(--brand-gray);
  margin-top: var(--space-md);
  line-height: 1.6;
}
.admin-footnote code {
  background: rgba(14, 93, 95, 0.08);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
  color: var(--brand-teal-deep);
}

@media (max-width: 640px) {
  .admin-header__title {
    font-size: 1.75rem;
  }
  .admin-table-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }
  .admin-table {
    display: block;
    font-size: 0.82rem;
  }
  .admin-table thead {
    display: none;
  }
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100%;
  }
  .admin-table tbody tr {
    margin-bottom: 0.85rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    background: var(--brand-white);
    overflow: hidden;
  }
  .admin-table tbody td {
    display: grid;
    grid-template-columns: minmax(7.25rem, 42%) 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.72rem 0.85rem;
    border-top: 1px solid var(--border-light);
    word-break: break-word;
  }
  .admin-table tbody td:first-child {
    border-top: 0;
  }
  .admin-table tbody td::before {
    content: attr(data-label);
    color: var(--brand-teal-deep);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .admin-table tbody td.admin-empty {
    display: block;
    text-align: center;
  }
  .admin-table tbody td.admin-empty::before {
    content: none;
  }
  .admin-bar-wrap {
    min-width: 0;
  }
  .admin-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* Private analytics dashboard */
.analytics-container {
  max-width: 1080px;
}
.analytics-header {
  text-align: left;
}
.analytics-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-light);
}
.analytics-toolbar label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--brand-teal-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.analytics-toolbar select,
.analytics-refresh {
  min-height: 42px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: var(--brand-white);
  color: var(--brand-charcoal);
  padding: 0.55rem 0.8rem;
  font: inherit;
}
.analytics-refresh {
  border-color: var(--brand-teal-deep);
  background: var(--brand-teal-deep);
  color: var(--brand-white);
  cursor: pointer;
  font-weight: 700;
}
.analytics-refresh:disabled {
  cursor: wait;
  opacity: 0.65;
}
.analytics-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  background: var(--brand-white);
  overflow: hidden;
}
.analytics-kpi {
  min-height: 118px;
  padding: 1.2rem 1.35rem;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.analytics-kpi:nth-child(3n) {
  border-right: 0;
}
.analytics-kpi:nth-last-child(-n + 3) {
  border-bottom: 0;
}
.analytics-kpi span {
  display: block;
  color: var(--brand-gray);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.analytics-kpi strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--brand-teal-deep);
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
}
.analytics-grid .admin-section {
  margin-top: 0;
}
.analytics-chart {
  display: grid;
  grid-template-columns: repeat(30, minmax(8px, 1fr));
  align-items: end;
  min-height: 250px;
  padding: 1.5rem 1rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  background: var(--brand-white);
  overflow-x: auto;
}
.analytics-chart__day {
  display: grid;
  grid-template-rows: 1rem 170px 2.2rem;
  align-items: end;
  justify-items: center;
  min-width: 18px;
  height: 100%;
}
.analytics-chart__value {
  color: var(--brand-gray);
  font-size: 0.62rem;
}
.analytics-chart__bar {
  width: min(72%, 18px);
  min-height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--brand-teal);
}
.analytics-chart__label {
  display: block;
  width: 2.5rem;
  overflow: hidden;
  color: var(--brand-gray);
  font-size: 0.58rem;
  line-height: 1.1;
  text-align: center;
}
.analytics-privacy {
  margin: 0 0 var(--space-3xl);
  color: var(--brand-gray);
  font-size: 0.78rem;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .analytics-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .analytics-kpi,
  .analytics-kpi:nth-child(3n) {
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
  }
  .analytics-kpi:nth-child(2n) {
    border-right: 0;
  }
  .analytics-kpi:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .analytics-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .analytics-toolbar select,
  .analytics-refresh {
    width: 100%;
  }
  .analytics-kpi {
    min-height: 100px;
    padding: 1rem;
  }
  .analytics-kpi strong {
    font-size: 1.65rem;
  }
}

/* =============================================
   PUBLIC LAUNCH VISUAL POLISH
   ============================================= */
.curriculum-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
  border-bottom: 3px solid var(--brand-gold);
  background:
    linear-gradient(90deg, rgba(3, 43, 45, 0.97) 0%, rgba(7, 63, 65, 0.9) 54%, rgba(7, 63, 65, 0.66) 100%),
    url("/public/images/growing-in-grace/lesson/lesson-hero-road-to-cross-wide.webp") center 48% / cover;
  color: var(--brand-cream);
}
.curriculum-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(3, 43, 45, 0.34));
}
.curriculum-hero .section__header {
  max-width: 920px;
  margin: 0 auto;
}
.curriculum-hero .section__label {
  color: var(--brand-sky);
  opacity: 1;
}
.curriculum-hero .section__title {
  color: var(--brand-cream);
  font-size: clamp(2.5rem, 6vw, 4.85rem);
  line-height: 1.03;
  letter-spacing: 0;
}
.curriculum-hero .section__title em {
  color: var(--brand-blue-light);
}
.curriculum-hero .divider {
  background: var(--brand-sky);
}
.curriculum-hero .section__desc {
  max-width: 680px;
  color: rgba(250, 252, 252, 0.84);
  font-size: 1.04rem;
}
.curriculum-hero--flagship .section__header {
  margin-left: 0;
  text-align: left;
}
.curriculum-hero--flagship .divider {
  margin-left: 0;
}
.curriculum-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.65rem;
}
.curriculum-hero__actions .btn--sky {
  border-color: var(--brand-sky);
  background: var(--brand-sky);
  color: var(--brand-teal-ink);
}
.curriculum-hero__actions .btn--ghost {
  border-color: rgba(250, 252, 252, 0.62);
  color: var(--brand-cream);
}
.curriculum-intro {
  padding-top: clamp(3rem, 6vw, 4.5rem) !important;
}
.flagship-overview {
  max-width: 1100px;
}
.flagship-overview__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 2rem;
}
.flagship-overview__header h2,
.flagship-start h2 {
  margin-top: 0.5rem;
  color: var(--brand-teal-ink);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.08;
}
.resource-page-intro {
  padding-top: clamp(1rem, 3vw, 2rem);
}
.resource-page-intro h1 {
  margin-top: 0.45rem;
  color: var(--brand-teal-ink);
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.98;
}
.resource-page-intro__lead {
  max-width: 540px;
  margin-top: 0.75rem;
  color: var(--brand-brown) !important;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.3 !important;
}
.resource-page-intro__aside {
  display: grid;
  gap: 1.15rem;
  justify-items: start;
}
.flagship-overview__header p,
.flagship-start p {
  color: var(--brand-gray);
  line-height: 1.72;
}
.flagship-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
  border-top: 1px solid rgba(14, 93, 95, 0.16);
  border-bottom: 1px solid rgba(14, 93, 95, 0.16);
}
.flagship-facts > div {
  min-width: 0;
  padding: 1.35rem 1rem;
  border-right: 1px solid rgba(14, 93, 95, 0.16);
}
.flagship-facts > div:last-child {
  border-right: 0;
}
.flagship-facts strong,
.flagship-facts span {
  display: block;
}
.flagship-facts strong {
  color: var(--brand-teal-ink);
  font-family: var(--font-heading);
  font-size: 1.65rem;
}
.flagship-facts span {
  margin-top: 0.15rem;
  color: var(--brand-gray);
  font-size: 0.82rem;
}
.flagship-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem 0 0;
}
.flagship-start h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}
.flagship-start p {
  margin-top: 0.35rem;
}
.resource-final-cta {
  background: linear-gradient(180deg, #f7fbf9, #eef8f5);
}

/* Flagship resource composition */
.resource-page .curriculum-intro {
  padding: 0 0 clamp(3.5rem, 7vw, 5.5rem) !important;
  background: #fbfcfa;
}
.resource-flagship-banner {
  min-height: 380px;
  padding: clamp(2.75rem, 6vw, 4.75rem) 0 4.25rem;
  background:
    linear-gradient(90deg, rgba(251, 252, 250, 0.84), rgba(251, 252, 250, 0.7)),
    url("/public/images/growing-in-grace/resources/flagship-course-mountain-background.webp") center bottom / cover no-repeat;
  border-bottom: 1px solid rgba(14, 93, 95, 0.1);
}
.resource-page-intro {
  padding-top: 0;
  margin-bottom: 0;
}
.resource-page-intro h1 {
  margin-top: 0.45rem;
  font-size: clamp(3.5rem, 7vw, 5.85rem);
  line-height: 0.88;
}
.resource-page-intro__rule {
  display: block;
  width: 38px;
  height: 2px;
  margin: 1.4rem 0 1.15rem;
  background: var(--brand-gold);
}
.resource-page-intro__lead {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.72rem);
}
.resource-page-intro__aside {
  align-self: center;
  gap: 1.35rem;
  max-width: 420px;
}
.resource-page-intro__aside > p {
  color: var(--brand-charcoal);
  font-size: 1.02rem;
  line-height: 1.68;
}
.resource-page-intro__trust {
  color: #4f5b59;
  font-size: 0.88rem;
}
.resource-page-intro__trust span {
  margin-right: 0.35rem;
  color: var(--brand-teal-deep);
  font-size: 1.1rem;
}
.flagship-overview__content {
  padding-top: 1.7rem;
}
.resource-page .embed-block {
  margin-bottom: 1.5rem;
}
.resource-page .embed-block__label {
  min-height: 76px;
  margin-bottom: 1rem;
  padding: 0.8rem 1.35rem;
  border-color: rgba(14, 93, 95, 0.2);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(3, 43, 45, 0.035);
}
.resource-page .embed-block__icon {
  width: 48px;
  height: 48px;
  color: #fff;
}
.resource-page .embed-block__title {
  color: var(--brand-teal-ink);
  font-size: 1.18rem;
}
.embed-block__desc {
  display: block;
  margin-top: 0.15rem;
  color: var(--brand-gray);
  font-size: 0.82rem;
}
.embed-block__arrow {
  margin-left: auto;
  color: var(--brand-teal-ink);
  font-size: 2rem;
  line-height: 1;
}
.resource-page .embed-container {
  border-radius: 11px;
  box-shadow: 0 18px 50px rgba(3, 43, 45, 0.14);
}
.resource-page .flagship-facts {
  gap: 0;
  margin-top: 1.65rem;
  border: 1px solid rgba(14, 93, 95, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}
.resource-page .flagship-facts > div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 1.25rem 1rem;
}
.flagship-fact__icon {
  display: grid !important;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: #e2f1ee;
  color: var(--brand-teal-ink) !important;
  font-family: var(--font-heading);
  font-size: 1.4rem !important;
}
.flagship-fact__icon--pdf {
  font-family: var(--font-body);
  font-size: 0.68rem !important;
  font-weight: 800;
}
.resource-page .flagship-facts strong {
  font-size: 1.5rem;
  line-height: 1;
}
.resource-page .flagship-facts b {
  display: block;
  margin-top: 0.25rem;
  color: var(--brand-teal-ink);
  font-size: 0.76rem;
}
.resource-page .flagship-facts span:not(.flagship-fact__icon) {
  margin-top: 0.4rem;
  color: var(--brand-gray);
  font-size: 0.72rem;
  line-height: 1.45;
}
.resource-page .flagship-start {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.35rem;
  margin-top: 1.25rem;
  padding: 1.65rem 2rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #f1f5f0, #f8f8f4);
}
.flagship-start__action {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  align-self: center;
}
.flagship-start__action small {
  color: var(--brand-gray);
  font-size: 0.72rem;
}
@media (max-width: 900px) {
  .resource-page .flagship-facts {
    grid-template-columns: 1fr 1fr;
  }
  .resource-page .flagship-facts > div:nth-child(2) {
    border-right: 0;
  }
  .resource-page .flagship-facts > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(14, 93, 95, 0.16);
  }
}
@media (max-width: 640px) {
  .resource-flagship-banner {
    min-height: 0;
    padding: 3rem 0 4.5rem;
    background-position: 58% bottom;
  }
  .resource-page-intro h1 {
    font-size: clamp(3.45rem, 17vw, 4.4rem);
  }
  .resource-page-intro__lead br {
    display: none;
  }
  .resource-page-intro__aside {
    max-width: none;
  }
  .resource-page-intro__aside .btn {
    width: 100%;
    justify-content: center;
  }
  .resource-page-intro__trust {
    font-size: 0.78rem;
  }
  .flagship-overview__content {
    padding-top: 1.1rem;
  }
  .resource-page .embed-block__label {
    min-height: 70px;
    padding: 0.7rem 0.85rem;
  }
  .resource-page .embed-block__icon {
    width: 42px;
    height: 42px;
  }
  .resource-page .embed-block__title {
    font-size: 1rem;
  }
  .embed-block__desc {
    font-size: 0.72rem;
  }
  .resource-page .flagship-facts > div {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.6rem;
    padding: 1rem 0.75rem;
  }
  .flagship-fact__icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem !important;
  }
  .resource-page .flagship-facts strong {
    font-size: 1.25rem;
  }
  .resource-page .flagship-facts b {
    font-size: 0.7rem;
  }
  .resource-page .flagship-facts span:not(.flagship-fact__icon) {
    font-size: 0.66rem;
  }
  .resource-page .flagship-start {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.5rem;
    text-align: center;
  }
  .flagship-start__action,
  .flagship-start__action .btn {
    width: 100%;
  }
}
.curriculum-cta {
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, var(--brand-teal-ink), var(--brand-teal-deep));
  text-align: center;
}
.curriculum-cta h2 {
  color: var(--brand-cream) !important;
}
.curriculum-cta .btn--dark {
  border-color: var(--brand-mint);
  background: var(--brand-mint);
  color: var(--brand-teal-ink);
}
.curriculum-cta .btn--dark:hover {
  border-color: var(--brand-sky);
  background: var(--brand-sky);
}

.dash-header--v2 .dash-header__title {
  max-width: 900px;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.08;
}
.dashboard-curriculum .section-heading {
  display: block;
}
.dashboard-curriculum .section-heading__eyebrow {
  margin-bottom: 0.6rem;
}
.dashboard-curriculum .section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}
.lesson-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 0.55rem;
  align-items: stretch;
  margin-bottom: 0.7rem;
}
.dashboard-curriculum .lesson-item-row .lesson-item {
  min-width: 0;
  margin-bottom: 0;
}
.lesson-handout-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  align-self: center;
  margin: 0;
  padding: 0;
  border: 1px solid #cfe4e0;
  border-radius: 8px;
  background: #fbfefd;
  color: var(--brand-teal-deep);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}
.lesson-handout-link:hover,
.lesson-handout-link:focus-visible {
  border-color: var(--brand-sky);
  background: var(--brand-mint);
  color: var(--brand-teal-ink);
}

.teacher-portrait__ring {
  overflow: hidden;
}
.teacher-portrait__ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.about__photo {
  object-fit: cover;
  object-position: 50% 38%;
  background: var(--brand-teal-deep);
}
.teacher-hero__actions .btn--sky {
  border-color: var(--brand-sky);
  background: var(--brand-sky);
  color: var(--brand-teal-ink);
}
.teacher-hero__actions .btn--sky:hover {
  border-color: var(--brand-mint);
  background: var(--brand-mint);
}
.lesson-progress-nav a:not(:first-child) {
  background: rgba(250, 252, 252, 0.05);
  color: rgba(250, 252, 252, 0.94);
}
.lesson-progress-nav a[href="#complete"] {
  color: var(--brand-gold);
}

@media (max-width: 640px) {
  .curriculum-hero {
    padding: 3.75rem 0 3.5rem;
    background-position: 64% center;
  }
  .curriculum-hero .section__title {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }
  .curriculum-hero .section__desc,
  .teacher-hero p,
  .lesson-hero__intro {
    font-size: 1rem !important;
    line-height: 1.68 !important;
  }
  .curriculum-hero__actions,
  .flagship-start {
    align-items: stretch;
    flex-direction: column;
  }
  .curriculum-hero__actions .btn,
  .flagship-start .btn {
    width: 100%;
    justify-content: center;
  }
  .flagship-overview__header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .flagship-facts {
    grid-template-columns: 1fr 1fr;
  }
  .flagship-facts > div:nth-child(2) {
    border-right: 0;
  }
  .flagship-facts > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(14, 93, 95, 0.16);
  }
  .dash-header--v2 .dash-header__title {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }
  .lesson-item-row {
    grid-template-columns: minmax(0, 1fr) 44px;
  }
}

.google-signin-host {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.google-signin-host[aria-busy="true"] {
  opacity: 0.72;
  pointer-events: none;
}
.google-signin-error {
  margin: 0;
  color: #8a3636;
  font-size: 0.85rem;
  text-align: center;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.15rem 0;
  color: #718182;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #dceae7;
}
.auth-divider span {
  white-space: nowrap;
}

.legal-page {
  background: linear-gradient(180deg, #fffdf9, var(--brand-mint-soft));
}
.legal-page__header {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
  background: var(--brand-teal-ink);
  color: var(--brand-cream);
}
.legal-page__header h1 {
  margin: 0.35rem 0 0.5rem;
  color: var(--brand-cream);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  letter-spacing: 0;
}
.legal-page__header p:last-child {
  margin: 0;
  color: rgba(250, 252, 252, 0.72);
}
.legal-page__content {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.legal-page__content h2 {
  margin: 2.25rem 0 0.65rem;
  color: var(--brand-teal-ink);
  font-size: 1.45rem;
}
.legal-page__content h2:first-of-type {
  margin-top: 2rem;
}
.legal-page__content p {
  color: #526869;
  line-height: 1.8;
}
