/* The BlockNation Client's download page (client.html, 2026-10-25). Everything else on it - the bar,
   the buttons, the steps, the folds, the footer - is site.css's, so it looks and moves like the
   front page; this is only what that page has no use for: a header without the key art, and the
   feature cards. */

/* The header: the hero's headline and lead over the join section's red glow, the buttons under
   them. No picture: the art is the front page's, and a screenshot of a menu would say less than
   the sentence does. The top padding clears the fixed bar. */
.dl-hero {
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 clamp(36px, 4vw, 64px);
  text-align: center;
  background:
    radial-gradient(55% 60% at 50% 0%, rgba(229, 50, 45, 0.2), transparent 70%),
    radial-gradient(40% 50% at 50% 100%, rgba(255, 138, 31, 0.08), transparent 75%);
}
.dl-hero__kicker {
  display: inline-block; margin-bottom: 14px; padding: 5px 13px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: var(--amber);
  background: rgba(255, 179, 71, 0.08); border: 1px solid rgba(255, 179, 71, 0.28);
}
.dl-hero .hero__title { max-width: 820px; margin-inline: auto; }
.dl-hero__meta { margin: 16px auto 0; max-width: 620px; font-size: 0.86rem; color: var(--dim); text-wrap: balance; }
.dl-hero__meta--tight { margin-top: 4px; }
.dl-hero__meta a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* Java before the steps (2026-10-25, Jonas: only the .jar, and say on the page that it needs Java and
   how to get it): one panel, a column per system, each with the one download that system wants. */
.dl-java {
  max-width: 1040px; margin: 0 auto 44px; padding: 26px 26px 22px; border-radius: var(--radius);
  border: 1px solid rgba(255, 179, 71, 0.28);
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.06), rgba(255, 179, 71, 0.015)), var(--bg-2);
}
.dl-java__head h3 { font-size: 1.12rem; }
.dl-java__head p { margin-top: 6px; color: var(--muted); font-size: 0.94rem; max-width: 760px; }
.dl-os { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 20px; }
.dl-os__item { padding-top: 16px; border-top: 1px solid var(--line); }
.dl-os__item h4 { font-family: var(--font-head); font-size: 1rem; }
.dl-os__item .btn { margin-top: 10px; }
.dl-os__btns { display: flex; flex-wrap: wrap; gap: 0 10px; }
.dl-os__item p { margin-top: 10px; color: var(--muted); font-size: 0.9rem; }
.dl-os__item p b, .client-page .more__body p b { color: var(--text); font-weight: 600; }
.dl-os__cmd { display: inline-block; margin-top: 6px; max-width: 100%; overflow-x: auto; white-space: nowrap; }
.dl-java__foot { margin-top: 18px; color: var(--dim); font-size: 0.86rem; }
.dl-java__foot .inline-code { white-space: nowrap; }
.dl-java__foot a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.client-page .more__body p + p { margin-top: 10px; }

/* the install steps' bold words are what the player clicks or picks */
.client-page .step p b { color: var(--text); font-weight: 600; }
.client-page .section__head .lead b { color: var(--text); font-weight: 600; }
.client-page .more + .more { margin-top: 12px; }
.client-page .more__body a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* the six features: a card each, three to a row on a laptop, one under another on a phone */
.dl-grid {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1040px;
  display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dl-card {
  padding: 22px 22px 24px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.dl-card:hover { border-color: rgba(255, 179, 71, 0.35); transform: translateY(-2px); }
.dl-card__icon {
  width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--amber);
  background: rgba(255, 179, 71, 0.08); border: 1px solid rgba(255, 179, 71, 0.22);
}
.dl-card h3 { margin-top: 14px; font-size: 1.08rem; }
.dl-card p { margin-top: 6px; color: var(--muted); font-size: 0.93rem; }

@media (max-width: 900px) {
  .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-os { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 600px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-java { padding: 20px 16px 18px; margin-bottom: 36px; }
  .dl-hero .hero__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .dl-card, .dl-card:hover { transition: none; transform: none; } }
