:root {
  --l-bg: #f7faf8;
  --l-paper: #ffffff;
  --l-soft: #eef6f1;
  --l-ink: #102019;
  --l-muted: #64736c;
  --l-faint: #dce8e1;
  --l-green: #16b365;
  --l-green-strong: #0f8f50;
  --l-blue: #2563eb;
  --l-blue-soft: #e7efff;
  --l-shadow: 0 24px 70px rgba(24, 42, 33, .12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.landing {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(231, 248, 238, .9) 0%, rgba(247, 250, 248, 0) 34rem),
    var(--l-bg);
  color: var(--l-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.l-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  background: rgba(247, 250, 248, .84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.l-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--l-ink);
}

.l-logo-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  color: #102019;
  filter: drop-shadow(0 12px 22px rgba(16, 32, 25, .14));
  flex: 0 0 auto;
}

.l-logo-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.l-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.l-link {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 12px;
  color: var(--l-muted);
  font-size: 14px;
  font-weight: 800;
}

.l-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.l-btn:hover {
  transform: translateY(-1px);
}

.l-btn:active {
  transform: translateY(0) scale(.98);
}

.l-btn--lg {
  min-height: 54px;
  padding: 0 24px;
  font-size: 15px;
}

.l-btn--primary {
  background: var(--l-green);
  color: #fff;
  box-shadow: 0 12px 28px rgba(22, 179, 101, .28);
}

.l-btn--primary:hover {
  background: var(--l-green-strong);
  box-shadow: 0 16px 36px rgba(22, 179, 101, .30);
}

.l-btn--secondary {
  background: #fff;
  color: var(--l-ink);
  box-shadow: inset 0 0 0 1px var(--l-faint), 0 12px 26px rgba(24, 42, 33, .07);
}

.l-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 560px);
  align-items: center;
  gap: 64px;
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  padding: 42px 0 76px;
}

.l-hero-copy {
  max-width: 660px;
}

.l-copy-mobile {
  display: none;
}

.l-eyebrow,
.l-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--l-green-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.l-eyebrow::before,
.l-section-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.l-h1,
.l-section h2,
.l-cta h2 {
  margin: 0;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-weight: 800;
  line-height: .94;
  letter-spacing: 0;
  color: var(--l-ink);
}

.l-h1 {
  max-width: 12ch;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(44px, 5.8vw, 76px);
  font-weight: 800;
  line-height: .98;
}

.l-lead {
  max-width: 38ch;
  margin: 20px 0 0;
  color: var(--l-muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.48;
  font-weight: 700;
}

.l-hero-rotator {
  position: relative;
  height: 26px;
  margin-top: 14px;
  color: var(--l-green-strong);
  font-size: 15px;
  font-weight: 850;
  overflow: hidden;
}

.l-hero-rotator::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  margin-right: 10px;
  border-radius: 999px;
  background: currentColor;
  vertical-align: middle;
}

.l-hero-rotator span {
  position: absolute;
  left: 30px;
  top: 0;
  opacity: 0;
  transform: translateY(10px);
  animation: hero-rotator 9s ease-in-out infinite;
}

.l-hero-rotator span:nth-child(2) {
  animation-delay: 3s;
}

.l-hero-rotator span:nth-child(3) {
  animation-delay: 6s;
}

.l-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

@keyframes hero-rotator {
  0% { opacity: 0; transform: translateY(10px); }
  8%, 28% { opacity: 1; transform: translateY(0); }
  36%, 100% { opacity: 0; transform: translateY(-10px); }
}

.l-product-stage {
  position: relative;
  display: grid;
  grid-template-columns: 190px 292px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 640px;
}

.l-product-stage::before {
  content: "";
  position: absolute;
  inset: 72px 0 48px 36px;
  z-index: -1;
  border-radius: 46px;
  background: linear-gradient(135deg, #dff8e9, #e7efff);
  box-shadow: var(--l-shadow);
}

.l-product-stage::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 100px;
  width: 118px;
  height: 168px;
  border: 1px solid rgba(22, 179, 101, .20);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(22, 179, 101, .10) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 179, 101, .10) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: rotate(7deg);
  opacity: .9;
}

.l-vision-stack {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 14px;
}

.l-vision-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 12px;
  width: 190px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 42px rgba(24, 42, 33, .11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: float-card 5.4s ease-in-out infinite;
}

.l-vision-card:nth-child(2) {
  animation-delay: .35s;
}

.l-vision-card:nth-child(3) {
  animation-delay: .7s;
}

.l-vision-card strong {
  color: var(--l-ink);
  font-size: 15px;
  line-height: 1.05;
  font-weight: 900;
}

.l-vision-card small {
  grid-column: 2;
  color: var(--l-muted);
  font-size: 11px;
  line-height: 1.28;
  font-weight: 800;
}

.l-vision-icon {
  display: inline-grid;
  place-items: center;
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--l-soft);
  color: var(--l-green-strong);
}

.l-vision-icon svg {
  width: 22px;
  height: 22px;
}

.l-phone {
  position: relative;
  width: 292px;
  min-height: 590px;
  padding: 16px 14px 14px;
  border: 8px solid #121b16;
  border-radius: 42px;
  background: #f7faf8;
  box-shadow:
    0 34px 80px rgba(24, 42, 33, .22),
    inset 0 0 0 1px rgba(255, 255, 255, .7);
  overflow: hidden;
}

.l-phone-speaker {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 68px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  z-index: 4;
}

.l-phone-head {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 5px 12px;
}

.l-phone-brand {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.l-phone-status {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--l-soft);
  color: var(--l-green-strong);
  font-size: 12px;
  font-weight: 900;
}

.l-phone-camera {
  position: relative;
  height: 392px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #d9e2dc, #f7faf8 44%, #c7d6ce);
  box-shadow: inset 0 0 0 1px rgba(16, 32, 25, .08);
}

.l-scan-line {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 54px;
  z-index: 5;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(22, 179, 101, .96), transparent);
  box-shadow: 0 0 18px rgba(22, 179, 101, .48);
  animation: scan-line 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan-line {
  0%, 100% {
    transform: translateY(0);
    opacity: .28;
  }
  45% {
    opacity: .95;
  }
  70% {
    transform: translateY(252px);
    opacity: .42;
  }
}

.l-camera-haze {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 48%, transparent 54%, rgba(16, 32, 25, .16) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Coordinate space anchored to the car image — boxes inside use % positions */
.l-car-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 84%;
  transform: translate(-50%, -50%);
  animation: car-breathe 5.8s ease-in-out infinite;
}

.l-camera-car {
  display: block;
  width: 100%;
  height: auto;
  opacity: .88;
  filter: drop-shadow(0 18px 20px rgba(16, 32, 25, .16));
}

.l-camera-pill {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 148px;
  padding: 0 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(22, 179, 101, .94);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(22, 179, 101, .28);
}

/* ── AI detection boxes — hidden by default, appear on .is-detected ── */
.l-ai-box {
  position: absolute;
  z-index: 4;
  border: 2px solid rgba(22, 179, 101, .92);
  border-radius: 10px;
  background: transparent;
  color: #0d7c45;
  pointer-events: none;
  opacity: 0;   /* JS adds .is-detected to reveal */
}

/* Corner accent marks on each box */
.l-ai-box::before,
.l-ai-box::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: currentColor;
  border-style: solid;
}

.l-ai-box::before {
  top: -2px;
  left: -2px;
  border-width: 2px 0 0 2px;
  border-radius: 6px 0 0 0;
}

.l-ai-box::after {
  right: -2px;
  bottom: -2px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 6px 0;
}

/* Confidence label pill */
.l-ai-box span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .90);
  color: #0d7c45;
  box-shadow: 0 6px 14px rgba(24, 42, 33, .12);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

/* Pop-in when detected */
.l-ai-box.is-detected {
  animation:
    ai-pop  .32s cubic-bezier(.22, .68, 0, 1.28) both,
    ai-scan 3.2s ease-in-out .32s infinite,
    ai-drift 6.8s ease-in-out .32s infinite;
}

@keyframes ai-pop {
  from { opacity: 0; scale: .68; }
  to   { opacity: 1; scale: 1; }
}

@keyframes ai-scan {
  0%, 100% {
    opacity: .76;
    box-shadow: 0 0 0 1px rgba(255,255,255,.48), 0 10px 20px rgba(22,179,101,.10);
  }
  45% {
    opacity: 1;
    box-shadow: 0 0 0 1px rgba(255,255,255,.72), 0 0 0 4px rgba(22,179,101,.09), 0 14px 26px rgba(22,179,101,.16);
  }
}

@keyframes ai-drift {
  0%, 100% { translate: 0 0; }
  50%       { translate: 0 -2px; }
}

/* ── Box positions — % of the car image via .l-car-frame coordinate space ── */

/* Capó — hood strip between windshield bottom and top of grille */
.l-ai-box--capot {
  top: 37%;
  left: 20%;
  width: 58%;
  height: 12%;
}
.l-ai-box--capot span {
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
}

/* Rayón — right front fender / headlight surround */
.l-ai-box--scratch {
  top: 44%;
  right: 4%;
  width: 26%;
  height: 20%;
}
.l-ai-box--scratch span {
  bottom: calc(100% + 5px);
  right: 0;
}

/* Defensa — lower-left bumper section */
.l-ai-box--bumper {
  top: 67%;
  left: 5%;
  width: 38%;
  height: 14%;
}
.l-ai-box--bumper span {
  top: calc(100% + 5px);
  left: 0;
}

/* Patente — license plate, bottom center of bumper */
.l-ai-box--plate {
  top: 74%;
  left: 33%;
  width: 34%;
  height: 11%;
}
.l-ai-box--plate span {
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
}

/* ── Scene system — opacity cross-fade between views ── */
.l-scene {
  opacity: 0;
  transition: opacity .5s ease;
}
.l-scene.is-active {
  opacity: 1;
}

/* Rear car: shift up so it doesn't crowd the pill */
.l-scene--rear {
  top: 40%;
}

/* ── Warning (amarillo) and Danger (rojo) box variants ── */
.l-ai-box--warning {
  border-color: rgba(245, 158, 11, .90);
  color: #92400e;
  /* tinte sobre la zona — hace visible la región sin daño real en foto */
  background: rgba(245, 158, 11, .07);
  backdrop-filter: contrast(1.04) saturate(1.1);
  -webkit-backdrop-filter: contrast(1.04) saturate(1.1);
}
.l-ai-box--warning span {
  background: rgba(255, 251, 235, .94);
  color: #92400e;
}

.l-ai-box--danger {
  border-color: rgba(239, 68, 68, .90);
  color: #b91c1c;
  /* tinte rojo sutil — diferencia visual perceptible sobre el auto */
  background: rgba(239, 68, 68, .09);
  backdrop-filter: contrast(1.06) saturate(1.15);
  -webkit-backdrop-filter: contrast(1.06) saturate(1.15);
}
.l-ai-box--danger span {
  background: rgba(255, 241, 241, .94);
  color: #b91c1c;
}

.l-ai-box--warning.is-detected {
  animation:
    ai-pop       .32s cubic-bezier(.22, .68, 0, 1.28) both,
    ai-scan-warn 3.2s ease-in-out .32s infinite,
    ai-drift     6.8s ease-in-out .32s infinite;
}

.l-ai-box--danger.is-detected {
  animation:
    ai-pop        .32s cubic-bezier(.22, .68, 0, 1.28) both,
    ai-scan-danger 3.2s ease-in-out .32s infinite,
    ai-drift      6.8s ease-in-out .32s infinite;
}

@keyframes ai-scan-warn {
  0%, 100% { opacity: .78; box-shadow: 0 0 0 1px rgba(255,255,255,.48), 0 10px 20px rgba(245,158,11,.12); }
  45%       { opacity: 1;   box-shadow: 0 0 0 1px rgba(255,255,255,.72), 0 0 0 4px rgba(245,158,11,.14), 0 14px 26px rgba(245,158,11,.22); }
}

@keyframes ai-scan-danger {
  0%, 100% { opacity: .78; box-shadow: 0 0 0 1px rgba(255,255,255,.48), 0 10px 20px rgba(239,68,68,.12); }
  45%       { opacity: 1;   box-shadow: 0 0 0 1px rgba(255,255,255,.72), 0 0 0 4px rgba(239,68,68,.16), 0 14px 26px rgba(239,68,68,.28); }
}

/* ── Document scene layout ── */
.l-scene--docs {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 18px 14px 52px; /* bottom clears the pill */
}

/* ── Authentic Chilean document cards ── */
.l-doc-permiso,
.l-doc-revision {
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16, 32, 25, .18);
  background: #fff;
}

.l-doc-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
}

.l-doc-head--blue  { background: #1a3671; }
.l-doc-head--green { background: #155e31; }

.l-doc-shield {
  width: 13px;
  height: 15px;
  flex-shrink: 0;
}

.l-doc-head-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.l-doc-muni {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
  line-height: 1;
}

.l-doc-htitle {
  font-size: 8.5px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.l-doc-aprobado {
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #155e31;
  background: rgba(255, 255, 255, .92);
  padding: 2px 5px;
  border-radius: 4px;
  line-height: 1.2;
  flex-shrink: 0;
}

.l-doc-content {
  padding: 7px 10px 8px;
}

.l-doc-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3.5px 0;
  border-top: 1px solid rgba(16, 32, 25, .07);
  font-size: 9.5px;
}

.l-doc-field:first-child { border-top: none; }

.l-doc-field span {
  font-size: 8.5px;
  font-weight: 600;
  color: #6b7280;
}

.l-doc-field b {
  font-weight: 900;
  color: #111827;
  letter-spacing: .02em;
}

.l-doc-field--ok b { color: #166534; }
.l-doc-field--warn b { color: #b45309; }

.l-doc-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dashed rgba(16, 32, 25, .1);
}

.l-doc-qr {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #1a3671;
}

.l-doc-qr--green { color: #155e31; }

.l-doc-barcode {
  flex: 1;
  height: 22px;
}

.l-doc-rev-class {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.l-doc-rev-class span {
  font-size: 7px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.l-doc-rev-class b {
  font-size: 8.5px;
  font-weight: 900;
  color: #374151;
}

/* ── Doc YOLO boxes — positioned within .l-scene--docs (inset:0 = camera bounds) ── */

/* Permiso de Circulación card — covers the full card */
.l-ai-box--circ-detect {
  top: 10%;
  left: 4%;
  width: 92%;
  height: 34%;
}
.l-ai-box--circ-detect span {
  top: 6px;
  left: 10px;
}

/* Vigente row inside Permiso card */
.l-ai-box--circ-valid {
  top: 29%;
  left: 6%;
  width: 88%;
  height: 6%;
}
.l-ai-box--circ-valid span {
  bottom: calc(100% + 4px);
  right: 0;
}

/* Revisión Técnica card — covers the full card */
.l-ai-box--rev-detect {
  top: 47%;
  left: 4%;
  width: 92%;
  height: 34%;
}
.l-ai-box--rev-detect span {
  top: 6px;
  left: 10px;
}

/* Próx. revisión row inside Rev. Técnica card */
.l-ai-box--rev-expire {
  top: 65%;
  left: 6%;
  width: 88%;
  height: 6%;
}
.l-ai-box--rev-expire span {
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
}

/* ── Side-right view YOLO boxes ── */
.l-ai-box--mirror {
  top: 36%;
  left: 11%;
  width: 12%;
  height: 14%;
}
.l-ai-box--mirror span {
  bottom: calc(100% + 5px);
  left: 0;
}

.l-ai-box--door {
  top: 28%;
  left: 24%;
  width: 28%;
  height: 38%;
}
.l-ai-box--door span {
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
}

.l-ai-box--wheel {
  top: 66%;
  left: 5%;
  width: 28%;
  height: 28%;
}
.l-ai-box--wheel span {
  top: calc(100% + 5px);
  left: 0;
}

.l-ai-box--side-scratch {
  top: 37%;
  right: 14%;
  width: 21%;
  height: 27%;
}
.l-ai-box--side-scratch span {
  bottom: calc(100% + 5px);
  right: 0;
}

/* ── Rear view YOLO boxes ── */
.l-ai-box--trunk {
  top: 13%;
  left: 20%;
  width: 60%;
  height: 24%;
}
.l-ai-box--trunk span {
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
}

.l-ai-box--taillight-l {
  top: 34%;
  left: 3%;
  width: 22%;
  height: 32%;
}
.l-ai-box--taillight-l span {
  top: calc(100% + 5px);
  left: 0;
}

.l-ai-box--taillight-r {
  top: 34%;
  right: 3%;
  width: 22%;
  height: 32%;
}
.l-ai-box--taillight-r span {
  top: calc(100% + 5px);
  right: 0;
}

.l-ai-box--plate-rear {
  top: 63%;
  left: 29%;
  width: 42%;
  height: 13%;
}
.l-ai-box--plate-rear span {
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
}

/* ── Hand tap indicator ── */
.l-next-wrap {
  position: relative;
}

.l-tap-hand {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.l-tap-hand svg {
  display: block;
  width: 22px;
  height: 30px;
  filter: drop-shadow(0 4px 10px rgba(16, 32, 25, .45));
}

.l-tap-hand.is-tapping {
  animation: tap-hand 1.3s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes tap-hand {
  0%   { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  14%  { opacity: 1; transform: translateX(-50%) translateY(0); }
  36%  { transform: translateX(-50%) translateY(0); }
  54%  { transform: translateX(-50%) translateY(22px); }  /* press */
  64%  { transform: translateX(-50%) translateY(16px); }
  82%  { transform: translateX(-50%) translateY(-2px); opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* Button ripple on tap */
.l-next-preview.is-tapped {
  animation: btn-tap .4s ease both;
}

@keyframes btn-tap {
  0%   { transform: scale(1); }
  40%  { transform: scale(.95); box-shadow: 0 0 0 8px rgba(22,179,101,.18); }
  100% { transform: scale(1); }
}

@keyframes car-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(1.018); }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.l-phone-footer {
  padding: 14px 4px 0;
}

.l-progress {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 5px;
}

.l-progress span {
  height: 7px;
  border-radius: 999px;
  background: #dbe7e0;
}

.l-progress .is-done,
.l-progress .is-active {
  background: var(--l-green);
}

.l-progress .is-active {
  box-shadow: 0 0 0 4px rgba(22, 179, 101, .14);
}

.l-next-wrap {
  width: 100%;
}

.l-next-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--l-green);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

/* ── Cómo funciona — 4 pasos ── */
.l-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: min(1160px, calc(100% - 40px));
  margin: 20px auto 88px;
  scroll-margin-top: 96px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.l-flow-track {
  display: none;
}

.l-flow-item {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(220, 232, 225, .92);
  border-radius: 26px;
  background: rgba(255, 255, 255, .84);
  overflow: hidden;
  opacity: 0;
  transform: translateY(72px) scale(.96);
  box-shadow: 0 18px 44px rgba(24, 42, 33, .07);
  transition:
    opacity .6s cubic-bezier(0.16, 1, 0.3, 1),
    transform .82s cubic-bezier(0.16, 1, 0.3, 1);
}

.l-flow-item.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger: cards enter left-to-right with a ripple */
.l-flow-item:nth-of-type(2) { transition-delay: .10s; }
.l-flow-item:nth-of-type(3) { transition-delay: .19s; }
.l-flow-item:nth-of-type(4) { transition-delay: .27s; }
.l-flow-item:nth-of-type(5) { transition-delay: .34s; }

.l-flow-item span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--l-green-strong);
  font-size: 13px;
  font-weight: 900;
}

.l-flow-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 900;
}

.l-flow-item p,
.l-feature p,
.l-evidence-copy p,
.l-cta p,
.l-footer {
  color: var(--l-muted);
  font-weight: 600;
}

.l-flow-item p,
.l-feature p {
  max-width: 26ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* Fork pills — card 01 */

/* Visual 01 — dos teléfonos: tú envías → cliente recibe */
.l-flow-visual--link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 94px;
}

.l-flink {
  display: flex;
  align-items: center;
  gap: 8px;
}

.l-flink-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 30px;
  height: 52px;
  border-radius: 8px;
  border: 2px solid var(--l-faint);
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 32, 25, .1);
  overflow: hidden;
  flex-shrink: 0;
}

.l-flink-phone::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 3px;
  border-radius: 2px;
  background: var(--l-faint);
}

.l-flink-screen {
  flex: 1;
  margin: 14px 4px 5px;
  background: var(--l-soft);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4px 3px 3px;
  gap: 3px;
}

.l-flink-screen > i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--l-faint);
}

.l-flink-screen > i:first-child { width: 80%; }
.l-flink-screen > i:nth-child(2) { width: 55%; }

.l-flink-send {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: var(--l-green);
  box-shadow: 0 2px 6px rgba(22, 179, 101, .35);
  animation: cta-tap 2.8s ease-in-out infinite;
}

@keyframes cta-tap {
  0%, 55%, 100% { transform: scaleX(1); }
  28% { transform: scaleX(.78); }
}

.l-flink-screen--r {
  justify-content: flex-start;
  padding-top: 3px;
}

.l-flink-notif {
  display: block;
  height: 12px;
  border-radius: 4px;
  background: rgba(22, 179, 101, .15);
  border: 1px solid rgba(22, 179, 101, .28);
  opacity: 0;
  transform: translateY(-4px);
  animation: notif-arrive 2.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes notif-arrive {
  0%, 50% { opacity: 0; transform: translateY(-4px); }
  60%, 80% { opacity: 1; transform: translateY(0); }
  90%, 100% { opacity: 0; transform: translateY(0); }
}

.l-flink-wire {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 8px;
}

.l-flink-wire svg {
  width: 100%;
  height: 100%;
  stroke: var(--l-green);
  opacity: .35;
}

.l-flink-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--l-green);
  transform: translateY(-50%);
  opacity: 0;
  animation: packet-go 2.8s ease-in-out infinite;
}

@keyframes packet-go {
  0%, 24% { opacity: 0; left: 0; }
  32% { opacity: 1; left: 0; }
  50% { opacity: 1; left: calc(100% - 7px); }
  58% { opacity: 0; left: 100%; }
  100% { opacity: 0; left: 100%; }
}


/* Card 04 — decisión humana, fondo suave verde */
.l-flow-item--decision {
  background: var(--l-soft);
}

/* Visual 04 — decision options animadas */
.l-flow-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 116px;
  height: 94px;
  margin-bottom: 18px;
}

.l-flow-visual--timer svg {
  width: 88px;
  height: 88px;
  transform: rotate(-90deg);
}

.l-flow-visual--timer circle {
  fill: none;
  stroke-width: 8;
}

.l-flow-visual--timer circle:first-child {
  stroke: #dbe7e0;
}

.l-flow-visual--timer circle:last-child {
  stroke: var(--l-green);
  stroke-linecap: round;
  stroke-dasharray: 239;
  animation: timer-loop 4.8s linear infinite;
}

.l-flow-visual--timer b {
  position: absolute;
  color: var(--l-ink);
  font-size: 30px;
  font-weight: 900;
}

.l-flow-visual--orbit {
  width: 152px;
}

.l-flow-visual--orbit img {
  width: 118px;
  filter: drop-shadow(0 16px 22px rgba(24, 42, 33, .14));
  animation: flow-car-rotate 5.8s ease-in-out infinite;
}

.l-flow-visual--orbit em {
  position: absolute;
  right: 3px;
  bottom: 5px;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--l-ink);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.l-flow-orbit {
  position: absolute;
  width: 132px;
  height: 72px;
  border: 1px solid rgba(22, 179, 101, .22);
  border-radius: 999px;
  animation: orbit-tilt 5.8s ease-in-out infinite;
}

.l-flow-orbit i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(22, 179, 101, .45);
}

.l-flow-orbit i:nth-child(1) { left: 50%; top: -4px; background: var(--l-green); }
.l-flow-orbit i:nth-child(2) { right: 16%; top: 8%; }
.l-flow-orbit i:nth-child(3) { right: -4px; top: 50%; }
.l-flow-orbit i:nth-child(4) { right: 16%; bottom: 8%; }
.l-flow-orbit i:nth-child(5) { left: 50%; bottom: -4px; }
.l-flow-orbit i:nth-child(6) { left: 16%; bottom: 8%; }
.l-flow-orbit i:nth-child(7) { left: -4px; top: 50%; }
.l-flow-orbit i:nth-child(8) { left: 16%; top: 8%; }

.l-flow-visual--report {
  align-content: center;
  gap: 8px;
  width: 134px;
  padding: 16px;
  border: 1px solid var(--l-faint);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #eef6f1);
  box-shadow: 0 18px 36px rgba(24, 42, 33, .08);
}

.l-flow-visual--report div {
  justify-self: start;
  height: 8px;
  border-radius: 999px;
  background: var(--l-green);
  animation: report-bars 3.6s ease-in-out infinite;
}

.l-flow-visual--report div:nth-child(1) { width: 78px; }
.l-flow-visual--report div:nth-child(2) { width: 58px; animation-delay: .25s; }
.l-flow-visual--report div:nth-child(3) { width: 92px; animation-delay: .5s; }

.l-flow-visual--report small {
  position: absolute;
  right: 13px;
  top: 12px;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--l-blue-soft);
  color: var(--l-blue);
  font-size: 10px;
  font-weight: 900;
}

/* Visual 04 — decision rows */
.l-flow-visual--decide {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  width: 140px;
  height: 94px;
  display: flex;
}

.l-decide-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(22, 179, 101, .12);
  border: 1px solid rgba(22, 179, 101, .22);
  animation: decide-pulse 3.6s ease-in-out infinite;
}

.l-decide-row:nth-child(2) { animation-delay: 1.2s; }
.l-decide-row:nth-child(3) { animation-delay: 2.4s; }

.l-decide-row i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--l-green);
  flex-shrink: 0;
}

.l-decide-row--price i { background: var(--l-blue); }
.l-decide-row--claim i { background: #f59e0b; }

.l-decide-row b {
  font-size: 11px;
  font-weight: 800;
  color: var(--l-ink);
}

@keyframes decide-pulse {
  0%, 70%, 100% { opacity: .35; }
  35% { opacity: 1; }
}

@keyframes timer-loop {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 239; }
}

@keyframes flow-car-rotate {
  0%, 100% { transform: rotateY(0deg) translateY(0); }
  50% { transform: rotateY(28deg) translateY(-4px); }
}

@keyframes orbit-tilt {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

@keyframes report-bars {
  0%, 100% { opacity: .5; transform: scaleX(.78); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); transform-origin: left; }
}


.l-client-demo {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  gap: 54px;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
  border-top: 1px solid var(--l-faint);
}

.l-client-copy h2 {
  max-width: 10ch;
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.l-client-copy p:not(.l-section-kicker) {
  max-width: 48ch;
  margin: 22px 0 0;
  color: var(--l-muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
}

.l-demo-video {
  overflow: hidden;
  border: 1px solid rgba(220, 232, 225, .9);
  border-radius: 34px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--l-shadow);
}

.l-video-topbar,
.l-video-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.l-video-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 18px 0 #f59e0b, 36px 0 var(--l-green);
}

.l-video-topbar b,
.l-video-bottom strong {
  color: var(--l-ink);
  font-size: 14px;
  font-weight: 900;
}

.l-video-topbar small,
.l-video-bottom small {
  color: var(--l-muted);
  font-size: 12px;
  font-weight: 800;
}

.l-video-stage {
  position: relative;
  height: 390px;
  margin: 0 18px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .95), rgba(231, 248, 238, .68) 52%, rgba(231, 239, 255, .68)),
    linear-gradient(135deg, #eef6f1, #ffffff);
}

.l-video-stage::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 30px;
  border: 1px dashed rgba(22, 179, 101, .28);
}

.l-video-car {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(62%, 360px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 26px 32px rgba(24, 42, 33, .16));
  animation: demo-car 7.4s ease-in-out infinite;
}

.l-video-scan {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 78px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(22, 179, 101, .95), transparent);
  box-shadow: 0 0 22px rgba(22, 179, 101, .55);
  animation: video-scan 4.2s ease-in-out infinite;
}

.l-video-target {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 90px;
  height: 34px;
  border: 2px solid var(--l-green);
  border-radius: 12px;
  background: rgba(255, 255, 255, .50);
  color: #0d7c45;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 0 0 5px rgba(22, 179, 101, .08);
  animation: target-pulse 3.4s ease-in-out infinite;
}

.l-video-target--front {
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
}

.l-video-target--side {
  right: 15%;
  top: 122px;
  animation-delay: .45s;
}

.l-video-target--plate {
  left: 16%;
  bottom: 126px;
  animation-delay: .9s;
}

.l-video-orbit {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(74%, 430px);
  aspect-ratio: 1.72;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(22, 179, 101, .18);
  border-radius: 999px;
}

.l-video-orbit span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(22, 179, 101, .38);
}

.l-video-orbit span:nth-child(1) { left: 50%; top: -4px; }
.l-video-orbit span:nth-child(2) { right: 15%; top: 10%; }
.l-video-orbit span:nth-child(3) { right: -4px; top: 50%; }
.l-video-orbit span:nth-child(4) { right: 15%; bottom: 10%; }
.l-video-orbit span:nth-child(5) { left: 50%; bottom: -4px; background: var(--l-green); box-shadow: 0 0 0 7px rgba(22, 179, 101, .12); }
.l-video-orbit span:nth-child(6) { left: 15%; bottom: 10%; }
.l-video-orbit span:nth-child(7) { left: -4px; top: 50%; }
.l-video-orbit span:nth-child(8) { left: 15%; top: 10%; }

.l-video-bottom {
  align-items: end;
}

.l-video-bottom div:first-child {
  display: grid;
  gap: 3px;
}

.l-video-progress {
  width: 170px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe7e0;
}

.l-video-progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--l-green);
  animation: progress-loop 5s ease-in-out infinite;
}

@keyframes demo-car {
  0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(-1deg); }
  50% { transform: translate(-50%, -50%) scale(1.035) rotate(1deg); }
}

@keyframes video-scan {
  0%, 100% { transform: translateY(0); opacity: .25; }
  55% { transform: translateY(224px); opacity: .95; }
}

@keyframes target-pulse {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; box-shadow: 0 0 0 7px rgba(22, 179, 101, .11); }
}

@keyframes progress-loop {
  0% { width: 22%; }
  55%, 100% { width: 86%; }
}

/* ── 3D background card scene ─────────────────────────────────────── */
.l-how-scene {
  position: relative;
}

.l-how-bg {
  position: absolute;
  inset: -88px -6%;
  perspective: 1200px;
  perspective-origin: 50% 40%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.l-flow {
  position: relative;
  z-index: 1;
}

.l-hc {
  position: absolute;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.75), rgba(238,246,241,.55));
  border: 1px solid rgba(22,179,101,.16);
  box-shadow: 0 12px 40px rgba(22,179,101,.06), inset 0 1px 0 rgba(255,255,255,.7);
  opacity: 0;
  will-change: transform, opacity;
}

/* Subtle icon placeholder */
.l-hc::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 16px;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(22,179,101,.13);
}

/* Content lines via box-shadow trick */
.l-hc::after {
  content: '';
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 16px;
  height: 4px;
  border-radius: 2px;
  background: rgba(22,179,101,.1);
  box-shadow:
    0 12px 0 rgba(22,179,101,.07),
    0 24px 0 rgba(0,0,0,.04);
}

/* ─ individual card positions & 3D transforms ─ */
.l-hc--1 {
  width: 252px; height: 166px;
  top: 12%; left: 3%;
  --rx: 22deg; --ry: -15deg; --tz: -28px;
  --d: 0.35s; --fd: 6.8s;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz));
}

.l-hc--2 {
  width: 220px; height: 144px;
  top: 8%; right: 3%;
  --rx: 20deg; --ry: 18deg; --tz: -50px;
  --d: 0.85s; --fd: 7.6s;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz));
}

.l-hc--3 {
  width: 188px; height: 124px;
  bottom: 14%; left: 6%;
  --rx: 30deg; --ry: -9deg; --tz: -105px;
  --d: 1.40s; --fd: 5.9s;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz));
}

.l-hc--4 {
  width: 210px; height: 138px;
  bottom: 10%; right: 5%;
  --rx: 27deg; --ry: 22deg; --tz: -80px;
  --d: 1.90s; --fd: 8.3s;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz));
}

.l-hc--5 {
  width: 270px; height: 162px;
  top: 1%; left: 30%;
  --rx: 40deg; --ry: -3deg; --tz: -175px;
  --d: 2.45s; --fd: 6.4s;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz));
}

/* ─ triggered when scene enters viewport ─ */
.l-how-bg.is-running .l-hc {
  animation:
    hc-appear .95s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s) both,
    hc-float var(--fd, 7s) ease-in-out calc(var(--d, 0s) + .95s) infinite;
}

@keyframes hc-appear {
  from {
    opacity: 0;
    transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(calc(var(--tz) - 190px)) scale(.78);
  }
  to {
    opacity: 1;
    transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz)) scale(1);
  }
}

@keyframes hc-float {
  0%, 100% {
    transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--tz)) translateY(0);
  }
  38% {
    transform: rotateX(calc(var(--rx) - 2deg)) rotateY(calc(var(--ry) + 1.5deg)) translateZ(var(--tz)) translateY(-12px);
  }
  72% {
    transform: rotateX(calc(var(--rx) + 1.2deg)) rotateY(calc(var(--ry) - 1deg)) translateZ(var(--tz)) translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .l-vision-card,
  .l-car-frame,
  .l-scan-line,
  .l-ai-box,
  .l-video-car,
  .l-video-scan,
  .l-video-target,
  .l-video-progress span,
  .l-flow-visual--timer circle:last-child,
  .l-flow-visual--orbit img,
  .l-flow-orbit,
  .l-flow-visual--report div,
  .l-decide-row {
    animation: none;
  }

  /* Boxes are opacity:0 by default; with no animation they'd stay invisible */
  .l-ai-box.is-detected,
  .l-ai-box--warning.is-detected,
  .l-ai-box--danger.is-detected {
    opacity: 1;
  }
}

.l-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.l-section--split {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 64px;
  align-items: start;
  border-top: 1px solid var(--l-faint);
}

.l-section h2,
.l-cta h2 {
  font-size: clamp(42px, 5vw, 72px);
}

.l-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.l-feature {
  min-height: 244px;
  padding: 22px;
  border: 1px solid var(--l-faint);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 34px rgba(24, 42, 33, .06);
}

.l-feature--ai {
  background: linear-gradient(180deg, rgba(231, 248, 238, .92), rgba(255, 255, 255, .82));
}

.l-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: var(--l-soft);
  color: var(--l-green-strong);
}

.l-feature-icon svg {
  width: 24px;
  height: 24px;
}

.l-feature strong {
  display: block;
  margin-bottom: 9px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.l-section--evidence {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  align-items: center;
  border-top: 1px solid var(--l-faint);
}

.l-evidence-copy p {
  max-width: 56ch;
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.7;
}

.l-evidence-list {
  display: grid;
  gap: 12px;
}

.l-evidence-list span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--l-faint);
  border-radius: 18px;
  background: #fff;
  color: #31423a;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(24, 42, 33, .06);
}

.l-evidence-list span::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 12px;
  border-radius: 999px;
  background: var(--l-green);
  box-shadow: 0 0 0 5px rgba(22, 179, 101, .13);
}

.l-cta {
  width: min(960px, calc(100% - 40px));
  margin: 18px auto 86px;
  padding: 72px 44px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .72)),
    linear-gradient(135deg, #dff8e9, #e7efff);
  text-align: center;
  box-shadow: var(--l-shadow);
}

.l-cta p {
  max-width: 48ch;
  margin: 18px auto 28px;
  font-size: 17px;
  line-height: 1.7;
}

.l-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  border-top: 1px solid var(--l-faint);
  font-size: 13px;
}

.auth-screen {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background:
    linear-gradient(180deg, rgba(231, 248, 238, .9), rgba(247, 250, 248, 0) 520px),
    var(--l-bg);
}

.auth-card {
  width: min(100%, 450px);
  padding: 30px 26px;
  border: 1px solid var(--l-faint);
  border-radius: 26px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--l-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.auth-brand {
  display: inline-block;
  margin-bottom: 20px;
}

.auth-title {
  margin: 0 0 6px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 36px;
  line-height: .95;
  font-weight: 800;
  color: var(--l-ink);
}

.auth-sub,
.auth-foot {
  color: var(--l-muted);
  font-size: 14px;
  font-weight: 600;
}

.auth-sub {
  margin: 0 0 22px;
}

.auth-error {
  margin-bottom: 16px;
  padding: 10px 13px;
  border: 1px solid rgba(220, 38, 38, .22);
  border-radius: 12px;
  background: rgba(254, 226, 226, .72);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

.auth-form .form-group {
  margin-bottom: 14px;
}

.auth-card .label {
  display: block;
  margin-bottom: 7px;
  color: #415249;
  font-size: 12px;
  font-weight: 900;
}

.auth-card .input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--l-faint);
  border-radius: 14px;
  background: #fff;
  color: var(--l-ink);
  outline: none;
}

.auth-card .input:focus {
  border-color: rgba(22, 179, 101, .58);
  box-shadow: 0 0 0 4px rgba(22, 179, 101, .13);
}

.auth-card .btn--primary {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  background: var(--l-green);
  color: #fff;
  border-radius: 999px;
}

.auth-foot {
  margin: 20px 0 0;
  text-align: center;
}

.auth-foot a {
  color: var(--l-green-strong);
  font-weight: 900;
}

.label-optional {
  color: var(--l-muted);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .l-hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 34px;
  }

  .l-h1 {
    max-width: 12ch;
  }

  .l-product-stage {
    min-height: 590px;
    grid-template-columns: 190px 292px;
  }

  .l-product-stage::before {
    inset: 58px 8vw 38px;
  }

  .l-client-demo,
  .l-section--split,
  .l-section--evidence {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .l-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .l-how-bg { display: none; }

  .l-copy-desktop {
    display: none;
  }

  .l-copy-mobile {
    display: inline;
  }

  .l-nav {
    width: min(100% - 28px, 1160px);
    min-height: 58px;
  }

  .l-logo {
    font-size: 24px;
  }

  .l-logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .l-link {
    display: none;
  }

  .l-hero,
  .l-client-demo,
  .l-section,
  .l-cta,
  .l-footer {
    width: min(100% - 28px, 1160px);
  }

  .l-flow {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 52px;
    border-radius: 24px;
  }

  .l-hero {
    min-height: auto;
    gap: 10px;
    padding: 14px 0 30px;
  }

  .l-h1 {
    max-width: 11ch;
    font-size: clamp(34px, 10.4vw, 44px);
    line-height: .98;
  }

  .l-lead {
    max-width: 27ch;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.42;
  }

  .l-hero-rotator {
    height: 0;
    margin-top: 0;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
  }

  .l-hero-rotator::before {
    width: 16px;
    margin-right: 8px;
  }

  .l-hero-rotator span {
    left: 24px;
  }

  .l-hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }

  .l-btn--lg {
    width: 100%;
    min-height: 50px;
  }

  .l-product-stage {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 6px;
    padding-bottom: 8px;
  }

  .l-phone {
    justify-self: center;
    order: 1;
    width: min(266px, 82vw);
    min-height: 450px;
  }

  .l-vision-stack {
    display: none;
  }

  .l-vision-card {
    width: 100%;
    min-height: 76px;
  }

  .l-phone-camera {
    height: 276px;
  }

  .l-product-stage::before {
    inset: 54px -4px 28px;
    border-radius: 32px;
  }

  .l-product-stage::after {
    display: none;
  }

  .l-feature-grid {
    grid-template-columns: 1fr;
  }

  .l-flow {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: -48px;
    padding-top: 72px;
    scroll-margin-top: 84px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .l-flow-track {
    display: none;
  }

  .l-flow-item {
    min-height: 156px;
    padding: 22px;
    border: 1px solid var(--l-faint);
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(24, 42, 33, .07);
  }

  .l-flow-item.is-active {
    box-shadow: 0 22px 48px rgba(24, 42, 33, .11);
  }

  .l-flow-visual {
    width: 104px;
    height: 78px;
    margin-bottom: 16px;
  }

  .l-flow-visual--timer svg {
    width: 76px;
    height: 76px;
  }

  .l-flow-visual--timer b {
    font-size: 26px;
  }

  .l-flow-visual--orbit {
    width: 136px;
  }

  .l-flow-visual--orbit img {
    width: 104px;
  }

  .l-client-demo {
    padding: 58px 0;
  }

  .l-client-copy h2 {
    max-width: 11ch;
  }

  .l-demo-video {
    border-radius: 28px;
  }

  .l-video-stage {
    height: 310px;
    margin: 0 12px;
    border-radius: 22px;
  }

  .l-video-car {
    width: min(74%, 320px);
  }

  .l-video-target {
    min-width: 76px;
    height: 30px;
    font-size: 10px;
  }

  .l-video-target--side {
    right: 8%;
  }

  .l-video-target--plate {
    left: 9%;
  }

  .l-video-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .l-video-progress {
    width: 100%;
  }

  .l-section {
    padding: 60px 0;
  }

  .l-feature {
    min-height: auto;
  }

  .l-section--evidence {
    padding-top: 60px;
  }

  .l-cta {
    margin-bottom: 52px;
    padding: 54px 22px;
    border-radius: 28px;
  }

  .l-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 26px 0;
  }
}

@media (max-width: 390px) {
  .l-nav-actions .l-btn {
    padding: 0 14px;
  }

  .l-h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .l-lead {
    font-size: 14px;
  }

  .l-phone {
    border-width: 7px;
    width: min(258px, 84vw);
    min-height: 440px;
  }

  .l-ai-box span {
    font-size: 8px;
    height: 20px;
    padding: 0 7px;
  }

  .l-product-stage {
    min-height: auto;
    padding-bottom: 8px;
  }
}
