:root {
  --ink: #1f2925;
  --muted: #66716b;
  --paper: #f4f0e7;
  --card: #fffdf8;
  --green: #1f4b3f;
  --terracotta: #b85f43;
  --line: #dcd7cc;
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.65; }
a { color: var(--green); }
.legal-header { position: sticky; z-index: 5; top: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); }
.legal-header-inner, .legal-main, .legal-footer { width: min(820px, calc(100% - 32px)); margin-inline: auto; }
.legal-header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; }
.legal-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: "Newsreader", Georgia, serif; font-size: 22px; font-weight: 600; text-decoration: none; }
.legal-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px 12px 12px 4px; color: white; background: var(--green); }
.back-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.legal-main { padding: 64px 0 80px; }
.eyebrow { color: var(--terracotta); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-family: "Newsreader", Georgia, serif; line-height: 1.08; }
h1 { max-width: 700px; margin: 10px 0 20px; font-size: clamp(42px, 8vw, 68px); letter-spacing: -.035em; }
h2 { margin: 42px 0 10px; font-size: 30px; }
.lead { max-width: 680px; color: var(--muted); font-size: 18px; }
.legal-card { margin: 26px 0; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.legal-card h2, .legal-card h3 { margin-top: 0; }
.legal-meta { display: inline-flex; margin-top: 16px; padding: 7px 11px; border-radius: 999px; color: var(--muted); background: #ebe7dc; font-size: 12px; }
.plain-list { padding-left: 20px; }
.plain-list li + li { margin-top: 8px; }
.callout { border-left: 4px solid var(--terracotta); }
.support-form { display: grid; gap: 15px; }
.support-form label { display: grid; gap: 6px; font-weight: 700; }
.support-form input, .support-form select, .support-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; font: inherit; }
.support-form textarea { min-height: 150px; resize: vertical; }
.support-form .honeypot { position: absolute; left: -10000px; }
.primary-button { min-height: 50px; padding: 12px 18px; border: 0; border-radius: 13px; color: white; background: var(--green); font: inherit; font-weight: 700; cursor: pointer; }
.primary-button:disabled { cursor: wait; opacity: .65; }
.download-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 13px; color: white; background: var(--green); font-weight: 700; text-decoration: none; }
.platform-card { position: relative; overflow: hidden; }
.platform-card h2 { margin-top: 8px; }
.platform-label { display: inline-flex; padding: 5px 10px; border-radius: 999px; color: var(--green); background: #e5eee9; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.download-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.download-meta div { padding: 14px; border-radius: 13px; background: #ebe7dc; }
.download-meta strong, .download-meta span { display: block; }
.download-meta span { color: var(--muted); font-size: 12px; }
.checksum { overflow-wrap: anywhere; padding: 12px; border-radius: 10px; background: #ebe7dc; font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.form-status { min-height: 26px; font-weight: 700; }
.form-status.success { color: var(--green); }
.form-status.error { color: #9e302f; }
.legal-footer { padding: 24px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 560px) {
  .legal-header-inner { min-height: 62px; }
  .legal-main { padding-top: 42px; }
  .legal-card { padding: 19px; }
  h1 { font-size: 44px; }
  .download-meta { grid-template-columns: 1fr; }
}
