/* ==========================================================================
   Reyuko — download.html only
   Replaces the page's old bespoke palette (#6b7690 / #9ca3af, both below WCAG
   AA on white) with the shared tokens. Bump ?v= when editing — /assets/* is
   cached for 4 hours.
   ========================================================================== */

/* ── Platform cards ──────────────────────────────────────────────────────── */
.dl-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; margin-top: -44px; position: relative; z-index: 3;
}
.dl-card {
  background: var(--bg-card); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 32px 28px 28px; text-align: center;
  box-shadow: 0 12px 40px rgba(14, 63, 163, 0.13);
  display: flex; flex-direction: column; align-items: center;
}
.dl-logo { width: 52px; height: auto; margin-bottom: 16px; }
.dl-card h2 { margin: 0 0 6px; font-size: 23px; }
.dl-req { margin: 0 0 20px; font-size: 14px; color: var(--text-secondary); }
.dl-btn { width: 100%; max-width: 260px; }
.dl-meta {
  margin: 14px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--text-secondary);
}
.dl-built { color: var(--text-tertiary); }

/* ── W-1 Reyuko Online (online variant) ──────────────────────────────────
   Shown only when the `hidden` attribute is removed from [data-w1-daring] —
   see scripts/w1-bendera-unduh-daring.mjs. No `display` rule on .dl-daring on
   purpose: an author `display` would override the UA [hidden] rule. */
.dl-daring { margin-top: 48px; text-align: center; }
.dl-daring-title { margin: 0 0 8px; font-size: 26px; }
.dl-daring-lead {
  max-width: 640px; margin: 0 auto; font-size: 15px; line-height: 1.65;
  color: var(--text-secondary);
}
.dl-daring .dl-grid { margin-top: 22px; }
.dl-daring .dl-meta code {
  font-size: 11.5px; word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── Unsigned-build warning ──────────────────────────────────────────────── */
.note-warn {
  max-width: 760px; margin: 34px auto 0;
  border: 1px solid var(--yellow-border, rgba(255, 193, 7, 0.5));
  border-left: 3px solid var(--yellow-dark);
  background: #FFFBEB; border-radius: var(--radius);
  padding: 18px 22px; font-size: 14px; line-height: 1.65; color: #6B4E00;
}
.note-warn strong { color: #5A4100; }
.note-warn ul { margin: 10px 0 0; padding-left: 20px; }
.note-warn li { margin-bottom: 7px; }
.note-warn p { margin: 12px 0 0; }
.note-warn code {
  background: rgba(0, 0, 0, 0.06); padding: 1px 5px; border-radius: 4px;
  font-size: 12.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── Free-tier checklist ─────────────────────────────────────────────────── */
.check-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 10px 30px; list-style: none; padding: 0; margin: 26px 0 0;
}
.check-grid li {
  position: relative; padding-left: 28px;
  font-size: 14.5px; line-height: 1.6; color: var(--text-secondary);
}
.check-grid li::before {
  content: ""; position: absolute; left: 4px; top: 6px;
  width: 13px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ── Two info cards ──────────────────────────────────────────────────────── */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.info-card {
  background: var(--bg-card); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 26px 26px 24px;
}
.info-card h3 { margin: 0 0 16px; font-size: 19px; }

@media (max-width: 620px) {
  .dl-grid { margin-top: 24px; }
}

/* Same component as on features.html; duplicated here rather than pulling in
   the whole features stylesheet for one rule. */
.feat-list { list-style: none; padding: 0; margin: 0; }
.feat-list li {
  position: relative; padding: 0 0 0 26px; margin-bottom: 11px;
  font-size: 14.5px; line-height: 1.6; color: var(--text-secondary);
}
.feat-list li::before {
  content: ""; position: absolute; left: 4px; top: 7px;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent); opacity: 0.55;
}
.feat-list li b { color: var(--text-primary); font-weight: 650; }
