/* ============================================================
   sc-components.css — Smply Capital White Theme Components
   Covers: navbar, hero, stats, how, services, calc, social, footer
   All animations use transform + opacity ONLY
   ============================================================ */

/* ── KEYFRAMES ── */
@keyframes blink { 50% { opacity: 0; } }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes badgePulse { 0%,100%{opacity:0.6} 50%{opacity:1} }

/* ============================================================
   NAVBAR
   ============================================================ */
.sc-navbar-wrap {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}
.sc-navbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 100px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  white-space: nowrap;
  overflow-x: auto;
  max-width: calc(100vw - 32px);
}
.sc-navbar::-webkit-scrollbar { display: none; }
.sc-navbar-logo {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-primary);
  text-decoration: none;
  padding: 6px 12px;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.sc-navbar-logo span { color: var(--accent); }
.sc-navbar-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; flex-shrink: 0; }
.sc-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.sc-nav-link:hover { color: var(--text-primary); background: rgba(79,70,229,0.07); }
.sc-nav-link.active { color: var(--accent); background: rgba(79,70,229,0.11); font-weight: 600; box-shadow: 0 1px 6px rgba(79,70,229,0.12); }
.sc-nav-cta {
  /* bg/box-shadow handled by lg-btn-primary */
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 100px;
  flex-shrink: 0;
  margin-left: 4px;
}
.sc-nav-cta:hover { color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.sc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.sc-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/nyc-skyline.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: saturate(0.9) brightness(0.95);
}

.sc-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.sc-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transition: background 0.05s linear;
}

.sc-hero__content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: clamp(100px, 15vh, 160px) clamp(24px, 6vw, 80px) clamp(80px, 10vh, 120px);
}

.sc-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,70,229,0.1);
  border: 1px solid rgba(79,70,229,0.2);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.sc-hero__title {
  font-family: var(--font-heading, 'Gilda Display', serif);
  font-size: clamp(40px, 6.2vw, 78px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.sc-hero__title-main { color: var(--text-primary); }

.sc-hero__title-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  min-height: 1.25em; /* Reserve one line — prevents button shift during typewriter */
}

.sc-hero__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 40px;
  min-height: 1.6em; /* Reserve full line height — prevents button shift during typewriter */
  font-family: var(--font-body, 'Space Grotesk', sans-serif);
}

.sc-hero__sub::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--accent);
  margin-left: 2px;
}

.sc-hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.sc-hero__cta-primary {
  /* Base styles preserved — lg-btn-primary handles the visual */
  color: #fff;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.sc-hero__cta-primary:hover { color: #fff; }

.sc-hero__cta-secondary {
  /* Base styles preserved — lg-btn handles the visual */
  color: var(--text-primary);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.sc-hero__cta-secondary:hover { color: var(--text-primary); }

.sc-hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 20px;
  animation: bounce 2s ease-in-out infinite;
  transition: opacity 0.4s;
  z-index: 3;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.sc-stats {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.sc-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}
.sc-stats__item {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sc-stats__item:last-child { border-right: none; }
.sc-stats__item.visible { opacity: 1; transform: translateY(0); }
.sc-stats__num {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.sc-stats__label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 600px) {
  .sc-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .sc-stats__item:nth-child(2) { border-right: none; }
  .sc-stats__item:nth-child(3) { border-top: 1px solid var(--border); }
  .sc-stats__item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}

/* Legacy class support */
.sc-stats__card { padding: 40px 32px; text-align: center; border-right: 1px solid var(--border); opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.sc-stats__card.sc-visible { opacity: 1; transform: translateY(0); }
.sc-stats__value { font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.02em; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; display: block; margin-bottom: 8px; }
.sc-stats__inner { max-width: 1200px; margin: 0 auto; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
/* #how-root renders content directly (no .sc-how wrapper div) */
#how-root, .sc-how {
  padding: clamp(56px, 7vw, 80px) clamp(40px, 8vw, 96px);
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.sc-how__header { text-align: center; margin-bottom: 64px; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.sc-how__header.sc-visible { opacity: 1; transform: translateY(0); }
.sc-how__pill {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); background: rgba(79,70,229,0.08); border: 1px solid rgba(79,70,229,0.15);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.sc-how__title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.sc-how__title em { font-style: normal; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sc-how__desc { color: var(--text-secondary); font-size: 18px; margin-top: 12px; }
.sc-how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sc-how__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.sc-how__card.sc-visible { opacity: 1; transform: translateY(0); }
.sc-how__card:hover { box-shadow: var(--shadow-md); border-color: var(--border-hover); transform: translateY(-4px) rotateX(2deg); }
.sc-how__icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(79,70,229,0.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--accent);
}
.sc-how__icon { width: 28px; height: 28px; stroke: var(--accent); stroke-width: 1.5; }
.sc-how__step-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; }
.sc-how__card-title { font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.sc-how__card-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* Legacy how-it-works classes */
.sc-how__inner { width: 100%; }
.sc-how__subtitle { color: var(--text-secondary); font-size: 18px; margin-top: 12px; }
.sc-how__step-num-bg { display: none; }
.sc-how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 768px) {
  .sc-how__steps { grid-template-columns: 1fr; }
  .sc-how__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.sc-services {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 80px);
  background: #fff;
  border-top: 1px solid var(--border);
}
.sc-services__inner { max-width: 1200px; margin: 0 auto; }
.sc-services__header { text-align: center; margin-bottom: 52px; }
.sc-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sc-services__card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s, opacity 0.5s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.sc-services__card.visible { opacity: 1; transform: translateY(0); }
.sc-services__card:hover,
.sc-services__card:focus,
.sc-services__card.active {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.97);
  box-shadow: 0 12px 40px rgba(79,70,229,0.14), 0 2px 8px rgba(0,0,0,0.06);
  border-color: rgba(79,70,229,0.3);
  outline: none;
}
.sc-services__card-icon { font-size: 28px; margin-bottom: 16px; }
.sc-services__card-title { font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.sc-services__card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 900px) { .sc-services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sc-services__grid { grid-template-columns: 1fr; } }

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.sc-section-pill {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); background: rgba(79,70,229,0.08); border: 1px solid rgba(79,70,229,0.15);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.sc-section-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.sc-section-title em { font-style: normal; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sc-section-desc { font-size: 17px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* Legacy pill badge */
.sc-pill-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,70,229,0.08); border: 1px solid rgba(79,70,229,0.15);
  color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.sc-pill-badge__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: badgePulse 2s ease-in-out infinite;
}

/* ============================================================
   CALCULATOR
   ============================================================ */
.sc-calc {
  padding: clamp(56px, 7vw, 80px) clamp(24px, 6vw, 80px);
  background: var(--bg);
}
.sc-calc__inner { max-width: 680px; margin: 0 auto; }
.sc-calc__header { text-align: center; margin-bottom: 44px; opacity: 1; transform: none; }
.sc-calc__header.sc-visible { opacity: 1; transform: none; }
.sc-calc__title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.sc-calc__subtitle { font-size: 17px; color: var(--text-secondary); }
.sc-calc__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.sc-calc__card.sc-visible, .sc-calc__card.visible { opacity: 1; transform: translateY(0); }
.sc-calc__amount-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); text-align: center; margin-bottom: 12px; }
.sc-calc__amount-display { margin-bottom: 4px; }
.sc-calc__amount-value, .sc-calc__amount {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
  display: block;
}
.sc-calc__slider-wrap { margin-bottom: 8px; position: relative; }
.sc-calc__range, .sc-calc__slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--accent) var(--fill-pct, 30%), #e5e5f0 var(--fill-pct, 30%));
  outline: none;
  cursor: pointer;
}
.sc-calc__range::-webkit-slider-thumb, .sc-calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(79,70,229,0.4);
  cursor: pointer;
  transition: transform 0.15s;
}
.sc-calc__range::-webkit-slider-thumb:hover, .sc-calc__slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.sc-calc__slider-labels, .sc-calc__range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 28px; }
.sc-calc__output { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.sc-calc__output-item, .sc-calc__stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.sc-calc__output-label, .sc-calc__stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.sc-calc__output-value, .sc-calc__stat-value { font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: 22px; font-weight: 700; color: var(--text-primary); }
.sc-calc__disclaimer { font-size: 11px; color: var(--text-muted); text-align: center; margin-bottom: 24px; }
.sc-calc__cta-wrap { margin-top: 4px; }
.sc-calc__cta, .sc-btn--primary {
  /* bg/box-shadow/border-radius/transition handled by lg-btn-primary */
  display: block;
  width: 100%;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.sc-calc__cta:hover, .sc-btn--primary:hover { color: #fff; }

/* Idle pulse animation */
.sc-idle-pulse .sc-calc__range::-webkit-slider-thumb { animation: calcPulse 1.5s ease-in-out 3; }
@keyframes calcPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.sc-social {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #fff;
  border-top: 1px solid var(--border);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.sc-social.sc-visible { opacity: 1; transform: translateY(0); }
.sc-social__header { text-align: center; padding: 0 clamp(24px, 6vw, 80px); margin-bottom: 44px; }
.sc-social__title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.sc-social__subtitle { font-size: 17px; color: var(--text-secondary); }
.sc-social__marquee, .sc-social__track-wrap { overflow: hidden; }
.sc-social__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 50s linear infinite;
}
.sc-social__track:hover { animation-play-state: paused; }
.sc-social__card {
  width: 300px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  perspective: 600px;
  min-height: 200px;
}
.sc-social__card-inner {
  position: relative;
  width: 100%;
  min-height: 160px;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.sc-social__card.flipped .sc-social__card-inner { transform: rotateY(180deg); }
.sc-social__front, .sc-social__back {
  position: absolute;
  width: 100%; top: 0; left: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.sc-social__back {
  transform: rotateY(180deg);
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 8px;
}
.sc-social__quote { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.sc-social__name, .sc-social__back-name { font-weight: 700; color: var(--text-primary); font-size: 14px; }
.sc-social__role, .sc-social__back-role { font-size: 12px; color: var(--text-muted); }
.sc-social__back-name { color: #fff; }
.sc-social__back-role { color: rgba(255,255,255,0.7); }
.sc-social__stars { color: #F59E0B; font-size: 13px; margin-bottom: 8px; }
.sc-social__attr { margin-top: 12px; }
.sc-social__back-quote { font-size: 13px; color: rgba(255,255,255,0.9); font-style: italic; margin-top: 10px; line-height: 1.5; }
.sc-social__verified { font-size: 11px; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 4px; margin-top: 4px; }

/* ============================================================
   LOAN PROGRAMS — GRID + MODAL
   ============================================================ */
.lp-page { min-height: 100vh; background: var(--bg); padding-bottom: 140px; }

.lp-page-hero {
  text-align: center;
  padding: clamp(80px, 10vw, 120px) clamp(24px, 6vw, 80px) 0;
  max-width: 800px;
  margin: 0 auto;
}
.lp-page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  color: var(--text-primary);
  margin: 12px 0 16px;
}
.lp-page-hero p {
  color: var(--text-secondary);
  font-size: 17px;
}

/* Loan Program Cards — grid (no flip) */
.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 6vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}
.lp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.lp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.lp-card__icon { font-size: 36px; margin-bottom: 16px; }
.lp-card__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.lp-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}
.lp-card__cta {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-card__cta::before { content: '↗'; }

/* Modal backdrop */
.lp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 26, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.lp-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* Modal */
.lp-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 32px 80px rgba(10,10,26,0.25);
}
.lp-modal-backdrop.open .lp-modal {
  transform: scale(1) translateY(0);
}
.lp-modal__close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px -40px 0;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.lp-modal__close:hover { background: var(--border); }
.lp-modal__body { padding: 40px; }

/* Modal content */
.lp-modal__header { margin-bottom: 28px; }
.lp-modal__icon { font-size: 40px; margin-bottom: 12px; }
.lp-modal__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.lp-modal__desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

.lp-modal__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.lp-modal__stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.lp-modal__stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.lp-modal__stat-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.lp-modal__docs-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.lp-modal__docs { list-style: none; margin-bottom: 28px; }
.lp-modal__docs li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-modal__docs li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(79,70,229,0.1);
  border: 1px solid var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%234F46E5' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.lp-modal__note {
  background: rgba(79,70,229,0.06);
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 24px;
}
.lp-modal__submit-cta {
  /* bg/box-shadow/border-radius/transition handled by lg-btn-primary */
  display: block;
  width: 100%;
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.lp-modal__submit-cta:hover { color: #fff; }

/* Mobile modal — slide up as sheet */
@media (max-width: 640px) {
  .lp-modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .lp-modal {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 85vh;
    transform: translateY(100%);
    max-width: 100%;
  }
  .lp-modal-backdrop.open .lp-modal {
    transform: translateY(0);
  }
  .lp-modal__body { padding: 28px 24px 40px; }
  .lp-grid { grid-template-columns: 1fr; padding: 32px 20px; }
}

/* Calculator — new program selector elements */
.calc-program-wrap {
  margin-bottom: 20px;
}
.calc-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.calc-program-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%234F46E5' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.2s;
}
.calc-program-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.calc-rate-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.calc-rate-badge,
.calc-down-badge {
  background: rgba(79,70,229,0.07);
  border: 1px solid rgba(79,70,229,0.15);
  color: var(--accent);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
}

/* Hero title weight override for Gilda Display */
.sc-hero__title {
  font-weight: 400; /* Override — Gilda Display is best at regular weight */
}
.sc-hero__title-main {
  font-weight: 400;
}

/* ============================================================
   FOOTER
   ============================================================ */
.sc-footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.6);
  padding: 48px clamp(24px, 6vw, 80px);
  font-size: 13px;
  padding-bottom: 100px;
}
.sc-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.sc-footer__links { display: flex; gap: 24px; }
.sc-footer__links a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.sc-footer__links a:hover { color: rgba(255,255,255,0.9); }

/* Legacy footer classes */
.sc-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 48px; }
.sc-footer__brand-name { font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-weight: 800; font-size: 1.25rem; color: #fff; text-decoration: none; letter-spacing: -0.03em; display: block; margin-bottom: 12px; }
.sc-footer__brand-name span { color: var(--accent-2); }
.sc-footer__tagline { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.6; margin-bottom: 20px; }
.sc-footer__socials { display: flex; gap: 12px; }
.sc-footer__social-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: background 0.2s, color 0.2s; }
.sc-footer__social-icon:hover { background: rgba(255,255,255,0.15); color: #fff; }
.sc-footer__heading { font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.sc-footer__link { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.875rem; margin-bottom: 10px; transition: color 0.2s; }
.sc-footer__link:hover { color: #fff; }
.sc-footer__divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 24px; }
.sc-footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.sc-footer__copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.sc-footer__legal { display: flex; gap: 20px; }
.sc-footer__legal a { font-size: 0.8rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.sc-footer__legal a:hover { color: rgba(255,255,255,0.7); }
.sc-footer__disclosure { color: rgba(255,255,255,0.25); font-size: 0.75rem; margin-top: 20px; line-height: 1.6; font-style: italic; }
@media (max-width: 900px) { .sc-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sc-footer__grid { grid-template-columns: 1fr; } }

/* Font switcher removed */

/* ============================================================
   CHAT WIDGET
   ============================================================ */
#danelle-bubble {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5 0%, #818CF8 100%);
  box-shadow: 0 4px 24px rgba(79,70,229,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
#danelle-bubble:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(79,70,229,0.6); }
#danelle-window {
  position: fixed;
  bottom: 160px;
  right: 28px;
  z-index: 9998;
  width: 340px;
  height: 480px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
#danelle-window.open { display: flex; }
.chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #4F46E5, #818CF8);
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: white;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
}
.chat-name { font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: 0.9rem; font-weight: 700; color: #fff; }
.chat-status { font-size: 0.72rem; color: rgba(255,255,255,0.8); }
.chat-msgs {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg);
}
.msg {
  max-width: 82%; padding: 10px 14px;
  border-radius: 14px; font-size: 0.85rem; line-height: 1.5;
}
.msg.ai {
  background: #fff;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.msg.user {
  background: linear-gradient(135deg, #4F46E5, #818CF8);
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-input-row {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px;
  background: #fff;
}
.chat-input-row input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 14px;
  color: var(--text-primary);
  font-family: var(--font-body, 'Space Grotesk', sans-serif);
  font-size: 0.85rem;
  outline: none;
}
.chat-input-row input::placeholder { color: var(--text-muted); }
.chat-input-row input:focus { border-color: var(--accent); }
.chat-send {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5, #818CF8);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-send svg { width: 16px; height: 16px; fill: white; }

/* ============================================================
   PAGE LAYOUT HELPERS
   ============================================================ */
.sc-page { min-height: 100vh; padding-top: 60px; background: var(--bg); }

/* Contact / FAQ page */
.sc-contact-page { min-height: 100vh; background: var(--bg); padding-bottom: 140px; }
.sc-contact-page-hero { padding: clamp(100px, 15vh, 140px) clamp(24px, 6vw, 80px) 60px; text-align: center; }
.sc-contact-page-hero h1 { font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: clamp(40px, 6vw, 72px); font-weight: 700; color: var(--text-primary); letter-spacing: -0.03em; margin-bottom: 16px; }
.sc-contact-page-hero p { font-size: 18px; color: var(--text-secondary); max-width: 480px; margin: 0 auto; }

/* Form styles — white theme */
.sc-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}
.sc-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.sc-field label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.sc-field input, .sc-field select, .sc-field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-body, 'Space Grotesk', sans-serif);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.sc-field input:focus, .sc-field select:focus, .sc-field textarea:focus { border-color: var(--accent); }
.sc-field input::placeholder, .sc-field textarea::placeholder { color: var(--text-muted); }

/* Privacy / TOS pages */
.sc-legal-page { min-height: 100vh; background: var(--bg); padding-bottom: 140px; }
.sc-legal-content { max-width: 800px; margin: 0 auto; padding: clamp(100px, 15vh, 140px) clamp(24px, 6vw, 80px) 60px; }
.sc-legal-content h1 { font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: clamp(36px, 5vw, 56px); font-weight: 700; color: var(--text-primary); letter-spacing: -0.03em; margin-bottom: 8px; }
.sc-legal-content .sc-legal-date { font-size: 14px; color: var(--text-muted); margin-bottom: 48px; }
.sc-legal-content h2 { font-family: var(--font-heading, 'Space Grotesk', sans-serif); font-size: 22px; font-weight: 700; color: var(--text-primary); margin-top: 40px; margin-bottom: 12px; }
.sc-legal-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.sc-legal-content ul { margin: 0 0 16px 20px; }
.sc-legal-content li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; }

/* FAQ Accordion */
.sc-faq { padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 80px); max-width: 800px; margin: 0 auto; }
.sc-faq__header { text-align: center; margin-bottom: 48px; }
.sc-acc { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; background: #fff; }
.sc-acc__btn {
  width: 100%; text-align: left; padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body, 'Space Grotesk', sans-serif);
  font-size: 16px; font-weight: 600; color: var(--text-primary);
  transition: background 0.2s;
}
.sc-acc__btn:hover { background: rgba(79,70,229,0.04); }
.sc-acc__chevron { font-size: 18px; color: var(--accent); transition: transform 0.3s; flex-shrink: 0; }
.sc-acc.open .sc-acc__chevron { transform: rotate(180deg); }
.sc-acc__body { max-height: 0; overflow: hidden; transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1); }
.sc-acc.open .sc-acc__body { max-height: 400px; }
.sc-acc__body-inner { padding: 0 24px 20px; font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   LIQUID GLASS BUTTONS
   Translates the React liquid-glass-button component to
   vanilla CSS using SVG backdrop filters + inset shadows
   ============================================================ */

/* Base liquid glass — transparent glass pill */
.lg-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  overflow: hidden;
  /* Glass background */
  background: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(16px) url("#lg-filter");
  backdrop-filter: blur(16px) url("#lg-filter");
  /* The 3D glass shadow — translated from Tailwind shadow classes */
  box-shadow:
    0 0 6px rgba(0,0,0,0.03),
    0 2px 6px rgba(0,0,0,0.08),
    inset 3px 3px 0.5px -3px rgba(0,0,0,0.9),
    inset -3px -3px 0.5px -3px rgba(0,0,0,0.85),
    inset 1px 1px 1px -0.5px rgba(0,0,0,0.6),
    inset -1px -1px 1px -0.5px rgba(0,0,0,0.6),
    inset 0 0 6px 6px rgba(0,0,0,0.12),
    inset 0 0 2px 2px rgba(0,0,0,0.06),
    0 0 12px rgba(255,255,255,0.15);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, background 0.2s ease;
  color: var(--text-primary);
  -webkit-user-select: none;
  user-select: none;
}

.lg-btn:hover {
  transform: scale(1.06) translateY(-1px);
  background: rgba(255,255,255,0.5);
  box-shadow:
    0 0 8px rgba(0,0,0,0.04),
    0 6px 16px rgba(0,0,0,0.1),
    inset 3px 3px 0.5px -3px rgba(0,0,0,0.8),
    inset -3px -3px 0.5px -3px rgba(0,0,0,0.75),
    inset 1px 1px 1px -0.5px rgba(0,0,0,0.5),
    inset -1px -1px 1px -0.5px rgba(0,0,0,0.5),
    inset 0 0 6px 6px rgba(0,0,0,0.08),
    inset 0 0 2px 2px rgba(0,0,0,0.04),
    0 0 20px rgba(255,255,255,0.25);
}

.lg-btn:active {
  transform: scale(0.97) translateY(1px);
  box-shadow:
    0 0 3px rgba(0,0,0,0.03),
    0 1px 3px rgba(0,0,0,0.06),
    inset 3px 3px 0.5px -3px rgba(0,0,0,0.95),
    inset -3px -3px 0.5px -3px rgba(0,0,0,0.9),
    inset 1px 1px 1px -0.5px rgba(0,0,0,0.7),
    inset -1px -1px 1px -0.5px rgba(0,0,0,0.7),
    inset 0 0 8px 8px rgba(0,0,0,0.15),
    inset 0 0 3px 3px rgba(0,0,0,0.08),
    0 0 8px rgba(255,255,255,0.1);
}

/* Indigo/accent liquid glass — for primary CTAs */
.lg-btn-primary {
  background: rgba(79, 70, 229, 0.85);
  -webkit-backdrop-filter: blur(16px) url("#lg-filter");
  backdrop-filter: blur(16px) url("#lg-filter");
  color: #fff;
  box-shadow:
    0 0 6px rgba(79,70,229,0.15),
    0 4px 16px rgba(79,70,229,0.35),
    inset 3px 3px 0.5px -3px rgba(255,255,255,0.5),
    inset -3px -3px 0.5px -3px rgba(0,0,0,0.5),
    inset 1px 1px 1px -0.5px rgba(255,255,255,0.4),
    inset -1px -1px 1px -0.5px rgba(0,0,0,0.4),
    inset 0 0 6px 6px rgba(255,255,255,0.06),
    inset 0 0 2px 2px rgba(255,255,255,0.04),
    0 0 20px rgba(79,70,229,0.2);
}

.lg-btn-primary:hover {
  background: rgba(79, 70, 229, 0.95);
  transform: scale(1.05) translateY(-2px);
  box-shadow:
    0 0 8px rgba(79,70,229,0.2),
    0 8px 24px rgba(79,70,229,0.45),
    inset 3px 3px 0.5px -3px rgba(255,255,255,0.55),
    inset -3px -3px 0.5px -3px rgba(0,0,0,0.45),
    inset 1px 1px 1px -0.5px rgba(255,255,255,0.45),
    inset -1px -1px 1px -0.5px rgba(0,0,0,0.35),
    inset 0 0 6px 6px rgba(255,255,255,0.08),
    inset 0 0 2px 2px rgba(255,255,255,0.06),
    0 0 28px rgba(79,70,229,0.3);
}

.lg-btn-primary:active {
  transform: scale(0.97) translateY(1px);
  background: rgba(67, 56, 202, 0.9);
}

/* Navbar CTA glass style */
/* Nav CTA: plain text when inactive, glass pill when active — matches nav-link behavior */
.sc-nav-cta.lg-btn-primary {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  color: var(--text-secondary);
  border: none;
}
.sc-nav-cta.lg-btn-primary:hover {
  background: rgba(79, 70, 229, 0.07);
  color: var(--text-primary);
  transform: none;
  box-shadow: none;
}
.sc-nav-cta.lg-btn-primary.active {
  background: rgba(79, 70, 229, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #fff;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 12px rgba(79,70,229,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}
.sc-nav-cta.lg-btn-primary.active:hover {
  background: rgba(79, 70, 229, 0.92);
  color: #fff;
  transform: none;
}

/* Make the hero secondary CTA pure liquid glass */
.sc-hero__cta-secondary.lg-btn {
  color: var(--text-primary);
  border: none;
}

/* ============================================================
   MOBILE OPTIMIZATIONS  (max-width: 600px)
   ============================================================ */
@media (max-width: 600px) {

  /* ── Hero — natural height, no forced vh gap ── */
  .sc-hero {
    min-height: 0;
    align-items: flex-start;
  }
  .sc-hero__content {
    padding: 88px 24px 56px;
  }
  .sc-hero__title {
    font-size: clamp(34px, 9.5vw, 50px);
    gap: 2px;
    margin-bottom: 16px;
  }
  .sc-hero__pill {
    font-size: 10px;
    padding: 5px 12px;
    margin-bottom: 16px;
  }
  .sc-hero__sub {
    font-size: 15px;
    margin-bottom: 0;
  }
  .sc-hero__ctas {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 32px;
  }
  .sc-hero__cta-primary,
  .sc-hero__cta-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 15px;
  }

  /* ── Section pills — no dot, smaller ── */
  .sc-section-pill,
  .sc-how__pill {
    font-size: 10px;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  /* ── Section headings ── */
  .sc-section-title,
  .sc-how__title {
    font-size: clamp(26px, 7vw, 36px);
  }
  .sc-section-desc,
  .sc-how__desc {
    font-size: 15px;
  }

  /* ── Stats ── */
  .sc-stats {
    padding-bottom: 20px;
  }
  .sc-stats__item {
    padding: 24px 16px;
  }
  .sc-stats__num {
    font-size: clamp(28px, 8vw, 40px);
  }
  .sc-stats__label {
    font-size: 11px;
  }

  /* ── How It Works — clear section break from stats ── */
  #how-root, .sc-how {
    padding: 48px 24px;
  }
  .sc-how__header {
    margin-bottom: 32px;
  }
  .sc-how__card {
    padding: 48px 24px;
  }
  .sc-how__card-title {
    font-size: 17px;
  }

  /* ── Services / Programs cards ── */
  .sc-services {
    padding: 40px 20px 8px;
  }
  .sc-services__header {
    margin-bottom: 28px;
  }
  .sc-services__card {
    padding: 20px 18px;
    cursor: pointer;
  }

  /* ── Calculator — reduce top gap ── */
  .sc-calc {
    padding: 24px 20px 48px;
  }
  /* Skip fade-in animation on mobile — avoids invisible header creating blank gap */
  .sc-calc__header {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* ── Contact form grid ── */
  #contact-faq-root > div > div > div form > div:first-child {
    grid-template-columns: 1fr !important;
  }

  /* ── Chat bubble — above navbar, no overlap ── */
  #danelle-bubble {
    bottom: 100px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
  #danelle-window {
    bottom: 160px;
    right: 12px;
    left: 12px;
    width: auto;
    /* Stretches to fill all space between a 16px top gap and the bubble+nav — works on any screen height */
    height: calc(100vh - 176px);
    height: calc(100dvh - 176px); /* dvh accounts for browser chrome on iOS/Android */
    max-height: none;
  }

  /* ── Navbar — compact, Submit before Contact ── */
  .sc-navbar {
    padding: 6px 8px;
    gap: 2px;
  }
  .sc-navbar-logo {
    font-size: 16px;
    padding: 6px 8px;
  }
  .sc-nav-link {
    font-size: 12px;
    padding: 6px 10px;
  }
  .sc-nav-cta {
    font-size: 12px;
    padding: 7px 14px;
    margin-left: 2px;
  }

  /* ── Footer ── */
  .sc-footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .sc-footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================================
   SPLIT TEST V2 — SCROLL-EXPAND HERO (SMPLY. skyline cutout)
   ============================================================ */

/* Hero container: video plays here, #hero-root content overlays it */
#hero-expand-root {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #000;
}

/* Video fills the entire hero behind everything */
.she__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Dark scrim over video so hero text is readable */
.she__video-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* Hero text sits above the video (sc-hero.js renders into #hero-root) */
#hero-expand-root #hero-root {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Inside V2, hide sc-hero's own background/grid — video is the bg */
#hero-expand-root .sc-hero__bg,
#hero-expand-root .sc-hero__overlay,
#hero-expand-root .sc-hero__grid {
  display: none;
}

/* Hero text on dark video: flip to light colours */
#hero-expand-root .sc-hero {
  background: transparent;
  min-height: 0;
  height: 100%;
}
#hero-expand-root .sc-hero__title-main,
#hero-expand-root .sc-hero__title-accent {
  color: #ffffff;
  /* Kill the gradient-clip text treatment from the base style */
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
}
#hero-expand-root .sc-hero__sub {
  color: rgba(255,255,255,0.78);
}
#hero-expand-root .sc-hero__pill {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.2);
}
#hero-expand-root .sc-hero__scroll-hint {
  color: rgba(255,255,255,0.5);
}

/* ── Hero content: always visible (scroll-reveal animation disabled) ── */
#hero-expand-root .sc-hero__content {
  opacity: 1;
  transform: none;
}
#hero-expand-root .sc-hero__ctas {
  opacity: 1;
  transform: none;
}

/* ── Atmosphere: subtle dark vignette on bottom edge ── */
#hero-expand-root::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  z-index: 6;
  pointer-events: none;
}

/* ── Hero wordmark reveal — replaces title after typewriter cycle ── */
.sc-hero__logo-reveal {
  display: block;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
  text-shadow: 0 2px 20px rgba(0,0,0,0.65), 0 1px 5px rgba(0,0,0,0.5);
}
.sc-hero__logo-dot {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

/* ── Typewriter cursor on hero accent line ── */
.sc-hero__cursor {
  display: inline-block;
  font-weight: 300;
  margin-left: 1px;
  opacity: 1;
  animation: sc-cursor-blink 0.9s step-end infinite;
}

@keyframes sc-cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@media (max-width: 600px) {
  /* Hero container: use dvh so address bar doesn't cause overflow on iOS */
  #hero-expand-root {
    height: 100dvh;
  }

  /* Video: cover full container including notch/safe areas */
  #hero-expand-root .she__video {
    min-height: 100%;
    min-width: 100%;
  }

  /* Hero text: comfortable padding, clears bottom nav */
  #hero-expand-root .sc-hero {
    padding: 80px 20px clamp(100px, 20vh, 160px);
  }
  #hero-expand-root .sc-hero__title-main,
  #hero-expand-root .sc-hero__title-accent {
    font-size: clamp(36px, 9vw, 52px);
    line-height: 1.1;
  }
  #hero-expand-root .sc-hero__sub {
    font-size: 14px;
  }

  /* Logo-reveal wordmark — scale down to match mobile title size */
  .sc-hero__logo-reveal {
    font-size: clamp(44px, 13vw, 64px);
  }

  /* CTAs: stack vertically, full width on small screens */
  #hero-expand-root .sc-hero__ctas {
    flex-direction: column;
    gap: 12px;
  }
  #hero-expand-root .sc-hero__cta-primary,
  #hero-expand-root .sc-hero__cta-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   SPLIT TEST V3 — CURRENT HERO + PARALLAX DEPTH MARK
   ============================================================ */

/* Large "SMPLY." watermark — parallax depth layer above overlay, below content */
.sc-hero__depth-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  /* z-index 3 = same level as content, but DOM order puts it before content so text wins */
  z-index: 3;

  font-family: 'Poppins', var(--font-body, sans-serif);
  font-size: clamp(100px, 22vw, 320px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;

  /* Visible but clearly secondary — outline style */
  color: transparent;
  -webkit-text-stroke: 2px rgba(79,70,229,0.18);
}

@media (max-width: 600px) {
  .sc-hero__depth-mark {
    font-size: clamp(72px, 28vw, 140px);
    -webkit-text-stroke: 1.5px rgba(79,70,229,0.15);
  }
}
