:root {
  color-scheme: light;
  --ink: #10243a;
  --muted: #5d6f82;
  --navy: #0b1f33;
  --lime: #c7f36b;
  --line: #dbe4ea;
  --paper: #f4f7f8;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 "DM Sans", sans-serif; }
a { color: #176173; }
.legal-header, .legal-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px max(24px, calc((100vw - 1080px) / 2)); background: var(--navy); color: white; }
.legal-brand { display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; font: 800 21px/1 "Manrope", sans-serif; }
.legal-brand > span:last-child > span { color: var(--lime); }
.legal-mark { width: 31px; height: 31px; border: 4px solid var(--lime); border-radius: 50%; position: relative; display: inline-block; }
.legal-mark span { position: absolute; width: 13px; height: 4px; right: -10px; bottom: -5px; background: white; border-radius: 99px; transform: rotate(45deg); }
.back-link, .legal-footer a { color: white; text-decoration: none; }
.legal-shell { width: min(860px, calc(100% - 32px)); margin: 64px auto 80px; }
.eyebrow { margin: 0 0 8px; color: #367c4c; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { font-family: "Manrope", sans-serif; line-height: 1.2; }
h1 { margin: 0; font-size: clamp(2.2rem, 7vw, 4.2rem); letter-spacing: -.045em; }
h2 { margin: 0 0 12px; font-size: 1.35rem; }
.updated { margin: 12px 0 30px; color: var(--muted); }
.legal-card { background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 50px rgba(11,31,51,.08); padding: clamp(24px, 5vw, 52px); }
.legal-card section + section { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 30px; }
.legal-card p { margin: 0 0 14px; }
.legal-card ul { padding-left: 22px; }
.legal-warning { margin: 20px 0 0; border-left: 4px solid #85b82e; background: #f2f9e6; padding: 16px 18px; border-radius: 0 12px 12px 0; }
.legal-footer { align-items: flex-start; font-size: .93rem; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 650px) {
  .legal-header, .legal-footer { align-items: flex-start; flex-direction: column; }
  .legal-shell { margin-top: 42px; }
}
