:root {
  --ink: #191919;
  --muted: #6f6a66;
  --line: #ebe6e2;
  --coral: #ff6247;
  --violet: #8b68e8;
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--coral); }
a:focus-visible { outline: 3px solid rgba(139,104,232,.35); outline-offset: 3px; }
.legal-shell { width: min(100% - 36px, 980px); margin: 0 auto; padding-bottom: 64px; }
.legal-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--coral); }
.legal-brand { display: block; width: 245px; height: 82px; overflow: hidden; position: relative; }
.legal-brand img { position: absolute; width: 265px; max-width: none; height: auto; left: -9px; top: -24px; }
.legal-back { color: var(--coral); font-size: 13px; font-weight: 750; text-decoration: none; }
.legal-back:hover { text-decoration: underline; }
.legal-document { width: min(100%, 720px); padding: 54px 0 20px; }
.legal-document h1 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px,7vw,66px); font-weight: 400; letter-spacing: -.04em; }
.legal-updated { margin: 0 0 42px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.legal-document h2 { margin: 34px 0 10px; color: var(--coral); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.legal-document p { margin: 0; color: #4f4b48; font-size: 16px; line-height: 1.75; }
.consultant-logo-link { display: block; width: min(100%, 400px); margin: 24px 0 8px; }
.consultant-logo-link img { display: block; width: 100%; height: auto; }
.legal-footer { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (max-width: 600px) {
  .legal-header { min-height: 94px; }
  .legal-brand { width: 190px; height: 68px; }
  .legal-brand img { width: 215px; top: -19px; }
  .legal-back { font-size: 0; }
  .legal-back::after { content: "← Search"; font-size: 13px; }
  .legal-document { padding-top: 38px; }
}
