:root {
  --legal-blue: #087de9;
  --legal-ink: #26344d;
  --legal-muted: #5d6880;
  --legal-paper: #fffdf9;
  --legal-yellow: #fff2b8;
  --legal-border: #dfe7f2;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #eef8ff; }
body { margin: 0; color: var(--legal-ink); background: linear-gradient(180deg,#eaf8ff,#fff9ed 45%,#f8fbff); font-family: "Trebuchet MS", Arial, sans-serif; }
a { color: #0665b8; }
.legal-header { border-bottom: 1px solid rgba(15,90,155,.14); background: rgba(255,255,255,.94); }
.legal-header-inner, .legal-shell, .legal-footer-inner { width: min(calc(100% - 32px), 980px); margin: 0 auto; }
.legal-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-brand { color: #096fca; font-size: 32px; font-weight: 900; text-decoration: none; letter-spacing: -.04em; }
.legal-language { display: flex; gap: 5px; padding: 4px; border-radius: 999px; background: #e9f4ff; }
.legal-language button { min-width: 40px; min-height: 36px; border: 0; border-radius: 999px; color: #275274; background: transparent; font-weight: 900; cursor: pointer; }
.legal-language button[aria-pressed="true"] { color: white; background: var(--legal-blue); }
.legal-shell { padding: 34px 0 54px; }
.legal-draft { margin-bottom: 20px; padding: 14px 18px; border: 2px solid #e2b32c; border-radius: 16px; background: var(--legal-yellow); font-weight: 800; line-height: 1.45; }
.legal-paper { padding: clamp(22px,5vw,52px); border: 1px solid var(--legal-border); border-radius: 28px; background: var(--legal-paper); box-shadow: 0 18px 48px rgba(32,75,115,.13); }
.legal-paper h1 { margin: 0 0 10px; color: #075f9d; font-size: clamp(32px,5vw,50px); line-height: 1.05; }
.legal-meta { margin: 0 0 30px; color: var(--legal-muted); font-size: 14px; }
.legal-paper section { margin-top: 30px; }
.legal-paper h2 { margin: 0 0 10px; color: #23335a; font-size: clamp(21px,3vw,28px); }
.legal-paper p, .legal-paper li { font-family: Arial, sans-serif; font-size: 16px; line-height: 1.65; }
.legal-paper ul { padding-left: 24px; }
.seller-details { display: grid; grid-template-columns: max-content 1fr; gap: 14px 22px; margin: 28px 0 0; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.55; }
.seller-details dt { color: var(--legal-muted); font-weight: 700; }
.seller-details dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 32px 0 0; padding-top: 22px; border-top: 1px solid var(--legal-border); }
.legal-nav a { font-weight: 800; }
.legal-footer { padding: 24px 0; color: #536177; background: white; }
.legal-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.legal-footer p { margin: 0; }
.legal-pending { visibility: hidden; }
button:focus-visible, a:focus-visible { outline: 4px solid rgba(255,193,25,.8); outline-offset: 3px; }

@media (max-width: 560px) {
  .legal-header-inner { min-height: 68px; }
  .legal-brand { font-size: 27px; }
  .legal-language button { min-width: 36px; min-height: 34px; }
  .legal-shell { padding-top: 20px; }
  .legal-paper { border-radius: 20px; }
  .legal-paper p, .legal-paper li { font-size: 15px; }
  .seller-details { grid-template-columns: 1fr; gap: 5px; font-size: 15px; }
  .seller-details dd + dt { margin-top: 12px; }
}
