@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --page: #fbfaf7;
  --text: #202522;
  --muted: #606862;
  --border: #d8ddd8;
  --teal: #246c61;
  --teal-hover: #174f47;
  --accent: #b8442f;
  --focus: #d75e45;
  --header: rgba(251, 250, 247, 0.96);
  --max-width: 46rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

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

a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.55rem 0.8rem;
  background: var(--text);
  color: var(--page);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.header-inner,
.footer-inner {
  display: flex;
  width: min(100% - 2rem, 64rem);
  min-height: 4rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 1.75rem;
  height: 1.75rem;
}

.document-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.document-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.document-nav a:hover,
.site-footer a:hover,
.document-nav a[aria-current="page"],
.site-footer a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
}

.page-shell {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
  padding: 3.75rem 0 5rem;
}

.document-header {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

h1,
h2,
h3,
dt {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  line-height: 1.2;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.lead {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.document-meta {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-content section {
  padding-top: 3.2rem;
  scroll-margin-top: 2rem;
}

p {
  margin: 0 0 1.15rem;
}

ul,
ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

li {
  margin: 0.45rem 0;
  padding-left: 0.2rem;
}

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

.data-list {
  margin: 1.8rem 0 0;
}

.data-list > div {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.data-list > div:last-child {
  border-bottom: 1px solid var(--border);
}

dt {
  margin-bottom: 0.35rem;
  font-weight: 600;
}

dd {
  margin: 0;
  color: var(--muted);
}

.provider-list {
  padding-left: 1.25rem;
}

.provider-list li {
  margin-bottom: 0.9rem;
}

.review-line {
  margin-top: 1.6rem;
  padding: 0.9rem 0 0.9rem 1rem;
  border-left: 3px solid var(--accent);
}

address {
  margin: 1rem 0 0;
  font-style: normal;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer .footer-inner {
  min-height: 5rem;
  font-size: 0.9rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #131613;
    --text: #eef1ed;
    --muted: #aeb7b0;
    --border: #343b36;
    --teal: #74c9b9;
    --teal-hover: #a0dfd3;
    --accent: #ff9a82;
    --focus: #ff9a82;
    --header: rgba(19, 22, 19, 0.96);
  }
}

@media (max-width: 38rem) {
  body {
    font-size: 0.98rem;
  }

  .header-inner,
  .footer-inner {
    width: min(100% - 1.5rem, 64rem);
  }

  .page-shell {
    width: min(100% - 2rem, var(--max-width));
    padding: 3rem 0 4rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .legal-content section {
    padding-top: 2.6rem;
  }

  .site-footer .footer-inner {
    min-height: 6rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
