/* Premium animated hero visual for the CLUB DEXA launch page. */
body,
button,
input {
  font-family: var(--font-body);
}

.hero-copy,
.hero-visual,
.waitlist,
.waitlist-form,
.field-row,
.goal-grid,
.scan-intro,
.offer,
.pricing,
.location,
.final-cta-inner {
  min-width: 0;
}

.hidden-field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.hero.hero-offer-led {
  width: min(100%, 1440px);
  min-height: clamp(720px, calc(100svh - 82px), 860px);
  margin: 0 auto;
  display: block;
  overflow: hidden;
  padding: 0;
  background: #f0f7f7;
  isolation: isolate;
}

.hero.hero-offer-led::before,
.hero.hero-offer-led::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero.hero-offer-led::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(240, 247, 247, 0.96) 0%, rgba(240, 247, 247, 0.86) 34%, rgba(240, 247, 247, 0.24) 60%, rgba(240, 247, 247, 0) 100%),
    linear-gradient(180deg, rgba(240, 247, 247, 0.8) 0%, rgba(240, 247, 247, 0) 32%, rgba(240, 247, 247, 0.18) 100%);
}

.hero.hero-offer-led::after {
  z-index: 1;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTM1OCA3NjMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+PHJlY3QgeD0iMCIgeT0iMCIgaGVpZ2h0PSIxMDAlIiB3aWR0aD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgb3BhY2l0eT0iMSIvPjxkZWZzPjxyYWRpYWxHcmFkaWVudCBpZD0iZ3JhZCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIGN4PSIwIiBjeT0iMCIgcj0iMTAiIGdyYWRpZW50VHJhbnNmb3JtPSJtYXRyaXgoMjguNCA5Mi41NSAtOTIuNTUgMjguNCAxMDkzLjUgNzAxKSI+PHN0b3Agc3RvcC1jb2xvcj0icmdiYSgyNTUsMjU1LDI1NSwwKSIgb2Zmc2V0PSIwIi8+PHN0b3Agc3RvcC1jb2xvcj0icmdiYSgyNTUsMjU1LDI1NSwwLjMzKSIgb2Zmc2V0PSIwLjYxNjgxIi8+PHN0b3Agc3RvcC1jb2xvcj0icmdiYSgyNTUsMjU1LDI1NSwwLjg3KSIgb2Zmc2V0PSIwLjgzODM3Ii8+PHN0b3Agc3RvcC1jb2xvcj0icmdiYSgyNTUsMjU1LDI1NSwxKSIgb2Zmc2V0PSIxIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PC9zdmc+");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 1;
}

.hero-offer-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.hero-offer-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: inherit;
  align-items: center;
  width: min(100% - 84px, 1324px);
  margin: 0 auto;
  padding: clamp(58px, 6.2vw, 92px) 0 clamp(52px, 5.2vw, 76px);
}

.hero-offer-led .hero-copy {
  width: min(100%, 650px);
}

.hero-offer-led h1 {
  width: min(calc(100vw - 84px), 1180px);
  max-width: none;
  margin-bottom: 20px;
  color: #08121f;
  font-family: var(--font-data);
  font-size: clamp(48px, 4.3vw, 64px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-offer-led .hero-title-primary,
.hero-offer-led .hero-title-secondary {
  display: block;
  white-space: nowrap;
}

.hero-offer-led .hero-title-secondary {
  margin-top: 8px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

.hero-offer-led .hero-subhead {
  max-width: 640px;
  margin-bottom: 10px;
  color: rgba(14, 61, 67, 0.74);
  font-size: clamp(17px, 1.18vw, 19px);
  font-weight: 640;
  line-height: 1.34;
}

.hero-offer-led .hero-fine-print {
  max-width: 560px;
  margin: 0 0 22px;
  color: rgba(14, 61, 67, 0.66);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 760;
  line-height: 1.38;
}

.hero-notes {
  display: grid;
  width: min(100%, 420px);
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hero-note {
  display: grid;
  grid-template-columns: 44px 18px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  min-height: 48px;
}

.hero-note + .hero-note {
  border-top: 1px solid rgba(14, 61, 67, 0.12);
}

.hero-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(40, 179, 176, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--aqua);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(15, 31, 35, 0.04);
}

.hero-note-icon svg {
  width: 20px;
  height: 20px;
}

.hero-note-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-note-rule {
  justify-self: center;
  width: 2px;
  height: 18px;
  border-radius: 999px;
  background: rgba(200, 162, 96, 0.78);
}

.hero-note-label {
  color: rgba(14, 61, 67, 0.74);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-signup-card {
  display: grid;
  width: min(100%, 454px);
  gap: 16px;
  margin-top: 2px;
  padding: 22px 24px 24px;
  border: 1px solid rgba(14, 61, 67, 0.14);
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 50% 100%, rgba(40, 179, 176, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 247, 0.94));
  box-shadow: 0 18px 48px rgba(15, 31, 35, 0.08);
}

.hero-signup-title {
  margin: 0;
  color: #08121f;
  font-family: var(--font-data);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.24;
}

.hero-signup-card input[type="email"] {
  min-height: 60px;
  border: 1px solid #d5e0e2;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.hero-signup-card input[type="email"]::placeholder {
  color: #75869a;
}

.hero-form-state-frame {
  display: grid;
  min-height: 60px;
  align-items: stretch;
}

.hero-form-state-frame > .hero-email-field,
.hero-form-state-frame > .hero-success-row {
  grid-area: 1 / 1;
  width: 100%;
}

.hero-email-field {
  display: block;
}

.hero-email-field[hidden] {
  display: none;
}

.hero-signup-card input[type="email"]:focus,
.hero-signup-card input[type="email"]:focus-visible,
.hero-signup-card:focus-within input[type="email"] {
  border-color: #168b90;
  outline: none;
  box-shadow:
    0 0 0 3px rgba(40, 179, 176, 0.28),
    0 0 0 5px rgba(14, 61, 67, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.hero-signup-button {
  width: 100%;
  min-height: 56px;
}

.hero-waitlist-form.is-submitting .hero-signup-button {
  border-color: rgba(183, 240, 239, 0.48);
  background: linear-gradient(135deg, var(--aqua), #168b90);
  box-shadow: 0 5px 14px rgba(14, 61, 67, 0.12);
  cursor: wait;
  filter: none;
  transform: none;
  animation: buttonBrighten 820ms var(--motion-curve) forwards;
}

.hero-waitlist-form.is-submitting .hero-signup-button::before,
.hero-waitlist-form.is-hold .hero-signup-button::before,
.hero-waitlist-form.is-success .hero-signup-button::before {
  opacity: 0;
}

.hero-waitlist-form.is-submitting .hero-signup-button .scan-layer {
  right: calc(100% - 34px);
  animation: scanSweep 820ms var(--motion-curve) forwards;
}

.hero-waitlist-form.is-submitting .hero-signup-button .scan-trail {
  opacity: 1;
}

.hero-waitlist-form.is-hold .hero-signup-button,
.hero-waitlist-form.is-success .hero-signup-button {
  border-color: rgba(183, 240, 239, 0.48);
  background: linear-gradient(135deg, #32c1bd, #168b90);
  box-shadow: 0 5px 14px rgba(14, 61, 67, 0.12);
  cursor: wait;
  filter: brightness(1.12);
  transform: none;
}

.hero-waitlist-form.is-hold .hero-signup-button .scan-layer,
.hero-waitlist-form.is-success .hero-signup-button .scan-layer {
  right: calc(100% - 34px);
}

.hero-waitlist-form.is-success .hero-signup-button .scan-axis,
.hero-waitlist-form.is-success .hero-signup-button .scan-trail {
  opacity: 0;
}

.hero-waitlist-form.is-success .hero-signup-button .scan-dot {
  top: calc(50% - 9px);
  left: 1px;
  width: 18px;
  height: 18px;
}

.hero-waitlist-form.is-success .hero-signup-button .scan-dot::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 7px;
  height: 4px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  rotate: -45deg;
}

.hero-success-row {
  min-height: 60px;
}

.hero-safe-note {
  max-width: 100%;
  margin: -2px 0 0;
  color: #52686d;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.hero-form-message {
  margin: -6px 0 0;
  font-size: 12px;
  text-align: center;
}

.hero-form-message:empty {
  display: none;
}

.hero-offer-led .location-line {
  grid-template-columns: 44px 18px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  max-width: 560px;
  margin-top: 20px;
  color: rgba(14, 61, 67, 0.72);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.hero-location-icon svg {
  width: 23px;
  height: 23px;
}

.hero-location-rule {
  justify-self: center;
  width: 2px;
  height: 18px;
  border-radius: 999px;
  background: rgba(200, 162, 96, 0.78);
}

.hero.hero-dynamic {
  width: min(100% - 48px, 1460px);
  grid-template-columns: minmax(410px, 0.82fr) minmax(620px, 1.18fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: center;
  padding: clamp(58px, 6.4vw, 92px) 0 clamp(76px, 7vw, 112px);
}

.hero.hero-dynamic::before {
  content: "";
  position: absolute;
  inset: 5% -6% 9% 32%;
  z-index: -2;
  border-radius: 999px;
  background:
    radial-gradient(circle at 44% 48%, rgba(200, 162, 96, 0.14), transparent 34%),
    radial-gradient(circle at 68% 34%, rgba(14, 61, 67, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(244, 246, 247, 0), rgba(244, 246, 247, 0.92));
  filter: blur(4px);
}

.hero.hero-dynamic h1 {
  max-width: 660px;
  font-size: clamp(52px, 4.9vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.hero-title-primary,
.hero-title-secondary {
  display: block;
}

.hero-title-primary {
  font: inherit;
}

.hero-title-secondary {
  margin-top: 0.03em;
  font-size: 0.78em;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero.hero-dynamic .hero-subhead {
  max-width: 610px;
  color: #314154;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.55;
}

.hero.hero-dynamic .price-anchor {
  margin-top: clamp(18px, 2.6vw, 28px);
}

.hero.hero-dynamic .button-primary {
  min-width: 350px;
  box-shadow: 0 20px 48px rgba(14, 61, 67, 0.2), 0 0 34px rgba(200, 162, 96, 0.16);
}

.hero.hero-dynamic .button-primary.scan-cta {
  box-shadow: 0 5px 14px rgba(14, 61, 67, 0.12);
}

.hero.hero-dynamic .button-ghost {
  min-width: 176px;
}

.hero-visual.is-dynamic-hero {
  position: relative;
  min-height: 640px;
  overflow: visible;
  isolation: isolate;
}

.hero-visual.is-dynamic-hero .hero-grid,
.hero-visual.is-dynamic-hero > img,
.hero-visual.is-dynamic-hero .floating-card {
  display: none;
}

.scanner-glow {
  position: absolute;
  inset: 4% 0 9% 0;
  z-index: -4;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.9), transparent 34%),
    radial-gradient(circle at 55% 50%, rgba(40, 179, 176, 0.16), transparent 38%),
    radial-gradient(circle at 65% 42%, rgba(14, 61, 67, 0.12), transparent 52%);
  filter: blur(6px);
}

.hero-orbit {
  position: absolute;
  z-index: -2;
  border: 1px dashed rgba(200, 162, 96, 0.42);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.75;
  animation: orbitPulse 7s ease-in-out infinite;
}

.orbit-one {
  left: 0;
  right: 7%;
  top: 25%;
  height: 290px;
  transform: rotate(-5deg);
}

.orbit-two {
  left: 20%;
  right: -3%;
  top: 19%;
  height: 390px;
  border-color: rgba(14, 61, 67, 0.18);
  transform: rotate(8deg);
  animation-delay: 1.2s;
}

.scanner-image-frame {
  position: absolute;
  left: 3%;
  right: 3%;
  top: 14%;
  z-index: 1;
  height: 430px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(14, 61, 67, 0.08);
  box-shadow: 0 34px 90px rgba(15, 31, 35, 0.1);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: scannerReveal 900ms cubic-bezier(.2,.8,.2,1) 180ms forwards;
}

.hero-visual.is-dynamic-hero .scanner-image-frame img {
  position: absolute;
  inset: 0;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  mix-blend-mode: multiply;
  transform: none;
  opacity: 0.98;
  filter: saturate(0.94) contrast(1.02);
}

.scanner-image-frame::before,
.scanner-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scanner-image-frame::before {
  z-index: 1;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.46) 9%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 74%, rgba(255, 255, 255, 0.5) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 58%, #fff 98%);
}

.scanner-image-frame::after {
  z-index: 2;
  background: radial-gradient(circle at 48% 42%, rgba(40, 179, 176, 0.11), transparent 34%);
}

.scanner-brand {
  position: absolute;
  z-index: 4;
  left: 51%;
  bottom: 18%;
  color: rgba(15, 31, 35, 0.52);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scanner-beam {
  position: absolute;
  z-index: 5;
  left: 51%;
  top: -20%;
  width: 8px;
  height: 140%;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(200, 162, 96, 0.22) 14%, rgba(200, 162, 96, 0.9) 48%, rgba(255, 255, 255, 0.92) 50%, rgba(200, 162, 96, 0.9) 52%, rgba(200, 162, 96, 0.28) 86%, transparent);
  box-shadow: 0 0 18px rgba(200, 162, 96, 0.52), 0 0 52px rgba(200, 162, 96, 0.32);
  opacity: 0.86;
  animation: beamSweep 5.8s ease-in-out 1.4s infinite;
}

.scanner-beam::after {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 1%;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 0 10px rgba(200, 162, 96, 0.72));
}

.hero-metric-card {
  position: absolute;
  z-index: 8;
  border: 1px solid rgba(14, 61, 67, 0.1);
  border-radius: var(--radius-feature);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  box-shadow: 0 22px 70px rgba(15, 31, 35, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(1.1);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: cardSettle 760ms cubic-bezier(.2,.8,.2,1) forwards, cardFloat 7s ease-in-out infinite;
}

.hero-metric-card h3 {
  margin: 0;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.body-composition-card {
  top: 58%;
  left: 7%;
  width: 300px;
  height: 200px;
  padding: 18px 22px;
  animation-delay: 320ms, 1.1s;
}

.body-composition-card dl {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
}

.body-composition-card div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: baseline;
}

.body-composition-card dt,
.body-composition-card dd {
  margin: 0;
  font-size: 12px;
  font-weight: 850;
}

.body-composition-card dd {
  text-align: right;
}

.body-composition-card dd span {
  display: inline-block;
  margin-left: 8px;
  color: var(--green);
  font-size: 11px;
}

.trend-card {
  top: 58%;
  right: 7%;
  width: 300px;
  height: 200px;
  padding: 18px 20px 14px;
  animation-delay: 520ms, 1.4s;
}

.trend-card header {
  position: relative;
  display: block;
  min-height: 62px;
}

.trend-card header div,
.trend-badge {
  display: grid;
  min-width: 76px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 22px rgba(15, 31, 35, 0.06);
  text-align: center;
}

.trend-card header div {
  position: absolute;
  left: 92px;
  top: 25px;
}

.trend-card strong,
.trend-badge {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.trend-card header span,
.trend-badge span {
  color: #516074;
  font-size: 9px;
  font-weight: 800;
}

.trend-card svg {
  width: 100%;
  height: 102px;
  margin-top: 0;
  overflow: visible;
}

.trend-card path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-grid {
  stroke: rgba(14, 61, 67, 0.08);
  stroke-width: 1;
}

.trend-navy,
.trend-green,
.score-card svg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawLine 1.65s ease forwards;
}

.trend-navy {
  stroke: var(--navy);
  stroke-width: 4;
  animation-delay: 1s;
}

.trend-green {
  stroke: var(--green);
  stroke-width: 3;
  animation-delay: 1.16s;
}

.week-labels text {
  fill: #657386;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.trend-badge {
  position: absolute;
  left: 20px;
  top: 43px;
  color: var(--green);
}

.balance-card {
  left: 0;
  bottom: 15%;
  width: 300px;
  padding: 22px;
  animation-delay: 720ms, 1.7s;
}

.balance-layout {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
}

@property --ring {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.donut {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 var(--ring), #dfe6ee var(--ring) 360deg);
  animation: ringFill 1.4s ease 1.05s forwards;
}

.donut::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.donut span {
  position: relative;
  z-index: 1;
  display: grid;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
  text-align: center;
}

.donut small {
  margin-top: 2px;
  color: #526173;
  font-size: 10px;
  font-weight: 800;
}

.balance-bars {
  display: grid;
  gap: 10px;
}

.balance-bars div {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 36px;
  gap: 8px;
  align-items: center;
  color: #536275;
  font-size: 10px;
  font-weight: 850;
}

.balance-bars div::before,
.balance-bars div::after {
  content: "";
  grid-column: 2;
  grid-row: 1;
  height: 5px;
  border-radius: 999px;
}

.balance-bars div::before {
  background: #e5ebf0;
}

.balance-bars div::after {
  width: 0;
  background: var(--green);
  animation: barGrow 1s ease 1.22s forwards;
}

.balance-bars strong {
  color: var(--ink);
  font-size: 10px;
}

.score-card {
  right: 0;
  top: 47%;
  width: 148px;
  padding: 20px 18px 16px;
  text-align: center;
  animation-delay: 900ms, 1.95s;
}

.score-card h3 {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.15;
}

.score-card > strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 52px;
  line-height: 0.95;
}

.score-card > span {
  color: #526173;
  font-size: 12px;
  font-weight: 850;
}

.score-card svg {
  width: 100%;
  height: 52px;
  margin-top: 10px;
}

.score-card svg path {
  fill: none;
  stroke: var(--green);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation-delay: 1.36s;
}

.hero-feature-strip {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0;
  z-index: 9;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(14, 61, 67, 0.1);
  border-radius: var(--radius-feature);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 58px rgba(15, 31, 35, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(16px);
  animation: featureStripIn 760ms cubic-bezier(.2,.8,.2,1) 1.05s forwards;
}

.hero.hero-dynamic + .waitlist {
  margin-top: clamp(48px, 5vw, 76px);
}

.hero-feature-strip div {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  gap: 3px 14px;
  min-height: 88px;
  padding: 20px 18px;
  align-items: center;
}

.hero-feature-strip div + div {
  border-left: 1px solid rgba(14, 61, 67, 0.11);
}

.hero-feature-strip strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.hero-feature-strip p {
  grid-column: 2;
  margin: 0;
  color: #526173;
  font-size: 12px;
  line-height: 1.35;
}

.feature-icon {
  position: relative;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--green);
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
}

.feature-icon.precise::before {
  width: 32px;
  height: 32px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.feature-icon.precise::after {
  width: 12px;
  height: 12px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.feature-icon.safe::before {
  width: 28px;
  height: 31px;
  border: 3px solid currentColor;
  border-radius: 14px 14px 8px 8px;
}

.feature-icon.safe::after {
  width: 8px;
  height: 14px;
  border: solid currentColor;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.feature-icon.fast::before {
  width: 14px;
  height: 30px;
  background: currentColor;
  clip-path: polygon(56% 0, 0 52%, 38% 52%, 22% 100%, 100% 40%, 60% 42%);
}

.feature-icon.actionable::before {
  left: 5px;
  bottom: 3px;
  width: 5px;
  height: 14px;
  border-radius: 4px;
  background: currentColor;
  box-shadow: 10px -7px 0 currentColor, 20px -17px 0 currentColor;
}

@keyframes scannerReveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardSettle {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes mobileCardFloat {
  0%, 100% { translate: -50% 0; }
  50% { translate: -50% -7px; }
}

@keyframes beamSweep {
  0%, 18% { transform: translateY(-12%); opacity: 0.28; }
  42%, 64% { opacity: 0.92; }
  82%, 100% { transform: translateY(12%); opacity: 0.42; }
}

@keyframes orbitPulse {
  0%, 100% { opacity: 0.34; scale: 0.985; }
  50% { opacity: 0.8; scale: 1.01; }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes ringFill {
  to { --ring: 331deg; }
}

@keyframes barGrow {
  to { width: var(--bar); }
}

@keyframes featureStripIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1260px) {
  .hero.hero-offer-led {
    min-height: clamp(700px, calc(100svh - 82px), 820px);
  }

  .hero-offer-content {
    width: min(100% - 64px, 1180px);
  }

  .hero-offer-led h1 {
    font-size: clamp(44px, 4.2vw, 56px);
  }

  .hero-offer-led .hero-title-secondary {
    font-size: clamp(28px, 3vw, 36px);
  }

  .hero.hero-dynamic {
    grid-template-columns: minmax(370px, 0.76fr) minmax(560px, 1.24fr);
    gap: 26px;
  }

  .hero.hero-dynamic h1 {
    font-size: clamp(48px, 4.8vw, 62px);
  }

  .hero-visual.is-dynamic-hero {
    min-height: 620px;
  }

  .scanner-image-frame {
    top: 15%;
    height: 390px;
  }

  .trend-card {
    right: 7%;
    width: 280px;
  }

  .body-composition-card {
    left: 7%;
    width: 280px;
  }

  .balance-card {
    width: 270px;
  }
}

@media (max-width: 1080px) {
  .hero.hero-offer-led {
    min-height: auto;
  }

  .hero.hero-offer-led::before {
    background:
      linear-gradient(180deg, rgba(240, 247, 247, 0.82) 0%, rgba(240, 247, 247, 0.54) 58%, rgba(240, 247, 247, 0.24) 100%),
      linear-gradient(90deg, rgba(240, 247, 247, 0.84), rgba(240, 247, 247, 0.04));
  }

  .hero.hero-offer-led::after {
    opacity: 0.76;
  }

  .hero-offer-photo {
    object-position: 56% center;
    opacity: 0.95;
  }

  .hero-offer-content {
    min-height: clamp(700px, calc(100svh - 82px), 820px);
    align-items: start;
    padding-top: clamp(52px, 7vw, 74px);
  }

  .hero-offer-led .hero-copy {
    width: min(100%, 620px);
  }

  .hero-offer-led h1 {
    width: 100%;
    max-width: 760px;
  }

  .hero-offer-led .hero-title-primary,
  .hero-offer-led .hero-title-secondary {
    white-space: normal;
  }

  .hero.hero-dynamic {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 48px;
  }

  .hero.hero-dynamic h1 {
    max-width: 760px;
    font-size: clamp(48px, 8vw, 66px);
  }

  .hero-visual.is-dynamic-hero {
    width: min(100%, 780px);
    min-height: 610px;
    margin: 0 auto;
  }

  .scanner-image-frame {
    left: 3%;
    right: 3%;
    top: 14%;
    height: 430px;
  }

  .body-composition-card {
    left: 0;
  }

  .trend-card {
    right: 7%;
  }

  .score-card {
    right: 3%;
  }

  .balance-card {
    left: 2%;
  }
}

@media (max-width: 760px) {
  .hero.hero-offer-led {
    width: 100%;
  }

  .hero.hero-offer-led::after {
    opacity: 0.42;
  }

  .hero-offer-photo {
    object-position: 58% center;
    opacity: 0.78;
    filter: saturate(1) brightness(1.02);
  }

  .hero-offer-content {
    width: min(100% - 28px, 640px);
    min-height: auto;
    padding: 30px 0 46px;
  }

  .hero-offer-led h1 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.02;
  }

  .hero-offer-led .hero-title-secondary {
    margin-top: 6px;
    font-size: clamp(23px, 6.5vw, 31px);
  }

  .hero-offer-led .hero-subhead {
    max-width: 100%;
    margin-bottom: 9px;
    font-size: 16px;
    line-height: 1.38;
  }

  .hero-offer-led .hero-fine-print {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.38;
  }

  .hero-notes {
    width: 100%;
    margin-bottom: 16px;
  }

  .hero-note {
    grid-template-columns: 40px 16px minmax(0, 1fr);
    column-gap: 9px;
    min-height: 44px;
  }

  .hero-note-icon {
    width: 34px;
    height: 34px;
  }

  .hero-note-icon svg {
    width: 18px;
    height: 18px;
  }

  .hero-note-label {
    font-size: 13px;
  }

  .hero-signup-card {
    width: 100%;
    gap: 12px;
    padding: 18px 20px 20px;
  }

  .hero-signup-title {
    font-size: 19px;
  }

  .hero-signup-card input[type="email"] {
    min-height: 56px;
  }

  .hero-safe-note {
    text-align: center;
  }

  .hero-offer-led .location-line {
    grid-template-columns: 40px 16px minmax(0, 1fr);
    column-gap: 9px;
    max-width: 100%;
    margin-top: 18px;
    font-size: 13px;
  }

  .hero-location-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero.hero-dynamic {
    width: min(100% - 28px, 640px);
    padding-top: 36px;
    padding-bottom: 68px;
  }

  .hero.hero-dynamic h1 {
    max-width: 100%;
    font-size: clamp(37px, 10vw, 48px);
    overflow-wrap: normal;
  }

  .hero.hero-dynamic .button-primary {
    min-width: 0;
  }

  .hero.hero-dynamic .button-ghost {
    width: auto;
    min-width: 0;
  }

  .hero-visual.is-dynamic-hero {
    min-height: 560px;
    overflow: visible;
    border-radius: 0;
  }

  .orbit-one,
  .orbit-two {
    display: none;
  }

  .scanner-image-frame {
    left: 0;
    right: 0;
    top: 0;
    height: 330px;
    border-radius: 20px;
  }

  .scanner-brand {
    left: 47%;
    bottom: 16%;
    font-size: 10px;
  }

  .scanner-beam {
    left: 52%;
  }

  .body-composition-card {
    left: 50%;
    right: auto;
    width: min(100%, 330px);
    transform: translateY(18px) scale(0.98);
    translate: -50% 0;
    animation-name: cardSettle, mobileCardFloat;
  }

  .body-composition-card {
    top: 350px;
  }

  .trend-card {
    display: none;
  }

  .hero-feature-strip {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero.hero-dynamic h1 {
    font-size: 34px;
  }

  .hero-visual.is-dynamic-hero {
    min-height: 520px;
  }

  .body-composition-card,
  .trend-card {
    width: calc(100% - 18px);
  }

  .body-composition-card {
    padding: 16px;
  }

  .body-composition-card dl {
    gap: 10px;
  }

  .trend-card {
    padding: 16px;
  }

  .trend-card svg {
    height: 128px;
  }

  .scanner-image-frame {
    height: 290px;
  }

  .hero-feature-strip strong {
    font-size: 13px;
  }

  .hero-feature-strip p {
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .hero-visual.is-dynamic-hero {
    min-height: 640px;
    overflow: visible;
    border-radius: 0;
  }

  .hero-visual.is-dynamic-hero .scanner-glow {
    inset: 0 0 18% 0;
  }

  .hero-visual.is-dynamic-hero .scanner-image-frame {
    left: 0;
    right: 0;
    top: 0;
    z-index: 5;
    height: 300px;
    border-radius: 20px;
  }

  .hero-visual.is-dynamic-hero .body-composition-card,
  .hero-visual.is-dynamic-hero .trend-card {
    left: 50%;
    right: auto;
    width: min(360px, calc(100% - 18px));
    max-width: calc(100% - 18px);
    height: auto;
    translate: -50% 0;
    z-index: 7;
    border-radius: var(--radius-feature);
    box-shadow: 0 16px 42px rgba(15, 31, 35, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    animation-name: cardSettle, mobileCardFloat;
  }

  .hero-visual.is-dynamic-hero .body-composition-card {
    top: 496px;
    min-height: 136px;
    padding: 14px 16px;
  }

  .hero-visual.is-dynamic-hero .body-composition-card dl {
    gap: 8px;
    margin-top: 9px;
  }

  .hero-visual.is-dynamic-hero .body-composition-card dt,
  .hero-visual.is-dynamic-hero .body-composition-card dd {
    font-size: 11px;
  }

  .hero-visual.is-dynamic-hero .body-composition-card dd span {
    margin-left: 6px;
    font-size: 10px;
  }

  .hero-visual.is-dynamic-hero .trend-card {
    top: 316px;
    display: block;
    min-height: 174px;
    padding: 13px 16px 11px;
  }

  .hero-visual.is-dynamic-hero .trend-card header {
    display: flex;
    min-height: 28px;
    align-items: flex-start;
    justify-content: space-between;
  }

  .hero-visual.is-dynamic-hero .trend-card header div {
    position: static;
    min-width: 68px;
    padding: 6px 8px;
  }

  .hero-visual.is-dynamic-hero .trend-card strong,
  .hero-visual.is-dynamic-hero .trend-badge {
    font-size: 13px;
  }

  .hero-visual.is-dynamic-hero .trend-card svg {
    width: calc(100% + 44px);
    height: 132px;
    margin: -14px -22px 0;
  }

  .hero-visual.is-dynamic-hero .trend-navy {
    stroke-width: 5;
  }

  .hero-visual.is-dynamic-hero .trend-green {
    stroke-width: 4;
  }

  .hero-visual.is-dynamic-hero .trend-badge {
    left: 16px;
    top: 44px;
    min-width: 68px;
    padding: 6px 8px;
  }
}

@media (max-width: 430px) {
  .hero-visual.is-dynamic-hero {
    min-height: 622px;
  }

  .hero-visual.is-dynamic-hero .scanner-image-frame {
    height: 270px;
  }

  .hero-visual.is-dynamic-hero .trend-card {
    top: 286px;
    min-height: 166px;
  }

  .hero-visual.is-dynamic-hero .trend-card svg {
    height: 122px;
  }

  .hero-visual.is-dynamic-hero .body-composition-card {
    top: 476px;
    min-height: 132px;
  }

  .hero-visual.is-dynamic-hero .body-composition-card dl {
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scanner-image-frame,
  .hero-metric-card,
  .hero-feature-strip,
  .hero-orbit,
  .scanner-beam,
  .trend-navy,
  .trend-green,
  .score-card svg path,
  .donut,
  .balance-bars div::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }

  .donut {
    --ring: 331deg;
  }

  .balance-bars div::after {
    width: var(--bar);
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .body-composition-card,
  .trend-card {
    translate: -50% 0 !important;
  }
}
