body { background: #f8faf8; }
.legal-header, .legal-footer { width: min(920px, calc(100% - 40px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.legal-header { height: 78px; border-bottom: 1px solid var(--line); }
.legal-header > a:last-child { color: var(--muted); font-size: 14px; font-weight: 650; }
.legal-page { width: min(760px, calc(100% - 40px)); margin: 92px auto 110px; }
.legal-date { margin: 0 0 12px; color: var(--green); font-size: 13px; font-weight: 700; }
.legal-page h1 { font-size: clamp(44px, 7vw, 68px); line-height: 1.04; letter-spacing: -.06em; margin: 0; }
.legal-lead { font-size: 20px; line-height: 1.75; color: var(--muted); margin: 30px 0 72px; }
.legal-page section { padding: 32px 0; border-top: 1px solid var(--line); }
.legal-page h2 { margin: 0 0 14px; font-size: 23px; letter-spacing: -.025em; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 15px; line-height: 1.9; }
.legal-page a:not(.button) { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal-note, .private-repo-note { padding: 20px 22px; background: #eef4ee; border-radius: 12px; border-left: 3px solid var(--green); }
.legal-footer { min-height: 100px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legal-footer nav { display: flex; gap: 24px; }
.support-actions { display: flex; gap: 12px; margin: -34px 0 38px; }
.private-repo-note { margin-bottom: 58px; font-size: 13px !important; }
.support-page ol { padding-left: 22px; }
.download-page { width: min(820px, calc(100% - 40px)); }
.release-status { margin: -34px 0 54px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 42px rgba(29, 50, 35, .08); }
.status-line { display: flex; align-items: flex-start; gap: 14px; }
.status-dot { width: 11px; height: 11px; margin-top: 8px; flex: 0 0 auto; border-radius: 50%; background: #d29c25; box-shadow: 0 0 0 6px rgba(210, 156, 37, .13); }
.release-status[data-state="ready"] .status-dot { background: var(--green); box-shadow: 0 0 0 6px rgba(17, 101, 47, .12); }
.release-status[data-state="error"] .status-dot { background: #738078; box-shadow: 0 0 0 6px rgba(115, 128, 120, .12); }
.release-status h2 { margin: 0 0 6px; font-size: 22px; }
.release-status p { margin: 0; }
.release-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.release-meta { margin-top: 18px !important; font-size: 13px !important; }
.download-page .check-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.download-page .check-list li { padding: 18px; border-radius: 14px; background: #eef4ee; line-height: 1.6; }
.download-page .check-list strong { display: block; color: var(--text); margin-bottom: 4px; }
.download-page .check-list span { color: var(--muted); font-size: 13px; }
details { padding: 18px 0; border-top: 1px solid var(--line); }
details:first-of-type { margin-top: 16px; }
summary { cursor: pointer; font-weight: 680; }
details p { padding-left: 20px; margin-bottom: 0; }
@media (max-width: 640px) {
  .legal-page { margin-block: 56px 80px; }
  .legal-lead { font-size: 17px; margin-bottom: 48px; }
  .support-actions { display: grid; }
  .release-status { margin-top: -20px; padding: 22px; }
  .release-actions { display: grid; }
  .download-page .check-list { grid-template-columns: 1fr; }
  .legal-footer { padding-block: 26px; display: grid; gap: 16px; }
}
