:root {
  color-scheme: light;
  --paper: #eef2f1;
  --surface: #ffffff;
  --ink: #10242c;
  --ink-muted: #4b5f66;
  --line: #d3dddc;
  --brand: #15788b;
  --brand-dark: #0f6273;
  --amber-bg: #fff4dd;
  --amber-line: #edd092;
  --amber-ink: #684a12;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0 20px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

.legal-header,
.legal-footer,
.legal-main {
  width: min(100%, 900px);
  margin-inline: auto;
}

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

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

.legal-brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--brand);
  color: white;
  font-family: "Geist Mono", monospace;
  font-size: 14px;
}

.legal-back {
  font-size: 14px;
}

.legal-main {
  margin-bottom: 36px;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 12px 32px -18px rgb(16 36 44 / 20%);
}

.legal-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 52px);
  letter-spacing: -0.035em;
}

h2 {
  margin: 34px 0 10px;
  font-size: 25px;
  letter-spacing: -0.02em;
}

h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}

.legal-date {
  margin: 14px 0 26px;
  color: var(--ink-muted);
  font-size: 13px;
}

.legal-disclaimer {
  margin: 0 0 28px;
  padding: 14px 16px;
  border: 1px solid var(--amber-line);
  border-radius: 10px;
  background: var(--amber-bg);
  color: var(--amber-ink);
  font-size: 14px;
}

.legal-copy p {
  margin: 0 0 14px;
}

.legal-copy ul,
.legal-copy ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.legal-copy li {
  margin: 0 0 7px;
  padding-left: 3px;
}

.legal-copy address {
  margin: 0 0 16px;
  font-style: normal;
}

.legal-muted {
  color: var(--ink-muted);
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
  padding: 4px 0 30px;
  color: var(--ink-muted);
  font-size: 13px;
}

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

.legal-footer a {
  font-size: 13px;
}

@media (max-width: 620px) {
  body {
    padding-inline: 12px;
    font-size: 15px;
  }

  .legal-header {
    min-height: 66px;
  }

  .legal-main {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  body {
    padding: 0;
    background: white;
  }

  .legal-main {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .legal-header,
  .legal-footer {
    width: 100%;
  }
}