/* Home "luxe" layer — loaded after home-aurora.css. Keeps every section, text and image of the
   home; redesigns the hero without its photo (animated glass console instead) and adds the
   motion system driven by assets/home-luxe.js (line reveals, cursor spotlight, 3D tilt,
   count-ups, scroll reveals, magnetic CTAs, marquee, scroll progress). No inline SVG in <main>
   (tests), no third-party assets. Everything collapses to static under prefers-reduced-motion. */

html body.home-page {
  --lx-ink: #182423;
  --lx-ink-2: #243a35;
  --lx-brand: #286153;
  --lx-brand-deep: #1d4c41;
  --lx-gold: #c6ae78;
  --lx-gold-soft: #e8d9ad;
  --lx-cream: #f5ebd2;
  --lx-mint: #acd5c4;
  --lx-spring: cubic-bezier(.2, .95, .25, 1.15);
  --lx-ease: cubic-bezier(.65, 0, .25, 1);
  --lx-heading: "Lexend", "Source Sans 3", system-ui, sans-serif;
}

/* ---------- Scroll progress ---------- */
.lx-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--lx-gold), var(--lx-mint), var(--lx-brand));
  transform: scaleX(var(--lx-p, 0));
  transform-origin: left;
  pointer-events: none;
}

/* ---------- Hero ---------- */
html body.home-page .hero-premium {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  min-height: 760px;
  padding-top: clamp(70px, 7.5vw, 116px);
  border-color: rgba(198, 174, 120, .22);
  border-radius: 36px;
  background:
    radial-gradient(900px 520px at var(--lx-mx, 70%) var(--lx-my, 30%), rgba(198, 174, 120, .16), transparent 60%),
    linear-gradient(135deg, rgb(24, 36, 35) 0%, rgb(30, 50, 46) 46%, rgb(40, 70, 61) 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 50px 100px -50px rgba(24, 36, 35, .75);
}
/* Fine grid + grain */
html body.home-page .hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 65% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 65% 40%, #000 20%, transparent 75%);
  display: block;
}

html body.home-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(232, 217, 173, .28);
  color: var(--lx-cream);
}
html body.home-page .hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fd1a8;
  box-shadow: 0 0 0 0 rgba(127, 209, 168, .6);
  animation: lx-pulse 2.4s ease-out infinite;
}

html body.home-page .hero-copy h1 {
  font-family: var(--lx-heading);
  font-size: clamp(3rem, 4.3vw, 4.7rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
}
html body.home-page .hero-gradient {
  background: linear-gradient(100deg, #f5ebd2 0%, #e8d9ad 25%, #d8e8ce 50%, #acd5c4 75%, #f5ebd2 100%);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: lx-sheen 9s linear infinite;
}
/* Line reveal (spans added by home-luxe.js) */
.lx-line { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.lx-line > .lx-line__in { display: inline-block; }
.lx-ready .lx-line > .lx-line__in { animation: lx-line-up 1100ms var(--lx-spring) both; animation-delay: calc(120ms + var(--lx-l, 0) * 140ms); }
.lx-ready .hero-subtitle,
.lx-ready .hero-premium .search-section,
.lx-ready .hero-actions,
.lx-ready .hero-trust { animation: lx-rise 900ms var(--lx-spring) both; }
.lx-ready .hero-subtitle { animation-delay: 420ms; }
.lx-ready .hero-premium .search-section { animation-delay: 540ms; }
.lx-ready .hero-actions { animation-delay: 660ms; }
.lx-ready .hero-trust { animation-delay: 780ms; }

/* Search: brighter glass frame */
html body.home-page .search-shell--premium .hero-search {
  border-radius: 18px !important;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 26px 50px -18px rgba(9, 30, 22, .6) !important;
  transition: box-shadow 400ms ease, transform 400ms var(--lx-spring);
}
html body.home-page .search-shell--premium .hero-search:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px rgba(198, 174, 120, .28), 0 30px 60px -18px rgba(9, 30, 22, .7) !important;
}
html body.home-page .hero-search-submit { position: relative; overflow: hidden; }
html body.home-page .hero-search-submit::after,
html body.home-page .hero-cta:not(.hero-cta--ghost)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: lx-sweep 4.8s var(--lx-ease) 2s infinite;
  pointer-events: none;
}

/* CTAs (magnetic offset set by JS) */
html body.home-page .hero-cta {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  padding-inline: 24px;
  border-radius: 15px;
  font-size: .95rem;
  transform: translate(var(--lx-tx, 0), var(--lx-ty, 0));
  transition: transform 300ms var(--lx-spring), background-color 200ms ease, box-shadow 300ms ease;
}
html body.home-page .hero-cta:not(.hero-cta--ghost) { background: linear-gradient(135deg, #f5ebd2, #e2eddb); }
html body.home-page .hero-trust__item { font-size: .82rem; color: #d3e2d8; }
html body.home-page .hero-trust__item::before { background: var(--lx-gold); box-shadow: 0 0 10px rgba(198, 174, 120, .8); }

/* ---------- Hero console (replaces the photo) ---------- */
.hero-console {
  position: relative;
  min-height: 560px;
  perspective: 1400px;
}
.hero-console__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--lx-rx, 6deg)) rotateY(var(--lx-ry, -12deg));
  transition: transform 900ms var(--lx-spring);
}
.hero-console__ring {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 470px;
  height: 470px;
  border: 1px dashed rgba(232, 217, 173, .32);
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(-80px);
  animation: lx-spin 40s linear infinite;
}
.hero-console__ring::before {
  content: "";
  position: absolute;
  inset: 54px;
  border: 1px solid rgba(172, 213, 196, .16);
  border-radius: 50%;
}
.hero-console__ring i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lx-gold);
  box-shadow: 0 0 18px rgba(198, 174, 120, .9);
}
.hero-console__ring i:nth-child(1) { top: -6px; left: calc(50% - 6px); }
.hero-console__ring i:nth-child(2) { bottom: 18%; left: 4%; width: 8px; height: 8px; background: var(--lx-mint); box-shadow: 0 0 14px rgba(172, 213, 196, .9); }
.hero-console__ring i:nth-child(3) { top: 30%; right: -4px; width: 9px; height: 9px; }

.hero-console__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, 92%);
  padding: 30px 30px 24px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 40px 80px -30px rgba(0, 0, 0, .6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: #fff;
  transform: translate(-50%, -50%) translateZ(40px);
}
.hero-console__topics {
  margin: 0 0 10px;
  color: var(--lx-gold-soft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-console__motto {
  margin: 0 0 22px;
  font-family: var(--lx-heading);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.hero-console__rows { display: grid; gap: 14px; }
.hero-console__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  row-gap: 7px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .78);
}
.hero-console__row strong { color: #fff; font-family: var(--lx-heading); font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.hero-console__row i {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
  position: relative;
}
.hero-console__row i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lx-mint), var(--lx-gold));
  transform: scaleX(var(--w, .5));
  transform-origin: left;
}
.lx-ready .hero-console__row i::after { animation: lx-bar 1600ms var(--lx-spring) both; }
.lx-ready .hero-console__row:nth-child(2) i::after { animation-delay: 160ms; }
.lx-ready .hero-console__row:nth-child(3) i::after { animation-delay: 320ms; }
.hero-console__note { display: block; margin-top: 18px; color: rgba(255, 255, 255, .5); font-size: .74rem; letter-spacing: .04em; }

.hero-console__chip {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  color: #1c302a;
  box-shadow: 0 26px 46px -22px rgba(0, 0, 0, .65);
  animation: lx-float 7s ease-in-out infinite;
}
.hero-console__chip span { color: #5b7065; font-size: .76rem; font-weight: 700; }
.hero-console__chip strong { font-family: var(--lx-heading); font-size: 1.35rem; line-height: 1.1; }
.hero-console__chip--km { top: 8%; right: 4%; transform: translateZ(110px); }
.hero-console__chip--rent { bottom: 9%; left: 0; transform: translateZ(90px); animation-delay: -2.4s; background: linear-gradient(135deg, #f6ecd2, #ead9ad); }
.hero-console__chip--live {
  bottom: 14%;
  right: 2%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(24, 36, 35, .7);
  box-shadow: inset 0 0 0 1px rgba(172, 213, 196, .35);
  color: #e2eddb;
  font-size: .82rem;
  font-weight: 800;
  transform: translateZ(140px);
  animation-delay: -4.6s;
}
.hero-console__chip--live b { width: 8px; height: 8px; border-radius: 50%; background: #7fd1a8; animation: lx-pulse 2s ease-out infinite; }
.lx-ready .hero-console__panel { animation: lx-pop 1100ms var(--lx-spring) 300ms both; }
.lx-ready .hero-console__chip--km { animation: lx-pop 900ms var(--lx-spring) 700ms both, lx-float 7s ease-in-out 1.6s infinite; }
.lx-ready .hero-console__chip--rent { animation: lx-pop 900ms var(--lx-spring) 900ms both, lx-float 7s ease-in-out 1.8s infinite; }
.lx-ready .hero-console__chip--live { animation: lx-pop 900ms var(--lx-spring) 1100ms both, lx-float 7s ease-in-out 2s infinite; }

/* ---------- Marquee ---------- */
.home-marquee {
  position: relative;
  margin: 26px 0 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.home-marquee__track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: lx-marquee 46s linear infinite;
}
.home-marquee:hover .home-marquee__track { animation-play-state: paused; }
.home-marquee span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dce6dd;
  color: #1c302a;
  font-family: var(--lx-heading);
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
}
.home-marquee span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lx-gold); }

/* ---------- Section headings ---------- */
html body.home-page .section-heading { font-family: var(--lx-heading); letter-spacing: -.035em; }
html body.home-page .section-kicker { display: inline-flex; align-items: center; gap: 10px; }
html body.home-page .section-kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--lx-gold), var(--lx-brand)); }

/* ---------- Cards: spotlight, lift, image drift ---------- */
html body.home-page :is(.needs-card, .piliers-card, .themes-index-card) {
  transition: transform 520ms var(--lx-spring), box-shadow 520ms ease;
  will-change: transform;
}
html body.home-page :is(.needs-card, .piliers-card, .themes-index-card)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--lx-cx, 50%) var(--lx-cy, 50%), rgba(232, 217, 173, .22), transparent 45%);
  opacity: 0;
  transition: opacity 300ms ease;
}
html body.home-page :is(.needs-card, .piliers-card, .themes-index-card):hover::after { opacity: 1; }
html body.home-page :is(.needs-card, .piliers-card, .themes-index-card):hover {
  transform: translateY(-8px) rotateX(var(--lx-crx, 0deg)) rotateY(var(--lx-cry, 0deg));
  box-shadow: 0 40px 70px -40px rgba(24, 36, 35, .85);
}
html body.home-page :is(.home-poster__media, .theme-poster__media) img { transition: transform 1200ms var(--lx-ease), filter 600ms ease; }
html body.home-page :is(.needs-card, .piliers-card, .themes-index-card):hover :is(.home-poster__media, .theme-poster__media) img { transform: scale(1.07); filter: saturate(1.12); }
html body.home-page :is(.needs-grid, .piliers-grid, .themes-index-grid) { perspective: 1600px; }


/* ---------- Premium posters (needs + piliers): full-bleed photo, gradient, left copy ---------- */
html body.home-page :is(.needs-grid, .piliers-grid) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: stretch;
  gap: 22px;
}
html body.home-page :is(.needs-card, .piliers-card).home-poster {
  aspect-ratio: 4 / 4.4;
  border: 0;
  border-radius: 26px;
  background: #182423;
  overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(24, 36, 35, .7);
}
html body.home-page .home-poster::before {
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(24, 36, 35, .05) 20%, rgba(24, 36, 35, .55) 55%, rgba(16, 26, 25, .96) 100%);
  transition: opacity 500ms ease;
}
html body.home-page :is(.home-poster--headline, .home-poster--feature, .home-poster--mosaic) .home-poster__media,
html body.home-page .home-poster__media { inset: 0; background: #243a35; }
html body.home-page .home-poster--feature .home-poster__media::after { content: none; }
html body.home-page .home-poster :is(.needs-card__body, .piliers-card__body),
html body.home-page .home-poster--feature :is(.needs-card__body, .piliers-card__body),
html body.home-page .home-poster.piliers-card .piliers-card__body {
  inset: auto 26px 86px;
  justify-content: flex-end;
  gap: 8px;
  text-align: left;
}
html body.home-page .home-poster :is(.needs-card__body strong, .piliers-card__body h3) {
  font-family: var(--lx-heading);
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-transform: none;
  text-shadow: none;
}
html body.home-page .home-poster :is(.needs-card__body p, .piliers-card__body p) { font-size: .95rem; font-weight: 500; color: rgba(240, 243, 237, .88); text-shadow: none; }
/* Index number back as a glass pill, top-right */
html body.home-page .home-poster :is(.needs-icon, .piliers-icon) {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(24, 36, 35, .45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--lx-gold-soft);
  font-size: .85rem;
}
html body.home-page .home-poster .piliers-card__top { left: 22px; right: 22px; top: 22px; justify-content: flex-start; }
html body.home-page .home-poster .piliers-card__top .piliers-icon { top: -4px; right: 0; }
html body.home-page .home-poster .piliers-badge {
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(232, 217, 173, .92);
  color: #1c302a;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: .68rem;
  letter-spacing: .1em;
}
html body.home-page .home-poster :is(.needs-link, .piliers-card__footer) {
  left: 26px;
  bottom: 26px;
  transform: none;
  gap: 10px;
  min-height: 40px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1c302a;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: .82rem;
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .7);
  transition: background-color 300ms ease, color 300ms ease, padding 400ms var(--lx-spring);
}
html body.home-page .home-poster :is(.needs-link, .piliers-card__footer)::after {
  content: "→";
  display: inline-block;
  transition: transform 400ms var(--lx-spring);
}
html body.home-page .home-poster:hover :is(.needs-link, .piliers-card__footer),
html body.home-page .home-poster:focus-visible :is(.needs-link, .piliers-card__footer) {
  transform: none;
  padding-inline: 16px 22px;
  background: var(--lx-gold-soft);
}
html body.home-page .home-poster:hover :is(.needs-link, .piliers-card__footer)::after { transform: translateX(5px); }

/* ---------- Theme posters ---------- */
html body.home-page .themes-index-grid { gap: 18px; }
html body.home-page .themes-index-card.theme-poster {
  height: 300px;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 20px 40px -30px rgba(24, 36, 35, .7);
}
html body.home-page .theme-poster::before {
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(16, 26, 25, .55) 0%, rgba(24, 36, 35, .15) 32%, rgba(24, 36, 35, .6) 62%, rgba(16, 26, 25, .97) 100%);
}
html body.home-page .theme-poster__media { inset: 0; }
html body.home-page .themes-index-card.theme-poster strong {
  z-index: 2;
  inset: 20px 20px auto;
  font-family: var(--lx-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  text-transform: none;
}
html body.home-page .themes-index-card.theme-poster .theme-poster__description {
  z-index: 2;
  inset: auto 20px 68px;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 500;
  text-align: left;
}
html body.home-page .themes-index-card.theme-poster .theme-poster__action {
  z-index: 2;
  left: 20px;
  bottom: 20px;
  transform: none;
  min-height: 32px;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font-family: "Source Sans 3", system-ui, sans-serif;
  display: inline-flex;
  align-items: center;
  font-size: .74rem;
  transition: background-color 300ms ease;
}
html body.home-page .theme-poster:hover .theme-poster__action { background: var(--lx-gold-soft); }

/* ---------- Scroll reveal ---------- */
.lx-js .lx-reveal { transform: translateY(36px) scale(.985); transition: transform 1100ms var(--lx-spring); transition-delay: calc(var(--lx-i, 0) * 80ms); }
.lx-js .lx-reveal.is-in { transform: none; }

/* ---------- FAQ polish ---------- */
html body.home-page .faq-item { transition: background-color 300ms ease, box-shadow 300ms ease; }
html body.home-page .faq-item[open] { box-shadow: 0 20px 40px -34px rgba(24, 36, 35, .7); }
html body.home-page .faq-item[open] .faq-content { animation: lx-rise 500ms var(--lx-spring) both; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  html body.home-page :is(.needs-grid, .piliers-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.home-page .hero-premium { grid-template-columns: 1fr; min-height: 0; }
  .hero-console { min-height: 500px; max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 720px) {
  html body.home-page :is(.needs-grid, .piliers-grid) { grid-template-columns: 1fr; }
  html body.home-page :is(.needs-card, .piliers-card).home-poster { width: 100%; aspect-ratio: 4 / 4.2; }
  html body.home-page .hero-premium { border-radius: 26px; }
  html body.home-page .hero-copy h1 { font-size: clamp(2.5rem, 11vw, 3.3rem); }
  .hero-console { min-height: 500px; }
  .hero-console__ring { width: 330px; height: 330px; }
  .hero-console__panel { padding: 24px 22px 20px; width: 88%; }
  .hero-console__chip--km { top: 0; right: 0; }
  .hero-console__panel { top: 46%; }
  .hero-console__chip--rent { bottom: 0; left: 2%; }
  .hero-console__chip--live { bottom: 2%; right: 0; }
  html body.home-page :is(.needs-card, .piliers-card, .themes-index-card):hover { transform: translateY(-4px); }
}

/* ---------- Keyframes ---------- */
@keyframes lx-pulse { 0% { box-shadow: 0 0 0 0 rgba(127, 209, 168, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(127, 209, 168, 0); } }
@keyframes lx-sheen { to { background-position: -220% 0; } }
@keyframes lx-line-up { from { transform: translateY(110%) rotate(3deg); } to { transform: none; } }
@keyframes lx-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lx-sweep { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes lx-spin { to { transform: translate(-50%, -50%) translateZ(-80px) rotate(360deg); } }
@keyframes lx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes lx-pop { from { opacity: 0; scale: .86; } to { opacity: 1; scale: 1; } }
@keyframes lx-bar { from { transform: scaleX(0); } }
@keyframes lx-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html body.home-page *,
  html body.home-page *::before,
  html body.home-page *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0s !important; }
  .lx-js .lx-reveal { opacity: 1; transform: none; }
  .hero-console__stage { transform: rotateX(4deg) rotateY(-8deg); }
  .lx-progress { display: none; }
}

/* ---------- FAQ side card: live savings simulator (driven by home-luxe.js) ---------- */
html body.home-page .faq-visual__card.lx-sim {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 30px 28px 24px;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-align: left;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(198, 174, 120, .32), transparent 55%),
    linear-gradient(150deg, #24433b 0%, #1d3a33 45%, #182423 100%);
  box-shadow: 0 40px 70px -40px rgba(24, 36, 35, .9);
}
html body.home-page .lx-sim::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.lx-sim__eyebrow { color: var(--lx-gold-soft); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
html body.home-page .lx-sim h3 { margin: -6px 0 0; color: #fff; font-family: var(--lx-heading); font-size: 1.6rem; line-height: 1.08; letter-spacing: -.03em; }
html body.home-page .lx-sim .lx-sim__lead { margin: 0; color: rgba(255, 255, 255, .78); font-size: .92rem; line-height: 1.5; }

.lx-sim__controls { display: grid; gap: 14px; margin-top: 2px; }
.lx-sim__field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; row-gap: 8px; color: rgba(255, 255, 255, .8); font-size: .86rem; font-weight: 600; }
.lx-sim__field output { color: #fff; font-family: var(--lx-heading); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.lx-sim__field input[type="range"] {
  --lx-fill: 50%;
  grid-column: 1 / -1;
  width: 100%;
  height: 6px;
  margin: 4px 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--lx-mint) 0%, var(--lx-gold) var(--lx-fill), rgba(255, 255, 255, .14) var(--lx-fill));
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.lx-sim__field input[type="range"]::-webkit-slider-thumb {
  width: 22px; height: 22px; border-radius: 50%; border: 3px solid #182423; background: var(--lx-gold-soft);
  box-shadow: 0 0 0 4px rgba(232, 217, 173, .25); -webkit-appearance: none; appearance: none;
  transition: transform 200ms var(--lx-spring), box-shadow 200ms ease;
}
.lx-sim__field input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; border: 3px solid #182423; background: var(--lx-gold-soft);
  box-shadow: 0 0 0 4px rgba(232, 217, 173, .25);
}
.lx-sim__field input[type="range"]:active::-webkit-slider-thumb,
.lx-sim__field input[type="range"]:focus-visible::-webkit-slider-thumb { transform: scale(1.18); box-shadow: 0 0 0 7px rgba(232, 217, 173, .3); }
.lx-sim__field input[type="range"]:focus-visible { outline: 2px solid var(--lx-gold-soft); outline-offset: 6px; }

.lx-sim__goals { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; border: 0; }
.lx-sim__goals legend { width: 100%; margin-bottom: 8px; padding: 0; color: rgba(255, 255, 255, .8); font-size: .86rem; font-weight: 600; }
.lx-sim__goals label { position: relative; }
.lx-sim__goals input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.lx-sim__goals span {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  color: #fff; font-weight: 800; font-size: .88rem;
  transition: background-color 250ms ease, color 250ms ease, transform 300ms var(--lx-spring);
}
.lx-sim__goals input:checked + span { background: var(--lx-gold-soft); color: #182423; box-shadow: none; transform: translateY(-1px); }
.lx-sim__goals input:focus-visible + span { outline: 2px solid var(--lx-gold-soft); outline-offset: 3px; }

.lx-sim__bars { display: grid; gap: 12px; }
.lx-sim__bar { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; color: rgba(255, 255, 255, .72); font-size: .82rem; }
.lx-sim__bar strong { color: #fff; font-family: var(--lx-heading); font-size: .98rem; font-variant-numeric: tabular-nums; }
.lx-sim__bar i { grid-column: 1 / -1; position: relative; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.lx-sim__bar i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, #6c9b82, #acd5c4);
  transform: scaleX(var(--lx-w, 1)); transform-origin: left;
  transition: transform 700ms var(--lx-spring);
}
.lx-sim__bar--goal i::after { background: linear-gradient(90deg, var(--lx-gold), var(--lx-gold-soft)); }

.lx-sim__result { display: grid; gap: 2px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(232, 217, 173, .25); }
.lx-sim__save { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.lx-sim__save b { display: block; color: var(--lx-gold-soft); font-family: var(--lx-heading); font-size: 2.1rem; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lx-sim__year { color: rgba(255, 255, 255, .7); font-size: .88rem; }
.lx-sim__year b { color: #fff; font-variant-numeric: tabular-nums; }
.lx-sim.is-bump .lx-sim__save b { animation: lx-bump 420ms var(--lx-spring); }

.lx-sim__year-chart { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 5px; height: 54px; }
.lx-sim__year-chart i {
  height: 100%; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--lx-gold-soft), rgba(198, 174, 120, .35));
  transform: scaleY(calc(var(--lx-m) / 12 * var(--lx-k, 1))); transform-origin: bottom;
  transition: transform 600ms var(--lx-spring); transition-delay: calc(var(--lx-m) * 30ms);
}

html body.home-page .lx-sim .lx-sim__privacy { display: flex; align-items: center; gap: 9px; margin: 0; color: rgba(255, 255, 255, .78); font-size: .84rem; }
.lx-sim__privacy span { width: 9px; height: 9px; border-radius: 50%; background: #7fd1a8; animation: lx-pulse 2.4s ease-out infinite; }
html body.home-page .lx-sim .lx-sim__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px;
  background: #fff; color: #182423; font-weight: 800; font-size: .9rem; text-decoration: none;
  transition: transform 260ms var(--lx-spring), background-color 200ms ease;
}
html body.home-page .lx-sim .lx-sim__cta:hover { transform: translateY(-2px); background: var(--lx-gold-soft); }
html body.home-page .lx-sim .lx-sim__cta span { transition: transform 300ms var(--lx-spring); }
html body.home-page .lx-sim .lx-sim__cta:hover span { transform: translateX(4px); }
html body.home-page .lx-sim .lx-sim__note { color: rgba(255, 255, 255, .55); font-size: .74rem; }

@keyframes lx-bump { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .lx-sim__privacy span { animation: none; } }
