/* ============================================================
   Hero v2 — redesign per approved mockup (Aug 2026)
   Self-contained: all classes prefixed hx- so it cannot clash
   with the existing ls- styles used by the rest of the page.
   ============================================================ */


/* ---------- Nav ---------- */
.hx-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
  padding: 0 max(4vw, calc((100vw - 1440px) / 2));
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eeebf6;
}
.hx-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.hx-brand img { width: 132px; height: auto; }
.hx-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.hx-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #4b475c;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.hx-links a:hover { background: #f3effc; color: #2c2440; }
.hx-links a.is-active {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 58, 237, .28);
}
.hx-ico { font-size: 13px; line-height: 1; opacity: .85; }
.hx-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.hx-account {
  font-size: 14px;
  font-weight: 700;
  color: #7c3aed;
  text-decoration: none;
}
.hx-account:hover { color: #5b21b6; }
.hx-logout {
  padding: 10px 20px;
  border: 1px solid #e7e2f4;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #2c2440;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(44, 36, 64, .06);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.hx-logout:hover { border-color: #c9bdf0; box-shadow: 0 4px 12px rgba(44, 36, 64, .1); }

/* Mobile toggle (reuses existing JS hooks) */
.hx-nav .ls-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid #e7e2f4;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.hx-nav .ls-mobile-toggle svg {
  display: block;
  width: 21px;
  height: 21px;
  margin: auto;
  overflow: visible;
}
.hx-nav .ls-mobile-toggle .ls-menu-lines {
  fill: none;
  stroke: url(#lenspire-menu-gradient);
  stroke-width: 2;
  stroke-linecap: round;
}
.hx-nav .ls-mobile-toggle .ls-menu-spark {
  fill: #a33ce0;
  stroke: none;
}

/* ---------- Hero shell ---------- */
.hx-hero {
  position: relative;
  overflow: hidden;
  padding: 24px max(4vw, calc((100vw - 1440px) / 2)) 0;
  background:
    radial-gradient(1100px 520px at 78% 8%, rgba(139, 92, 246, .1), transparent 65%),
    linear-gradient(180deg, #f8f6fd 0%, #f1ecfa 100%);
}
.hx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: start;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ---------- Left copy ---------- */
.hx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid #ddd2f6;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #7c3aed;
}
.hx-badge span { font-size: 13px; }
.hx-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 4.6vw, 66px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.5px;
  color: #17141f;
}
.hx-copy h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #663cb0, #bd59c9, #d89955);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hx-lede {
  max-width: 480px;
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.6;
  color: #5d5772;
}
.hx-mobile-break { display: none; }
.hx-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 34px;
}
.hx-step { display: flex; align-items: center; gap: 12px; }
.hx-step-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #efe9fc;
  border: 1px solid #e2d8f8;
  color: #7c3aed;
  font-size: 19px;
  flex-shrink: 0;
}
.hx-step b { display: block; font-size: 15px; font-weight: 700; color: #221d31; }
.hx-step small { display: block; margin-top: 2px; font-size: 13px; color: #7a7490; }
.hx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 32px;
  border-radius: 13px;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(124, 58, 237, .32);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(124, 58, 237, .4); }
.hx-btn-primary span { font-size: 18px; transition: transform .18s ease; }
.hx-btn-primary:hover span { transform: translateX(3px); }
.hx-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border: 1px solid #e4def4;
  border-radius: 13px;
  background: #fff;
  color: #3d3654;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(44, 36, 64, .07);
  transition: border-color .18s ease, transform .18s ease;
}
.hx-btn-ghost:hover { border-color: #c9bdf0; transform: translateY(-2px); }
.hx-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1ebfd;
  color: #7c3aed;
  font-size: 11px;
}

/* ---------- Right visual ---------- */
.hx-visual {
  position: relative;
  min-height: 640px;
}
.hx-rings, .hx-rings::before, .hx-rings::after {
  content: "";
  position: absolute;
  top: 46%;
  left: 44%;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(124, 58, 237, .14);
  border-radius: 50%;
}
.hx-rings { width: 640px; height: 640px; }
.hx-rings::before { width: 470px; height: 470px; border-color: rgba(124, 58, 237, .18); }
.hx-rings::after { width: 310px; height: 310px; border-color: rgba(124, 58, 237, .22); }
.hx-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #a78bfa;
  opacity: .55;
}
.hx-dot--1 { top: 12%; left: 6%; }
.hx-dot--2 { top: 40%; left: 2%; width: 9px; height: 9px; background: #c4b5fd; }
.hx-dot--3 { top: 74%; left: 12%; width: 8px; height: 8px; background: #8b5cf6; }

/* Phone */
.hx-phone {
  position: absolute;
  z-index: 2;
  top: 40px;
  left: 50%;
  transform: translateX(-58%);
  width: 300px;
  padding: 14px 18px 22px;
  border-radius: 38px;
  background: #f8f5ff;
  border: 1px solid #ddd5ef;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, .72),
    0 30px 70px rgba(63, 43, 120, .18);
}
.hx-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 8px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #221d31;
}
.hx-phone-status b { font-size: 10px; letter-spacing: 2px; color: #55506b; }
.hx-phone-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px 12px;
  border-bottom: 1px solid #f1eef9;
}
.hx-phone-head img { width: 86px; height: auto; }
.hx-burger { display: inline-flex; flex-direction: column; gap: 4px; }
.hx-burger i { width: 18px; height: 2px; border-radius: 2px; background: #2c2440; }
.hx-phone-body { position: relative; min-height: 348px; text-align: center; padding-top: 16px; }
.hx-phone-body h2 { margin: 0; font-size: 19px; font-weight: 800; color: #17141f; }
.hx-phone-sub { margin: 5px 0 16px; font-size: 12px; color: #7a7490; }
.hx-phone-stage--scan { animation: hx-stage-scan 10s ease-in-out infinite; }
.hx-phone-stage--results {
  position: absolute;
  inset: 16px 0 0;
  opacity: 0;
  transform: translateY(7px);
  animation: hx-stage-results 10s ease-in-out infinite;
}
.hx-result-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f1e9ff;
  color: #7133c7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}
.hx-result-status i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #c044d8);
  color: #fff;
  font-style: normal;
}
.hx-phone-stage--results > p { margin: 5px 0 12px; color: #7a7490; font-size: 11.5px; }
.hx-result-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hx-result-photos i {
  height: auto;
  aspect-ratio: 1;
  border: 2px solid #fff;
  border-radius: 11px;
  background-image: url('/static/demo-bridal-gallery-v1.png');
  background-size: 300% auto;
  background-repeat: no-repeat;
  box-shadow: 0 6px 16px rgba(63,43,120,.14);
}
.hx-result-photos i:nth-child(1) { background-position: 0 0; }
.hx-result-photos i:nth-child(2) { background-position: 50% 0; }
.hx-result-photos i:nth-child(3) { background-position: 100% 0; }
.hx-result-photos i:nth-child(4) { background-position: 0 100%; }
.hx-result-photos i:nth-child(5) { background-position: 50% 100%; }
.hx-result-photos i:nth-child(6) { background-position: 100% 100%; }
.hx-result-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 13px;
  min-height: 39px;
  border-radius: 11px;
  background: linear-gradient(135deg, #7133c7, #a33ce0);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(124,58,237,.22);
}
.hx-result-button b { font-size: 16px; }
.hx-phone-stage--results > small { display: block; margin-top: 8px; color: #817a95; font-size: 9.5px; }
.hx-result-ready { display: none; }

/* Face circle */
.hx-face {
  position: relative;
  width: 158px;
  height: 158px;
  margin: 0 auto 14px;
}
.hx-face-ring {
  position: absolute;
  inset: -9px;
  border: 2px dashed #a78bfa;
  border-radius: 50%;
  animation: hx-spin 16s linear infinite;
}
.hx-avatar {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  /* The source includes generous scanner artwork around the portrait.
     Zoom the photo so the subject, rather than those baked-in rings,
     fills our live scanner circle. */
  background: #fff url('/static/collage/lenspire-selfie-bride.png') center / cover no-repeat;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #ddd2f6, 0 10px 26px rgba(124, 58, 237, .16);
}
.hx-avatar::before,
.hx-avatar::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hx-avatar::before {
  z-index: 2;
  top: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #67e8f9 18%, #a855f7 50%, #67e8f9 82%, transparent);
  box-shadow: 0 -5px 11px rgba(103, 232, 249, .28), 0 5px 12px rgba(168, 85, 247, .52), 0 10px 22px rgba(124, 58, 237, .2);
  animation: hx-face-scan 2.8s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
.hx-avatar::after {
  z-index: 1;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(255,255,255,.12) 15px 16px),
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(139,92,246,.08) 15px 16px);
  opacity: .42;
  -webkit-mask-image: radial-gradient(circle, #000 28%, transparent 78%);
  mask-image: radial-gradient(circle, #000 28%, transparent 78%);
}
.hx-scan-label { display: block; font-size: 13.5px; font-weight: 700; color: #221d31; }
.hx-scan-sub { display: block; margin: 3px 0 10px; font-size: 11.5px; color: #8b85a3; }
.hx-bar {
  height: 6px;
  border-radius: 999px;
  background: #ede9f8;
  overflow: hidden;
}
.hx-bar i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  animation: hx-sweep 2.6s ease-in-out infinite alternate;
}
.hx-search-card {
  margin-top: 16px;
  padding: 13px 16px 15px;
  border: 1px solid #eeebf7;
  border-radius: 14px;
  background: #fbfaff;
  box-shadow: 0 6px 18px rgba(63, 43, 120, .08);
  text-align: left;
}
.hx-search-card small { display: block; font-size: 11px; color: #8b85a3; }
.hx-search-card b {
  display: block;
  margin: 3px 0 2px;
  font-size: 21px;
  font-weight: 800;
  color: #17141f;
}
.hx-search-card b span { font-size: 14px; font-weight: 700; color: #55506b; }
.hx-search-card .hx-bar { margin-top: 9px; }
.hx-search-card .hx-bar i { width: 74%; }

/* Floating cards */
.hx-card {
  position: absolute;
  z-index: 3;
  padding: 10px 13px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #efebf8;
  box-shadow: 0 14px 34px rgba(63, 43, 120, .14);
}
.hx-card--match {
  top: 96px;
  right: 12px;
  min-width: 166px;
  animation: hx-float 5.2s ease-in-out infinite alternate;
}
.hx-card--match .hx-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #221d31;
}
.hx-card--match .hx-card-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #ede9fd;
  color: #7c3aed;
  font-size: 9px;
}
.hx-card--match strong { font-size: 21px; font-weight: 800; color: #7c3aed; }
.hx-card--match em { font-style: normal; font-size: 11px; font-weight: 700; color: #4f8df9; }
.hx-card--private {
  top: 164px;
  right: 10px;
  animation: hx-float 6.4s ease-in-out infinite alternate-reverse;
}
.hx-card--private .hx-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  font-size: 11px;
  font-weight: 800;
  color: #221d31;
}
.hx-card--private small { display: block; margin-top: 2px; font-size: 10px; color: #8b85a3; }
.hx-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #7c3aed;
  color: #fff;
  font-size: 10px;
}

/* Photo collage */
.hx-collage {
  position: absolute;
  z-index: 1;
  right: 4px;
  bottom: 28px;
  width: 258px;
  height: 336px;
  background: url('/static/collage/lenspire-bridal-collage.png') center / contain no-repeat;
  animation: hx-float 7s ease-in-out infinite alternate;
}
.hx-collage i {
  display: none;
}

/* ---------- Feature strip ---------- */
.hx-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1400px;
  margin: 18px auto 0;
  padding: 18px 0 34px;
  border-top: 1px solid rgba(124, 58, 237, .12);
}
.hx-features > div { display: flex; align-items: center; gap: 13px; }
.hx-feat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e9e3f8;
  color: #7c3aed;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(63, 43, 120, .08);
}
.hx-features b { display: block; font-size: 14.5px; font-weight: 700; color: #221d31; }
.hx-features small { display: block; margin-top: 2px; font-size: 12.5px; color: #7a7490; }

/* ---------- Animations ---------- */
@keyframes hx-spin { to { transform: rotate(360deg); } }
@keyframes hx-stage-scan {
  0%, 51% { opacity: 1; transform: translateY(0); }
  58%, 94% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes hx-stage-results {
  0%, 52% { opacity: 0; transform: translateY(7px); }
  60%, 92% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-5px); }
}
@keyframes hx-face-scan {
  from { transform: translateY(12px); opacity: .65; }
  50% { opacity: 1; }
  to { transform: translateY(var(--hx-scan-distance, 140px)); opacity: .78; }
}
@keyframes hx-sweep {
  from { transform: translateX(-60%); }
  to { transform: translateX(220%); }
}
@keyframes hx-float { to { transform: translateY(-9px); } }
@keyframes hx-mobile-aurora {
  0%, 100% { transform: translate3d(-2%, -1%, 0) scale(1); }
  50% { transform: translate3d(3%, 2%, 0) scale(1.06); }
}
@keyframes hx-mobile-dots {
  0%, 100% { transform: translateY(0); opacity: .3; }
  50% { transform: translateY(-10px); opacity: .48; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-face-ring, .hx-avatar::before, .hx-bar i, .hx-card--match, .hx-card--private, .hx-collage, .hx-phone-stage { animation: none; }
  .hx-hero::before, .hx-hero::after { animation: none; }
  .hx-avatar::before { transform: translateY(76px); }
  .hx-phone-stage--scan { display: none; }
  .hx-phone-stage--results { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hx-links a { padding: 9px 10px; font-size: 13px; }
  .hx-card--match { right: 14px; }
  .hx-card--private { right: 12px; }
  .hx-collage { right: 0; }
}
/* Switch to the stacked composition before the desktop visual becomes
   crowded. This covers landscape tablets and small laptops as well. */
@media (max-width: 1180px) {
  .hx-hero { padding-top: 32px; }
  .hx-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hx-copy { text-align: center; }
  .hx-lede { margin-inline: auto; }
  .hx-steps, .hx-cta { justify-content: center; }
  .hx-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  /* Shift the phone left so the floating cards and collage
     sit beside it instead of on top of it. */
  .hx-phone { left: 0; transform: none; margin-left: 4%; }
  .hx-rings { left: 42%; }
  .hx-collage { width: 246px; height: 320px; right: 0; bottom: 18px; }
  .hx-features { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
}
@media (max-width: 900px) {
  .hx-links, .hx-account { display: none; }
  .hx-nav { justify-content: space-between; }
  .hx-actions { margin-left: auto; }
  .hx-nav .ls-mobile-toggle { display: flex; }
}
@media (max-width: 640px) {
  .hx-hero { padding-top: 14px; }
  .hx-hero-grid { gap: 26px; }
  .hx-badge {
    padding: 8px 13px;
    font-size: 10px;
    letter-spacing: .09em;
  }
  .hx-copy h1 {
    margin: 16px 0 12px;
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.08;
    letter-spacing: -1px;
  }
  .hx-lede {
    margin-bottom: 20px;
    padding-inline: 4px;
    font-size: 15px;
    line-height: 1.5;
  }
  .hx-steps {
    gap: 12px;
    margin-bottom: 22px;
  }
  .hx-step-ico {
    width: 42px;
    height: 42px;
  }
  .hx-face {
    width: 142px;
    height: 142px;
    margin-bottom: 12px;
  }
  .hx-cta { gap: 10px; }
  .hx-btn-primary,
  .hx-btn-ghost { padding-block: 14px; }
  .hx-visual { min-height: 0; display: flex; justify-content: center; }
  .hx-features { margin-top: 10px; padding-top: 16px; }
  .hx-rings { display: none; }
  .hx-dot { display: none; }
  .hx-card, .hx-collage { display: none; }
  .hx-phone {
    position: relative;
    top: 0;
    left: 0;
    width: min(370px, 100%);
    box-sizing: border-box;
    transform: none;
    margin: 0 auto;
  }
}
@media (max-width: 440px) {
  .hx-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .hx-features > div { min-width: 0; gap: 8px; }
  .hx-feat-ico { width: 36px; height: 36px; font-size: 15px; }
  .hx-features b { font-size: 11px; line-height: 1.2; white-space: nowrap; }
  .hx-features small { font-size: 9px; line-height: 1.25; white-space: nowrap; }
  .hx-nav {
    height: 64px;
    gap: 9px;
    padding-inline: 14px;
  }
  .hx-brand img { width: 116px; }
  .hx-actions { gap: 8px; }
  .hx-logout {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
  }
  .hx-nav .ls-mobile-toggle {
    width: 34px;
    height: 34px;
    padding-inline: 8px;
  }
  .hx-phone { min-height: 620px; padding: 8px 14px 18px; }
  .hx-phone-status { padding-top: 0; padding-bottom: 4px; }
  .hx-phone-head { padding-top: 2px; padding-bottom: 4px; }
  .hx-phone-head img { width: 118px; }
  .hx-phone-body { min-height: 500px; padding-top: 4px; }
  .hx-phone-sub { margin-top: 3px; margin-bottom: 10px; }
  .hx-result-ready {
    display: block;
    margin-top: 13px;
    padding: 12px;
    border: 1px solid #e8e0fb;
    border-radius: 14px;
    background: linear-gradient(135deg, #faf8ff 0%, #f5efff 58%, #fff8fc 100%);
    box-shadow: 0 9px 24px rgba(90, 61, 145, .08);
    text-align: left;
  }
  .hx-result-ready-head { display: flex; align-items: center; gap: 9px; }
  .hx-result-ready-head > span {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed, #c044d8);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 5px 12px rgba(124, 58, 237, .2);
  }
  .hx-result-ready-head b { display: block; color: #2a2238; font-size: 11px; line-height: 1.25; }
  .hx-result-ready-head small { display: block; margin-top: 2px; color: #817a95; font-size: 8.5px; }
  .hx-result-ready-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 10px; }
  .hx-result-ready-actions span {
    padding: 6px 3px;
    border: 1px solid rgba(124, 58, 237, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .76);
    color: #655c77;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
  }
  .hx-hero-grid { gap: 14px; }
  .hx-face {
    width: clamp(230px, 72vw, 276px);
    height: clamp(230px, 72vw, 276px);
    margin: 0 auto 10px;
  }
  .hx-avatar { --hx-scan-distance: calc(clamp(230px, 72vw, 276px) - 24px); }
  .hx-scan-sub { margin-top: 2px; margin-bottom: 7px; }
  .hx-search-card {
    margin-top: 8px;
    padding: 8px 11px 9px;
    border-radius: 11px;
  }
  .hx-search-card small { font-size: 9px; }
  .hx-search-card b { margin-block: 1px; font-size: 17px; }
  .hx-search-card b span { font-size: 11px; }
  .hx-search-card .hx-bar { margin-top: 5px; }
  .hx-hero {
    isolation: isolate;
    padding-top: 4px;
    background: #fff;
  }
  .hx-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: -12% -18%;
    background:
      radial-gradient(circle at 18% 22%, rgba(124,58,237,.17), transparent 25%),
      radial-gradient(circle at 84% 18%, rgba(217,119,179,.16), transparent 27%),
      radial-gradient(circle at 72% 72%, rgba(245,184,88,.13), transparent 29%),
      radial-gradient(circle at 14% 78%, rgba(56,189,248,.1), transparent 24%);
    filter: blur(3px);
    animation: hx-mobile-aurora 9s ease-in-out infinite;
  }
  .hx-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(circle, rgba(124,58,237,.22) 1px, transparent 1.3px);
    background-size: 22px 22px;
    opacity: .34;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 58%);
    mask-image: linear-gradient(to bottom, #000, transparent 58%);
    animation: hx-mobile-dots 7s ease-in-out infinite;
  }
  .hx-badge { padding: 5px 10px; font-size: 8.5px; line-height: 1.2; }
  .hx-copy h1 { margin-top: 7px; font-size: clamp(32px, 9.6vw, 38px); }
  .hx-lede { margin-bottom: 16px; font-size: 12px; line-height: 1.45; }
  .hx-mobile-break { display: block; }
  .hx-steps {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    margin-bottom: 16px;
  }
  .hx-step {
    min-width: 0;
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }
  .hx-step > div { width: 100%; }
  .hx-step-ico { width: 38px; height: 38px; border-radius: 11px; font-size: 16px; }
  .hx-step b { font-size: 11px; line-height: 1.15; white-space: nowrap; }
  .hx-step small { font-size: 9px; line-height: 1.2; white-space: nowrap; }
  .hx-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }
  .hx-btn-primary, .hx-btn-ghost { width: auto; justify-content: center; white-space: nowrap; }
  .hx-btn-primary, .hx-btn-ghost {
    min-height: 44px;
    padding: 9px 7px;
    border-radius: 11px;
    font-size: 10.5px;
  }
  .hx-play { width: 25px; height: 25px; }
  .hx-cta-note { margin-top: 8px; font-size: 10px; }
}
