:root {
  --legal-canvas: #fefdfb;
  --legal-ink: #180f08;
  --legal-cocoa: #3d2e24;
  --legal-muted: #6b5a50;
  --legal-faint: #cbc0b6;
  --legal-line: #f1ece7;
  --legal-wash: #f5f1ee;
  --legal-teal: #00738f;
  --legal-amber: #de9b4a;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
body {
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--legal-canvas);
  color: var(--legal-cocoa);
  font-family: IDGrotesk, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
:where(a, button):focus-visible { outline: 2px solid var(--legal-teal); outline-offset: 2px; }

.legal-header {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 2px solid var(--legal-cocoa);
}
.legal-brand { display: inline-flex; align-items: center; gap: 7px; color: var(--legal-ink); font-size: 14px; font-weight: 500; }
.legal-brand-mark { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--legal-ink); }
.legal-brand-mark img { display: block; width: 16px; height: 16px; padding: 2px; }
.legal-close { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: var(--legal-muted); transition: background-color 140ms, color 140ms; }
.legal-close:hover { background: var(--legal-wash); color: var(--legal-ink); }
.legal-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.4; }

.legal-layout { display: flex; width: min(100% - 32px, 1180px); justify-content: center; margin: 0 auto; }
.legal-main { width: min(100%, 660px); padding: 68px 0 120px; text-align: left; }
.legal-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; color: var(--legal-muted); font-size: 12px; line-height: 18px; }
.legal-kicker::before { width: 4px; height: 4px; border-radius: 50%; background: var(--legal-amber); box-shadow: 0 0 0 2px rgba(222,155,74,.13); content: ""; }
h1, h2, p { margin: 0; }
h1 { color: var(--legal-ink); font-size: 38px; font-weight: 500; letter-spacing: -.8px; line-height: 1.16; }
.legal-meta { margin-top: 18px; color: var(--legal-cocoa); font-size: 16px; line-height: 24px; }
.legal-meta strong { color: var(--legal-ink); font-weight: 500; }
.legal-notice { margin: 28px 0 42px; padding: 14px 16px; border: 1px solid var(--legal-line); border-radius: 12px; background: var(--legal-wash); color: var(--legal-muted); font-size: 14px; line-height: 22px; }
.legal-notice strong { color: var(--legal-cocoa); font-weight: 500; }
.legal-section { margin-top: 40px; }
.legal-section:first-of-type { padding-top: 42px; border-top: 1px solid var(--legal-line); }
.legal-section h2 { margin-bottom: 18px; color: var(--legal-ink); font-size: 24px; font-weight: 500; letter-spacing: -.34px; line-height: 1.25; }
.legal-section p { color: var(--legal-cocoa); font-size: 16px; line-height: 1.62; }
.legal-section p + p { margin-top: 16px; }
.legal-section ul { display: grid; gap: 10px; margin: 18px 0 0; padding-left: 18px; color: var(--legal-cocoa); }
.legal-section li { padding-left: 1px; font-size: 16px; line-height: 1.62; }
.legal-contact { color: var(--legal-teal); text-decoration: underline; text-decoration-color: rgba(0,115,143,.3); text-underline-offset: 2px; }
.legal-section a { color: var(--legal-teal); text-decoration: underline; text-decoration-color: rgba(0,115,143,.3); text-underline-offset: 2px; }
.legal-section a:hover { text-decoration-color: var(--legal-teal); }
.legal-section strong { color: var(--legal-ink); font-weight: 500; }
.legal-section h3 { margin: 28px 0 14px; color: var(--legal-ink); font-size: 18px; font-weight: 500; letter-spacing: -.16px; line-height: 1.35; }
.legal-section h3:first-child { margin-top: 0; }
.legal-main hr { margin: 28px 0 0; border: none; border-top: 1px solid var(--legal-line); }
.legal-section table { width: 100%; margin: 18px 0 0; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.legal-section th { padding: 10px 14px; border-bottom: 2px solid var(--legal-line); color: var(--legal-ink); font-weight: 500; text-align: left; }
.legal-section td { padding: 10px 14px; border-bottom: 1px solid var(--legal-line); color: var(--legal-cocoa); vertical-align: top; }
.legal-section tr:last-child td { border-bottom: none; }

.legal-footer { margin-top: 8px; border-top: 1px solid var(--legal-line); background: var(--legal-wash); }
.legal-footer-grid { display: grid; grid-template-columns: minmax(248px, 1.65fr) repeat(3, minmax(126px, 1fr)); gap: 32px; width: min(100% - 64px, 1180px); margin: 0 auto; padding: 48px 0 40px; }
.legal-footer-intro { display: grid; align-content: start; justify-items: start; color: var(--legal-muted); font-size: 14px; line-height: 21px; }
.legal-footer-brand { margin-bottom: 12px; font-size: 16px; }
.legal-footer-intro p { max-width: 268px; }
.legal-footer-status { display: inline-flex; min-height: 26px; align-items: center; gap: 7px; margin-top: 18px; padding: 4px 9px; border: 1px solid var(--legal-line); border-radius: 999px; background: var(--legal-canvas); color: var(--legal-muted); font-size: 11px; font-weight: 500; line-height: 16px; }
.legal-footer-status i { width: 4px; height: 4px; border-radius: 50%; background: var(--legal-amber); box-shadow: 0 0 0 2px rgba(222,155,74,.13); }
.legal-footer-title { display: block; margin: 2px 0 13px; color: var(--legal-ink); font-size: 13px; font-weight: 500; line-height: 20px; }
.legal-footer-links { display: grid; gap: 9px; }
.legal-footer-links a { width: fit-content; color: var(--legal-muted); font-size: 13px; line-height: 20px; transition: color 140ms, text-decoration-color 140ms; }
.legal-footer-links a:hover { color: var(--legal-ink); text-decoration: underline; text-decoration-color: var(--legal-faint); text-underline-offset: 3px; }
.legal-footer-links a[aria-current="page"] { color: var(--legal-cocoa); font-weight: 500; }
.legal-footer-bottom { display: grid; width: min(100% - 64px, 1180px); grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: 0 auto; padding: 18px 0 24px; border-top: 1px solid var(--legal-line); color: var(--legal-muted); font-size: 11px; line-height: 16px; }
.legal-footer-bottom nav { display: flex; justify-content: center; gap: 14px; }
.legal-footer-bottom a { color: var(--legal-muted); transition: color 140ms; }
.legal-footer-bottom a:hover, .legal-footer-bottom a[aria-current="page"] { color: var(--legal-ink); }
.legal-footer-draft { justify-self: end; color: var(--legal-faint); }

@media (max-width: 767px) {
  .legal-main { padding-top: 48px; }
  h1 { font-size: 32px; }
  .legal-section h2 { font-size: 21px; }
  .legal-footer-grid { width: min(100% - 48px, 1180px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; padding: 40px 0 32px; }
  .legal-footer-intro { grid-column: 1 / -1; }
  .legal-footer-bottom { width: min(100% - 48px, 1180px); grid-template-columns: 1fr auto; padding-bottom: 20px; }
  .legal-footer-bottom nav { justify-content: end; }
  .legal-footer-draft { display: none; }
}

@media (max-width: 440px) {
  .legal-header { padding-inline: 12px; }
  .legal-layout, .legal-footer-grid, .legal-footer-bottom { width: min(100% - 24px, 1180px); }
  .legal-main { padding-top: 20px; padding-bottom: 56px; }
  h1 { font-size: 28px; }
  .legal-meta, .legal-section p, .legal-section li { font-size: 16px; }
  .legal-section { margin-top: 32px; }
  .legal-section:first-of-type { padding-top: 32px; }
  .legal-section h2 { margin-bottom: 14px; font-size: 20px; }
  .legal-footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 30px; }
  .legal-footer-intro { grid-column: auto; }
  .legal-footer-bottom { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; padding: 16px 0 20px; }
  .legal-footer-bottom nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
