/* =================================================================
   DOWNLOAD PAGE STYLES
   ================================================================= */

/* ---------------------------- DOWNLOAD HERO ---------------------------- */
.dl-hero{
  position: relative;
  padding-top: clamp(150px, 20vw, 200px);
  padding-bottom: var(--space-xl);
  background: var(--grad-hero);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}
.dl-hero__intro{ max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); position: relative; z-index: 1; }
.dl-hero__intro h1{ margin-top: var(--space-sm); }

.dl-hero__stage{
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}
.dl-hero__stage .phone-mock--sm{ margin-inline: -26px; }
.dl-hero__stage .phone-mock--tilt-left{ z-index: 1; }
.dl-hero__stage .phone-mock--tilt-right{ z-index: 1; }
.dl-hero__stage > .phone-mock:not(.phone-mock--sm){ z-index: 2; }
.dl-hero__qr{ margin-bottom: 14px; text-align: left; }
.dl-hero__qr span{ max-width: 14ch; }

@media (max-width: 780px){
  .dl-hero__stage .phone-mock--tilt-left, .dl-hero__stage .phone-mock--tilt-right{ display: none; }
  .dl-hero__stage{ gap: var(--space-lg); }
}

/* ---------------------------- SPEC LIST ---------------------------- */
.spec-list{ border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; }
.spec-row{ display: flex; gap: var(--space-lg); align-items: flex-start; padding: var(--space-lg); border-bottom: 1px solid var(--hairline); background: var(--jade-surface); }
.spec-row:nth-child(even){ background: var(--obsidian-2); }
.spec-row:last-child{ border-bottom: none; }
.spec-row i{
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: var(--obsidian-2); border: 1px solid var(--gold-dim);
  color: var(--gold-light); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.spec-row h3{ font-size: 1.05rem; margin-bottom: 4px; }
.spec-row p{ color: var(--ivory-dim); font-size: 0.92rem; max-width: 56ch; }
@media (max-width: 560px){ .spec-row{ flex-direction: column; align-items: flex-start; gap: var(--space-sm); } }

/* ---------------------------- INSTRUCTIONS ---------------------------- */
.instructions__grid{ display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-2xl); align-items: center; }
.steps{ display: flex; flex-direction: column; gap: var(--space-lg); margin-top: var(--space-lg); counter-reset: step; }
.steps li{ display: flex; gap: var(--space-md); align-items: flex-start; }
.steps__num{
  flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(160deg, var(--jade-surface), var(--obsidian-2));
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-emblem); font-size: 1rem;
  box-shadow: var(--shadow-card);
}
.steps h3{ font-size: 1.05rem; margin-bottom: 4px; }
.steps p{ color: var(--ivory-dim); font-size: 0.92rem; max-width: 46ch; }

.instructions__art{ display: flex; justify-content: center; }
.instructions__note{ padding: var(--space-lg); display: flex; gap: var(--space-md); align-items: flex-start; max-width: 380px; }
.instructions__note i{ font-size: 1.4rem; color: var(--gold-light); flex-shrink: 0; margin-top: 2px; }
.instructions__note p{ color: var(--ivory-dim); font-size: 0.92rem; }
@media (max-width: 860px){ .instructions__grid{ grid-template-columns: 1fr; } .instructions__art{ order: -1; } }

/* ---------------------------- BENEFITS ---------------------------- */
.benefits{ background: var(--obsidian-2); border-block: 1px solid var(--hairline); padding-block: var(--space-2xl); }
.benefits__row{ display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); margin-top: var(--space-xl); }
.benefits__row article{ text-align: center; padding: var(--space-lg); border-right: 1px solid var(--hairline); }
.benefits__row article:last-child{ border-right: none; }
.benefits__row i{ font-size: 2rem; color: var(--gold-light); margin-bottom: var(--space-sm); }
.benefits__row h3{ font-size: 1.1rem; margin-bottom: 8px; }
.benefits__row p{ color: var(--ivory-dim); font-size: 0.9rem; max-width: 30ch; margin-inline: auto; }
@media (max-width: 780px){
  .benefits__row{ grid-template-columns: 1fr; }
  .benefits__row article{ border-right: none; border-bottom: 1px solid var(--hairline); }
  .benefits__row article:last-child{ border-bottom: none; }
}

/* ---------------------------- SCREENSHOTS GALLERY ---------------------------- */
.screens__track-wrap{ position: relative; }
.screens__track-wrap::before, .screens__track-wrap::after{
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.screens__track-wrap::before{ left: 0; background: linear-gradient(90deg, var(--obsidian), transparent); }
.screens__track-wrap::after{ right: 0; background: linear-gradient(270deg, var(--obsidian), transparent); }
.screens__track{ display: flex; gap: var(--space-lg); padding: var(--space-md) clamp(20px, 5vw, 48px) var(--space-lg); overflow-x: auto; scroll-snap-type: x proximity; }
.screen-card{ flex: 0 0 auto; text-align: center; scroll-snap-align: start; }
.screen-card figcaption{ margin-top: var(--space-sm); font-size: 0.85rem; color: var(--ivory-dim); font-weight: 700; }
