:root {
  color-scheme: light;
  --ink: #18242a;
  --muted: #5d696f;
  --line: #d9e0e2;
  --surface: #ffffff;
  --surface-soft: #f3f6f5;
  --green: #176b5b;
  --green-dark: #0d4d42;
  --yellow: #f0c75e;
  --max-width: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 30;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--green-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.access-label {
  color: var(--muted);
  font-size: 13px;
}

.legal-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: space-between;
  gap: 72px;
}

.legal-nav {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 46px 0;
}

.nav-title {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-nav nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.legal-nav nav a {
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

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

.legal-nav nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--green);
  color: var(--green-dark);
  font-weight: 700;
}

.nav-contact {
  margin-top: 30px;
  display: grid;
  gap: 4px;
  font-size: 12px;
}

.nav-contact span {
  color: var(--muted);
}

.legal-content {
  min-width: 0;
  padding-bottom: 80px;
}

.document-intro {
  min-height: 520px;
  padding: 76px 0 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
}

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

.document-intro > p:not(.eyebrow, .updated) {
  max-width: 720px;
}

.legal-content > section:not(.document-intro) {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 94px;
}

.legal-content > section.is-current {
  outline: 0;
}

.section-heading {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  gap: 16px;
}

.section-heading span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.section-heading h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.2;
}

h3 {
  margin: 38px 0 8px;
  font-size: 18px;
}

p {
  margin: 0 0 18px;
}

ul {
  margin: 8px 0 24px;
  padding-left: 22px;
}

li {
  margin: 7px 0;
}

li::marker {
  color: var(--green);
}

.contact-line {
  margin: 30px 0 12px;
  padding: 20px 0;
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-line span,
.contact-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-line code {
  margin-top: 4px;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
}

.contact-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-grid div {
  display: grid;
  gap: 5px;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

footer > div {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 108px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

footer strong {
  color: var(--ink);
}

@media (max-width: 840px) {
  .legal-shell {
    width: 100%;
    display: block;
  }

  .legal-nav {
    position: sticky;
    top: 72px;
    z-index: 15;
    padding: 0 20px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }

  .nav-title,
  .nav-contact {
    display: none;
  }

  .legal-nav nav {
    min-width: max-content;
    display: flex;
    border: 0;
  }

  .legal-nav nav a {
    padding: 14px 12px;
    border: 0;
  }

  .legal-nav nav a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--green);
  }

  .legal-content {
    width: min(calc(100% - 40px), 760px);
    margin: 0 auto;
  }

  .document-intro {
    min-height: auto;
    padding-top: 64px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 68px;
  }

  .access-label {
    display: none;
  }

  .legal-nav {
    top: 68px;
  }

  h1 {
    font-size: 38px;
  }

  .section-heading {
    grid-template-columns: 34px 1fr;
    gap: 8px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  footer > div {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
