:root {
  --brand: #0ea29d;
  --brand-dark: #123b40;
  --ink: #172326;
  --muted: #536467;
  --surface: #f3f8f7;
  --line: #dce8e6;
}

* { box-sizing: border-box; }

body {
  background: #fff;
  color: var(--ink);
  font-family: "Lato", sans-serif;
  margin: 0;
}

.legal-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.legal-nav,
.legal-main,
.legal-footer-inner {
  margin: 0 auto;
  max-width: 1040px;
  width: calc(100% - 48px);
}

.legal-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 72px;
}

.legal-nav img { display: block; height: 26px; width: auto; }
.legal-nav a { color: var(--brand-dark); font-weight: 700; text-decoration: none; }
.legal-nav a:hover, .legal-nav a:focus { color: var(--brand); }

.legal-hero {
  background: linear-gradient(135deg, var(--surface), #fff 72%);
  border-bottom: 1px solid var(--line);
  padding: 70px 0 58px;
}

.legal-hero p,
.legal-content { max-width: 760px; }
.legal-eyebrow { color: var(--brand); font-size: 13px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
h1 { color: var(--brand-dark); font-size: 42px; line-height: 1.08; margin: 12px 0 18px; }
.legal-hero p { color: var(--muted); font-size: 18px; line-height: 1.7; margin: 0; }

.legal-main { padding-bottom: 72px; }
.legal-content { padding-top: 52px; }
.legal-content section { border-bottom: 1px solid var(--line); padding: 0 0 30px; margin-bottom: 30px; }
.legal-content section:last-child { border-bottom: 0; }
h2 { color: var(--brand-dark); font-size: 24px; margin: 0 0 14px; }
p, li { color: var(--muted); font-size: 16px; line-height: 1.75; }
ul { padding-left: 22px; }
a { color: #087d79; }

.legal-note {
  background: var(--surface);
  border-left: 4px solid var(--brand);
  margin: 26px 0;
  padding: 18px 22px;
}
.legal-note p { margin: 0; }

.legal-footer { background: var(--brand-dark); color: #fff; padding: 30px 0; }
.legal-footer-inner { align-items: center; display: flex; justify-content: space-between; gap: 20px; }
.legal-footer p { color: #d8e7e5; margin: 0; }
.legal-footer a { color: #bfe9e5; }

@media (max-width: 640px) {
  .legal-nav, .legal-main, .legal-footer-inner { width: calc(100% - 32px); }
  .legal-hero { padding: 48px 0 40px; }
  h1 { font-size: 32px; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; }
}
