/* Faith & Joy v2 — design system styles. Theme colors come from CSS vars set in JS. */

:root {
  --bg: #0C1526;
  --bg-soft: #0F1B30;
  --card: #14223B;
  --ink: #F3EAD0;
  --ink-soft: #A9B4C8;
  --accent: #D4AF5C;
  --accent-deep: #C9A55C;
  --verse-ink: #F3EAD0;
  --border: rgba(212, 175, 92, 0.25);
  --hero-ink: #F3EAD0;
  --serif: 'Cormorant Garamond', 'Tiro Devanagari Hindi', Georgia, serif;
  --sans: 'Inter', 'Mukta', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Mukta', monospace;
  --pad-x: 72px;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  transition: background 0.4s ease, color 0.4s ease;
}

.fj-page { background: var(--bg); color: var(--ink); min-height: 100vh; transition: background 0.4s ease, color 0.4s ease; }

/* ---------- typography primitives ---------- */
.fj-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  gap: 14px;
}
.fj-eyebrow::after { content: ""; height: 1px; width: 56px; background: var(--accent); opacity: 0.5; }
.fj-eyebrow.centered { justify-content: center; }
.fj-eyebrow.centered::before { content: ""; height: 1px; width: 56px; background: var(--accent); opacity: 0.5; }

.fj-h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.fj-h2 em { font-style: italic; color: var(--accent); }
.fj-body { font-size: 18px; line-height: 1.65; color: var(--ink-soft); text-wrap: pretty; }

/* Devanagari needs more breathing room and no extreme tracking */
[data-lang="hi"] .fj-eyebrow { letter-spacing: 0.08em; }
[data-lang="hi"] .fj-h2 { line-height: 1.25; font-size: clamp(34px, 4.6vw, 64px); }
[data-lang="hi"] .fj-hero-tagline { line-height: 1.6; }
[data-lang="hi"] .fj-verse-quote { line-height: 1.4; }
[data-lang="hi"] .fj-mono-sm { letter-spacing: 0.05em; }

.fj-mono-sm { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }

/* ---------- layout ---------- */
.fj-section { padding: 130px var(--pad-x); position: relative; }
.fj-section.soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fj-wrap { max-width: 1320px; margin: 0 auto; position: relative; }
.fj-wrap.narrow { max-width: 1100px; }

.fj-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* ---------- nav ---------- */
.fj-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 40px;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.fj-nav.scrolled {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.fj-nav-links { display: flex; gap: 32px; margin-left: auto; align-items: center; }
.fj-nav-links a {
  color: var(--hero-ink);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.85;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.fj-nav-links a:hover { opacity: 1; }
.fj-nav-logo { height: 30px; width: auto; display: block; }

/* theme dots */
.fj-theme-dots {
  display: flex; gap: 7px; align-items: center;
  padding: 6px 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
}
.fj-theme-dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer; padding: 0; position: relative;
}
.fj-theme-dot span { position: absolute; inset: 3px; border-radius: 50%; }
.fj-theme-dot.active { border-color: #fff; }

/* Desktop theme picker — single circle trigger + dropdown */
.fj-desktop-theme-wrap { position: relative; z-index: 110; }
.fj-desktop-theme-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.3);
  cursor: pointer; padding: 0; position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.fj-desktop-theme-btn:hover { border-color: rgba(255,255,255,0.75); transform: scale(1.12); }
.fj-desktop-theme-btn.active { border-color: #fff; }
.fj-desktop-theme-btn span { position: absolute; inset: 4px; border-radius: 50%; }
.fj-desktop-theme-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  display: flex; gap: 7px; align-items: center;
  padding: 10px 12px;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  box-shadow: 0 16px 40px -8px rgba(0,0,0,0.5);
  white-space: nowrap;
  animation: fj-menu-in 0.2s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}

/* ---------- language pill ---------- */
.fj-lang { position: relative; z-index: 110; }
.fj-lang-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  cursor: pointer;
  color: var(--hero-ink);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.25s, background 0.25s;
  min-height: 38px;
}
.fj-lang-pill:hover { border-color: var(--accent); background: rgba(255,255,255,0.18); }
.fj-lang-globe { width: 17px; height: 17px; flex: none; opacity: 0.9; }
.fj-lang-word-box { position: relative; overflow: hidden; height: 19px; display: flex; align-items: center; }
.fj-lang-word {
  display: block; white-space: nowrap;
  animation: none;
}
.fj-lang-word.entering { animation: fj-word-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1) both; }
@keyframes fj-word-in {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.fj-lang-caret { width: 9px; height: 9px; flex: none; opacity: 0.7; transition: transform 0.25s; }
.fj-lang.open .fj-lang-caret { transform: rotate(180deg); }
.fj-lang-name-short { display: none; }
.fj-lang-flag { font-size: 18px; line-height: 1; flex: none; }

/* text variant of the pill */
.fj-lang-pill.text-style {
  background: transparent; border-color: transparent; backdrop-filter: none; padding-left: 4px;
}
.fj-lang-pill.text-style:hover { border-color: transparent; }
.fj-lang-pill.text-style .fj-lang-word { border-bottom: 1.5px solid var(--accent); padding-bottom: 1px; }

.fj-lang-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.45);
  animation: fj-menu-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}
@keyframes fj-menu-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } to { opacity: 1; transform: none; } }
.fj-lang-menu-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-deep); padding: 8px 12px 6px;
}
.fj-lang-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%;
  padding: 11px 12px;
  background: transparent; border: none; border-radius: 12px;
  color: var(--ink); font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  cursor: pointer; text-align: left;
  transition: background 0.15s;
  min-height: 44px;
}
.fj-lang-item:hover { background: var(--bg-soft); }
.fj-lang-item.active { color: var(--accent-deep); }
.fj-lang-item .check { color: var(--accent); font-size: 15px; }

/* ---------- hero ---------- */
.fj-hero { position: relative; min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.fj-hero-scene { position: absolute; inset: 0; will-change: transform; }
.fj-hero-content {
  position: relative; z-index: 5; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  color: var(--hero-ink);
}
.fj-hero-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  opacity: 0.85; margin-bottom: 26px;
}
[data-lang="hi"] .fj-hero-eyebrow { letter-spacing: 0.1em; }
.fj-hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 10.5vw, 168px);
  font-weight: 500; line-height: 0.95; margin: 0;
  letter-spacing: 0.03em; white-space: nowrap;
}
.fj-hero-title em { font-style: italic; color: var(--accent); }
.fj-hero-tagline {
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 29px);
  font-style: italic; font-weight: 400;
  max-width: 640px; margin: 30px 0 44px; line-height: 1.45; opacity: 0.95;
  text-wrap: balance;
}
.fj-cta {
  padding: 17px 32px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fj-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.fj-cta-short { display: none; }
.fj-hero-scroll {
  position: relative; z-index: 5;
  text-align: center; padding-bottom: 36px;
  color: var(--hero-ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  opacity: 0.7;
}
[data-lang="hi"] .fj-hero-scroll { letter-spacing: 0.08em; }

/* hero variant B — manuscript split */
.fj-hero-b-grid {
  position: relative; z-index: 5; flex: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  max-width: 1320px; width: 100%; margin: 0 auto;
  padding: 140px var(--pad-x) 60px;
  color: var(--hero-ink);
}
.fj-hero-b-title {
  font-family: var(--serif);
  font-size: clamp(52px, 6.5vw, 108px);
  font-weight: 500; line-height: 0.98; margin: 0 0 28px;
  letter-spacing: 0.01em;
}
.fj-hero-b-phone { display: flex; justify-content: center; }

/* hero variant C — verse first */
.fj-hero-c-quote {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 72px);
  font-style: italic; font-weight: 500;
  line-height: 1.12; letter-spacing: -0.01em;
  max-width: 1000px; margin: 0;
  text-wrap: balance;
}
[data-lang="hi"] .fj-hero-c-quote { line-height: 1.35; }

/* ---------- verse section ---------- */
.fj-verse-quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 62px);
  font-weight: 500; font-style: italic;
  line-height: 1.15; color: var(--verse-ink);
  letter-spacing: -0.01em; text-wrap: pretty;
}
.fj-verse-mark { font-size: 1.8em; color: var(--accent); line-height: 0; vertical-align: -0.4em; }
.fj-verse-ref {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--ink); letter-spacing: 0.08em; text-transform: uppercase;
}
[data-lang="hi"] .fj-verse-ref { letter-spacing: 0.02em; }
.fj-btn-outline {
  padding: 12px 24px; background: transparent;
  border: 1.5px solid var(--accent); color: var(--accent-deep);
  border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.05em;
  cursor: pointer; font-family: var(--sans);
  transition: background 0.2s, color 0.2s;
  min-height: 44px;
}
.fj-btn-outline:hover { background: var(--accent); color: var(--bg); }

/* ---------- feature buttons ---------- */
.fj-feature-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  cursor: pointer; text-align: left; font-family: var(--sans);
  transition: all 0.25s;
  min-height: 60px;
}
.fj-feature-btn.active { background: var(--card); border-color: var(--accent); }
.fj-feature-num {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: var(--bg-soft); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; font-weight: 600;
}
.fj-feature-btn.active .fj-feature-num { background: var(--accent); color: #fff; }
.fj-feature-label { color: var(--ink); font-size: 15.5px; font-weight: 500; line-height: 1.35; }

/* ---------- stats ---------- */
.fj-stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.fj-stat { padding: 36px 24px; border-right: 1px solid var(--border); }
.fj-stat:last-child { border-right: none; }
.fj-stat-num {
  font-family: var(--serif); font-size: clamp(56px, 5.5vw, 84px); font-weight: 500;
  line-height: 1; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 12px;
}
.fj-stat-num .gold { color: var(--accent); }

/* ---------- chapter grid demo ---------- */
.fj-demo-card {
  background: var(--card);
  border-radius: 32px;
  padding: 44px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.35);
}
.fj-book-tab {
  padding: 10px 18px; background: transparent;
  color: var(--ink); border: 1.5px solid var(--border); border-radius: 999px;
  cursor: pointer; font-family: var(--serif); font-size: 17px; font-weight: 500;
  letter-spacing: 0.02em; transition: all 0.2s;
  min-height: 44px;
}
.fj-book-tab.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fj-chapter-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 9px; }
.fj-chapter {
  aspect-ratio: 1; background: var(--bg-soft);
  border: 2px solid transparent; border-radius: 13px;
  color: var(--ink); font-family: var(--serif); font-size: 19px; font-weight: 500;
  cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: all 0.15s ease;
}
.fj-chapter:hover { transform: scale(1.07); }
.fj-chapter.read { background: color-mix(in oklab, var(--accent) 14%, transparent); border-color: var(--accent); color: var(--accent-deep); }

/* ---------- theme cards ---------- */
.fj-theme-card {
  padding: 26px 24px; border: 2px solid transparent; border-radius: 20px;
  cursor: pointer; text-align: left; font-family: var(--sans);
  transition: all 0.2s; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.15);
}
.fj-theme-card.active { box-shadow: 0 20px 40px -15px color-mix(in oklab, var(--accent) 40%, transparent); }

/* ---------- plan cards ---------- */
.fj-plan-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 24px;
  padding: 30px; position: relative; overflow: hidden;
  transition: transform 0.3s; cursor: pointer;
}
.fj-plan-card:hover { transform: translateY(-6px); }

/* ---------- prayer wall ---------- */
.fj-prayer-compose { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 28px; }
.fj-prayer-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.fj-btn-solid {
  padding: 12px 26px; background: var(--ink); color: var(--bg);
  border: none; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em; cursor: pointer; font-family: var(--sans);
  min-height: 44px;
}

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fj-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1); }
  .fj-reveal.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --pad-x: 40px; }
  .fj-split { grid-template-columns: 1fr; gap: 56px; }
  .fj-hero-b-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .fj-hero-b-title { justify-content: center; }
  .fj-hero-b-grid .fj-eyebrow { justify-content: center; }
  .fj-hero-b-grid .fj-eyebrow::before { content: ""; height: 1px; width: 56px; background: var(--accent); opacity: 0.5; }
  .fj-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .fj-stat:nth-child(2) { border-right: none; }
  .fj-stat { border-bottom: 1px solid var(--border); }
  .fj-stat:nth-child(3), .fj-stat:nth-child(4) { border-bottom: none; }
  .fj-stat:nth-child(5) { border-bottom: none; border-right: none; }
}
/* Mobile nav controls — hidden on desktop */
.fj-mobile-controls { display: none; }

@media (max-width: 1180px) {
  .fj-nav-links { display: none; }
  .fj-desktop-theme-wrap { display: none; }
  .fj-mobile-controls { display: flex; align-items: center; gap: 6px; margin-left: auto; }

  /* Icon button shared style */
  .fj-mobile-icon-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--hero-ink);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s;
  }
  .fj-mobile-icon-btn.active,
  .fj-mobile-icon-btn:active {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.4);
  }

  /* Wrapper for positioning the dropdowns */
  .fj-mobile-theme-wrap,
  .fj-mobile-menu-wrap {
    position: relative;
  }

  /* Theme dots dropdown */
  .fj-mobile-theme-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    background: color-mix(in oklab, var(--bg) 90%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
    z-index: 200;
    animation: fj-dropdown-in 0.18s ease;
  }

  /* Burger menu dropdown */
  .fj-mobile-menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    padding: 8px 0;
    background: color-mix(in oklab, var(--bg) 94%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
    z-index: 200;
    animation: fj-dropdown-in 0.18s ease;
  }

  .fj-mobile-menu-link {
    display: block;
    padding: 13px 20px;
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.15s, color 0.15s;
  }
  .fj-mobile-menu-link:active,
  .fj-mobile-menu-link:hover {
    background: color-mix(in oklab, var(--accent) 12%, transparent);
    color: var(--accent);
  }
  .fj-mobile-menu-support {
    color: var(--accent);
    font-weight: 600;
  }

  .fj-mobile-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 12px;
  }

  .fj-mobile-menu-socials {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
  }

  .fj-mobile-social-btn {
    width: 34px; height: 34px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-soft);
    transition: color 0.2s, background 0.2s;
  }
  .fj-mobile-social-btn:hover,
  .fj-mobile-social-btn:active {
    color: var(--accent);
    background: color-mix(in oklab, var(--accent) 10%, transparent);
  }

  @keyframes fj-dropdown-in {
    from { opacity: 0; transform: translateY(-6px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
}
@media (max-width: 900px) {
  .fj-nav { padding: 14px 20px; gap: 12px; }
  .fj-nav-logo { height: 24px; }
}
@media (max-width: 480px) {
  .fj-nav-logo { display: none; }
}

/* ---------- mobile burger + theme dropdown (≤768px) ---------- */
@media (max-width: 768px) {
  /* Hide desktop-only elements */
  .fj-theme-dots { display: none; }
  .fj-desktop-theme-wrap { display: none; }
  /* Flag-only language pill on mobile — centered flag, square pill */
  .fj-lang-word-box { display: none; }
  .fj-lang-caret { display: none; }
  .fj-lang-pill { padding: 0; width: 38px; height: 38px; justify-content: center; gap: 0; border-radius: 10px; border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.12); }

  /* Logo centered between language and menu buttons */
  .fj-nav-logo {
    display: block !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 34px;
    pointer-events: none;
  }

}
@media (max-width: 640px) {
  :root { --pad-x: 22px; }
  .fj-section { padding-top: 90px; padding-bottom: 90px; }
  .fj-chapter-grid { grid-template-columns: repeat(6, 1fr); }
  .fj-chapter { border-radius: 10px; font-size: 17px; }
  .fj-stats-grid { grid-template-columns: 1fr 1fr; }
  .fj-demo-card { padding: 24px; border-radius: 24px; }
  .fj-hero-title { font-size: clamp(48px, 15vw, 80px); }
  .fj-hero-tagline { font-size: 35px; text-align: center; margin: 16px auto 44px; }
  .fj-grid-2 { grid-template-columns: 1fr !important; }
  .fj-grid-3 { grid-template-columns: 1fr !important; }
  /* Reading plans: 2-column grid, description hidden on mobile */
  #plans .fj-grid-3 { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  #plans .fj-plan-card { padding: 18px 14px; border-radius: 18px; }
  #plans .fj-plan-card > div:last-child { display: none; }
  /* Download CTA stacked */
  #download .fj-cta { display: flex; width: 100%; justify-content: center; box-sizing: border-box; }
  #download div[style*="flex"] { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
  .fj-theme-grid { grid-template-columns: 1fr 1fr !important; }
  .fj-footer-grid { grid-template-columns: 1fr 1fr !important; }

  /* Hero mobile */
  .fj-hero-b-grid { padding-top: 80px; padding-bottom: 12px; gap: 14px; }
  .fj-hero-b-grid .fj-eyebrow { margin-bottom: 12px !important; }
  .fj-hero-b-wordmark { min-width: 200px !important; width: min(70vw, 340px) !important; }
  .fj-hero-b-grid .fj-hero-tagline { font-size: 15px !important; margin: 12px 0 18px !important; }
  .fj-hero-ctas { flex-wrap: nowrap !important; justify-content: center; gap: 8px !important; }
  .fj-hero-ctas .fj-cta { padding: 9px 13px !important; font-size: 12px !important; gap: 6px !important; }
  .fj-cta-long { display: none; }
  .fj-cta-short { display: inline; }
  html, body { overflow-x: hidden; }
}
