/* ═══════════════════════════════════════════════
   LAVENDER BEAR — Shared Design System
   Brand: #3D1F5C | #FDE047 | #F9F7F2
   ═══════════════════════════════════════════════ */

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

/* ── Root ── */
:root {
  --purple:  #3D1F5C;
  --yellow:  #FDE047;
  --bg:      #F9F7F2;
  --white:   #FFFFFF;
  --ink:     #0F0A17;
  --muted:   #6B6578;
  --border:  rgba(61,31,92,0.08);
  --shadow:  0 24px 56px rgba(61,31,92,0.10);
  --shadow-sm: 0 8px 24px rgba(61,31,92,0.07);
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* ── Typography scale ── */
.t-display {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 8.5vw, 7.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.t-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.t-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 700;
}
.t-h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  font-weight: 800;
}
.t-body-lg {
  font-size: clamp(1.125rem, 1.8vw, 1.25rem);
  line-height: 1.8;
  color: var(--muted);
}
.t-body {
  font-size: clamp(1.0625rem, 1.4vw, 1.125rem);
  line-height: 1.8;
  color: var(--muted);
}
.t-label {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.serif { font-family: 'Playfair Display', serif; }

/* ── Colours ── */
.c-purple { color: var(--purple); }
.c-yellow { color: var(--yellow); }
.c-muted  { color: var(--muted); }
.c-white  { color: #fff; }
.bg-purple { background: var(--purple); }
.bg-yellow { background: var(--yellow); }
.bg-white  { background: var(--white); }
.bg-warm   { background: var(--bg); }

/* ── Navigation ── */
.lb-nav {
  background: rgba(249,247,242,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.lb-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.lb-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
/* Logo fix: multiply blend removes the off-white jpg background */
.lb-logo-img {
  height: 52px;
  width: auto;
  mix-blend-mode: multiply;
  display: block;
}
.lb-logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--purple);
  display: none;
}
@media (min-width: 640px) { .lb-logo-name { display: block; } }

.lb-nav-links {
  display: none;
  align-items: center;
  gap: 36px;
  list-style: none;
}
@media (min-width: 1024px) { .lb-nav-links { display: flex; } }
.lb-nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.lb-nav-links a:hover, .lb-nav-links a.active { color: var(--purple); }
.lb-nav-links a.active {
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
  font-weight: 700;
}
.lb-nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lb-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--purple);
}
@media (min-width: 1024px) { .lb-hamburger { display: none; } }
.lb-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
  padding: 20px 32px 24px;
}
.lb-mobile-menu.open { display: flex; }
.lb-mobile-menu a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.lb-mobile-menu a:last-child { border-bottom: none; }
.lb-mobile-menu a.active { color: var(--purple); font-weight: 700; }
.lb-mobile-menu a:hover { color: var(--purple); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--purple);
  font-weight: 900;
  font-size: 1.0625rem;
  padding: 20px 44px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(253,224,71,0.55);
  filter: brightness(1.04);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--purple);
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 18px 40px;
  border-radius: 14px;
  border: 2px solid var(--purple);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: var(--purple);
  color: #fff;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  padding: 18px 40px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.25);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s;
  white-space: nowrap;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-sm { padding: 12px 28px; font-size: 0.875rem; border-radius: 10px; }
.btn-nav {
  display: inline-flex;
  align-items: center;
  background: var(--yellow);
  color: var(--purple);
  font-weight: 900;
  font-size: 0.8125rem;
  padding: 11px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn-nav:hover { filter: brightness(1.05); box-shadow: 0 6px 20px rgba(253,224,71,0.45); }
.btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E5E0EB;
  color: #9E8FAD;
  font-weight: 800;
  font-size: 1.0625rem;
  padding: 20px 44px;
  border-radius: 14px;
  border: none;
  cursor: not-allowed;
  user-select: none;
  white-space: nowrap;
}

/* ── Section containers ── */
.section { padding: 120px 32px; }
.section-sm { padding: 80px 32px; }
.section-xs { padding: 48px 32px; }
.container { max-width: 1280px; margin: 0 auto; }
.container-md { max-width: 1024px; margin: 0 auto; }
.container-sm { max-width: 780px; margin: 0 auto; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s, box-shadow 0.28s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-flat {
  background: var(--white);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.card-purple {
  background: var(--purple);
  border-radius: 24px;
  padding: 48px;
}
.card-warm {
  background: var(--bg);
  border-radius: 24px;
  padding: 48px;
  border: 1px solid var(--border);
}

/* ── Label pill ── */
.pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
}
.pill-purple { background: rgba(61,31,92,0.08); color: var(--purple); }
.pill-yellow { background: var(--yellow); color: var(--purple); }
.pill-white  { background: rgba(255,255,255,0.15); color: #fff; }
.pill-grey   { background: #E5E0EB; color: #9E8FAD; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 0; border: none; }

/* ── Check list ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #2A1F38;
}
.check-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%233D1F5C' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── FAQ accordion ── */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; cursor: pointer; }
details[open] .faq-plus { transform: rotate(45deg); }
.faq-plus { transition: transform 0.22s; display: inline-block; line-height: 1; }

/* ── Stats ── */
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ── Alert banner ── */
.alert-bar {
  background: var(--yellow);
  padding: 14px 32px;
}
.alert-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 640px) {
  .alert-bar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

/* ── Footer ── */
.lb-footer {
  background: var(--purple);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 80px 32px 40px;
}
.lb-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.lb-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .lb-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.lb-footer-logo-img {
  height: 48px;
  width: auto;
  mix-blend-mode: screen;
  margin-bottom: 16px;
  display: block;
}
.lb-footer-links { display: flex; flex-direction: column; gap: 12px; }
.lb-footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.18s;
}
.lb-footer-links a:hover { color: #fff; }
.lb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .lb-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ── Utilities ── */
.text-balance { text-wrap: balance; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Responsive grid helpers ── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4,1fr); }
}
.gap-lg { gap: 48px; }
.gap-xl { gap: 64px; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mb-16 { margin-bottom: 64px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-4 { gap: 16px; }
.gap-3 { gap: 12px; }
.gap-2 { gap: 8px; }
.flex-1 { flex: 1; }
.shrink-0 { flex-shrink: 0; }
.w-full { width: 100%; }
.block { display: block; }
.hidden { display: none; }
.relative { position: relative; }

@media (min-width: 640px) { .sm-flex { display: flex !important; } .sm-hidden { display: none !important; } }
@media (min-width: 1024px) { .lg-flex { display: flex !important; } .lg-hidden { display: none !important; } }

/* ── Universal icon sub-nav ── */
.lb-icon-nav {
  background: rgba(249,247,242,0.85);
  border-top: 1px solid var(--border);
  padding: 10px 32px;
  overflow-x: auto;
}
.lb-icon-nav::-webkit-scrollbar { display: none; }
.lb-icon-nav-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 360px;
  gap: 8px;
}
.lb-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  opacity: 0.5;
  transition: opacity 0.2s;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
}
.lb-icon-link:hover { opacity: 1; }
.lb-icon-link.active { opacity: 1; border-bottom-color: var(--purple); }
.lb-icon-link .icon { font-size: 1.125rem; line-height: 1; display: block; }
.lb-icon-link .label {
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  white-space: nowrap;
  display: block;
}

/* ── "I Need Help" Modal ── */
.lb-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.65);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lb-modal.open { display: flex; }
.lb-modal-box {
  background: var(--purple);
  border-radius: 28px;
  padding: 52px 48px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  animation: lbModalIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@media (max-width: 520px) {
  .lb-modal-box { padding: 40px 28px; }
}
@keyframes lbModalIn {
  from { transform: translateY(24px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.lb-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.7);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.lb-modal-close:hover { background: rgba(255,255,255,0.2); color: #fff; }
.lb-modal-input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.0625rem;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.lb-modal-input::placeholder { color: rgba(255,255,255,0.38); }
.lb-modal-input:focus { outline: none; border-color: var(--yellow); }
.lb-modal-radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}
.lb-modal-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.lb-modal-submit {
  width: 100%;
  padding: 18px;
  background: var(--yellow);
  color: var(--purple);
  font-weight: 900;
  font-size: 1.0625rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: filter 0.18s, transform 0.18s;
}
.lb-modal-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ── Mailchimp overrides (civvy page) ── */
#mc_embed_signup { background: transparent !important; font-family: 'Inter', sans-serif !important; width: 100% !important; }
#mc_embed_signup h2, #mc_embed_signup .indicates-required { display: none !important; }
#mc_embed_signup .mc-field-group { width: 100% !important; padding-bottom: 0 !important; }
#mc_embed_signup .mc-field-group label { display: none !important; }
#mc_embed_signup input.email {
  width: 100% !important; padding: 18px 24px !important;
  border-radius: 14px !important; border: 2px solid rgba(255,255,255,0.2) !important;
  background: rgba(255,255,255,0.1) !important; color: white !important;
  font-size: 16px !important; margin-bottom: 12px !important; box-sizing: border-box !important;
}
#mc_embed_signup input.email::placeholder { color: rgba(255,255,255,0.4) !important; }
#mc_embed_signup input.email:focus { border-color: var(--yellow) !important; outline: none !important; }
#mc_embed_signup .optionalParent, #mc_embed_signup .clear.foot { width: 100% !important; }
#mc-embedded-subscribe {
  width: 100% !important; padding: 18px 24px !important; border-radius: 14px !important;
  background: var(--yellow) !important; color: var(--purple) !important;
  font-weight: 900 !important; font-size: 16px !important;
  border: none !important; cursor: pointer !important; margin-top: 4px !important;
}
#mc-embedded-subscribe:hover { filter: brightness(1.05) !important; }
.refferal_badge { display: none !important; }
#mce-success-response { color: var(--yellow) !important; font-weight: 600; padding: 8px 0; }
#mce-error-response { color: #fca5a5 !important; font-weight: 600; padding: 8px 0; }
