:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #607069;
  --line: #d8e0dc;
  --surface: #ffffff;
  --soft: #f3f7f5;
  --brand: #0f6e61;
  --brand-dark: #102f29;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body {
  color: var(--ink);
  margin: 0;
}

.legal-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.legal-header-inner,
.legal-main,
.legal-footer {
  margin: 0 auto;
  max-width: 920px;
  padding-left: 24px;
  padding-right: 24px;
}

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

.legal-brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 18px;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.legal-brand img {
  height: 36px;
  width: 36px;
}

.legal-back {
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.legal-main {
  background: var(--surface);
  min-height: calc(100vh - 144px);
  padding-bottom: 64px;
  padding-top: 56px;
}

.legal-eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1 {
  font-size: 46px;
  line-height: 1.12;
  margin: 0 0 14px;
}

.legal-lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 12px;
  max-width: 760px;
}

.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 42px;
}

.legal-section {
  border-top: 1px solid var(--line);
  padding: 30px 0 10px;
}

.legal-section h2 {
  font-size: 23px;
  margin: 0 0 14px;
}

.legal-section h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

.legal-section p,
.legal-section li {
  line-height: 1.7;
}

.legal-section p {
  margin: 0 0 12px;
}

.legal-section ul {
  padding-left: 22px;
}

.legal-callout {
  background: var(--soft);
  border-left: 4px solid var(--brand);
  padding: 18px 20px;
}

a {
  color: var(--brand);
}

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

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-footer a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 640px) {
  .legal-header-inner,
  .legal-main,
  .legal-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .legal-main {
    padding-top: 36px;
  }

  h1 {
    font-size: 32px;
  }

  .legal-header-inner,
  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 16px;
    padding-top: 16px;
  }
}
