/* ===== LANDING — Download Android app ===== */
body.landing-page .download-app-section {
  --dap-nav: var(--landing-nav-height, 76px);
  --dap-offset: var(--landing-nav-offset, var(--landing-hero-offset, var(--dap-nav)));
  --dap-screen: clamp(340px, calc(100svh - var(--dap-offset) - 240px), 480px);
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 36px clamp(20px, 4vw, 40px) 48px;
  background:
    radial-gradient(ellipse 50% 60% at 12% 20%, rgba(6, 147, 150, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 40% 50% at 92% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, #012a4a 0%, #01344f 48%, #012033 100%);
  scroll-margin-top: var(--dap-offset);
  min-height: calc(100svh - var(--dap-offset));
  overflow-x: clip;
  overflow-y: visible;
}

html.lsa-ready .landing-page .download-app-section .lsa:not(.lsa-visible) {
  opacity: 1;
  transform: none;
}

.download-app__glow {
  position: absolute;
  right: 0;
  bottom: -18%;
  width: min(380px, 42%);
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 147, 150, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.download-app__container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.download-app-section .download-app__header {
  margin-bottom: 16px;
}

.download-app-section .download-app__header .services-title {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.download-app-section .download-app__header .services-desc {
  margin: 0 auto;
  max-width: 54ch;
  font-size: 14.5px;
  line-height: 1.55;
}

.download-app-section .download-app__header .services-title,
.download-app-section .download-app__header .services-desc {
  color: #f0f9fa;
}

.download-app-section .download-app__header .services-brand {
  color: #5eead4;
}

.download-app__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5eead4;
}

.download-app__grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}

.download-app__phone-col {
  --dap-carousel-ms: 4200ms;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 0 8px 16px;
}

.download-app__device {
  width: min(340px, 100%);
  height: auto;
  padding: 10px 10px 12px;
  border-radius: 36px;
  background: linear-gradient(180deg, #12384a 0%, #0b2233 55%, #071722 100%);
  border: 1px solid rgba(94, 234, 212, 0.32);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 36px rgba(6, 147, 150, 0.16);
}

.download-app__device-notch {
  width: 92px;
  height: 10px;
  margin: 4px auto 10px;
  border-radius: 99px;
  background: rgba(2, 6, 23, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  position: relative;
}

.download-app__device-notch::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.35);
}

.download-app__viewport {
  position: relative;
  overflow: hidden;
  height: var(--dap-screen, 420px);
  max-height: min(520px, calc(100svh - var(--dap-offset) - 220px));
  border-radius: 24px;
  background: #f4f8fa;
}

.download-app__preview-note {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.download-app__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.download-app__slide {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(14%, 0, 0) scale(0.97);
  transition: opacity 720ms ease, transform 720ms ease;
  pointer-events: none;
  z-index: 0;
}

.download-app__slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  z-index: 2;
}

.download-app__slide.is-leaving {
  opacity: 0;
  transform: translate3d(-10%, 0, 0) scale(0.98);
  z-index: 1;
}

.download-app__slide.is-leaving.is-back,
.download-app__slide.is-back:not(.is-active) {
  transform: translate3d(10%, 0, 0) scale(0.98);
}

.download-app__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 4px 0 0;
  padding: 6px 8px 10px;
  position: relative;
  z-index: 2;
}

.download-app__dots button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.download-app__dots button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.download-app__dots button.is-active::after {
  width: 22px;
  height: 8px;
  background: rgba(94, 234, 212, 0.28);
}

.download-app__dots button.is-playing::before {
  content: "";
  position: absolute;
  left: calc(50% - 11px);
  top: calc(50% - 4px);
  width: 22px;
  height: 8px;
  border-radius: 99px;
  background: #5eead4;
  transform: scaleX(0);
  transform-origin: left center;
  animation: dap-dot-progress var(--dap-carousel-ms, 4200ms) linear forwards;
  box-shadow: 0 0 10px rgba(94, 234, 212, 0.55);
  z-index: 1;
}

@keyframes dap-dot-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.download-app__phone-col.is-paused .download-app__dots button.is-playing::before,
.download-app__phone-col.is-paused .dap-vc__dot {
  animation-play-state: paused;
}

/* ---- Slide: Patient dashboard ---- */
.dap-dash {
  height: 100%;
  padding: 12px 11px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  background: #f4f8fa;
}

.dap-dash__hero {
  padding: 12px 12px 14px;
  border-radius: 14px;
  border: 1px solid #cce8ec;
  background: linear-gradient(135deg, #f0fdfa 0%, #e6f7f8 45%, #fff 100%);
}

.dap-dash__eyebrow {
  margin: 0 0 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #028090;
}

.dap-dash__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.dap-dash__sub {
  margin: 0 0 8px;
  font-size: 10px;
  line-height: 1.4;
  color: #64748b;
}

.dap-dash__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.dap-dash__badge {
  padding: 4px 8px;
  border-radius: 99px;
  font-size: 8.5px;
  font-weight: 700;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.dap-dash__badge--verified {
  background: #028090;
  border-color: #028090;
  color: #fff;
}

.dap-dash__actions {
  display: flex;
  gap: 6px;
}

.dap-dash__cta {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border-radius: 8px;
  background: linear-gradient(135deg, #028090 0%, #056770 100%);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
}

.dap-dash__cta--outline {
  background: #fff;
  color: #028090;
  border: 1px solid #cbd5e1;
}

.dap-dash__complaint {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}

.dap-dash__complaint strong {
  display: block;
  font-size: 11.5px;
  color: #0f172a;
}

.dap-dash__complaint p {
  margin: 3px 0 8px;
  font-size: 10px;
  line-height: 1.4;
  color: #64748b;
}

.dap-dash__complaint span {
  display: block;
  text-align: center;
  padding: 7px 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, #028090 0%, #056770 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.dap-dash__quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dap-dash__quick span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
}

/* ---- Slide: Video consultation ---- */
.dap-vc {
  height: 100%;
  background: #0b1220;
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.dap-vc__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 10px 28px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.82) 0%, rgba(2, 6, 23, 0) 100%);
}

.dap-vc__who {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dap-vc__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.22);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.dap-vc__who strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.dap-vc__who em {
  display: block;
  font-style: normal;
  font-size: 9px;
  color: #94a3b8;
  margin-top: 1px;
}

.dap-vc__timer {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}

.dap-vc__status {
  position: absolute;
  top: 58px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(30, 41, 59, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 10px;
  font-weight: 700;
}

.dap-vc__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  animation: dap-live-pulse 1.5s ease-in-out infinite;
}

@keyframes dap-live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1); opacity: 0.72; }
}

.dap-vc__stage {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(13, 148, 136, 0.22), transparent 48%),
    #0f172a;
}

.dap-vc__main-label {
  position: absolute;
  left: 10px;
  bottom: 78px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 10px;
  font-weight: 700;
}

.dap-vc__pip {
  position: absolute;
  top: 72px;
  right: 10px;
  width: 78px;
  height: 104px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: #1e293b;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  font-size: 9px;
  font-weight: 700;
}

.dap-vc__bar {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.dap-vc__btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #334155;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dap-vc__leave {
  min-width: 52px;
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---- Slide: Consultation completed ---- */
.dap-done {
  height: 100%;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(6, 147, 150, 0.12), transparent 55%),
    #f4f8fa;
}

.dap-done__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #012a4a;
}

.dap-done__brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
}

.dap-done__check {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #069396;
  background: rgba(6, 147, 150, 0.12);
  box-shadow: 0 0 0 6px rgba(6, 147, 150, 0.06);
}

.dap-done h3 {
  margin: 0 0 6px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #012a4a;
  letter-spacing: -0.03em;
}

.dap-done__sub {
  margin: 0 0 12px;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.45;
  color: #334155;
}

.dap-done__meta {
  margin: 0 0 10px;
  padding: 8px 10px 4px;
  background: #fff;
  border: 1px solid #e2edf1;
  border-radius: 12px;
}

.dap-done__meta div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #e2edf1;
}

.dap-done__meta div:last-child {
  border-bottom: 0;
}

.dap-done__meta dt {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  color: #608395;
}

.dap-done__meta dd {
  margin: 0;
  font-size: 10.5px;
  font-weight: 700;
  color: #012a4a;
  text-align: right;
}

.dap-done__saved {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(6, 147, 150, 0.1);
  border: 1px solid rgba(6, 147, 150, 0.22);
}

.dap-done__saved strong {
  display: block;
  font-size: 11px;
  color: #057a7c;
}

.dap-done__saved strong::before {
  content: "✓ ";
}

.dap-done__saved span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #334155;
}

.dap-done__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 10px;
  background: #069396;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-top: 8px;
}

/* ---- Slide: Health summary ---- */
.dap-health {
  height: 100%;
  padding: 12px 11px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 7px;
  background: #f8fafc;
}

.dap-health__hero {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(2, 128, 144, 0.18);
  background: linear-gradient(145deg, #f0fdfa 0%, #ffffff 42%, #f8fafc 100%);
}

.dap-health__hero p {
  margin: 0 0 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0f766e;
}

.dap-health__hero h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.dap-health__chip {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 9px;
  font-weight: 700;
  color: #475569;
}

.dap-health__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 9px 11px;
}

.dap-health__card em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
}

.dap-health__card span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #64748b;
}

.dap-health__foot {
  margin: 8px 0 0;
  font-size: 9.5px;
  color: #608395;
  text-align: center;
}

/* ---- Slide: Care tips ---- */
.dap-care {
  height: 100%;
  padding: 12px 11px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  background: #f4f8fa;
}

.dap-care__hero {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #cce8ec;
  background: linear-gradient(135deg, #f0fdfa 0%, #fff 100%);
}

.dap-care__hero p {
  margin: 0 0 2px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #028090;
}

.dap-care__hero h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.dap-care__hero span {
  font-size: 10px;
  color: #64748b;
}

.dap-care__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 12px;
}

.dap-care__card--ready {
  border-color: rgba(6, 147, 150, 0.28);
  background: rgba(6, 147, 150, 0.06);
}

.dap-care__card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.dap-care__card-head strong {
  font-size: 11.5px;
  color: #0f172a;
}

.dap-care__card-head em {
  font-style: normal;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 99px;
  background: #fef3c7;
  color: #92400e;
}

.dap-care__card--ready .dap-care__card-head em {
  background: #ccfbf1;
  color: #0f766e;
}

.dap-care__card p {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  color: #64748b;
}

.download-app__panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 237, 241, 0.8);
  border-radius: 20px;
  padding: 18px 22px 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  min-width: 0;
}

.download-app__panel-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #069396;
}

.download-app__status {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.4px;
}

.download-app__lead {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-body);
}

.download-app__meta-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
}

.download-app__meta-list li {
  padding: 6px 10px;
  border-radius: 99px;
  background: rgba(6, 147, 150, 0.1);
  color: #012a4a;
  font-size: 12px;
  font-weight: 700;
}

.download-app__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}

.download-app__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* Ensure button labels always render above any layered backgrounds */
.download-app__btn > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.download-app__btn[hidden] {
  display: none !important;
}

.download-app__btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 24px rgba(6, 147, 150, 0.28);
}

.download-app__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(6, 147, 150, 0.38);
}

.download-app__btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(1, 42, 74, 0.18);
}

.download-app__btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.download-app__done {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(6, 147, 150, 0.1);
  color: var(--navy);
  font-size: 13.5px;
  line-height: 1.55;
}

/* Dark mode: ensure the "download file does not appear" helper stays readable */
html[data-theme-resolved='dark'] .landing-page .download-app__done {
  color: #e2e8f0;
  background: rgba(6, 147, 150, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.download-app__steps h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--navy);
}

.download-app__steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.download-app__steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #f4f8fa;
  border: 1px solid #e2edf1;
}

.download-app__steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #012a4a;
  color: #5eead4;
  font-size: 11px;
  font-weight: 800;
}

.download-app__steps li p {
  margin: 0;
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.4;
}

.download-app-modal__lead {
  margin: 0 0 12px;
  color: var(--mc-modal-text-muted);
}

.download-app-modal__list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--mc-modal-text);
}

@media (prefers-reduced-motion: reduce) {
  .download-app__slide {
    transition: none !important;
  }

  .download-app__dots button.is-playing::before,
  .dap-vc__dot {
    animation: none !important;
  }

  .download-app__dots button.is-playing::before {
    transform: scaleX(1);
  }
}

html[data-theme-resolved='light'] body.landing-page .download-app-section,
body.landing-page.landing-bg--light .download-app-section,
html[data-theme-resolved='dark'] body.landing-page .download-app-section,
body.landing-page.landing-bg--dark .download-app-section,
html[data-theme-resolved='light'] .landing-page .download-app-section,
html[data-theme-resolved='dark'] .landing-page .download-app-section {
  background:
    radial-gradient(ellipse 50% 60% at 12% 20%, rgba(6, 147, 150, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 40% 50% at 92% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, #012a4a 0%, #01344f 48%, #012033 100%) !important;
  color: #f0f9fa;
}

html[data-theme-resolved='light'] .landing-page .download-app-section .services-title,
html[data-theme-resolved='dark'] .landing-page .download-app-section .services-title,
body.landing-page.landing-bg--light .download-app-section .services-title {
  color: #f8fafc !important;
}

html[data-theme-resolved='light'] .landing-page .download-app-section .services-desc,
html[data-theme-resolved='dark'] .landing-page .download-app-section .services-desc,
body.landing-page.landing-bg--light .download-app-section .services-desc {
  color: rgba(240, 249, 250, 0.82) !important;
}

html[data-theme-resolved='dark'] .landing-page .download-app__panel {
  background: #0f172a;
  border-color: #334155;
  color: #e2e8f0;
}

html[data-theme-resolved='dark'] .landing-page .download-app__status,
html[data-theme-resolved='dark'] .landing-page .download-app__steps h3 {
  color: #f8fafc;
}

html[data-theme-resolved='dark'] .landing-page .download-app__lead,
html[data-theme-resolved='dark'] .landing-page .download-app__steps li p {
  color: #cbd5e1;
}

html[data-theme-resolved='dark'] .landing-page .download-app__steps li {
  background: #020617;
  border-color: #334155;
}

html[data-theme-resolved='dark'] .landing-page .download-app__meta-list li {
  background: rgba(6, 147, 150, 0.16);
  color: #e2e8f0;
}

html[data-theme-resolved='dark'] .landing-page .download-app__btn--ghost {
  color: #e2e8f0;
  border-color: #334155;
}

/* Extra safety: apply ghost-button contrast regardless of landing-page class */
html[data-theme-resolved='dark'] .download-app__btn--ghost {
  color: #e2e8f0;
  border-color: #334155;
  background: rgba(6, 147, 150, 0.08);
}

@media (min-width: 481px) {
  .download-app__actions {
    flex-wrap: nowrap;
  }

  .download-app__btn {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 1100px) {
  body.landing-page .download-app-section {
    --dap-screen: clamp(320px, calc(100svh - var(--dap-offset) - 220px), 440px);
  }

  .download-app__device {
    width: min(300px, 100%);
  }
}

@media (max-width: 900px) {
  body.landing-page .download-app-section {
    min-height: 0;
    padding-bottom: 96px;
  }

  .download-app__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: center;
  }

  .download-app__panel {
    width: 100%;
    max-width: 560px;
  }

  .download-app__device {
    width: min(280px, 72vw);
  }

  .download-app__phone-col {
    padding-bottom: 16px;
  }
}

@media (max-width: 480px) {
  body.landing-page .download-app-section {
    --dap-screen: clamp(240px, 36svh, 300px);
    padding: 28px 16px 108px;
  }

  .download-app__panel {
    padding: 16px 14px;
    max-width: none;
  }

  .download-app__device {
    width: min(248px, calc(100vw - 48px));
  }

  .download-app__actions {
    flex-direction: column;
  }

  .download-app__btn {
    width: 100%;
    height: auto;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 15px;
    line-height: 1.1;
  }

  .download-app__status {
    font-size: 18px;
  }

  .dap-vc__bar {
    gap: 4px;
    padding: 7px 6px;
  }

  .dap-vc__btn {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 390px) {
  body.landing-page .download-app-section {
    --dap-screen: clamp(240px, 34svh, 300px);
  }

  .download-app__device {
    width: min(228px, 86vw);
  }

  .dap-dash {
    gap: 7px;
    padding: 10px 9px;
  }

  .dap-dash__sub {
    display: none;
  }

  .dap-dash__quick span {
    min-height: 40px;
    font-size: 10px;
  }

  .dap-done__sub {
    display: none;
  }
}

@media (max-width: 360px) {
  body.landing-page .download-app-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .download-app__device {
    width: min(210px, 88vw);
    padding: 8px 8px 10px;
    border-radius: 30px;
  }

  .download-app__viewport {
    border-radius: 20px;
  }

  .dap-dash__title,
  .dap-done h3,
  .dap-care__hero h3 {
    font-size: 13px;
  }
}

@media (max-height: 800px) {
  body.landing-page .download-app-section {
    --dap-screen: clamp(260px, calc(100svh - var(--dap-offset) - 270px), 340px);
    min-height: 0;
  }

  .download-app-section .download-app__header {
    margin-bottom: 12px;
  }
}

@media (max-height: 740px) {
  body.landing-page .download-app-section {
    --dap-screen: clamp(220px, calc(100svh - var(--dap-offset) - 300px), 290px);
  }
}
