/* ==========================================================================
   Fly Events Auto - Homepage
   Premium automotive + SaaS. Outfit display / Manrope body.
   Warm light #f2efe8 - ink #111315 - dark #0f161d - cyan #1aa6c3 - gold #c4a574
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --home-font-display: "Outfit", system-ui, sans-serif;
  --home-font-body: "Manrope", system-ui, sans-serif;
  --home-bg: #f2efe8;
  --home-bg-soft: #ebe7de;
  --home-bg-warm: #e4dfd4;
  --home-bg-elevated: #faf8f3;
  --home-ink: #101419;
  --home-ink-muted: #454d55;
  --home-ink-faint: #68717a;
  --home-ink-subtle: #7a8289;
  --home-text-primary: #101419;
  --home-text-secondary: #454d55;
  --home-text-muted: #68717a;
  --home-text-subtle: #7a8289;
  --home-line: rgba(16, 20, 25, 0.12);
  --home-line-strong: rgba(16, 20, 25, 0.18);
  --home-dark: #0f161d;
  --home-dark-2: #121a22;
  --home-dark-3: #1a2430;
  --home-dark-ink: #f7f9fa;
  --home-dark-muted: #c9d0d5;
  --home-dark-faint: #9ca6ae;
  --home-dark-text-primary: #f7f9fa;
  --home-dark-text-secondary: #c9d0d5;
  --home-dark-text-muted: #9ca6ae;
  --home-dark-line: rgba(255, 255, 255, 0.12);
  --home-dark-line-strong: rgba(255, 255, 255, 0.18);
  --home-z-content: 1;
  --home-z-header: 50;
  --home-z-float: 60;
  --home-z-drawer-layer: 100;
  --home-z-modal: 200;
  --home-cyan: #1aa6c3;
  --home-cyan-strong: #1289a3;
  --home-cyan-soft: rgba(26, 166, 195, 0.14);
  --home-cyan-glow: rgba(26, 166, 195, 0.28);
  --home-gold: #c4a574;
  --home-gold-soft: rgba(196, 165, 116, 0.18);
  --home-gold-strong: #a88855;
  --home-ok: #2f8f6b;
  --home-warn: #b8873a;
  --home-err: #b44a4a;
  --home-info: #3a6ea5;
  --home-radius-xs: 8px;
  --home-radius-sm: 10px;
  --home-radius: 14px;
  --home-radius-lg: 22px;
  --home-radius-xl: 28px;
  --home-radius-pill: 999px;
  --home-shadow-sm: 0 8px 24px rgba(15, 22, 29, 0.08);
  --home-shadow: 0 18px 50px rgba(15, 22, 29, 0.12);
  --home-shadow-lg: 0 28px 70px rgba(15, 22, 29, 0.16);
  --home-shadow-cyan: 0 12px 32px rgba(26, 166, 195, 0.28);
  --home-glass: rgba(255, 255, 255, 0.62);
  --home-glass-border: rgba(255, 255, 255, 0.55);
  --home-glass-dark: rgba(18, 26, 34, 0.72);
  --home-nav-h: 72px;
  --home-wrap: 1180px;
  --home-wrap-wide: 1480px;
  --home-wrap-max: 1580px;
  --home-gutter: clamp(1.1rem, 4vw, 2.5rem);
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --home-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --home-dur-fast: 120ms;
  --home-dur: 280ms;
  --home-dur-med: 420ms;
  --home-dur-slow: 650ms;
  --home-touch: 44px;
  --home-z-nav: 800;
  --home-z-sticky: 700;
  --home-z-drawer: 850;
  --home-z-toast: 900;
}

/* Map documented layer system onto existing nav/sticky tokens */
.home-nav { z-index: var(--home-z-nav); }
.home-sticky-cta { z-index: var(--home-z-sticky); }

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.home-body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--home-font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--home-ink);
  background:
    radial-gradient(ellipse 90% 50% at 100% -10%, rgba(26, 166, 195, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 40% at -10% 20%, rgba(196, 165, 116, 0.08), transparent 50%),
    var(--home-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.home-body img,
.home-body svg {
  max-width: 100%;
  display: block;
}
.home-body button,
.home-body input,
.home-body textarea,
.home-body select {
  font: inherit;
  color: inherit;
}
.home-body a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.home-body :focus {
  outline: none;
}
.home-body :focus-visible {
  outline: 2px solid var(--home-cyan);
  outline-offset: 3px;
}
.home-nav-lock,
.home-nav-lock body {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   3. Skip link, wrap, utilities
   -------------------------------------------------------------------------- */
.home-skip {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 10000;
  padding: 0.65rem 1.1rem;
  background: var(--home-ink);
  color: #fff;
  border-radius: var(--home-radius-xs);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top var(--home-dur) var(--home-ease);
}
.home-skip:focus,
.home-skip:focus-visible {
  top: 12px;
  outline-offset: 2px;
}
.home-wrap {
  width: min(100% - (var(--home-gutter) * 2), var(--home-wrap));
  margin-inline: auto;
}
@media (min-width: 1440px) {
  .home-wrap {
    width: min(100% - 3.5rem, var(--home-wrap-wide));
  }
}
@media (min-width: 1920px) {
  .home-wrap {
    width: min(100% - 4rem, var(--home-wrap-max));
  }
}
.home-glass {
  background: var(--home-glass);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid var(--home-glass-border);
  box-shadow: var(--home-shadow-sm);
}
.home-float {
  animation: home-float 5.5s var(--home-ease) infinite;
}
.home-float:nth-child(2) { animation-delay: 0.4s; }
.home-float:nth-child(3) { animation-delay: 0.85s; }
.home-float:nth-child(4) { animation-delay: 1.2s; }
.home-float:nth-child(5) { animation-delay: 1.55s; }
@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.home-sim-badge,
.home-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--home-line-strong);
  border-radius: var(--home-radius-pill);
  font-family: var(--home-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-ink-faint);
  background: rgba(255, 255, 255, 0.45);
}
.home-section--dark .home-sim-badge,
.home-section--dark .home-chip {
  border-color: var(--home-dark-line);
  color: var(--home-dark-muted);
  background: rgba(255, 255, 255, 0.04);
}
.home-chip.is-active,
.home-chip[aria-selected="true"] {
  border-color: var(--home-cyan);
  color: var(--home-cyan-strong);
  background: var(--home-cyan-soft);
}
.home-micro {
  margin: 0 0 0.35rem;
  font-family: var(--home-font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-ink-faint);
}
.home-demo-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--home-ink-faint);
}
.home-section--dark .home-demo-note {
  color: var(--home-dark-faint);
}
.home-status {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: var(--home-radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--home-cyan-soft);
  color: var(--home-cyan-strong);
}
.home-transition-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0 0;
  padding: 0.65rem 1rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}
.home-transition-chip strong {
  color: var(--home-cyan-strong);
}

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
.home-eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--home-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--home-cyan-strong);
}
.home-eyebrow--light {
  color: var(--home-cyan);
}
.home-h2 {
  margin: 0 0 1rem;
  font-family: var(--home-font-display);
  font-size: clamp(1.75rem, 2.4vw + 1rem, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--home-ink);
}
.home-h2--light {
  color: var(--home-dark-ink);
}
.home-h3 {
  margin: 0 0 0.75rem;
  font-family: var(--home-font-display);
  font-size: clamp(1.2rem, 1.5vw + 0.8rem, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--home-ink);
}
.home-h3--light {
  color: var(--home-dark-ink);
}
.home-lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--home-ink-muted);
}
.home-lead--light {
  color: var(--home-dark-muted);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--home-touch);
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--home-radius-pill);
  font-family: var(--home-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform var(--home-dur) var(--home-ease),
    background var(--home-dur) ease,
    border-color var(--home-dur) ease,
    color var(--home-dur) ease,
    box-shadow var(--home-dur) ease;
}
.home-btn:hover {
  transform: translateY(-1px);
}
.home-btn:active {
  transform: translateY(0);
}
.home-btn--primary {
  background: linear-gradient(180deg, #22b7d6, var(--home-cyan-strong));
  color: #ffffff;
  box-shadow: var(--home-shadow-cyan);
}
.home-btn--primary:hover {
  background: linear-gradient(180deg, #2fc0dd, var(--home-cyan));
  color: #ffffff;
}
.home-btn--ghost {
  background: transparent;
  border-color: var(--home-line-strong);
  color: var(--home-ink);
}
.home-btn--ghost:hover {
  border-color: var(--home-ink);
  background: rgba(17, 19, 21, 0.03);
}
.home-btn--ghost-light {
  background: transparent;
  border-color: var(--home-dark-line);
  color: var(--home-dark-ink);
}
.home-btn--ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.home-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--home-z-nav);
  height: var(--home-nav-h);
  background: transparent;
  transition:
    background var(--home-dur-med) ease,
    box-shadow var(--home-dur-med) ease,
    backdrop-filter var(--home-dur-med) ease,
    color var(--home-dur) ease;
}
.home-nav.is-scrolled {
  background: rgba(242, 239, 232, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--home-line), 0 12px 40px rgba(15, 22, 29, 0.06);
}
.home-nav.home-nav--dark {
  color: var(--home-dark-ink);
}
.home-nav.home-nav--dark.is-scrolled {
  background: rgba(15, 22, 29, 0.82);
  box-shadow: 0 1px 0 var(--home-dark-line), 0 12px 40px rgba(0, 0, 0, 0.25);
}
.home-nav__inner {
  width: min(100% - 2rem, var(--home-wrap-wide));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.home-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
  min-height: var(--home-touch);
}
.home-nav__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--home-cyan) 0%, #0d7a90 55%, var(--home-gold) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}
.home-nav__name {
  font-family: var(--home-font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.home-nav__links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}
.home-nav__links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--home-ink-muted);
  min-height: var(--home-touch);
  display: inline-flex;
  align-items: center;
  transition: color var(--home-dur-fast) ease;
}
.home-nav__links a:hover {
  color: var(--home-ink);
}
.home-nav--dark .home-nav__links a {
  color: var(--home-dark-muted);
}
.home-nav--dark .home-nav__links a:hover {
  color: var(--home-dark-ink);
}
.home-nav__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
}
.home-nav__cc {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--home-ink-muted);
  min-height: var(--home-touch);
  display: inline-flex;
  align-items: center;
  padding-inline: 0.35rem;
  transition: color var(--home-dur-fast) ease;
}
.home-nav__cc:hover {
  color: var(--home-ink);
}
.home-nav--dark .home-nav__cc {
  color: var(--home-dark-muted);
}
.home-nav--dark .home-nav__cc:hover {
  color: var(--home-dark-ink);
}
.home-nav__cta {
  min-height: 42px;
  padding-inline: 1.1rem;
  font-size: 0.7rem;
}
.home-nav__menu {
  margin-left: auto;
  width: var(--home-touch);
  height: var(--home-touch);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color var(--home-dur) ease, background var(--home-dur) ease;
}
.home-nav--dark .home-nav__menu {
  border-color: var(--home-dark-line);
  background: rgba(255, 255, 255, 0.06);
}
.home-nav__menu span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--home-dur) var(--home-ease), opacity var(--home-dur-fast) ease;
}
.home-nav.is-open .home-nav__menu span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.home-nav.is-open .home-nav__menu span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}
.home-nav__drawer {
  position: absolute;
  inset: var(--home-nav-h) 0 auto;
  z-index: var(--home-z-drawer);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(242, 239, 232, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--home-line);
  box-shadow: var(--home-shadow-sm);
  max-height: calc(100dvh - var(--home-nav-h));
  overflow-y: auto;
}
.home-nav--dark .home-nav__drawer {
  background: rgba(15, 22, 29, 0.97);
  border-bottom-color: var(--home-dark-line);
}
.home-nav__drawer[hidden] {
  display: none !important;
}
.home-nav__drawer a {
  text-decoration: none;
  padding: 0.9rem 0.5rem;
  font-weight: 600;
  min-height: var(--home-touch);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--home-line);
}
.home-nav--dark .home-nav__drawer a {
  border-bottom-color: var(--home-dark-line);
}
.home-nav__drawer .home-btn {
  margin-top: 0.85rem;
  border-bottom: 0;
  width: 100%;
}
@media (min-width: 960px) {
  .home-nav__links,
  .home-nav__actions {
    display: flex;
  }
  .home-nav__menu,
  .home-nav__drawer {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   7. Sticky CTA
   -------------------------------------------------------------------------- */
.home-sticky-cta {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: var(--home-z-sticky);
  isolation: isolate;
  min-height: 48px;
  height: auto;
  padding: 0.9rem 1.35rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #101419;
  color: #ffffff !important;
  text-decoration: none;
  font-family: var(--home-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 200ms var(--home-ease),
    opacity 200ms ease,
    background 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.home-sticky-cta::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--home-cyan);
  vertical-align: 1px;
  box-shadow: 0 0 0 3px rgba(26, 166, 195, 0.22);
}
.home-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.home-sticky-cta:not(.is-visible) {
  opacity: 0 !important;
  pointer-events: none !important;
}
.home-sticky-cta:hover {
  background: #1a2229;
  color: #ffffff !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.home-sticky-cta:focus-visible {
  outline: 2px solid var(--home-cyan);
  outline-offset: 3px;
}
body[data-current-surface="dark"] .home-sticky-cta {
  background: #ffffff;
  color: #101419 !important;
  border-color: rgba(16, 20, 25, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
body[data-current-surface="dark"] .home-sticky-cta::before {
  background: var(--home-cyan-strong);
}
body[data-current-surface="dark"] .home-sticky-cta:hover {
  background: #f2efe8;
  color: #101419 !important;
}
.home-sticky-cta[hidden] {
  display: none !important;
}
@media (min-width: 960px) {
  .home-sticky-cta {
    right: 1.75rem;
    bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
    min-height: 50px;
    padding: 0.95rem 1.45rem;
  }
}

/* --------------------------------------------------------------------------
   8. Sections
   -------------------------------------------------------------------------- */
.home-section {
  position: relative;
  padding: clamp(4rem, 7vw, 7rem) 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}
.home-section--dark {
  background:
    radial-gradient(ellipse 80% 50% at 70% 0%, rgba(26, 166, 195, 0.12), transparent 55%),
    linear-gradient(180deg, var(--home-dark) 0%, var(--home-dark-2) 100%);
  color: var(--home-dark-ink);
}
.home-section__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 44rem;
}
.home-section__head--invert .home-h2,
.home-section__head--invert .home-h3 {
  color: var(--home-dark-ink);
}
.home-section__head--invert .home-lead {
  color: var(--home-dark-muted);
}
.home-section__head--invert .home-eyebrow {
  color: var(--home-cyan);
}

/* --------------------------------------------------------------------------
   9. Reveal / motion helpers — progressive enhancement
   -------------------------------------------------------------------------- */
[data-home-reveal],
[data-reveal] {
  /* Visible by default if JS never runs */
  opacity: 1;
  transform: none;
}
html.has-home-js [data-home-reveal]:not(.is-inview),
html.has-home-js [data-reveal]:not(.is-inview) {
  opacity: 0;
  transform: translateY(18px);
}
html.has-home-js [data-home-reveal],
html.has-home-js [data-reveal] {
  transition:
    opacity var(--home-dur-slow) var(--home-ease),
    transform var(--home-dur-slow) var(--home-ease);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
html.has-home-js [data-home-reveal].is-inview,
html.has-home-js [data-reveal].is-inview {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html.has-home-js [data-home-reveal]:not(.is-inview),
  html.has-home-js [data-reveal]:not(.is-inview),
  html.has-home-js [data-home-reveal],
  html.has-home-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
[data-reveal-delay="40"]  { --reveal-delay: 40; }
[data-reveal-delay="80"]  { --reveal-delay: 80; }
[data-reveal-delay="120"] { --reveal-delay: 120; }
[data-reveal-delay="160"] { --reveal-delay: 160; }
[data-reveal-delay="200"] { --reveal-delay: 200; }
[data-reveal-delay="240"] { --reveal-delay: 240; }
[data-reveal-delay="280"] { --reveal-delay: 280; }
[data-reveal-delay="320"] { --reveal-delay: 320; }

/* --------------------------------------------------------------------------
   10. Hero
   -------------------------------------------------------------------------- */
.home-hero {
  position: relative;
  min-height: 90vh;
  min-height: 90svh;
  padding: calc(var(--home-nav-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  content-visibility: visible;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.home-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: 0.7;
}
.home-hero__glow {
  position: absolute;
  width: 58%;
  height: 58%;
  right: -6%;
  top: 6%;
  background:
    radial-gradient(circle at 40% 40%, rgba(26, 166, 195, 0.2), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(196, 165, 116, 0.14), transparent 50%);
  filter: blur(10px);
}
.home-hero__road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background:
    linear-gradient(180deg, transparent, rgba(17, 19, 21, 0.04) 40%, rgba(17, 19, 21, 0.07)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 48px,
      rgba(17, 19, 21, 0.05) 48px,
      rgba(17, 19, 21, 0.05) 52px
    );
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  opacity: 0.55;
}
.home-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 1080px) {
  .home-hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2.5rem;
  }
}
.home-hero__copy {
  max-width: 36rem;
}
.home-hero__product {
  margin: 0 0 0.85rem;
  font-family: var(--home-font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--home-ink-muted);
}
.home-hero__title {
  margin: 0 0 1.2rem;
  font-family: var(--home-font-display);
  font-size: clamp(2.2rem, 4.2vw + 0.6rem, 3.85rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--home-ink);
}
.home-hero__title-accent {
  background: linear-gradient(105deg, var(--home-cyan-strong) 0%, var(--home-cyan) 45%, var(--home-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-hero__sub {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: clamp(1rem, 0.4vw + 0.92rem, 1.12rem);
  line-height: 1.6;
  color: var(--home-ink-muted);
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.home-hero__soft {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}
.home-hero__soft a {
  text-decoration: none;
  color: var(--home-ink-muted);
  transition: color var(--home-dur-fast) ease;
}
.home-hero__soft a:hover {
  color: var(--home-cyan-strong);
}
/* Hero stage composition */
.home-hero__stage {
  position: relative;
  min-height: clamp(340px, 52vw, 480px);
  display: grid;
  place-items: center;
}
.home-hero__phone {
  position: absolute;
  left: 4%;
  top: 8%;
  z-index: 4;
  width: min(168px, 42%);
  padding: 1rem 1rem 1.15rem;
  border-radius: 22px;
  color: var(--home-ink);
}
.home-hero__phone-label {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.home-hero__phone-num {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.92rem;
  color: var(--home-ink-muted);
  letter-spacing: 0.04em;
}
.home-hero__phone-bar {
  height: 4px;
  border-radius: var(--home-radius-pill);
  background: linear-gradient(90deg, var(--home-cyan), var(--home-gold));
  margin-bottom: 0.65rem;
  animation: home-bar-pulse 2.4s var(--home-ease) infinite;
}
.home-hero__phone-ok {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--home-ok);
}
@keyframes home-bar-pulse {
  0%, 100% { opacity: 1; transform: scaleX(1); }
  50% { opacity: 0.7; transform: scaleX(0.92); transform-origin: left; }
}
.home-hero__orbit {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 320 / 200;
  color: var(--home-ink-muted);
}
.home-hero__car {
  width: 100%;
  height: auto;
  color: var(--home-ink);
  opacity: 0.85;
}
.home-hero__car-path {
  stroke-dasharray: 4 6;
  animation: home-dash 8s linear infinite;
}
.home-hero__pulses {
  position: absolute;
  inset: 8% 0 auto;
  width: 100%;
  height: auto;
  color: var(--home-cyan);
  opacity: 0.85;
  pointer-events: none;
}
.home-pulse-line {
  stroke-dashoffset: 0;
  animation: home-dash 5s linear infinite;
}
.home-pulse-dot {
  animation: home-dot-pulse 2s var(--home-ease) infinite;
}
.home-pulse-dot:nth-child(2) { animation-delay: 0.35s; }
.home-pulse-dot:nth-child(3) { animation-delay: 0.7s; }
@keyframes home-dash {
  to { stroke-dashoffset: -80; }
}
@keyframes home-dot-pulse {
  0%, 100% { opacity: 0.45; r: 3; }
  50% { opacity: 1; r: 5; }
}
.home-hero__chips {
  position: absolute;
  left: 50%;
  bottom: -0.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.home-hero__chips span {
  padding: 0.28rem 0.55rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-ink-muted);
}
.home-hero__card,
.home-hero__dealer,
.home-hero__cc {
  position: absolute;
  padding: 0.9rem 1rem;
  border-radius: var(--home-radius);
  max-width: 200px;
}
.home-hero__card {
  right: 2%;
  top: 6%;
  z-index: 3;
}
.home-hero__card strong,
.home-hero__dealer strong {
  display: block;
  margin: 0.15rem 0 0.25rem;
  font-family: var(--home-font-display);
  font-size: 0.95rem;
}
.home-hero__card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--home-ink-muted);
}
.home-hero__dealer {
  left: 8%;
  bottom: 10%;
  z-index: 3;
}
.home-hero__cc {
  right: 4%;
  bottom: 4%;
  z-index: 5;
  min-width: 168px;
}
.home-hero__cc-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0.4rem 0 0.65rem;
}
.home-hero__cc-kpis strong {
  display: block;
  font-family: var(--home-font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.home-hero__cc-kpis span {
  font-size: 0.7rem;
  color: var(--home-ink-faint);
}
@media (max-width: 819px) {
  .home-hero__stage {
    min-height: 300px;
    margin-top: 0.5rem;
  }
  .home-hero__phone {
    left: 0;
    top: 0;
    width: 148px;
  }
  .home-hero__card {
    right: 0;
    top: 0;
    max-width: 156px;
  }
  .home-hero__dealer {
    display: none;
  }
  .home-hero__cc {
    right: 0;
    bottom: 0;
  }
}
@media (max-width: 389px) {
  .home-hero__actions .home-btn {
    width: 100%;
  }
  .home-hero__card {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   11. Capability strip (marquee)
   -------------------------------------------------------------------------- */
.home-strip {
  position: relative;
  padding: 1.1rem 0;
  border-block: 1px solid var(--home-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(235, 231, 222, 0.55));
  overflow: hidden;
}
.home-strip__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: home-marquee 32s linear infinite;
  will-change: transform;
}
.home-strip__item {
  flex: 0 0 auto;
  padding: 0.35rem 1.75rem;
  font-family: var(--home-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-ink-muted);
  position: relative;
}
.home-strip__item::after {
  content: "-";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--home-gold);
  opacity: 0.7;
}
@keyframes home-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.home-strip:hover .home-strip__track {
  animation-play-state: paused;
}

/* --------------------------------------------------------------------------
   12. Platform orbit
   -------------------------------------------------------------------------- */
.home-platform {
  background:
    radial-gradient(ellipse 60% 45% at 50% 60%, rgba(26, 166, 195, 0.06), transparent 60%),
    var(--home-bg);
}
.home-orbit {
  position: relative;
  width: min(100%, 640px);
  aspect-ratio: 1;
  margin: 0 auto;
  max-width: 100%;
}
.home-orbit__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--home-ink-faint);
  pointer-events: none;
  animation: home-orbit-spin 48s linear infinite;
}
@keyframes home-orbit-spin {
  to { transform: rotate(360deg); }
}
.home-orbit__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: clamp(120px, 28%, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.45rem;
  text-align: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), transparent 55%),
    linear-gradient(160deg, #ffffff, #ebe7de);
  border: 1px solid var(--home-line);
  box-shadow: var(--home-shadow);
  padding: 1rem;
}
.home-orbit__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--home-cyan), var(--home-gold));
}
.home-orbit__center strong {
  font-family: var(--home-font-display);
  font-size: clamp(0.62rem, 1.5vw, 0.75rem);
  letter-spacing: 0.08em;
  line-height: 1.25;
}
.home-orbit__node {
  --orbit-r: 42%;
  --orbit-angle: calc(var(--i, 0) * 60deg - 90deg);
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: clamp(118px, 28%, 148px);
  min-height: var(--home-touch);
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--home-shadow-sm);
  text-align: left;
  cursor: pointer;
  transform:
    translate(-50%, -50%)
    rotate(var(--orbit-angle))
    translate(var(--orbit-r))
    rotate(calc(-1 * var(--orbit-angle)));
  transition:
    border-color var(--home-dur) ease,
    box-shadow var(--home-dur) ease,
    background var(--home-dur) ease,
    z-index 0s;
}
.home-orbit__node:hover,
.home-orbit__node[aria-expanded="true"],
.home-orbit__node.is-active {
  border-color: rgba(26, 166, 195, 0.45);
  background: #fff;
  box-shadow: var(--home-shadow), 0 0 0 3px var(--home-cyan-soft);
  z-index: 5;
}
.home-orbit__node-title {
  display: block;
  font-family: var(--home-font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}
.home-orbit__node-body {
  display: block;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--home-ink-muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height var(--home-dur-med) var(--home-ease),
    opacity var(--home-dur) ease,
    margin var(--home-dur) ease;
}
.home-orbit__node[aria-expanded="true"] .home-orbit__node-body,
.home-orbit__node.is-active .home-orbit__node-body,
.home-orbit__node:focus-visible .home-orbit__node-body {
  max-height: 6rem;
  opacity: 1;
  margin-top: 0.15rem;
}
@media (max-width: 819px) {
  .home-orbit {
    aspect-ratio: auto;
    display: grid;
    gap: 0.75rem;
    width: 100%;
  }
  .home-orbit__lines {
    display: none;
  }
  .home-orbit__center {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    aspect-ratio: auto;
    border-radius: var(--home-radius-lg);
    padding: 1.25rem;
    margin-bottom: 0.5rem;
  }
  .home-orbit__node {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
  }
  .home-orbit__node-body {
    max-height: none;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   13. Story flow
   -------------------------------------------------------------------------- */
.home-story {
  background: var(--home-bg-soft);
}
.home-story__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 820px) {
  .home-story__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.65rem;
  }
}
.home-story__stage {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 96px;
  padding: 1rem;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.55);
  transition:
    border-color var(--home-dur) ease,
    background var(--home-dur) ease,
    box-shadow var(--home-dur) ease,
    transform var(--home-dur) var(--home-ease);
}
.home-story__stage strong {
  font-family: var(--home-font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.home-story__num {
  font-family: var(--home-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--home-ink-faint);
}
.home-story__stage.is-active {
  border-color: rgba(26, 166, 195, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px var(--home-cyan-soft), var(--home-shadow-sm);
  transform: translateY(-2px);
}
.home-story__stage.is-active .home-story__num {
  color: var(--home-cyan-strong);
}

/* --------------------------------------------------------------------------
   14. Interactive demo
   -------------------------------------------------------------------------- */
.home-demo__shell {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--home-radius-xl);
  border: 1px solid var(--home-line);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(242, 239, 232, 0.7));
  box-shadow: var(--home-shadow);
}
.home-demo__shell > .home-sim-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.home-demo__intents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding-right: 5rem;
}
.home-demo__intents button {
  min-height: var(--home-touch);
  padding: 0.55rem 1.1rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid var(--home-line-strong);
  background: transparent;
  font-family: var(--home-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background var(--home-dur) ease, border-color var(--home-dur) ease, color var(--home-dur) ease;
}
.home-demo__intents button.is-active,
.home-demo__intents button[aria-selected="true"] {
  background: var(--home-ink);
  border-color: var(--home-ink);
  color: #fff;
}
.home-demo__step {
  display: none;
}
.home-demo__step.is-active {
  display: block;
  animation: home-fade-up var(--home-dur-med) var(--home-ease);
}
.home-demo__step[hidden] {
  display: none !important;
}
@keyframes home-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.home-demo__hint {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--home-ink-muted);
}
.home-demo__models {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 820px) {
  .home-demo__models {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.home-model-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  min-height: var(--home-touch);
  padding: 0.85rem;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.7);
  text-align: left;
  cursor: pointer;
  transition:
    border-color var(--home-dur) ease,
    box-shadow var(--home-dur) ease,
    transform var(--home-dur) var(--home-ease);
}
.home-model-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--home-shadow-sm);
}
.home-model-card.is-active,
.home-model-card.is-selected,
.home-model-card[aria-pressed="true"] {
  border-color: var(--home-cyan);
  box-shadow: 0 0 0 3px var(--home-cyan-soft);
}
.home-model-card strong {
  font-family: var(--home-font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.home-model-card ul {
  margin: 0;
  padding: 0 0 0 1rem;
  font-size: 0.82rem;
  color: var(--home-ink-muted);
}
.home-model-card__visual {
  height: 96px;
  border-radius: var(--home-radius-sm);
  background:
    linear-gradient(135deg, rgba(17, 19, 21, 0.06), transparent 50%),
    linear-gradient(180deg, #d9d4c8, #c5bfb2);
  position: relative;
  overflow: hidden;
}
.home-model-card__visual::after {
  content: "";
  position: absolute;
  inset: auto 12% 22% 12%;
  height: 28%;
  border-radius: 40% 40% 20% 20% / 70% 70% 30% 30%;
  background: linear-gradient(180deg, rgba(17, 19, 21, 0.55), rgba(17, 19, 21, 0.85));
  box-shadow: 0 8px 16px rgba(17, 19, 21, 0.2);
}
.home-model-card__visual--urban {
  background:
    linear-gradient(135deg, rgba(26, 166, 195, 0.25), transparent 55%),
    linear-gradient(180deg, #cfd9de, #a8b5bc);
}
.home-model-card__visual--suv {
  background:
    linear-gradient(135deg, rgba(196, 165, 116, 0.28), transparent 55%),
    linear-gradient(180deg, #d8d0c2, #b7ad9c);
}
.home-model-card__visual--sport {
  background:
    linear-gradient(135deg, rgba(17, 19, 21, 0.2), transparent 50%),
    linear-gradient(180deg, #2a333c, #151a20);
}
.home-model-card__visual--sport::after {
  background: linear-gradient(180deg, #4a5560, #1c232b);
}
.home-demo__dealers,
.home-demo__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.home-demo__dealers button,
.home-demo__slots button {
  min-height: var(--home-touch);
  padding: 0.55rem 1rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid var(--home-line-strong);
  background: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--home-dur) ease, background var(--home-dur) ease, box-shadow var(--home-dur) ease;
}
.home-demo__dealers button.is-active,
.home-demo__slots button.is-active,
.home-demo__dealers button.is-selected,
.home-demo__slots button.is-selected,
.home-demo__dealers button:hover,
.home-demo__slots button:hover {
  border-color: var(--home-cyan);
  background: #fff;
  box-shadow: 0 0 0 3px var(--home-cyan-soft);
}
.home-demo__summary {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--home-radius-sm);
  background: var(--home-cyan-soft);
  border: 1px solid rgba(26, 166, 195, 0.25);
  font-size: 0.9rem;
  font-weight: 600;
}
.home-demo__done {
  text-align: center;
  padding: 1rem 0 0.5rem;
  max-width: 28rem;
  margin-inline: auto;
}
.home-demo__attrs {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 0.45rem;
}
.home-demo__attrs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--home-radius-sm);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--home-line);
  font-size: 0.88rem;
}
.home-demo__live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin: 1.75rem 0 0;
  font-size: 0.88rem;
  color: var(--home-ink-faint);
}

/* --------------------------------------------------------------------------
   15. Themes
   -------------------------------------------------------------------------- */
.home-themes__demo,
.home-themes {
  /* shell */
}
.home-themes__switch,
.home-themes__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.home-themes__switch button,
.home-themes__controls button,
[data-home-theme-btn],
[data-home-theme] {
  min-height: var(--home-touch);
  padding: 0.55rem 1rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid var(--home-line-strong);
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--home-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--home-dur) ease, border-color var(--home-dur) ease, color var(--home-dur) ease;
}
.home-themes__switch button.is-active,
.home-themes__controls button.is-active,
[data-home-theme-btn].is-active,
[data-home-theme].is-active,
[data-home-theme-btn][aria-selected="true"],
[data-home-theme][aria-selected="true"] {
  background: var(--home-ink);
  border-color: var(--home-ink);
  color: #fff;
}
.home-themes__brands,
.home-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.home-themes__custom,
.home-themes__custom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1.25rem 0 0.75rem;
  padding: 0;
}
.home-themes__custom li {
  padding: 0.4rem 0.75rem;
  border-radius: var(--home-radius-pill);
  border: 1px dashed var(--home-line-strong);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--home-ink-muted);
}
.home-themes__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--home-ink-faint);
}
/* Device chrome (shared) */
.home-device {
  border-radius: var(--home-radius-lg);
  border: 1px solid var(--home-line-strong);
  background: #1a222a;
  box-shadow: var(--home-shadow);
  overflow: hidden;
}
.home-device--browser {
  border-radius: 14px;
}
.home-device__chrome {
  display: flex;
  gap: 6px;
  padding: 0.65rem 0.85rem;
  background: #12181f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.home-device__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.home-device__chrome span:nth-child(1) { background: #c97a6a; }
.home-device__chrome span:nth-child(2) { background: #c4a574; }
.home-device__chrome span:nth-child(3) { background: #5aa88a; }
.home-device__screen {
  background: #f7f5f0;
  min-height: 220px;
}
.home-device--phone,
.home-device--phone-lg,
.home-device-card--phone {
  width: min(220px, 100%);
  margin-inline: auto;
  border-radius: 28px;
  padding: 10px;
  background: #111820;
}
.home-device--phone .home-device__screen,
.home-device--phone-lg .home-device__screen {
  min-height: 360px;
  border-radius: 20px;
  padding: 1.1rem;
}
.home-device--phone-lg {
  width: min(260px, 100%);
}
.home-device--tablet,
.home-device-card--tablet {
  width: min(320px, 100%);
  border-radius: 18px;
  padding: 10px;
  background: #151c24;
}
.home-device--tablet .home-device__screen {
  min-height: 220px;
  border-radius: 10px;
}
.home-device--desk,
.home-device-card--desk {
  width: min(420px, 100%);
  border-radius: 12px;
  padding: 8px;
}
.home-device--desk .home-device__screen {
  min-height: 180px;
  border-radius: 6px;
}
/* Theme preview surfaces */
.home-theme-preview,
.home-themes__preview {
  padding: 1.25rem;
  min-height: 240px;
  transition: background var(--home-dur-med) ease, color var(--home-dur-med) ease;
}
.home-theme-preview__logo,
.home-themes__preview-brand {
  font-family: var(--home-font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 1.25rem;
}
.home-theme-preview__hero,
.home-themes__preview-hero {
  max-width: 22rem;
}
.home-theme-preview__hero p,
.home-themes__preview-hero p {
  margin: 0 0 1rem;
  font-family: var(--home-font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.home-theme-preview__cta,
.home-themes__preview-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 1.1rem;
  border-radius: var(--home-radius-pill);
  font-family: var(--home-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-theme-preview__cars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 1.5rem;
}
.home-theme-preview__cars div {
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(17, 19, 21, 0.12), rgba(17, 19, 21, 0.04));
}
/* data-theme variants */
[data-theme="premium"],
[data-theme="premium-light"] {
  --tp-bg: #f7f5f0;
  --tp-ink: #111315;
  --tp-accent: #1aa6c3;
  --tp-cta-bg: #111315;
  --tp-cta-ink: #fff;
}
[data-theme="electric"] {
  --tp-bg: #eef6f8;
  --tp-ink: #0d2a32;
  --tp-accent: #1aa6c3;
  --tp-cta-bg: #1aa6c3;
  --tp-cta-ink: #fff;
}
[data-theme="performance"] {
  --tp-bg: #171b20;
  --tp-ink: #f5f7f8;
  --tp-accent: #c4a574;
  --tp-cta-bg: #c4a574;
  --tp-cta-ink: #111315;
}
[data-theme="graphite"],
[data-theme="luxury-graphite"] {
  --tp-bg: #121820;
  --tp-ink: #eceff2;
  --tp-accent: #8a93a0;
  --tp-cta-bg: #eceff2;
  --tp-cta-ink: #121820;
}
[data-home-theme-preview],
.home-themes__preview {
  background: var(--tp-bg, #f7f5f0);
  color: var(--tp-ink, #111315);
}
[data-home-theme-preview] .home-theme-preview__logo,
[data-home-theme-preview] .home-themes__preview-brand {
  color: var(--tp-accent, var(--home-cyan));
}
[data-home-theme-preview] .home-theme-preview__cta,
[data-home-theme-preview] .home-themes__preview-cta {
  background: var(--tp-cta-bg, #111);
  color: var(--tp-cta-ink, #fff);
}
[data-theme="performance"] .home-theme-preview__cars div,
[data-theme="graphite"] .home-theme-preview__cars div,
[data-theme="luxury-graphite"] .home-theme-preview__cars div {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}
.home-device__screen:has([data-theme="performance"]),
.home-device__screen:has([data-theme="graphite"]),
.home-device__screen:has([data-theme="luxury-graphite"]) {
  background: transparent;
}

/* --------------------------------------------------------------------------
   16. Promoter
   -------------------------------------------------------------------------- */
.home-promoter__grid,
.home-promoter__layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .home-promoter__grid,
  .home-promoter__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}
.home-promoter__story {
  display: grid;
  gap: 1.75rem;
}
.home-steps,
.home-promoter__flow,
.home-builder__steps,
.home-builder-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  counter-reset: home-step;
}
.home-steps li,
.home-promoter__flow li,
.home-builder-steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.85rem;
  align-items: baseline;
  padding: 0.85rem 1rem;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-dark-line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--home-dur) ease, background var(--home-dur) ease;
}
.home-steps li strong,
.home-promoter__flow li strong {
  grid-column: 1 / -1;
  font-family: var(--home-font-display);
}
.home-steps li span,
.home-promoter__flow li span {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: var(--home-dark-muted);
}
.home-steps li.is-active,
.home-steps li.is-current,
.home-promoter__flow li.is-active,
.home-promoter__flow li.is-current {
  border-color: rgba(26, 166, 195, 0.45);
  background: rgba(26, 166, 195, 0.08);
}
.home-promoter__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.home-promoter__points li {
  position: relative;
  padding-left: 1.25rem;
  font-weight: 600;
  color: var(--home-dark-muted);
}
.home-promoter__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-gold);
}
/* Phone flow screens */
.home-phone-flow {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  color: var(--home-ink);
  height: 100%;
}
.home-phone-flow.is-active {
  display: flex;
  animation: home-fade-up var(--home-dur-med) var(--home-ease);
}
.home-phone-flow[hidden] {
  display: none !important;
}
.home-phone-flow__label,
.home-phone__label {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-ink-faint);
}
.home-phone-flow__field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--home-ink-muted);
}
.home-phone-flow__field input,
.home-phone__num {
  min-height: var(--home-touch);
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--home-line-strong);
  border-radius: var(--home-radius-sm);
  background: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.home-phone-flow__ok {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--home-ok);
}
.home-phone-flow__card {
  padding: 1rem;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-line);
  background: #fff;
  display: grid;
  gap: 0.25rem;
}
.home-phone-flow__card strong {
  font-family: var(--home-font-display);
}
.home-phone-flow__card span {
  font-size: 0.85rem;
  color: var(--home-ink-muted);
}
.home-phone-flow__intents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.home-phone-flow__intents span {
  padding: 0.45rem 0.75rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid var(--home-line);
  font-size: 0.78rem;
  font-weight: 700;
  background: #fff;
}
.home-phone-flow__saved,
.home-phone__status {
  margin: 0;
  font-weight: 700;
  color: var(--home-cyan-strong);
}
.home-phone,
.home-promoter__stage {
  /* alias containers */
}
.home-phone__screen {
  padding: 1rem;
}
.home-phone__btn {
  /* uses .home-btn */
}
.home-promoter__stage,
.home-promoter__pulse {
  position: relative;
}
.home-promoter__pulse.is-active,
.home-promoter__pulse.is-pulse {
  animation: home-glow-pulse 1.2s var(--home-ease);
}
@keyframes home-glow-pulse {
  0% { box-shadow: 0 0 0 0 rgba(26, 166, 195, 0.35); }
  100% { box-shadow: 0 0 0 16px rgba(26, 166, 195, 0); }
}
.home-pulse-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.15rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--home-dark-line);
}
.home-pulse-path__node {
  padding: 0.55rem 0.85rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid var(--home-dark-line);
  font-family: var(--home-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--home-dark-muted);
  background: rgba(255, 255, 255, 0.03);
}
.home-pulse-path__line {
  width: clamp(24px, 6vw, 48px);
  height: 2px;
  background: var(--home-dark-line);
  position: relative;
  overflow: hidden;
}
.home-pulse-path__line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--home-cyan));
  animation: home-path-flow 1.8s linear infinite;
}
@keyframes home-path-flow {
  from { transform: translateX(-100%); }
  to { transform: translateX(280%); }
}

/* --------------------------------------------------------------------------
   17. Control Center
   -------------------------------------------------------------------------- */
.home-control__dash,
.home-cc-board {
  position: relative;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--home-radius-xl);
  border: 1px solid var(--home-line);
  background:
    linear-gradient(160deg, #ffffff, #f0ece4);
  box-shadow: var(--home-shadow);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.home-control__dash > .home-sim-badge,
.home-cc-board__bar .home-sim-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.home-control__cards,
.home-cc-board__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 820px) {
  .home-control__cards,
  .home-cc-board__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.home-control__card,
.home-cc-tile {
  min-height: 88px;
  padding: 1rem;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: flex-end;
  transition: border-color var(--home-dur) ease, transform var(--home-dur) var(--home-ease), box-shadow var(--home-dur) ease;
}
.home-control__card:hover,
.home-cc-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 166, 195, 0.35);
  box-shadow: var(--home-shadow-sm);
}
.home-control__card strong,
.home-cc-tile strong {
  font-family: var(--home-font-display);
  font-size: 0.95rem;
}
.home-control__builder,
.home-builder {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--home-radius-lg);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.45);
}
.home-builder-steps {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.home-builder-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid var(--home-line);
  background: #fff;
  grid-template-columns: none;
}
.home-builder-steps__item.is-done {
  border-color: rgba(47, 143, 107, 0.35);
  background: rgba(47, 143, 107, 0.08);
}
.home-builder-steps__check {
  color: var(--home-ok);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   18. Clients tree
   -------------------------------------------------------------------------- */
.home-client-tree,
.home-tree {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
}
.home-client-tree__branch,
.home-tree__client {
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}
.home-client-tree__toggle,
.home-tree__toggle {
  width: 100%;
  min-height: var(--home-touch);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.home-client-tree__toggle strong,
.home-tree__toggle strong {
  font-family: var(--home-font-display);
  font-size: 1rem;
}
.home-client-tree__toggle span,
.home-tree__toggle span {
  font-size: 0.82rem;
  color: var(--home-ink-faint);
}
.home-client-tree__brands,
.home-tree__brands {
  list-style: none;
  margin: 0;
  padding: 0 1.1rem 1rem;
  display: none;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.home-client-tree__branch.is-open .home-client-tree__brands,
.home-tree__client.is-open .home-tree__brands {
  display: flex;
}
.home-client-tree__brands li,
.home-tree__brands li {
  padding: 0.4rem 0.75rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid var(--home-line);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   19. Dealers map
   -------------------------------------------------------------------------- */
.home-dealer-map,
.home-map {
  position: relative;
  min-height: clamp(280px, 42vw, 420px);
  border-radius: var(--home-radius-xl);
  border: 1px solid var(--home-line);
  background:
    radial-gradient(ellipse 50% 40% at 50% 45%, rgba(26, 166, 195, 0.08), transparent 60%),
    linear-gradient(160deg, #e8e4db, #d9d4c8);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.home-dealer-map__grid,
.home-map__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 19, 21, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
  pointer-events: none;
}
.home-dealer-pin,
.home-map__node {
  --x: 50%;
  --y: 50%;
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
  min-height: var(--home-touch);
  padding: 0.55rem 0.85rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid rgba(17, 19, 21, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--home-shadow-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--home-dur) var(--home-ease), box-shadow var(--home-dur) ease, border-color var(--home-dur) ease;
}
.home-dealer-pin::before,
.home-map__node::before,
.home-map__pulse {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--home-cyan);
  opacity: 0;
  pointer-events: none;
}
.home-dealer-pin:hover,
.home-dealer-pin.is-active,
.home-map__node:hover,
.home-map__node.is-active {
  transform: translate(-50%, -50%) scale(1.04);
  border-color: var(--home-cyan);
  box-shadow: 0 0 0 4px var(--home-cyan-soft), var(--home-shadow-sm);
  z-index: 3;
}
.home-dealer-pin:hover::before,
.home-map__node.is-active::before {
  opacity: 0.35;
  animation: home-map-pulse 1.6s var(--home-ease) infinite;
}
@keyframes home-map-pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(4.5); opacity: 0; }
}
.home-dealer-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
@media (min-width: 820px) {
  .home-dealer-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
  }
}
.home-dealer-benefits li {
  position: relative;
  padding-left: 1.2rem;
  font-weight: 600;
  color: var(--home-ink-muted);
}
.home-dealer-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-cyan);
}

/* --------------------------------------------------------------------------
   20. Vehicles
   -------------------------------------------------------------------------- */
.home-vehicle-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 820px) {
  .home-vehicle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.home-vehicle-card {
  padding: 0.85rem;
  border-radius: var(--home-radius-lg);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.6);
  transition: transform var(--home-dur) var(--home-ease), box-shadow var(--home-dur) ease, border-color var(--home-dur) ease;
}
.home-vehicle-card:hover,
.home-vehicle-card.is-featured {
  transform: translateY(-3px);
  border-color: rgba(26, 166, 195, 0.35);
  box-shadow: var(--home-shadow);
}
.home-vehicle-card .home-model-card__visual,
.home-vehicle-card__visual {
  height: 140px;
  border-radius: var(--home-radius);
  margin-bottom: 0.9rem;
}
.home-vehicle-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--home-font-display);
  font-size: 1.15rem;
}
.home-vehicle-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--home-ink-muted);
}
.home-vehicle-card__chip {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--home-radius-pill);
  background: var(--home-cyan-soft);
  color: var(--home-cyan-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   21. Reporting
   -------------------------------------------------------------------------- */
.home-report__shell,
.home-report__board {
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border-radius: var(--home-radius-xl);
  border: 1px solid var(--home-dark-line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.home-report__kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 820px) {
  .home-report__kpis {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.home-report__kpis article {
  padding: 0.95rem 1rem;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-dark-line);
  background: rgba(255, 255, 255, 0.04);
}
.home-report__kpis strong {
  display: block;
  font-family: var(--home-font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}
.home-report__kpis span {
  font-size: 0.78rem;
  color: var(--home-dark-muted);
}
.home-report__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}
.home-report__filters .home-chip {
  min-height: 40px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--home-dark-line);
  color: var(--home-dark-muted);
}
.home-report__filters .home-chip.is-active {
  border-color: rgba(26, 166, 195, 0.55);
  color: var(--home-cyan);
  background: rgba(26, 166, 195, 0.12);
}
.home-report__table-wrap {
  overflow-x: auto;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-dark-line);
  margin-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
}
.home-report__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.88rem;
}
.home-report__table th,
.home-report__table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--home-dark-line);
  white-space: nowrap;
}
.home-report__table th {
  font-family: var(--home-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-dark-faint);
  background: rgba(0, 0, 0, 0.18);
}
.home-report__table tbody tr:hover {
  background: rgba(26, 166, 195, 0.06);
}
.home-report__table tbody tr:last-child td {
  border-bottom: 0;
}
.home-report__export,
.home-report__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  position: relative;
}
.home-report__export-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--home-dark-faint);
}
.home-toast {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  z-index: var(--home-z-toast);
  padding: 0.75rem 1rem;
  border-radius: var(--home-radius-sm);
  background: #fff;
  color: var(--home-ink);
  border: 1px solid var(--home-line);
  box-shadow: var(--home-shadow);
  font-size: 0.88rem;
  font-weight: 600;
  animation: home-fade-up var(--home-dur) var(--home-ease);
}
.home-toast[hidden] {
  display: none !important;
}
.home-section--dark .home-status {
  background: rgba(26, 166, 195, 0.16);
  color: #7fd4e6;
}

/* --------------------------------------------------------------------------
   22. Value cards
   -------------------------------------------------------------------------- */
.home-value__grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 820px) {
  .home-value__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .home-value__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.home-value__card {
  position: relative;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: var(--home-radius-lg);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.5);
  transition: transform var(--home-dur) var(--home-ease), box-shadow var(--home-dur) ease, border-color var(--home-dur) ease;
}
.home-value__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--home-shadow-sm);
  border-color: rgba(26, 166, 195, 0.3);
}
.home-value__num {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--home-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--home-gold-strong);
}
.home-value__card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--home-font-display);
  font-size: 1.1rem;
}
.home-value__card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--home-ink-muted);
}
.home-value__line {
  display: block;
  width: 36px;
  height: 2px;
  margin: 0.85rem 0;
  background: linear-gradient(90deg, var(--home-cyan), var(--home-gold));
}

/* --------------------------------------------------------------------------
   23. Before / after
   -------------------------------------------------------------------------- */
.home-before-after,
.home-before {
  background: var(--home-bg-soft);
}
.home-ba,
.home-before__grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 820px) {
  .home-ba,
  .home-before__grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
    align-items: center;
  }
}
.home-ba__col,
.home-before__col {
  padding: 1.35rem 1.25rem;
  border-radius: var(--home-radius-lg);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.55);
}
.home-ba__col--before,
.home-before__messy,
.home-before__col:not(.home-before__col--after) {
  background:
    repeating-linear-gradient(
      -12deg,
      rgba(180, 74, 74, 0.04),
      rgba(180, 74, 74, 0.04) 8px,
      transparent 8px,
      transparent 16px
    ),
    rgba(255, 255, 255, 0.55);
}
.home-ba__col--after,
.home-before__col--after,
.home-before__clean {
  border-color: rgba(26, 166, 195, 0.35);
  background:
    linear-gradient(160deg, rgba(26, 166, 195, 0.08), transparent 50%),
    rgba(255, 255, 255, 0.7);
}
.home-ba__col h3,
.home-before__col h3 {
  margin: 0 0 1rem;
  font-family: var(--home-font-display);
  font-size: 1.1rem;
}
.home-ba__col ul,
.home-before__col ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--home-ink-muted);
}
.home-ba__arrow,
.home-before__arrow {
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--home-cyan-strong);
  font-weight: 700;
}
@media (max-width: 819px) {
  .home-ba__arrow,
  .home-before__arrow {
    transform: rotate(90deg);
  }
}

/* --------------------------------------------------------------------------
   24. Field / signature
   -------------------------------------------------------------------------- */
.home-field__plus,
.home-field__split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  font-family: var(--home-font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
}
.home-field__plus strong {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--home-ink);
  color: #fff;
  font-size: 1.25rem;
}
.home-field__services {
  list-style: none;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.home-field__services li {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: var(--home-radius-pill);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 600;
}
.home-field__signature,
.home-signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 1.5rem 1rem;
  border-radius: var(--home-radius-xl);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.4);
}
.home-field__sig-node,
.home-signature__block {
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  text-align: center;
}
.home-field__sig-node span,
.home-signature__title {
  font-family: var(--home-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.home-field__sig-core,
.home-signature__block--center {
  padding: 1rem 1.25rem;
  border-radius: var(--home-radius);
  background: var(--home-ink);
  color: #fff;
  font-family: var(--home-font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-align: center;
}
.home-field__sig-arrow,
.home-signature__arrow {
  color: var(--home-cyan-strong);
  font-size: 1.25rem;
  font-weight: 700;
}
.home-sim-phone,
.home-sim-cc,
.home-sim-landing {
  display: grid;
  place-items: center;
  color: var(--home-ink-muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.home-sim-cc {
  background:
    linear-gradient(180deg, #1a2430, #121a22);
  color: var(--home-dark-muted);
}
.home-sim-landing {
  background:
    linear-gradient(160deg, #eef6f8, #f2efe8);
}
.home-signature__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--home-cyan), var(--home-gold));
}

/* --------------------------------------------------------------------------
   25. Use cases
   -------------------------------------------------------------------------- */
.home-usecases__grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 820px) {
  .home-usecases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .home-usecases__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.home-usecase {
  display: grid;
  gap: 0.45rem;
  width: 100%;
  min-height: var(--home-touch);
  padding: 1.15rem 1.1rem;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: rgba(255, 255, 255, 0.5);
  text-align: left;
  cursor: pointer;
  transition:
    border-color var(--home-dur) ease,
    background var(--home-dur) ease,
    box-shadow var(--home-dur) ease,
    transform var(--home-dur) var(--home-ease);
}
.home-usecase:hover {
  transform: translateY(-2px);
  box-shadow: var(--home-shadow-sm);
}
.home-usecase.is-open {
  border-color: rgba(26, 166, 195, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px var(--home-cyan-soft);
}
.home-usecase__title {
  font-family: var(--home-font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.home-usecase__flow {
  font-size: 0.88rem;
  color: var(--home-ink-muted);
  line-height: 1.45;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height var(--home-dur-med) var(--home-ease),
    opacity var(--home-dur) ease;
}
.home-usecase.is-open .home-usecase__flow {
  max-height: 5rem;
  opacity: 1;
}
@media (min-width: 820px) {
  .home-usecase__flow {
    max-height: none;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   26. Devices
   -------------------------------------------------------------------------- */
.home-devices__row {
  display: grid;
  gap: 2rem;
  justify-items: center;
  align-items: end;
}
@media (min-width: 820px) {
  .home-devices__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.home-devices__row figure {
  margin: 0;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  width: 100%;
}
.home-devices__row figcaption {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--home-ink-muted);
  text-align: center;
}
.home-devices__flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.75rem;
  margin: 2.5rem 0 0;
  font-family: var(--home-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--home-ink-faint);
}
.home-device-card {
  /* alias for device frames in other markup */
}
.home-device-card__frame {
  border-radius: var(--home-radius-lg);
  overflow: hidden;
}
.home-device-card--phone .home-device-card__frame,
.home-device-card__frame--phone {
  border-radius: 28px;
}
.home-device-card--tablet .home-device-card__frame,
.home-device-card__frame--tablet {
  border-radius: 18px;
}
.home-device-card--desk .home-device-card__frame,
.home-device-card__frame--desk {
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   27. Security
   -------------------------------------------------------------------------- */
.home-security__grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 820px) {
  .home-security__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .home-security__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.home-security__card {
  padding: 1.25rem 1.2rem;
  border-radius: var(--home-radius-lg);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.5);
  transition: border-color var(--home-dur) ease, box-shadow var(--home-dur) ease;
}
.home-security__card:hover {
  border-color: rgba(26, 166, 195, 0.3);
  box-shadow: var(--home-shadow-sm);
}
.home-security__card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--home-font-display);
  font-size: 1.05rem;
}
.home-security__card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--home-ink-muted);
}

/* --------------------------------------------------------------------------
   28. Scale / architecture / start
   -------------------------------------------------------------------------- */
.home-scale__row,
.home-scale__visual {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.home-scale__step {
  min-width: 120px;
  padding: 1.15rem 1.25rem;
  border-radius: var(--home-radius-lg);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
  box-shadow: var(--home-shadow-sm);
}
.home-scale__step strong {
  display: block;
  font-family: var(--home-font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.home-scale__step span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--home-ink-muted);
}
.home-scale__arrow {
  font-size: 1.35rem;
  color: var(--home-cyan-strong);
  font-weight: 700;
}
.home-arch {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: 1.5rem;
  border-radius: var(--home-radius-lg);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.45);
}
.home-arch__list,
.home-arch__tree {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--home-ink-muted);
}
.home-arch__tree ol {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}
.home-start,
.home-start__steps,
.home-start-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
@media (min-width: 820px) {
  .home-start__steps,
  .home-start-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .home-start__steps,
  .home-start-steps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.home-start__steps li,
.home-start-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-line);
  background: rgba(255, 255, 255, 0.55);
}
.home-start__steps li span,
.home-start-steps li span {
  font-family: var(--home-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--home-cyan-strong);
}
.home-start__steps li strong,
.home-start-steps li strong {
  font-family: var(--home-font-display);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   29. Final CTA band
   -------------------------------------------------------------------------- */
.home-final {
  background:
    radial-gradient(ellipse 55% 50% at 80% 20%, rgba(26, 166, 195, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 40% at 10% 80%, rgba(196, 165, 116, 0.1), transparent 50%),
    var(--home-bg-soft);
}
.home-final__inner {
  max-width: 44rem;
  text-align: center;
}
.home-final__inner .home-section__head,
.home-final__inner .home-lead {
  margin-inline: auto;
}
.home-final__inner .home-eyebrow {
  display: inline-block;
}
.home-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.home-final__note {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--home-ink-faint);
}

/* --------------------------------------------------------------------------
   30. Contact CTA
   -------------------------------------------------------------------------- */
.home-cta {
  background:
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(196, 165, 116, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 45% at 90% 10%, rgba(26, 166, 195, 0.16), transparent 45%),
    linear-gradient(160deg, #0c1218 0%, #15202b 100%);
  content-visibility: visible;
}
.home-cta__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}
@media (min-width: 960px) {
  .home-cta__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    align-items: start;
  }
}
.home-contact-shell {
  padding: clamp(1.25rem, 3vw, 1.85rem);
  border-radius: var(--home-radius-xl);
  border: 1px solid var(--home-dark-line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-contact {
  display: grid;
  gap: 1rem;
}
.home-contact__row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .home-contact__row {
    grid-template-columns: 1fr 1fr;
  }
}
.home-contact label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--home-dark-muted);
}
.home-contact input,
.home-contact textarea {
  width: 100%;
  min-height: var(--home-touch);
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--home-dark-line-strong);
  border-radius: var(--home-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--home-dark-ink);
  transition: border-color var(--home-dur) ease, background var(--home-dur) ease, box-shadow var(--home-dur) ease;
}
.home-contact textarea {
  min-height: 96px;
  resize: vertical;
}
.home-contact input::placeholder,
.home-contact textarea::placeholder {
  color: var(--home-dark-faint);
}
.home-contact input:focus-visible,
.home-contact textarea:focus-visible {
  border-color: var(--home-cyan);
  background: rgba(26, 166, 195, 0.08);
  box-shadow: 0 0 0 3px rgba(26, 166, 195, 0.2);
  outline: none;
}
.home-contact__consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1.45;
}
.home-contact__consent input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--home-cyan);
}
.home-contact__consent a {
  color: var(--home-cyan);
}
.home-contact__status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.home-contact__status[hidden] {
  display: none !important;
}
.home-contact-success {
  text-align: left;
}
.home-cta-aside {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
  padding-top: 0.25rem;
}
.home-cta-aside__mail {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--home-dark-muted);
  word-break: break-word;
}
.home-alert {
  padding: 0.95rem 1rem;
  border-radius: var(--home-radius);
  margin: 0 0 1rem;
  font-size: 0.92rem;
}
.home-alert--err {
  border: 1px solid rgba(180, 74, 74, 0.45);
  background: rgba(180, 74, 74, 0.12);
  color: #f0c4c4;
}
.home-alert--err a {
  color: #fff;
}
.home-alert p {
  margin: 0 0 0.35rem;
}
.home-alert p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   31. Footer
   -------------------------------------------------------------------------- */
.home-footer {
  padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px));
  background: #0c1218;
  color: var(--home-dark-ink);
  border-top: 1px solid var(--home-dark-line);
}
.home-footer__inner {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 820px) {
  .home-footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 2rem;
  }
}
.home-footer__brand {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
.home-footer__by {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--home-dark-faint);
}
.home-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}
.home-footer__links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--home-dark-muted);
  min-height: var(--home-touch);
  display: inline-flex;
  align-items: center;
  transition: color var(--home-dur-fast) ease;
}
.home-footer__links a:hover {
  color: var(--home-dark-ink);
}
.home-footer__copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--home-dark-faint);
}

/* --------------------------------------------------------------------------
   32. Main landmark spacing
   -------------------------------------------------------------------------- */
.home-body main {
  display: block;
}
.home-body main > .home-hero {
  /* already padded for fixed nav */
}
/* Cap ultrawide compositions */
@media (min-width: 1920px) {
  .home-hero__layout,
  .home-orbit,
  .home-demo__shell,
  .home-control__dash,
  .home-report__shell,
  .home-dealer-map,
  .home-themes__demo .home-device--browser {
    max-width: 1440px;
  }
  .home-orbit {
    margin-inline: auto;
  }
}

/* --------------------------------------------------------------------------
   33. Responsive fine-tuning - 360 / 390 / 820 / 1440 / 1920
   -------------------------------------------------------------------------- */
@media (max-width: 359px) {
  .home-body {
    font-size: 15px;
  }
  .home-nav__name {
    font-size: 0.88rem;
  }
  .home-hero__title {
    font-size: 1.95rem;
  }
  .home-btn {
    padding-inline: 1.05rem;
    font-size: 0.72rem;
  }
}
@media (min-width: 360px) and (max-width: 389px) {
  .home-hero__phone {
    width: 140px;
    padding: 0.85rem;
  }
  .home-hero__cc {
    min-width: 148px;
  }
}
@media (min-width: 390px) and (max-width: 819px) {
  .home-hero__actions {
    gap: 0.65rem;
  }
  .home-story__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 820px) {
  .home-nav__inner {
    gap: 1.5rem;
  }
  .home-section {
    padding: clamp(4.5rem, 6.5vw, 7.5rem) 0;
  }
}
@media (min-width: 1440px) {
  .home-hero {
    min-height: 92vh;
  }
  .home-hero__title {
    font-size: clamp(3.2rem, 3.2vw, 3.85rem);
  }
  .home-orbit {
    width: min(100%, 680px);
  }
}
@media (min-width: 1920px) {
  :root {
    --home-wrap-max: 1480px;
  }
  .home-hero__stage {
    min-height: 520px;
  }
}

/* --------------------------------------------------------------------------
   34. Print
   -------------------------------------------------------------------------- */
@media print {
  .home-nav,
  .home-sticky-cta,
  .home-nav__drawer,
  .home-strip {
    display: none !important;
  }
  .home-body {
    background: #fff;
    color: #000;
  }
  [data-home-reveal],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .home-section--dark,
  .home-cta,
  .home-footer {
    background: #fff !important;
    color: #000 !important;
  }
}

/* --------------------------------------------------------------------------
   35. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .home-float,
  .home-strip__track,
  .home-orbit__lines,
  .home-hero__car-path,
  .home-pulse-line,
  .home-pulse-dot,
  .home-hero__phone-bar,
  .home-pulse-path__line span,
  .home-dealer-pin:hover::before,
  .home-map__node.is-active::before,
  .home-promoter__pulse.is-pulse {
    animation: none !important;
  }
  .home-strip__track {
    transform: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 0.35rem;
  }
  .home-strip__item::after {
    display: none;
  }
  [data-home-reveal],
  [data-reveal],
  .home-btn,
  .home-model-card,
  .home-vehicle-card,
  .home-usecase,
  .home-value__card,
  .home-story__stage,
  .home-orbit__node {
    transition: none !important;
  }
  [data-home-reveal],
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .home-demo__step.is-active,
  .home-phone-flow.is-active,
  .home-toast {
    animation: none !important;
  }
  .home-btn:hover,
  .home-model-card:hover,
  .home-vehicle-card:hover,
  .home-usecase:hover,
  .home-value__card:hover,
  .home-control__card:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   36. High contrast / forced colors
   -------------------------------------------------------------------------- */
@media (forced-colors: active) {
  .home-btn,
  .home-nav__menu,
  .home-model-card,
  .home-orbit__node,
  .home-usecase,
  .home-chip {
    border: 1px solid ButtonText;
  }
  .home-btn--primary {
    background: Highlight;
    color: HighlightText;
  }
  .home-nav__mark,
  .home-orbit__mark {
    forced-color-adjust: none;
  }
}

/* --------------------------------------------------------------------------
   37. Selection & scrollbar polish
   -------------------------------------------------------------------------- */
.home-body ::selection {
  background: rgba(26, 166, 195, 0.28);
  color: var(--home-ink);
}
.home-section--dark ::selection,
.home-cta ::selection,
.home-footer ::selection {
  background: rgba(26, 166, 195, 0.4);
  color: #fff;
}
.home-report__table-wrap::-webkit-scrollbar,
.home-nav__drawer::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
.home-report__table-wrap::-webkit-scrollbar-thumb,
.home-nav__drawer::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.home-report__table-wrap::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   38. Helper states used by JS
   -------------------------------------------------------------------------- */
.is-hidden {
  display: none !important;
}
[hidden] {
  display: none !important;
}
.home-body [data-home-parallax] {
  will-change: transform;
  transition: transform 80ms linear;
}
@media (prefers-reduced-motion: reduce) {
  .home-body [data-home-parallax] {
    transform: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   39. Additional polish - nested interactive density
   -------------------------------------------------------------------------- */
.home-demo__shell .home-btn {
  margin-top: 0.25rem;
}
.home-control__builder .home-h2 {
  margin-bottom: 0.25rem;
}
.home-themes__demo .home-device--browser {
  margin-bottom: 0.25rem;
}
.home-promoter .home-device--phone-lg .home-btn {
  width: 100%;
}
.home-promoter .home-btn--ghost-light {
  border-color: var(--home-line-strong);
  color: var(--home-ink);
}
.home-promoter .home-btn--ghost-light:hover {
  border-color: var(--home-ink);
  background: rgba(17, 19, 21, 0.04);
}
.home-field .home-device--phone,
.home-field .home-device--desk {
  width: min(160px, 42vw);
}
.home-field .home-device--phone .home-device__screen {
  min-height: 160px;
}
.home-field .home-device--desk .home-device__screen {
  min-height: 100px;
}
.home-devices .home-device--phone .home-device__screen {
  min-height: 280px;
}
.home-devices .home-device--tablet .home-device__screen {
  min-height: 200px;
}
.home-devices .home-device--desk .home-device__screen {
  min-height: 160px;
}
/* Dark-section button contrast helpers */
.home-section--dark .home-btn--ghost {
  border-color: var(--home-dark-line);
  color: var(--home-dark-ink);
}
.home-section--dark .home-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}
/* Ensure sticky CTA doesn't collide with mobile browser chrome */
@supports (padding: max(0px)) {
  .home-sticky-cta {
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }
}

/* --------------------------------------------------------------------------
   40. Micro-interactions & loading-friendly defaults
   -------------------------------------------------------------------------- */
.home-orbit__node,
.home-model-card,
.home-usecase,
.home-dealer-pin,
.home-map__node,
.home-client-tree__toggle,
.home-themes__switch button,
.home-demo__intents button,
.home-demo__dealers button,
.home-demo__slots button,
.home-report__filters .home-chip {
  -webkit-tap-highlight-color: transparent;
}
.home-body button:disabled,
.home-body .home-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}
@media (hover: hover) and (pointer: fine) {
  .home-nav__links a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    margin-top: -2px;
    background: var(--home-cyan);
    transition: width var(--home-dur) var(--home-ease);
  }
  .home-nav__links a:hover::after {
    width: 100%;
  }
  .home-nav--dark .home-nav__links a::after {
    background: var(--home-cyan);
  }
}

/* --------------------------------------------------------------------------
   41. Section alternating soft surfaces (light only)
   -------------------------------------------------------------------------- */
.home-section.home-demo,
.home-section.home-control,
.home-section.home-vehicles,
.home-section.home-usecases,
.home-section.home-scale {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent 30%),
    var(--home-bg);
}
.home-section.home-themes,
.home-section.home-clients,
.home-section.home-value,
.home-section.home-field,
.home-section.home-security {
  background: var(--home-bg-soft);
}
.home-section.home-dealers,
.home-section.home-devices {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(196, 165, 116, 0.08), transparent 55%),
    var(--home-bg);
}

/* --------------------------------------------------------------------------
   42. End of stylesheet
   -------------------------------------------------------------------------- */

/* ==========================================================================
   43. VISUAL REFINEMENT PASS — contrast, scale, hierarchy, motion
   ========================================================================== */

/* Buttons — stronger hierarchy */
.home-btn {
  min-height: 50px;
  padding: 0.8rem 1.55rem;
  font-size: 0.84rem;
}
.home-btn--primary {
  background: linear-gradient(180deg, #22b7d6, #1289a3) !important;
  color: #041016 !important;
  box-shadow: 0 14px 34px rgba(26, 166, 195, 0.32);
}
.home-btn--primary:hover {
  background: linear-gradient(180deg, #2fc0dd, #1aa6c3) !important;
  color: #041016 !important;
  box-shadow: 0 16px 40px rgba(26, 166, 195, 0.4);
}
.home-btn--primary span {
  color: #041016 !important;
  display: inline-block;
  transition: transform 200ms var(--home-ease);
}
.home-btn--primary:hover span {
  transform: translateX(3px);
}
.home-nav__cta.home-btn--primary {
  min-height: 46px;
}
.home-final-cta .home-btn--primary,
.home-final .home-btn--primary,
.home-section--dark .home-btn--primary,
.home-cta .home-btn--primary {
  background: #ffffff !important;
  color: #101418 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.home-final-cta .home-btn--primary span,
.home-final .home-btn--primary span,
.home-section--dark .home-btn--primary span,
.home-cta .home-btn--primary span {
  color: #101418 !important;
}

/* Typography scale */
.home-eyebrow {
  font-size: 0.78rem;
  color: var(--home-cyan-strong);
  font-weight: 800;
}
.home-h2 {
  font-size: clamp(1.9rem, 2.8vw + 1rem, 3.35rem);
}
.home-lead {
  font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.2rem);
  color: var(--home-ink-muted);
  max-width: 38rem;
}
.home-micro {
  color: var(--home-cyan-strong);
  font-weight: 800;
  opacity: 1;
}

/* Section rhythm + less dead space */
.home-section {
  padding: clamp(4.25rem, 6.5vw, 6.5rem) 0;
}
.home-section.home-demo,
.home-section.home-promoter,
.home-section.home-report,
.home-final-cta {
  padding: clamp(4.75rem, 7.5vw, 7.25rem) 0;
}
.home-section.home-security,
.home-section.home-devices,
.home-section.home-scale,
.home-section.home-story {
  padding: clamp(3.5rem, 5vw, 5rem) 0;
}

/* Surfaces — sharper light sections */
.home-section.home-demo {
  background:
    linear-gradient(180deg, #e8e4db 0%, var(--home-bg-soft) 28%, var(--home-bg) 100%);
}
.home-glass {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 20, 24, 0.1);
  box-shadow: var(--home-shadow-sm);
}

/* Hero must never wait on IntersectionObserver */
.home-hero [data-home-reveal],
.home-hero [data-reveal],
html.has-home-js .home-hero [data-home-reveal],
html.has-home-js .home-hero [data-reveal],
html.has-home-js .home-hero [data-home-reveal]:not(.is-inview),
html.has-home-js .home-hero [data-reveal]:not(.is-inview) {
  opacity: 1 !important;
  transform: none !important;
}
.home-hero {
  min-height: 88vh;
  min-height: 88svh;
}
.home-hero__title {
  font-size: clamp(2.35rem, 5.2vw, 4.85rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--home-ink);
  max-width: 11ch;
}
@media (min-width: 1080px) {
  .home-hero__title { max-width: none; }
}
.home-hero__product {
  color: #46505a;
  font-weight: 650;
}
.home-hero__sub {
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.2rem);
  color: #46505a;
  max-width: 34rem;
  line-height: 1.55;
}
.home-hero__soft a {
  color: #46505a;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 20, 24, 0.35);
}
.home-hero__soft a:hover {
  color: var(--home-ink);
  border-bottom-color: var(--home-ink);
}
@media (min-width: 1080px) {
  .home-hero__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
  }
  .home-hero__stage {
    min-height: 520px;
    max-width: none;
    width: 100%;
  }
  .home-hero__phone {
    width: min(46%, 210px);
    padding: 1.15rem 1rem 1.25rem;
  }
  .home-hero__card {
    width: min(52%, 240px);
  }
  .home-hero__cc {
    width: min(62%, 280px);
  }
  .home-hero__car {
    width: min(100%, 420px);
  }
}
.home-hero__cc-kpis span,
.home-hero__card p,
.home-hero__phone-num {
  color: var(--home-ink-muted);
  opacity: 1;
}
.home-hero__chips span {
  color: var(--home-ink);
  background: #fff;
  border-color: var(--home-line-strong);
  font-weight: 700;
}

/* Hero intro sequence — visible by default; enhance when .is-ready */
.home-hero__stage .home-hero__phone,
.home-hero__stage .home-hero__card,
.home-hero__stage .home-hero__dealer,
.home-hero__stage .home-hero__cc,
.home-hero__stage .home-hero__orbit {
  opacity: 1;
  transform: none;
}
html:not(.home-reduce-motion) .home-hero__stage:not(.is-ready) .home-hero__phone,
html:not(.home-reduce-motion) .home-hero__stage:not(.is-ready) .home-hero__card,
html:not(.home-reduce-motion) .home-hero__stage:not(.is-ready) .home-hero__dealer,
html:not(.home-reduce-motion) .home-hero__stage:not(.is-ready) .home-hero__cc,
html:not(.home-reduce-motion) .home-hero__stage:not(.is-ready) .home-hero__orbit {
  opacity: 0;
  transform: translateY(14px);
}
.home-hero__stage.is-ready .home-hero__orbit {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--home-ease), transform 0.55s var(--home-ease);
}
.home-hero__stage.is-ready .home-hero__phone {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--home-ease) 0.18s, transform 0.55s var(--home-ease) 0.18s;
}
.home-hero__stage.is-ready .home-hero__card {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--home-ease) 0.35s, transform 0.55s var(--home-ease) 0.35s;
}
.home-hero__stage.is-ready .home-hero__dealer {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--home-ease) 0.5s, transform 0.55s var(--home-ease) 0.5s;
}
.home-hero__stage.is-ready .home-hero__cc {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--home-ease) 0.65s, transform 0.55s var(--home-ease) 0.65s;
}

/* Capability strip */
.home-strip {
  background: linear-gradient(90deg, #e8e4db, #f2efe8 40%, #e8e4db);
  border-color: var(--home-line-strong);
}
.home-strip__item {
  color: var(--home-ink);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

/* Platform orbit scale */
@media (min-width: 900px) {
  .home-orbit {
    min-height: 560px;
    max-width: 920px;
  }
  .home-orbit__center {
    width: min(46%, 230px);
  }
  .home-orbit__node {
    width: min(40%, 190px);
    min-height: 74px;
    transform:
      translate(-50%, -50%)
      rotate(calc(var(--i) * 60deg))
      translateY(-210px)
      rotate(calc(var(--i) * -60deg));
  }
  .home-orbit__node-title {
    font-size: 0.98rem;
  }
  .home-orbit__node-body {
    font-size: 0.82rem;
    color: var(--home-ink-muted);
  }
}

/* Story stages hierarchy */
.home-story__stage {
  opacity: 0.42;
  color: var(--home-ink-muted);
}
.home-story__stage.is-active {
  opacity: 1;
  color: var(--home-ink);
  border-color: var(--home-cyan);
}
.home-story__stage.is-done {
  opacity: 0.78;
  border-color: var(--home-line-strong);
}
.home-story__stage strong {
  color: inherit;
}

/* Lead demo — major sales moment */
.home-demo__shell {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  background: #fff;
  border: 1px solid var(--home-line-strong);
  box-shadow: var(--home-shadow);
}
.home-demo__hint {
  color: var(--home-ink);
  font-size: 0.98rem;
  font-weight: 700;
}
.home-demo__intents button,
.home-demo__dealers button,
.home-demo__slots button {
  min-height: 48px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--home-ink);
  border-color: var(--home-line-strong);
  background: #fff;
}
.home-model-card {
  border-color: var(--home-line-strong);
}
.home-model-card strong {
  font-size: 1.05rem;
  color: var(--home-ink);
}
.home-model-card ul {
  color: var(--home-ink-muted);
  font-size: 0.92rem;
}
.home-model-card.is-active,
.home-model-card.is-selected {
  transform: scale(1.02);
  border-color: var(--home-cyan);
  box-shadow: 0 16px 40px rgba(26, 166, 195, 0.16);
}
.home-demo__journey {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0.25rem;
}
.home-demo__journey.is-on {
  display: flex;
}
.home-demo__journey span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--home-line-strong);
  background: var(--home-cyan-soft);
  color: var(--home-cyan-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.35;
  transform: translateY(4px);
  transition: opacity 280ms ease, transform 280ms ease, background 280ms ease;
}
.home-demo__journey span.is-lit {
  opacity: 1;
  transform: none;
  background: var(--home-ink);
  color: #fff;
  border-color: var(--home-ink);
}

/* Themes larger */
.home-themes__preview,
.home-device--browser {
  min-height: 280px;
}
@media (min-width: 900px) {
  .home-device--browser,
  .home-themes [data-home-theme-preview] {
    min-height: 340px;
  }
}

/* Promoter — stronger dark */
.home-promoter {
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(26, 166, 195, 0.16), transparent 55%),
    linear-gradient(160deg, #0c1218 0%, #121a22 55%, #0f161d 100%);
}
.home-promoter .home-h2,
.home-promoter .home-lead,
.home-promoter__points li {
  color: var(--home-dark-ink);
}
.home-promoter .home-lead,
.home-promoter__points li,
.home-promoter__flow li span {
  color: var(--home-dark-muted) !important;
}
@media (min-width: 900px) {
  .home-phone,
  .home-promoter .home-device--phone,
  .home-promoter .home-device--phone-lg {
    width: min(100%, 300px);
    transform: scale(1.06);
    transform-origin: center top;
  }
}
.home-phone__num,
.home-phone__status {
  color: var(--home-dark-ink);
}
.home-phone__status {
  color: var(--home-dark-muted);
}

/* Control Center scale */
.home-cc-board,
.home-control .home-device--desk,
.home-control [class*="home-cc"] {
  max-width: 1240px;
  margin-inline: auto;
}
.home-cc-tile,
.home-control .home-cc-tile {
  min-height: 96px;
  font-size: 1.02rem;
}

/* Dealers map contrast */
.home-map {
  min-height: 380px;
  background:
    radial-gradient(circle at 42% 48%, rgba(26, 166, 195, 0.16), transparent 42%),
    linear-gradient(160deg, #d5dde5, #eef1f3);
}
.home-map__node {
  background: var(--home-ink);
  color: #fff;
  border-color: var(--home-ink);
  font-size: 0.82rem;
  min-height: 44px;
  box-shadow: 0 10px 24px rgba(16, 20, 24, 0.18);
}
.home-map__node.is-active {
  background: var(--home-cyan);
  color: #041016;
  border-color: var(--home-cyan);
  box-shadow: 0 0 0 7px var(--home-cyan-soft);
}

/* Vehicles — more automotive */
.home-vehicle-card,
.home-vehicle-grid article {
  border: 1px solid var(--home-line-strong);
  background: #fff;
}
.home-vehicle-card h3,
.home-vehicle-grid h3 {
  font-size: 1.35rem;
}
.home-vehicle-card__visual,
.home-model-card__visual {
  height: 168px;
}

/* Reporting — hero-level */
.home-report__shell,
.home-report__board {
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(1.25rem, 2.4vw, 1.85rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}
@media (min-width: 1440px) {
  .home-report__shell,
  .home-report__board {
    max-width: 1380px;
  }
}
.home-report__kpis strong {
  color: #fff;
  font-size: clamp(1.55rem, 2vw, 2rem);
}
.home-report__kpis span {
  color: var(--home-dark-muted);
}
.home-report__table th {
  color: var(--home-dark-muted);
}
.home-report__table td {
  color: var(--home-dark-ink);
  padding-block: 0.9rem;
}
.home-report__filters .home-chip,
.home-report__filters button {
  color: var(--home-dark-ink);
  border-color: rgba(255, 255, 255, 0.2);
}
.home-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--home-dark-ink);
}
.home-status--nou { background: rgba(26, 166, 195, 0.22); color: #9fe3f2; }
.home-status--in-lucru { background: rgba(184, 135, 58, 0.22); color: #e6c48a; }
.home-status--contactat { background: rgba(58, 110, 165, 0.25); color: #b7d0ee; }
.home-status--finalizat { background: rgba(47, 143, 107, 0.22); color: #9fd9bf; }

/* Value / usecase / security cards */
.home-value__card h3,
.home-usecase strong,
.home-security__card h3 {
  color: var(--home-ink);
}
.home-value__card p,
.home-usecase__flow,
.home-security__card p {
  color: var(--home-ink-muted);
}

/* Before/after */
.home-before__messy span,
.home-before__clean span {
  color: var(--home-ink);
  border-color: var(--home-line-strong);
}
.home-before__clean span {
  color: #fff;
}

/* Final CTA cinematic */
.home-final-cta,
.home-final {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(26, 166, 195, 0.18), transparent 55%),
    linear-gradient(180deg, #0c1218, #101820 60%, #0f161d);
  color: var(--home-dark-ink);
}
.home-final-cta .home-h2,
.home-final .home-h2,
.home-final-cta .home-lead,
.home-final .home-lead {
  color: var(--home-dark-ink);
}
.home-final-cta .home-lead,
.home-final .home-lead {
  color: var(--home-dark-muted);
}
.home-final-cta__actions,
.home-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.home-final-cta .home-btn--primary,
.home-final .home-btn--primary {
  background: #fff;
  color: var(--home-ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.home-final-cta .home-btn--primary:hover,
.home-final .home-btn--primary:hover {
  background: #f2efe8;
  color: #000;
}

/* Footer contrast */
.home-footer {
  background: #0f161d;
  color: var(--home-dark-ink);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.home-footer__brand { color: #fff; }
.home-footer__by,
.home-footer__copy { color: var(--home-dark-faint); }
.home-footer__links a {
  color: var(--home-dark-muted);
  opacity: 1;
}
.home-footer__links a:hover {
  color: #fff;
}

/* Contact form readability on dark */
.home-section--dark .home-contact label,
.home-cta label {
  color: var(--home-dark-muted);
}
.home-section--dark .home-contact input,
.home-section--dark .home-contact textarea,
.home-cta input,
.home-cta textarea {
  color: var(--home-dark-ink);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}
.home-demo-note,
.home-section--dark .home-demo-note {
  color: var(--home-dark-faint);
}

/* Nav readability */
.home-nav__links a {
  color: var(--home-ink-muted);
  opacity: 1;
}
.home-nav--dark .home-nav__links a {
  color: var(--home-dark-muted);
}
.home-nav--dark .home-nav__links a:hover,
.home-nav--dark .home-nav__name,
.home-nav--dark .home-nav__cc {
  color: #fff;
}
.home-nav__cc {
  color: var(--home-ink-faint);
  opacity: 1;
}

/* Mobile spacing / type */
@media (max-width: 719px) {
  .home-section {
    padding: clamp(3.5rem, 12vw, 5rem) 0;
  }
  .home-hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }
  .home-hero__title {
    font-size: clamp(2.15rem, 9vw, 3rem);
    max-width: none;
  }
  .home-hero__stage {
    min-height: 340px;
  }
  .home-lead,
  .home-hero__sub {
    font-size: 1.02rem;
  }
  .home-report__table-wrap {
    display: none;
  }
  .home-report__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .home-wrap {
    width: min(100% - 3rem, var(--home-wrap-max));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-btn--primary span,
  .home-model-card.is-active,
  .home-demo__journey span {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   44. FULL-PAGE VISUAL DEFECT CLOSURE — home6
   Contact light card · lower-half contrast · card color context · sticky CTA
   ========================================================================== */

/* Explicit card/control color context — never inherit white from dark parents */
.home-value__card,
.home-security__card,
.home-ba__col,
.home-before__col,
.home-usecase,
.home-vehicle-card,
.home-contact-card {
  color: var(--home-text-primary);
  background: #ffffff;
  border: 1px solid rgba(16, 20, 25, 0.14);
  box-shadow: var(--home-shadow-sm);
}
.home-value__card h3,
.home-security__card h3,
.home-ba__col h3,
.home-before__col h3,
.home-usecase strong {
  color: var(--home-text-primary) !important;
}
.home-value__card p,
.home-security__card p,
.home-ba__col ul,
.home-before__col ul,
.home-usecase__flow {
  color: var(--home-text-secondary) !important;
  font-size: 1rem;
  line-height: 1.55;
  opacity: 1 !important;
}
.home-value__num {
  color: var(--home-cyan-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Value / benefits */
.home-value__card {
  padding: 1.5rem 1.35rem 1.55rem;
  background: #ffffff;
}
.home-value__card h3 {
  font-size: 1.15rem;
}
.home-value__card p {
  font-size: 1.02rem;
}

/* Before/after columns */
.home-ba__col,
.home-before__col {
  background: #ffffff;
}
.home-ba__col--before,
.home-before__messy,
.home-before__col:not(.home-before__col--after) {
  background:
    repeating-linear-gradient(
      -12deg,
      rgba(180, 74, 74, 0.05),
      rgba(180, 74, 74, 0.05) 8px,
      transparent 8px,
      transparent 16px
    ),
    #ffffff;
}
.home-ba__col--after,
.home-before__col--after,
.home-before__clean {
  background:
    linear-gradient(160deg, rgba(26, 166, 195, 0.1), transparent 50%),
    #ffffff;
  border-color: rgba(26, 166, 195, 0.4);
}
.home-ba__col ul li,
.home-before__col ul li {
  color: var(--home-text-secondary);
  font-size: 0.98rem;
}

/* Field / software + people */
.home-field__plus {
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  color: var(--home-text-primary);
  letter-spacing: 0.14em;
  margin-bottom: 2rem;
}
.home-field__plus span {
  color: var(--home-text-primary);
  font-weight: 800;
}
.home-field__services li {
  background: #ffffff;
  border-color: rgba(16, 20, 25, 0.16);
  color: var(--home-text-primary);
  font-size: 0.92rem;
  font-weight: 650;
}
.home-field__signature {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(16, 20, 25, 0.14);
  padding: 1.75rem 1.25rem;
}
.home-field__sig-node span,
.home-signature__title {
  color: var(--home-text-primary);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

/* Devices */
.home-devices__row figcaption {
  color: var(--home-text-primary);
  font-size: 0.95rem;
  font-weight: 700;
}
.home-devices__flow {
  color: var(--home-text-secondary);
  font-size: 0.88rem;
  opacity: 1;
}
.home-sim-phone,
.home-sim-landing {
  color: var(--home-text-secondary);
  font-weight: 700;
}
.home-sim-cc {
  color: var(--home-dark-text-secondary);
}

/* Security */
.home-security__card {
  padding: 1.4rem 1.3rem;
  background: #ffffff;
}
.home-security__card h3 {
  font-size: 1.08rem;
}
.home-security__card p {
  font-size: 0.98rem;
}

/* Scale / brief → campaign */
.home-scale__step strong {
  color: var(--home-text-primary);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.home-scale__step span {
  color: var(--home-text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}
.home-scale__arrow {
  color: var(--home-cyan-strong);
  opacity: 1;
}
.home-start-steps li,
.home-start__steps li {
  background: #ffffff;
  border: 1px solid rgba(16, 20, 25, 0.14);
  color: var(--home-text-primary);
}
.home-start-steps li span,
.home-start__steps li span {
  color: var(--home-cyan-strong);
  font-size: 0.8rem;
  font-weight: 800;
}
.home-start-steps li strong,
.home-start__steps li strong {
  color: var(--home-text-primary);
  font-size: 1rem;
}
.home-arch {
  color: var(--home-text-primary);
}
.home-arch__tree,
.home-arch__tree ol {
  color: var(--home-text-secondary);
}

/* Light band differentiation */
.home-section.home-value {
  background: #f6f3ed;
  border-top: 1px solid rgba(16, 20, 25, 0.06);
}
.home-section.home-before-after {
  background: #efece5;
  border-top: 1px solid rgba(16, 20, 25, 0.06);
}
.home-section.home-field {
  background: #faf9f6;
  border-top: 1px solid rgba(16, 20, 25, 0.06);
}
.home-section.home-usecases {
  background: #f6f3ed;
  border-top: 1px solid rgba(16, 20, 25, 0.06);
}
.home-section.home-devices {
  background: #ffffff;
  border-top: 1px solid rgba(16, 20, 25, 0.06);
}
.home-section.home-security {
  background: #efece5;
  border-top: 1px solid rgba(16, 20, 25, 0.06);
}
.home-section.home-scale {
  background: #faf9f6;
  border-top: 1px solid rgba(16, 20, 25, 0.06);
}

/* No viewport-height on secondary lower sections */
.home-section.home-value,
.home-section.home-before-after,
.home-section.home-field,
.home-section.home-usecases,
.home-section.home-devices,
.home-section.home-security,
.home-section.home-scale,
.home-contact-section {
  min-height: 0 !important;
}

/* Final dark CTA — strongest sales block */
.home-final-cta {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(26, 166, 195, 0.22), transparent 55%),
    linear-gradient(180deg, #0c1218, #101820 55%, #0f161d);
  color: var(--home-dark-text-primary);
}
.home-final-cta .home-h2 {
  color: #f7f9fa !important;
}
.home-final-cta .home-lead {
  color: #c9d0d5 !important;
  opacity: 1 !important;
  max-width: 40rem;
}
.home-final-cta .home-eyebrow {
  color: var(--home-cyan) !important;
}
.home-final-cta .home-btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #f7f9fa !important;
  background: transparent;
}
.home-final-cta .home-btn--ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   CONTACT — light elevated card (fixes white-on-cream inherit bug)
   -------------------------------------------------------------------------- */
.home-contact-section {
  background: #efece5;
  border-top: 1px solid rgba(16, 20, 25, 0.08);
  color: var(--home-text-primary);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  content-visibility: visible;
}
.home-contact-section__layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 960px) {
  .home-contact-section__layout {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}
.home-contact-section__intro {
  color: var(--home-text-primary);
}
.home-contact-section__intro .home-h2 {
  color: var(--home-text-primary);
}
.home-contact-section__intro .home-lead {
  color: #4b535b;
  max-width: 32rem;
}
.home-contact-section__benefits {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.home-contact-section__benefits li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--home-text-secondary);
  line-height: 1.45;
}
.home-contact-section__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-cyan);
}
.home-contact-section__mail-line {
  margin: 1.5rem 0 0;
  font-size: 0.98rem;
  color: var(--home-text-muted);
}
.home-contact-section__mail-line a {
  color: var(--home-cyan-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-contact-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--home-radius-xl);
  border: 1px solid rgba(16, 20, 25, 0.14);
  background: #ffffff;
  box-shadow: var(--home-shadow);
  color: var(--home-text-primary);
}

.home-contact-form {
  display: grid;
  gap: 1rem;
  color: var(--home-text-primary);
}
.home-contact-form__row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .home-contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.home-contact-form label,
.home-contact-card label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #101419 !important;
}
.home-contact-form input,
.home-contact-form textarea,
.home-contact-card input,
.home-contact-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(16, 20, 25, 0.18);
  border-radius: var(--home-radius-sm);
  background: #ffffff !important;
  color: #101419 !important;
  font: inherit;
  transition: border-color var(--home-dur) ease, box-shadow var(--home-dur) ease;
}
.home-contact-form textarea,
.home-contact-card textarea {
  min-height: 96px;
  resize: vertical;
}
.home-contact-form input::placeholder,
.home-contact-form textarea::placeholder,
.home-contact-card input::placeholder,
.home-contact-card textarea::placeholder {
  color: #747c84 !important;
  opacity: 1;
}
.home-contact-form input:focus-visible,
.home-contact-form textarea:focus-visible,
.home-contact-card input:focus-visible,
.home-contact-card textarea:focus-visible {
  border-color: var(--home-cyan-strong);
  box-shadow: 0 0 0 3px rgba(26, 166, 195, 0.28);
  outline: none;
}
.home-contact-form__consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.5;
  color: #343b42 !important;
}
.home-contact-form__consent input {
  width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--home-cyan-strong);
}
.home-contact-form__consent a {
  color: var(--home-cyan-strong) !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.home-contact-form__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--home-text-secondary);
  font-weight: 500;
}
.home-contact-form .home-btn--primary,
.home-contact-card .home-btn--primary {
  min-height: 52px;
  width: 100%;
  justify-content: center;
  background: #101419 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(16, 20, 25, 0.22);
}
.home-contact-form .home-btn--primary:hover,
.home-contact-card .home-btn--primary:hover {
  background: #1a2229 !important;
  color: #ffffff !important;
}
.home-contact-form .home-btn--primary span,
.home-contact-card .home-btn--primary span {
  color: #ffffff !important;
}
.home-contact-form__status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--home-text-secondary);
}
.home-contact-form__status.is-ok { color: var(--home-ok); }
.home-contact-form__status.is-err { color: var(--home-err); }
.home-contact-form__status[hidden] { display: none !important; }

.home-contact-success .home-h2,
.home-contact-success .home-lead {
  color: var(--home-text-primary) !important;
}
.home-contact-success .home-lead {
  color: var(--home-text-secondary) !important;
}

.home-alert--err-light {
  border: 1px solid rgba(180, 74, 74, 0.35);
  background: rgba(180, 74, 74, 0.08);
  color: #7a2e2e;
  padding: 0.95rem 1rem;
  border-radius: var(--home-radius);
  margin: 0 0 1rem;
  font-size: 0.92rem;
}
.home-alert--err-light a {
  color: var(--home-cyan-strong);
  font-weight: 700;
}

/* Legacy contact selectors still present in JS — map to light tokens */
.home-contact-card .home-contact,
.home-contact-card .home-contact label {
  color: #343b42;
}
.home-contact-card .home-contact input,
.home-contact-card .home-contact textarea {
  background: #fff;
  color: #101419;
  border-color: rgba(16, 20, 25, 0.18);
}

/* Footer — readable close */
.home-footer {
  background: #0c1218;
  color: #f5f7f8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.75rem 0 calc(2.75rem + env(safe-area-inset-bottom, 0px));
}
.home-footer__brand { color: #f5f7f8; }
.home-footer__by,
.home-footer__copy { color: #b0b9c0; }
.home-footer__links a {
  color: #b0b9c0;
  opacity: 1;
}
.home-footer__links a:hover { color: #f5f7f8; }

/* Eyebrows — never whisper */
.home-eyebrow {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  color: var(--home-cyan-strong) !important;
  opacity: 1 !important;
}
.home-section--dark .home-eyebrow,
.home-final-cta .home-eyebrow {
  color: var(--home-cyan) !important;
}

/* Lead body never washed out on light */
.home-section:not(.home-section--dark):not(.home-final-cta) .home-lead {
  color: var(--home-text-secondary);
  opacity: 1;
}
.home-section:not(.home-section--dark):not(.home-final-cta) .home-h2 {
  color: var(--home-text-primary);
}

/* Report muted cells stay readable on dark */
.home-report__table th {
  color: #b0b9c0;
}
.home-report__kpis span,
.home-report__export-note {
  color: #c9d0d5;
}
.home-report__filters .home-chip {
  color: #e8eef2;
}

/* Kill nested washouts on meaningful lower-half copy */
.home-value [style*="opacity"],
.home-security [style*="opacity"],
.home-devices [style*="opacity"],
.home-contact-section [style*="opacity"] {
  opacity: 1;
}

@media (max-width: 719px) {
  .home-contact-section__layout {
    gap: 1.5rem;
  }
  .home-sticky-cta {
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    font-size: 0.72rem;
    padding: 0.8rem 1.1rem;
  }
  .home-contact-form .home-btn--primary {
    position: relative;
    z-index: 1;
  }
}
