/* ====================================================================
   MemoryVerses homepage — theme tokens
   Both themes scoped via .theme-light / .theme-dark on a root element
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,500;6..72,600;6..72,700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --font-serif: "Newsreader", "Source Serif Pro", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  /* spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --sp-32: 128px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
}

/* ------------------------- DARK -------------------------
   The site's anti-FOUC script (extensions/html/start_test.php) resolves
   the user's theme preference and reflects it on <html data-theme='...'>
   — including the 'system' case where the cookie alone can't tell us
   the resolved value. Bridging through that attribute keeps the redesign
   in sync even when PHP rendered the "wrong" .theme-* class from the
   cookie alone (cookie='system' + OS=dark, or unset + OS=dark). The
   prefers-color-scheme fallback covers the brief window before the
   anti-FOUC script runs on a first visit. */
.theme-dark,
html[data-theme='dark'] .mv-root,
html:not([data-theme]) .mv-root.theme-dark {
  --bg: #0B1426;
  --bg-deep: #070D1B;
  --bg-section: #0E1A30;
  --surface: #131E36;
  --surface-2: #1A2542;
  --surface-elev: #1F2B4E;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text-1: #F5F6FA;
  --text-2: #B6BFD3;
  --text-3: #7B8AA6;
  --text-muted: #5A6884;

  --accent: #8FA7C2;          /* slate */
  --accent-soft: rgba(143, 167, 194, 0.16);
  --accent-strong: #6E89A8;
  --brand: #F08B6E;           /* coral */
  --brand-soft: rgba(240, 139, 110, 0.16);
  --brand-fg: #2A1100;        /* text on --brand bg */
  --success: #34D399;
  --success-soft: rgba(52, 211, 153, 0.15);
  --warning: #FBBF24;
  --warning-soft: rgba(251, 191, 36, 0.15);
  --danger: #F87171;
  --pink: #F472B6;
  --teal: #2DD4BF;

  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 32px -16px rgba(0,0,0,0.6);
  --shadow-elev: 0 30px 80px -30px rgba(0,0,0,0.7);

  color-scheme: dark;
}

/* ------------------------- LIGHT -------------------------
   Mirror selector to the dark block above so an explicit
   <html data-theme='light'> (or no data-theme + system=light) keeps
   the redesign light, even if PHP set .theme-dark on the .mv-root. */
.theme-light,
html[data-theme='light'] .mv-root,
html:not([data-theme]) .mv-root.theme-light {
  --bg: #FAFAF6;
  --bg-deep: #F2F1EA;
  --bg-section: #F4F4EE;
  --surface: #FFFFFF;
  --surface-2: #F7F7F2;
  --surface-elev: #FFFFFF;
  --border: rgba(11, 20, 38, 0.08);
  --border-strong: rgba(11, 20, 38, 0.14);

  --text-1: #0B1426;
  --text-2: #3F4A60;
  --text-3: #6B7790;
  --text-muted: #94A0B8;

  --accent: #3F5876;
  --accent-soft: rgba(63, 88, 118, 0.10);
  --accent-strong: #2A4060;
  --brand: #C25E3F;
  --brand-soft: rgba(194, 94, 63, 0.12);
  --brand-fg: #FFFFFF;
  --success: #059669;
  --success-soft: rgba(5, 150, 105, 0.10);
  --warning: #B45309;
  --warning-soft: rgba(180, 83, 9, 0.10);
  --danger: #DC2626;
  --pink: #DB2777;
  --teal: #0D9488;

  --shadow-card: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 24px -10px rgba(11,20,38,0.08), 0 1px 2px rgba(11,20,38,0.04);
  --shadow-elev: 0 30px 80px -30px rgba(11,20,38,0.20);

  color-scheme: light;
}

/* ------------------------- SYSTEM FALLBACK -------------------------
   First-paint covers users with OS=dark before the anti-FOUC script
   runs, and users with no explicit theme class or data-theme. The
   :not(.theme-light) guard keeps explicit-light users light even
   when their OS is dark. */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .mv-root:not(.theme-light):not(.theme-dark) {
    --bg: #0B1426;
    --bg-deep: #070D1B;
    --bg-section: #0E1A30;
    --surface: #131E36;
    --surface-2: #1A2542;
    --surface-elev: #1F2B4E;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --text-1: #F5F6FA;
    --text-2: #B6BFD3;
    --text-3: #7B8AA6;
    --text-muted: #5A6884;

    --accent: #8FA7C2;
    --accent-soft: rgba(143, 167, 194, 0.16);
    --accent-strong: #6E89A8;
    --brand: #F08B6E;
    --brand-soft: rgba(240, 139, 110, 0.16);
    --brand-fg: #2A1100;
    --success: #34D399;
    --success-soft: rgba(52, 211, 153, 0.15);
    --warning: #FBBF24;
    --warning-soft: rgba(251, 191, 36, 0.15);
    --danger: #F87171;
    --pink: #F472B6;
    --teal: #2DD4BF;

    --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 32px -16px rgba(0,0,0,0.6);
    --shadow-elev: 0 30px 80px -30px rgba(0,0,0,0.7);

    color-scheme: dark;
  }
}

/* ====================================================================
   Base
   ==================================================================== */

.mv-root {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  min-height: 100%;
}

.mv-root * { box-sizing: border-box; }

.mv-root h1, .mv-root h2, .mv-root h3, .mv-root h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.mv-root p { margin: 0; text-wrap: pretty; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-10);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ------------------------- NAV ------------------------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) var(--sp-10);
  max-width: 1440px;
  margin: 0 auto;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-1);
}
.nav-brand .logo {
  width: 30px; height: 30px;
  background: var(--brand);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-fg);
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all .15s;
}
.nav-link:hover { color: var(--text-1); background: var(--surface-2); }
.nav-link.active { color: var(--text-1); background: var(--surface-2); }
.nav-link .chev { opacity: .55; }
.nav-right { display: flex; align-items: center; gap: var(--sp-3); }
.nav-bell {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  cursor: pointer;
}
.nav-bell .dot {
  position: absolute; width: 7px; height: 7px;
  background: var(--brand); border-radius: 50%;
  transform: translate(8px, -8px);
}
.nav-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 600; font-size: 14px;
}

/* ------------------------- MOBILE NAV (logged-out marketing header) -------------------------
   The desktop nav is a brand + a center mega-menu pill + right-side controls.
   Below 960px the pill + 580-720px dropdowns can't fit, so we hide the pill
   and the logged-out account dropdown, reveal a hamburger, and drop a
   full-width slide-down menu (markup + JS: extensions/header/mobile_menu.php).
   Shared by both nav copies (header/marketing_nav_test.php + the homepage
   inline nav in index_new/home_new_test.php) since both link this file. */
.mvr-burger { display: none; }
.mvr-mobile-menu { display: none; }

@media (max-width: 960px) {
  .nav { padding: var(--sp-5) var(--sp-6); position: relative; }
  .nav .nav-links { display: none; }
  /* Logged-out Log in / Create account move into the menu; keep the theme
     toggle + (logged-in) avatar in the bar. */
  .nav .mvr-acct-wrap { display: none; }

  .mvr-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-1);
    cursor: pointer; padding: 0;
    transition: background .15s, color .15s;
  }
  .mvr-burger:hover { background: var(--surface-2); }
  .mvr-burger.is-open { background: var(--surface-2); color: var(--text-1); }

  .mvr-mobile-menu {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    z-index: 9998;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-elev, 0 24px 48px -20px rgba(11,20,38,0.25));
    max-height: 0; overflow: hidden;
    opacity: 0; visibility: hidden;
    transition: max-height .22s ease, opacity .2s ease, visibility 0s linear .22s;
  }
  .mvr-mobile-menu.open {
    max-height: calc(100vh - 64px); overflow-y: auto;
    opacity: 1; visibility: visible;
    transition: max-height .26s ease, opacity .2s ease, visibility 0s;
  }
  .mvr-m-inner { padding: 8px 16px 20px; display: flex; flex-direction: column; }
  .mvr-m-toplink {
    display: flex; align-items: center; gap: 10px;
    padding: 15px 4px; text-decoration: none;
    font-size: 15px; font-weight: 600; color: var(--text-1);
    border-bottom: 1px solid var(--border);
  }
  .mvr-m-toplink:hover, .mvr-m-toplink:active { color: var(--accent); }
  .mvr-m-toplink svg { color: var(--text-3); flex-shrink: 0; }
  .mvr-m-sec + .mvr-m-sec { border-top: 1px solid var(--border); }
  .mvr-m-sec-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; padding: 15px 4px;
    background: transparent; border: 0;
    font-family: var(--font-sans); font-size: 15px; font-weight: 600;
    color: var(--text-1); cursor: pointer; text-align: left;
  }
  .mvr-m-sec-head .chev { color: var(--text-3); display: inline-flex; transition: transform .15s; }
  .mvr-m-sec.open .mvr-m-sec-head .chev { transform: rotate(180deg); }
  .mvr-m-sec.open .mvr-m-sec-head { color: var(--accent); }
  .mvr-m-sec-body { display: none; flex-direction: column; gap: 2px; padding: 0 4px 12px; }
  .mvr-m-sec.open .mvr-m-sec-body { display: flex; }
  .mvr-m-link {
    display: block; padding: 9px 12px; border-radius: 10px;
    text-decoration: none;
  }
  .mvr-m-link:hover, .mvr-m-link:active { background: var(--surface-2); }
  .mvr-m-link .t { display: block; font-size: 14px; font-weight: 600; color: var(--text-1); }
  .mvr-m-link .d { display: block; font-size: 12px; color: var(--text-3); margin-top: 1px; line-height: 1.4; }
  .mvr-m-cta { display: flex; flex-direction: column; gap: 10px; padding: 16px 4px 2px; }
  .mvr-m-cta .btn { width: 100%; justify-content: center; }
}

/* ------------------------- BUTTONS ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s, filter .12s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: var(--brand-fg);
}
.btn-secondary {
  background: var(--surface-2);
  color: var(--text-1);
  border-color: var(--border);
}
.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border-color: var(--border);
}

/* ------------------------- HERO ------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 220px 0 80px;
}
.hero h1 {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.022em;
}
.hero h1 .accent { color: var(--text-1); }
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 480px;
  margin-top: 20px;
  line-height: 1.6;
}
.hero-cta-row {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px;
}
.hero-meta {
  display: flex; align-items: center; gap: 20px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-3);
}
.hero-meta .stack {
  display: flex; align-items: center;
}
.hero-meta .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  background: linear-gradient(135deg, #7C7CF5, #22D3EE);
}
.hero-meta .avatar:first-child { margin-left: 0; }
.hero-meta strong { color: var(--text-1); font-weight: 600; }

/* memory widget */
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-elev);
  position: relative;
}
.widget-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.widget-ref {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  display: flex; align-items: center; gap: 6px;
}
.widget-ref .sep { color: var(--text-muted); }
.widget-percent {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  background: var(--success-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.widget-prompt {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.widget-prompt .pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.word-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: var(--sp-5);
  min-height: 140px;
  align-content: flex-start;
}
.word {
  display: inline-flex; gap: 2px;
  padding: 4px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  background: transparent;
}
.word.done {
  background: var(--success-soft);
  border-color: rgba(52, 211, 153, 0.35);
}
.word.current {
  background: var(--accent-soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.letter {
  width: 18px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 1.5px solid var(--border-strong);
}
.word.done .letter { color: var(--success); border-bottom-color: transparent; font-weight: 600; }
.word.current .letter.typed { color: var(--text-1); font-weight: 600; border-bottom-color: var(--accent); }
.word.upcoming .letter { color: var(--text-muted); }
/* Scoped to the hero widget — the site's existing utility CSS already
   defines a bare `.cursor` rule for `cursor: pointer`, used by 68+
   elements in the in-app chrome. Sharing the unscoped selector turned
   every navigation button into a blinking accent-colored line. */
.mv-root .word.current .cursor {
  display: inline-block;
  width: 2px; height: 18px;
  background: var(--accent);
  animation: mvr-cursor-blink 1s steps(1) infinite;
  vertical-align: middle;
  margin: 0 1px;
}
@keyframes mvr-cursor-blink { 50% { opacity: 0; } }

.progress {
  height: 6px;
  background: var(--surface-2);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}
.progress > span {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: inherit;
}

.kbd {
  margin-top: var(--sp-5);
  display: grid;
  gap: 5px;
}
.kbd-row {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
}
.kbd-row.r2 { grid-template-columns: repeat(9, 1fr); padding: 0 5%; }
.kbd-row.r3 { grid-template-columns: repeat(7, 1fr); padding: 0 14%; }
.key {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-1);
}
.key.hot { background: var(--brand); color: var(--brand-fg); border-color: var(--brand); }

/* ------------------------- SECTION GENERIC ------------------------- */
.section {
  padding: var(--sp-24) 0;
}
.section.compact { padding: var(--sp-16) 0; }
.section.alt { background: var(--bg-section); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-16);
}
.section-head .eyebrow { display: inline-block; margin-bottom: var(--sp-4); }
.section-head h2 {
  font-size: 56px;
  margin-bottom: var(--sp-5);
}
.section-head p {
  font-size: 18px;
  color: var(--text-2);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--sp-16);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split h2 {
  font-size: 60px;
  letter-spacing: -0.022em;
  margin-bottom: var(--sp-6);
}
.split h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
.split p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: var(--sp-8);
}
.split .eyebrow { display: inline-block; margin-bottom: var(--sp-5); }

/* ------------------------- ADD VERSE WIDGET ------------------------- */
.av-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}
.av-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-5);
}
.av-add {
  display: flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600;
}
.av-add .plus {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
}
.av-versions {
  font-size: 13px; font-weight: 500; color: var(--text-3);
}
.av-label { font-size: 12px; font-weight: 600; color: var(--text-3); margin-bottom: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.av-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  cursor: pointer;
  background: transparent;
  transition: all .15s;
}
.av-row:hover { background: var(--surface-2); }
.av-row.selected {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.av-ref {
  font-weight: 600; font-size: 15px; color: var(--text-1);
  margin-bottom: 2px;
}
.av-text { font-size: 13px; color: var(--text-2); }
.av-tag {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}
.av-row.selected .av-tag { color: var(--accent); border-color: var(--accent); }
.av-translation {
  display: flex; align-items: center; gap: 10px;
  margin: var(--sp-5) 0 10px;
}
.av-translation .label { font-size: 13px; color: var(--text-3); font-weight: 500; }
.av-translation .pill {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text-1);
  display: flex; align-items: center; gap: 4px;
}
.av-quote {
  padding: 18px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-1);
  background: var(--surface-2);
  font-style: italic;
}

/* ------------------------- MEMORY PLANS (replaces Training Plan) ------------------------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-12);
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  box-shadow: var(--shadow-card);
}
.plan-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--surface);
}
.plan-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-meta {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: var(--sp-3);
}
.plan-pace {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--surface-2);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.1;
}
.plan-desc {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: var(--sp-5);
}
.plan-stats {
  display: flex; gap: var(--sp-4);
  padding-top: var(--sp-5);
  margin-top: auto;
  border-top: 1px solid var(--border);
}
.plan-stats .stat .v {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-1);
}
.plan-stats .stat .l {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Active plan widget */
.active-plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}
.ap-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-5);
}
.ap-title {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  font-size: 16px;
}
.ap-title .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.ap-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  background: var(--success-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 4px;
}
.ap-pill .pulse { width: 6px; height: 6px; background: var(--success); border-radius: 50%; }
.ap-progress-row {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
}
.ap-progress-row .day { color: var(--text-2); font-weight: 500; }
.ap-progress-row .pct {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
}
.ap-week {
  margin-top: var(--sp-6);
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.ap-day {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  font-size: 11px;
}
.ap-day .d { font-weight: 600; color: var(--text-3); font-size: 10px; letter-spacing: 0.06em; }
.ap-day .n { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--text-1); margin: 2px 0 6px; }
.ap-day .v { font-size: 10px; color: var(--text-2); }
.ap-day.done { background: var(--success-soft); border-color: var(--success); }
.ap-day.done .v { color: var(--success); }
.ap-day.today { background: var(--accent-soft); border-color: var(--accent); }
.ap-day.today .v { color: var(--accent); }
.ap-day .check {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--success); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  margin-top: 4px;
}

.ap-streak {
  margin-top: var(--sp-5);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  background: var(--surface-2);
  border-radius: var(--radius-md);
}
.ap-streak-left {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}
.ap-streak-left strong { color: var(--text-1); font-weight: 600; font-size: 15px; }
.ap-flame {
  font-size: 18px;
}

/* ------------------------- SIX WAYS ------------------------- */
.methods-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-12);
}
.method {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  text-align: left;
  cursor: pointer;
  transition: all .2s;
}
.method:hover { background: var(--surface-2); border-color: var(--border-strong); transform: translateY(-2px); }
.method.active {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.method-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-3);
}
.method.active .method-icon { background: var(--accent); color: white; }
.method-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.method-desc { font-size: 12px; color: var(--text-3); line-height: 1.4; }

/* method demo widget */
.demo-card {
  margin: var(--sp-12) auto 0;
  max-width: 720px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}
.demo-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-5);
  font-size: 14px;
}
.demo-name { font-weight: 600; color: var(--text-1); }
.demo-ref { color: var(--text-3); font-family: var(--font-mono); font-size: 12px; }

.first-letter-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.fl-word {
  display: inline-flex; align-items: center;
}
.fl-cap {
  width: 26px; height: 26px;
  border: 1.5px solid var(--success);
  background: var(--success-soft);
  color: var(--success);
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  margin-right: 1px;
}
.fl-rest {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  display: inline-flex;
}
.fl-rest span { display: inline-block; padding: 4px 1px; }
.fl-blank {
  width: 26px; height: 26px;
  border: 1.5px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 5px;
  display: inline-flex;
  margin: 0 1px;
}

/* ------------------------- ACTIVITY / FRIENDS ------------------------- */
.activity-list { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.activity {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.activity .av {
  width: 38px; height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #7C7CF5, #22D3EE);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 600; font-size: 13px;
}
.activity .av.amber { background: linear-gradient(135deg, #F59E0B, #F472B6); }
.activity .av.green { background: linear-gradient(135deg, #34D399, #22D3EE); }
.activity .av.pink { background: linear-gradient(135deg, #F472B6, #7C7CF5); }
.activity-main { flex: 1; }
.activity-line { font-size: 14px; color: var(--text-1); }
.activity-line .verse { color: var(--accent); font-weight: 600; }
.activity-line .icon-inline { color: var(--success); margin-right: 4px; }
.activity-line .icon-inline.amber { color: var(--warning); }
.activity-line .icon-inline.pink { color: var(--pink); }
.activity-line .icon-inline.cyan { color: var(--accent); }
.activity-meta { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.activity.has-msg { align-items: flex-start; }
.activity-msg {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 8px 11px;
  line-height: 1.4;
}

/* ------------------------- FOR CHURCH LEADERS / Verse of the Week ------------------------- */
.vow-card {
  background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-elev);
  position: relative;
  overflow: hidden;
}
.vow-card::before {
  content: ""; position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}
.vow-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-6);
  position: relative;
}
.vow-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.vow-eyebrow .badge {
  background: var(--accent);
  color: white;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.vow-week {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  font-family: var(--font-mono);
}
.vow-pastor {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: var(--sp-4);
  position: relative;
}
.vow-pastor .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C7CF5, #F472B6);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 600; font-size: 14px;
}
.vow-pastor .info { display: flex; flex-direction: column; }
.vow-pastor .name { font-weight: 600; font-size: 14px; color: var(--text-1); }
.vow-pastor .role { font-size: 12px; color: var(--text-3); }
.vow-verse {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-1);
  letter-spacing: -0.012em;
  margin-bottom: var(--sp-4);
  position: relative;
  text-wrap: balance;
}
.vow-ref {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--sp-6);
  position: relative;
}
.vow-note {
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-2);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: var(--sp-6);
  position: relative;
}
.vow-progress {
  display: flex; align-items: center; gap: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  position: relative;
}
.vow-progress-stats {
  display: flex; align-items: center;
}
.vow-progress-stats .av-stack {
  display: flex;
}
.vow-progress-stats .av-mini {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  margin-left: -8px;
  background: linear-gradient(135deg, #34D399, #7C7CF5);
}
.vow-progress-stats .av-mini:first-child { margin-left: 0; }
.vow-progress-stats .more {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--surface);
  margin-left: -8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-2);
}
.vow-progress-text {
  font-size: 13px;
  color: var(--text-2);
}
.vow-progress-text strong { color: var(--text-1); font-weight: 600; }

.leaders-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}
.leaders-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}
.leaders-card .icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.leaders-card .icon-wrap.cyan { background: var(--brand-soft); color: var(--brand); }
.leaders-card .icon-wrap.amber { background: var(--warning-soft); color: var(--warning); }
.leaders-card h4 {
  font-size: 19px; font-weight: 600;
  margin-bottom: 6px;
  font-family: var(--font-serif);
}
.leaders-card p { font-size: 14px; color: var(--text-2); }

/* ------------------------- FAMILIES ------------------------- */
.family-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}
.family-head {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.family-head .icon {
  color: var(--accent);
}
.family-member {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
}
.family-member + .family-member { border-top: 1px solid var(--border); }
.family-member .av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: white;
}
.fm-info { flex: 1; }
.fm-name { font-weight: 600; font-size: 15px; }
.fm-meta { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.fm-tag {
  font-size: 11px; font-weight: 600;
  padding: 4px 8px; border-radius: 5px;
  background: var(--warning-soft);
  color: var(--warning);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fm-online {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
}

/* ------------------------- GAMES ------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}
.game-card {
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: white;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.game-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -16px rgba(0,0,0,0.4); }
.game-card.indigo { background: linear-gradient(160deg, #6366F1, #4338CA); }
.game-card.cyan { background: linear-gradient(160deg, #22D3EE, #0E7490); color: #052430; }
.game-card.amber { background: linear-gradient(160deg, #FBBF24, #D97706); color: #1F1300; }
.game-card.emerald { background: linear-gradient(160deg, #34D399, #047857); color: #02261A; }
.game-card.pink { background: linear-gradient(160deg, #F472B6, #BE185D); }
.game-card.violet { background: linear-gradient(160deg, #A78BFA, #6D28D9); }
.game-card .game-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
}
.game-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.game-card.cyan .game-icon, .game-card.amber .game-icon, .game-card.emerald .game-icon {
  background: rgba(0,0,0,0.18);
}
.game-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(0,0,0,0.30);
  color: white;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
}
.game-card.cyan .game-tag, .game-card.amber .game-tag, .game-card.emerald .game-tag {
  background: rgba(255,255,255,0.45);
  color: #1F1300;
}
.game-text { position: relative; z-index: 2; }
.game-name {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.15;
}
.game-desc { font-size: 13px; opacity: 0.85; margin-top: 4px; }
.game-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px;
  font-weight: 500;
  margin-top: 10px;
  opacity: 0.9;
}
.game-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.5; }

/* ------------------------- FOOTER ------------------------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: var(--sp-20) 0 var(--sp-8);
  margin-top: var(--sp-12);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.footer-cta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-12);
  padding: var(--sp-10) var(--sp-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--sp-16);
  box-shadow: var(--shadow-card);
}
.footer-cta-left h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  line-height: 1.15;
}
.footer-cta-left p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 420px;
}
.footer-newsletter {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px;
  min-width: 380px;
}
.footer-newsletter input {
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0 16px;
  flex: 1;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-1);
}
.footer-newsletter input::placeholder { color: var(--text-3); }
.footer-newsletter button {
  background: var(--accent);
  color: white;
  border: 0;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.4fr minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer-brand-block {}
.footer-brand-block .nav-brand { margin-bottom: var(--sp-5); }
/* Specificity must beat `.mv-root p { margin: 0 }` above (0,1,1).
   Using .mv-root prefix gives us (0,2,0). */
.mv-root .footer-tag {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  color: var(--text-2);
  margin-bottom: var(--sp-10);
}
.footer-app-row {
  display: flex; gap: 8px;
  margin-bottom: var(--sp-6);
}
.footer-store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 12px;
  cursor: pointer;
  transition: background .15s;
}
.footer-store:hover { background: var(--surface-2); }
.footer-store-sm { font-size: 9px; opacity: 0.75; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; margin-bottom: 3px; color: var(--text-3); }
.footer-store-lg { font-size: 14px; font-weight: 600; line-height: 1; color: var(--text-1); }
.footer-socials {
  display: flex; gap: 8px;
}
.footer-social {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
}
.footer-social:hover { background: var(--surface-2); color: var(--text-1); }

.footer h5 {
  font-size: 12px; font-weight: 600;
  margin-bottom: var(--sp-4);
  color: var(--text-1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul li {
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: color .12s;
}
.footer ul li:hover { color: var(--text-1); }
.footer ul li .new-pill {
  display: inline-block;
  margin-left: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  vertical-align: middle;
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}
.footer-bottom-meta { display: flex; gap: var(--sp-6); align-items: center; }
.footer-bottom-meta .verse-quote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-2);
}
.footer-bottom-right { display: flex; gap: var(--sp-5); }
.footer-bottom-right span { cursor: pointer; }
.footer-bottom-right span:hover { color: var(--text-1); }

/* ------------------------- FOOTER — RESPONSIVE -------------------------
   The marketing footer (logged-out visitors + every shared marketing page
   that links this stylesheet) had no breakpoints, so on phones the 5-col
   grid stayed fixed and the 380px-min newsletter overflowed the viewport.
   Same breakpoints as the logged-in footer_redesign so the two stay in
   sync: pull the brand block onto its own row + collapse the link columns
   as the viewport narrows, then stack the newsletter CTA and bottom row. */
@media (max-width: 1180px) {
  .footer { padding: var(--sp-16) 0 var(--sp-8); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid > .footer-brand-block { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .footer { padding: var(--sp-12) 0 var(--sp-8); margin-top: var(--sp-10); }
  .footer-cta {
    gap: var(--sp-6);
    padding: var(--sp-6) var(--sp-6);
    margin-bottom: var(--sp-10);
  }
  .footer-cta-left h3 { font-size: 24px; }
  .footer-newsletter { min-width: 0; width: 100%; }
  .footer-newsletter input { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
    font-size: 12px;
  }
  .footer-bottom-meta { flex-wrap: wrap; gap: var(--sp-3); }
}
@media (max-width: 560px) {
  .footer-cta-left h3 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* ------------------------- BIG STATS ROW ------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 0 var(--sp-8);
}
.stat-cell {
  text-align: left;
  padding: 0 var(--sp-4);
}
.stat-cell:not(:last-child) { border-right: 1px solid var(--border); }
.stat-cell .v {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 4px;
}
.stat-cell .v .pl { font-size: 22px; color: var(--accent); }
.stat-cell .l {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ------------------------- HOW IT WORKS ------------------------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  margin-top: var(--sp-16);
}
.step {
  position: relative;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-5);
}
.step h4 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  margin-top: var(--sp-6);
  margin-bottom: 8px;
  letter-spacing: -0.012em;
}
.step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
.step-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  box-shadow: var(--shadow-card);
}
.mini-search {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
}
.mini-search > :first-child { color: var(--accent); }
.mini-search > :nth-child(2) { flex: 1; color: var(--text-1); }
.mini-tag {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  color: var(--text-2);
  background: var(--bg-section);
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid var(--border);
}
.mini-list {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
}
.mini-list-row {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 4px;
  color: var(--text-2);
}
.mini-list-row.active { color: var(--text-1); font-weight: 500; }
.mini-list-row .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
}
.mini-list-row .dot.done {
  background: var(--success);
  border-color: var(--success);
  position: relative;
}
.mini-list-row .dot.done::after {
  content: "";
  position: absolute;
  inset: 3px;
  background-image: linear-gradient(45deg, transparent 45%, white 45%, white 55%, transparent 55%),
                    linear-gradient(-45deg, transparent 45%, white 45%, white 55%, transparent 55%);
}
.mini-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mini-method {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 500;
  color: var(--text-2);
}
.mini-method.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.mini-progress {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-3);
}
.mini-progress > :first-child { flex-shrink: 0; }
.mini-streak {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.streak-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  font-size: 11px; font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-3);
}
.streak-day.on {
  background: var(--success-soft);
  border-color: rgba(52, 211, 153, 0.4);
  color: var(--success);
}
.streak-day.today {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}
.mini-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
}
.mini-stats > div {
  display: flex; flex-direction: column;
}
.mini-stats .v {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em;
}
.mini-stats .l {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- Step 03 "Stay on track" — streak header + due pill ---- */
.mini-streak-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
}
.mini-streak-flame {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #FBBF24, #F97316);
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -4px rgba(249, 115, 22, 0.55);
}
.mini-streak-stat { display: flex; flex-direction: column; }
.mini-streak-best { margin-left: auto; text-align: right; display: flex; flex-direction: column; }
.mini-streak-num {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--text-1);
}
.mini-streak-num.small { font-size: 20px; }
.mini-streak-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
}
.streak-day svg { display: block; }
.streak-day.today { position: relative; }
.today-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.mini-due {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}
.mini-due-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.mini-due-body { display: flex; flex-direction: column; min-width: 0; }
.mini-due-ref {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.2;
}
.mini-due-meta {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 2px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ------------------------- BIG CTA ------------------------- */
.cta-card {
  background: linear-gradient(135deg, #4F46E5 0%, #7C7CF5 40%, #22D3EE 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-20) var(--sp-16);
  position: relative;
  overflow: hidden;
  color: white;
  margin: var(--sp-16) 0;
}
.theme-light .cta-card {
  background: linear-gradient(135deg, #4338CA 0%, #6366F1 50%, #0EA5C5 100%);
}
.cta-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
  top: -300px; right: -200px;
  pointer-events: none;
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(255,255,255,0.10), transparent 50%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255,255,255,0.025) 12px 13px);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.mv-root .cta-headline {
  font-family: var(--font-serif);
  font-size: 76px;
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: white;
  margin: var(--sp-8) 0 var(--sp-5);
  text-wrap: balance;
}
.cta-headline em {
  font-style: italic;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.mv-root .cta-sub {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-12);
  text-wrap: balance;
}
.cta-actions {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-5);
}
.btn.cta-primary {
  background: white;
  color: #2A2D8E;
  padding: 18px 32px;
  font-size: 16px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.3);
}
.cta-stores {
  display: flex; gap: 12px;
}
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  color: white;
  font-family: var(--font-sans);
}
.store-sm { font-size: 10px; opacity: 0.85; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; margin-bottom: 3px; }
.store-lg { font-size: 16px; font-weight: 600; line-height: 1; }
.cta-trust {
  margin-top: var(--sp-6);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--sp-6);
  font-size: 13px;
  color: rgba(255,255,255,0.92);
}
.cta-trust span { display: inline-flex; align-items: center; gap: 6px; }
.check-i { color: rgba(255,255,255,0.95); }

/* Phone portrait: hide the hero eyebrow above the main H1 (section eyebrows stay). */
@media (max-width: 560px) { .mv-root .hero .eyebrow { display: none !important; } }

/* ---- Phone-portrait marketing-hero CTA + proof (2026-06-05) ----
   Shared across every logged-out marketing hero (your_verses, for_churches,
   family, daily_verses, memorized_verses, your_groups, friends, churches,
   memory_challenges, add_any_verse). On a narrow phone .hero-cta-row crammed the
   primary button + "Sign in" into one row, squeezing the button so its label
   wrapped to two lines (big pill, tiny text); and .hero-meta jammed the abstract
   avatar dots against the stats (people-dots next to a collections count — reads
   as confusing). Fix: full-width button with Sign in stacked + centered below;
   drop the avatar dots; stack the proof points and hide the inline middot
   separators (they always carry a muted-color inline style: --text-3/--text-muted). */
@media (max-width: 560px) {
	.mv-root .hero-cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
	.mv-root .hero-cta-row .btn { width: 100%; justify-content: center; }
	.mv-root .hero-cta-row .fc-signin { text-align: center; }
	.mv-root .hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
	.mv-root .hero-meta .stack { display: none; }
	.mv-root .hero-meta > span[style*='--text-3'],
	.mv-root .hero-meta > span[style*='--text-muted'] { display: none; }
}
