:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2A2018;
  background: #FBF3E6;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #9A5B00; }
.legal-page { min-height: 100vh; background: #FBF3E6; }
.legal-shell { width: min(880px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 56px; }
.legal-back, .legal-print {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none;
  color: #9A5B00; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.legal-action-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.legal-header { margin: 24px 0 28px; padding: 28px; border-radius: 24px; background: #FFFDF9; box-shadow: 0 10px 35px rgba(154, 91, 0, .08); }
.legal-kicker { margin: 0 0 8px; color: #E15B3D; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.legal-header h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; }
.legal-header p:last-child { margin-bottom: 0; color: #7C6F5F; }
.legal-shell section { margin: 16px 0; padding: 22px 24px; border-radius: 18px; background: #FFFDF9; border: 1px solid #EDE0C9; }
.legal-shell h2 { margin: 0 0 10px; font-size: 1.1rem; }
.legal-shell p, .legal-shell li { line-height: 1.65; }
.legal-shell ul { padding-left: 22px; }
.legal-footer { display: flex; flex-wrap: wrap; gap: 18px; padding: 16px 4px 0; font-weight: 700; }
.signature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.legal-contact { margin-top: 24px; }
@media (max-width: 640px) {
  .legal-shell { width: min(100% - 20px, 880px); padding-top: 18px; }
  .legal-header, .legal-shell section { padding: 18px; border-radius: 16px; }
  .signature-grid { grid-template-columns: 1fr; }
}
@media print {
  :root, .legal-page { background: #FFFDF9; }
  .legal-shell { width: 100%; padding: 0; }
  .legal-header, .legal-shell section { box-shadow: none; break-inside: avoid; }
  .no-print { display: none !important; }
}
.legal-shell .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 6px; padding: 0 18px; border: 0; border-radius: 14px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.legal-shell .button-primary { background: #E15B3D; color: #fff; box-shadow: 0 6px 16px -6px rgba(225, 91, 61, .55); }
.legal-shell .button-primary:hover { background: #CF4F33; }
.legal-shell .button-secondary { border: 1px solid #EDE0C9; background: #FFFDF9; color: #7A4700; }
