.page-app-download .app-dl-hero {
  background: linear-gradient(135deg, #0d3d23 0%, #15633a 55%, #0e7a34 100%);
  color: #fff;
  padding: 3rem 0 2.6rem;
}

.app-dl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.app-dl-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-yellow);
}

.app-dl-title-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.app-dl-title-row h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.app-dl-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  background: #fff;
}

.app-dl-lead {
  margin: 0 0 1rem;
  max-width: 42rem;
  color: rgba(248, 248, 248, 0.96);
  font-size: 1.05rem;
  line-height: 1.55;
}

.app-dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin-bottom: 1.2rem;
}

.app-dl-meta span {
  font-size: 0.82rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.app-dl-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.app-dl-btn-download {
  min-width: min(100%, 16rem);
  font-size: 1.02rem;
}

.app-dl-btn-copy {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.app-dl-note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(248, 248, 248, 0.82);
  max-width: 40rem;
}

.app-dl-legal {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
}

.app-dl-legal a {
  color: var(--brand-yellow);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.app-dl-legal a:hover {
  color: #fff;
}

.app-dl-hero-side {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.app-dl-qr-card {
  width: min(100%, 260px);
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-text);
  text-align: center;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.app-dl-qr-card img {
  width: 220px;
  height: 220px;
  margin: 0 auto 0.65rem;
  object-fit: contain;
}

.app-dl-qr-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--brand-muted);
}

.app-dl-hero-phone {
  width: min(100%, 280px);
}

.app-dl-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.app-dl-feature {
  padding: 1.1rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: 0 10px 24px -20px var(--brand-shadow);
}

.app-dl-feature-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.app-dl-feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.app-dl-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--brand-muted);
  line-height: 1.5;
}

.app-media-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, #edf5ef, #f7faf7);
  border: 1px solid #d5e4d8;
  box-shadow: 0 16px 34px -24px rgba(11, 93, 42, 0.45);
}

.app-media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.app-media-frame.is-missing {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
}

.app-media-missing {
  display: none;
  font-size: 0.86rem;
  color: var(--brand-muted);
  line-height: 1.45;
}

.app-media-frame.is-missing .app-media-missing {
  display: block;
}

.app-carousel {
  max-width: 420px;
  margin: 0 auto;
}

.app-carousel-main {
  position: relative;
}

.app-carousel-viewport {
  overflow: hidden;
  border-radius: 22px;
}

.app-carousel-track {
  display: flex;
  transition: transform 0.35s ease;
}

.app-carousel-slide {
  min-width: 100%;
  margin: 0;
}

.app-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-green-dark);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.app-carousel-nav-prev {
  left: -0.4rem;
}

.app-carousel-nav-next {
  right: -0.4rem;
}

.app-carousel-caption {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--brand-border);
  font-size: 0.94rem;
  line-height: 1.55;
  color: #3f4a40;
}

.app-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.app-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: #c8d8cb;
  cursor: pointer;
}

.app-carousel-dot.is-active {
  width: 1.35rem;
  background: var(--brand-green);
}

.app-dl-install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 1.4rem;
  align-items: start;
}

.app-install-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.app-install-step {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--brand-border);
  background: #fff;
  box-shadow: 0 10px 24px -22px rgba(11, 93, 42, 0.35);
}

.app-install-step-optional {
  border-style: dashed;
  border-color: #c5d6c8;
  background: linear-gradient(160deg, #fbfcfb, #f4f8f5);
}

.app-install-step-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.app-install-step-optional .app-install-step-marker {
  background: #7a9a84;
}

.app-install-step-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.3;
}

.app-install-step-body p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.app-install-optional-tag {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--brand-green-soft);
  color: var(--brand-green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
}

.app-install-connector {
  width: 2px;
  height: 1.1rem;
  margin-left: 1.45rem;
  background: linear-gradient(180deg, var(--brand-green), #b9d4c0);
}

.app-install-connector-optional {
  background: repeating-linear-gradient(
    180deg,
    #9eb5a4 0,
    #9eb5a4 4px,
    transparent 4px,
    transparent 8px
  );
}

.app-dl-help-download {
  width: 100%;
  margin-top: 0.55rem;
}

.app-accordion {
  display: grid;
  gap: 0.65rem;
}

.app-accordion-item {
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.app-accordion-item.is-open {
  border-color: #b9d4c0;
  box-shadow: 0 12px 28px -24px rgba(11, 93, 42, 0.35);
}

.app-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--brand-text);
  cursor: pointer;
}

.app-accordion-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  font-size: 0.86rem;
  flex-shrink: 0;
}

.app-accordion-panel {
  padding: 0 1rem 1rem;
}

.app-accordion-panel p {
  margin: 0 0 0.85rem;
  color: var(--brand-muted);
  line-height: 1.55;
}

.app-media-frame-install {
  max-width: 280px;
}

.app-dl-install-help {
  padding: 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #f8fbf9, #edf5ef);
  border: 1px solid #c2d8c6;
}

.app-dl-install-help h3 {
  margin: 0 0 0.5rem;
}

.app-dl-install-help p {
  margin: 0 0 0.85rem;
  color: var(--brand-muted);
}

.app-dl-install-note {
  font-size: 0.88rem;
}

.app-dl-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.app-dl-trust-grid h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.app-dl-trust-grid p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.55;
}

.app-accordion-faq .app-accordion-trigger {
  font-weight: 600;
}

@media (max-width: 1024px) {
  .app-dl-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-dl-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .app-dl-hero-grid,
  .app-dl-install-layout {
    grid-template-columns: 1fr;
  }

  .app-dl-hero-side {
    order: -1;
  }

  .app-carousel-nav-prev {
    left: 0.2rem;
  }

  .app-carousel-nav-next {
    right: 0.2rem;
  }
}

@media (max-width: 560px) {
  .app-dl-features {
    grid-template-columns: 1fr;
  }

  .app-dl-ctas .btn {
    width: 100%;
  }
}

.page-spikpilot-download .app-dl-icon-spikpilot {
  border-radius: 16px;
  background: #000;
  object-fit: cover;
}

.page-spikpilot-download .app-dl-hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 52rem;
}
