:root {
  color-scheme: light;
  --ink: #161918;
  --muted: #6e7472;
  --line: #e6e9e8;
  --surface: #f7f9f8;
  --brand: #00a580;
  --brand-dark: #007b60;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(22, 25, 24, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner,
.page-shell,
.site-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 142px;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.header-link:hover,
.header-link:focus-visible {
  color: var(--brand-dark);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: var(--brand);
  background: #f0fdfa;
  color: var(--brand-dark);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 10%, rgba(0, 165, 128, 0.11), transparent 27rem),
    var(--surface);
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 68px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 660;
  letter-spacing: -0.045em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.hero-meta {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.page-shell {
  display: grid;
  grid-template-columns: 245px minmax(0, 760px);
  justify-content: space-between;
  gap: 72px;
  padding-top: 72px;
  padding-bottom: 104px;
}

.toc {
  position: sticky;
  top: 112px;
  align-self: start;
}

.toc-title {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li + li {
  margin-top: 9px;
}

.toc a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--brand-dark);
}

.legal-content {
  min-width: 0;
}

.lead {
  margin: 0 0 52px;
  color: #333836;
  font-size: 21px;
  line-height: 1.55;
}

.legal-section {
  padding-top: 10px;
}

.legal-section + .legal-section {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.16;
}

h3 {
  margin: 30px 0 10px;
  font-size: 20px;
  font-weight: 680;
  line-height: 1.3;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 14px 0 18px;
  padding-left: 24px;
}

li + li {
  margin-top: 9px;
}

.info-card {
  margin: 24px 0;
  padding: 24px 26px;
  border: 1px solid #ccebe4;
  border-radius: 18px;
  background: #f0fdfa;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.data-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table th,
.data-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link {
  color: var(--brand-dark);
  font-weight: 600;
  text-underline-offset: 3px;
}

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

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 118px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand-dark);
}

@media (max-width: 880px) {
  .page-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .toc {
    position: static;
    padding: 20px;
    border-radius: 16px;
    background: var(--surface);
  }

  .toc ol {
    columns: 2;
    column-gap: 28px;
  }

  .toc li {
    break-inside: avoid;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .hero-inner,
  .page-shell,
  .site-footer-inner {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 112px;
  }

  .header-link {
    display: none;
  }

  .back-link {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero-inner {
    padding: 52px 0 48px;
  }

  h1 {
    font-size: clamp(35px, 9.7vw, 38px);
    line-height: 1.02;
  }

  .page-shell {
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .toc ol {
    columns: 1;
  }

  .lead {
    margin-bottom: 38px;
    font-size: 18px;
  }

  .legal-section + .legal-section {
    margin-top: 42px;
    padding-top: 42px;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
  }

  .data-table thead {
    display: none;
  }

  .data-table tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .data-table td {
    padding: 4px 0;
    border: 0;
  }

  .data-table td::before {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media print {
  .site-header,
  .toc,
  .site-footer {
    display: none;
  }

  .hero {
    background: none;
  }

  .hero-inner,
  .page-shell {
    width: 100%;
    padding: 24px 0;
  }

  .page-shell {
    display: block;
  }

  .legal-section + .legal-section {
    break-before: auto;
  }
}
