:root {
  font-family: "DM Sans", Arial, sans-serif;
  color: #24352e;
  background: #fafbf9;
  font-size: 16px;
  line-height: 1.7;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #216953;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
a:hover {
  color: #143e33;
}
a:focus-visible {
  outline: 3px solid #8acbb5;
  outline-offset: 4px;
}
.legal-header {
  background: white;
  border-bottom: 1px solid #e4e9e4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 40px;
}
.legal-header > a:last-child {
  font-size: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #24352e;
  flex-shrink: 0;
}
.brand img {
  object-fit: contain;
}
.brand span {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.brand small {
  display: block;
  font-size: 8px;
  font-weight: 500;
  margin-top: 7px;
  letter-spacing: 0.04em;
  color: #758078;
}
.legal-document {
  max-width: 850px;
  margin: auto;
  padding: 48px 28px 64px;
}
h1 {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h2 {
  font-size: 20px;
  line-height: 1.4;
  margin: 32px 0 12px;
  font-weight: 600;
}
p {
  margin: 0 0 16px;
}
.effective-date {
  font-size: 14px;
  color: #69766d;
  margin-bottom: 24px;
}
.legal-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-bottom: 1px solid #dce3df;
  padding-bottom: 24px;
  margin-bottom: 30px;
  font-size: 14px;
}
.legal-navigation [aria-current] {
  font-weight: 700;
}
.legal-footer {
  max-width: 850px;
  margin: auto;
  padding: 0 28px 32px;
  font-size: 13px;
  color: #69766d;
}
@media (max-width: 550px) {
  .legal-header {
    padding: 20px;
    gap: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
  .legal-document {
    padding: 32px 20px 40px;
  }
  h1 {
    font-size: 27px;
  }
  h2 {
    font-size: 19px;
  }
  .legal-footer {
    padding: 0 20px 28px;
  }
}
@media print {
  .legal-header,
  .legal-navigation,
  .legal-footer {
    display: none;
  }
  :root {
    font-size: 11pt;
    color: black;
    background: white;
  }
  .legal-document {
    max-width: none;
    padding: 0;
  }
  h1 {
    font-size: 20pt;
  }
  h2 {
    font-size: 13pt;
    break-after: avoid;
  }
  p {
    orphans: 3;
    widows: 3;
  }
  a {
    color: black;
    text-decoration: none;
  }
}
