/* ===== Download page ===== */
.dl-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 54px) 0 clamp(56px, 7vw, 84px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  isolation: isolate;
}
.dl-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/assets/img/hero.webp') center 38% / cover no-repeat;
  transform: scale(1.02);
}
.dl-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.9) 0%, rgba(6, 9, 14, 0.72) 42%, var(--bg) 100%),
    linear-gradient(90deg, rgba(6, 9, 14, 0.86), rgba(6, 9, 14, 0.3) 70%),
    radial-gradient(60% 55% at 78% 8%, rgba(143, 198, 232, 0.14), transparent 70%);
}
.dl-hero-inner { position: relative; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-pale); }
.breadcrumb span[aria-current] { color: var(--gold); }

.dl-title {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #f4ead2;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.7);
}
.dl-title .gold { -webkit-text-fill-color: var(--gold); color: var(--gold); }
.dl-lead {
  max-width: 640px;
  margin: 0 0 clamp(30px, 4vw, 44px);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: #d8cfbd;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.dl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(16px, 2.4vw, 26px);
  align-items: stretch;
}

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 0 0, rgba(143, 198, 232, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(15, 23, 36, 0.96), rgba(8, 13, 21, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.dl-card-main { border-color: rgba(212, 175, 55, 0.42); }
.dl-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.dl-kicker {
  margin: 0 0 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--frost);
}
.dl-card h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  margin: 0;
  color: var(--gold-pale);
}
.dl-card p { font-size: 0.93rem; }

.dl-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  margin: 0 0 20px;
  padding: 16px 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.dl-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 30%;
  min-width: 110px;
  padding: 0 18px;
  border-left: 1px solid var(--line-soft);
}
.dl-facts li:first-child { padding-left: 0; border-left: 0; }
.dl-facts strong { font-family: var(--font-heading); font-size: 1.15rem; color: var(--text-strong); }
.dl-facts span { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-note { margin: 16px 0 0; font-size: 0.82rem; color: var(--muted); }
.dl-note a { text-decoration: underline; text-underline-offset: 3px; }

.dl-card-starter { background: linear-gradient(180deg, rgba(22, 30, 44, 0.96), rgba(9, 14, 23, 0.98)); }
.dl-card-starter h2 { margin-bottom: 12px; }
.dl-card-starter .btn { margin-top: auto; }
.dl-card-starter .badge { align-self: flex-start; }

.dl-check {
  list-style: none;
  margin: 16px 0 22px;
  padding: 0;
  display: grid;
  gap: 9px;
}
.dl-check li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.86rem; color: var(--text); }
.dl-check svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 3px;
  fill: none;
  stroke: var(--frost);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dl-check-lg li { font-size: 0.93rem; }

.dl-hash {
  margin: 12px 0 0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.dl-card-starter .dl-hash { margin-bottom: 18px; }

.dl-small { margin: 12px 0 0; font-size: 0.8rem; color: var(--muted); }
.dl-small a { text-decoration: underline; text-underline-offset: 3px; }

/* Options */
.dl-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}
.dl-option {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease;
}
.dl-option:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.34);
  background: rgba(17, 25, 38, 0.92);
}
.dl-option-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.07);
  color: var(--gold);
}
.dl-option-icon svg { width: 22px; height: 22px; }
.dl-option h3 { font-size: 1.08rem; margin: 0 0 8px; color: var(--gold-pale); font-family: var(--font-body); font-weight: 600; }
.dl-option p { margin: 0 0 18px; font-size: 0.88rem; color: var(--text); }
.dl-option-link {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.dl-option-link span { display: inline-block; transition: transform 0.2s ease; }
.dl-option-link:hover { color: var(--gold-pale); }
.dl-option-link:hover span { transform: translateX(4px); }

/* Requirements strip */
.dl-req {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  margin: clamp(32px, 4vw, 44px) 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
  font-size: 0.8rem;
  color: var(--text);
}
.dl-req li { display: flex; align-items: center; gap: 8px; }
.dl-req svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
.dl-req-label {
  flex-basis: 100%;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Addons */
.addon-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}
.addon-copy .section-lead { margin-bottom: 20px; }
.addon-copy .dl-actions { margin-top: 26px; }
.addon-tip {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(143, 198, 232, 0.26);
  border-radius: var(--radius);
  background:
    radial-gradient(110% 70% at 50% 0, rgba(143, 198, 232, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(17, 26, 40, 0.9), rgba(8, 13, 21, 0.95));
}
.addon-tip h3 { font-size: 1.2rem; margin: 0 0 10px; color: var(--frost); }
.addon-tip p { font-size: 0.9rem; }
.addon-tip .dl-hash { margin-top: 18px; }

/* CTA */
.dl-cta {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(70% 90% at 15% 0, rgba(212, 175, 55, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(12, 18, 28, 0.9), rgba(6, 10, 16, 0.95));
}
.dl-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.dl-cta h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 8px; }
.dl-cta p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.dl-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1020px) {
  .dl-hero-grid { grid-template-columns: 1fr; }
  .dl-card-starter { max-width: 560px; }
  .dl-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-option:last-child { grid-column: 1 / -1; }
  .addon-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .dl-hero { padding-top: calc(var(--header-h) + 34px); }
  .dl-title { font-size: clamp(2.4rem, 14vw, 3.6rem); }
  .dl-facts li { flex: 1 1 100%; padding: 8px 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .dl-facts li:first-child { border-top: 0; }
  .dl-options { grid-template-columns: 1fr; }
  .dl-option:last-child { grid-column: auto; }
  .dl-actions .btn { flex: 1 1 100%; }
  .dl-req { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
  .dl-req-label { justify-content: flex-start; }
  .dl-cta-actions { width: 100%; }
  .dl-cta-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-hero-bg { transform: none; }
}
