@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --green: #008b4d;
  --green-deep: #00683a;
  --mint: #d6f0e7;
  --cream: #f8fbc4;
  --lime: #e9fac3;
  --paper: #fbfcf6;
  --ink: #10281f;
  --ink-soft: #4a6259;
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "DM Sans", "Avenir Next", sans-serif;
  --container: 920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--ink);
  background: var(--cream);
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
ul,
dl,
dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
}

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

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

.page-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
}

.brand__mark {
  width: 36px;
  height: 36px;
}

.brand__image {
  display: block;
  width: 165px;
  height: auto;
}

.brand__image--footer {
  width: 130px;
}

.brand--footer {
  gap: 10px;
}

.brand--footer .brand__mark {
  display: block;
}

.brand__name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.back-link svg {
  width: 16px;
}

.back-link:hover {
  color: var(--green);
}

.policy-page {
  padding-block: 64px 88px;
}

.policy-page__inner {
  max-width: 760px;
}

.policy-intro {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.policy-intro h1 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1;
}

.policy-intro__summary {
  max-width: 600px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.policy-intro__subtitle {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 500;
}

.policy-intro > p:not(.eyebrow):not(.policy-intro__subtitle) {
  max-width: 680px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.policy-body section {
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}

.policy-body section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.policy-body h2 {
  margin-bottom: 15px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.policy-body h3 {
  margin: 21px 0 5px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.policy-body p,
.policy-body li,
.contact-list dd {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.policy-body p + p,
.policy-body ul + p,
.policy-body p + ul,
.policy-body ul + ul {
  margin-top: 14px;
}

.policy-body ul {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.policy-body li {
  position: relative;
  padding-left: 18px;
}

.policy-body li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green);
  content: "•";
}

.policy-body strong {
  color: var(--ink);
  font-weight: 650;
}

.policy-body a,
.contact-list a {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.policy-body a:hover,
.contact-list a:hover {
  color: var(--green);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
}

.contact-list dt {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.page-footer {
  color: color-mix(in srgb, var(--mint) 66%, transparent);
  background: var(--ink);
}

.page-footer__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  font-size: 0.7rem;
  text-align: center;
}

.page-footer a {
  color: var(--lime);
  font-weight: 600;
}

.page-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .page-header__inner {
    min-height: 66px;
  }

  .brand__image {
    width: 145px;
  }

  .brand__image--footer {
    width: 120px;
  }

  .brand__mark {
    width: 33px;
    height: 33px;
  }

  .brand__name {
    font-size: 1.1rem;
  }

  .back-link {
    gap: 5px;
    font-size: 0.72rem;
  }

  .back-link svg {
    width: 14px;
  }

  .policy-page {
    padding-block: 44px 64px;
  }

  .policy-intro {
    padding-bottom: 32px;
  }

  .policy-intro h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .policy-intro__summary {
    margin-top: 16px;
    font-size: 1rem;
  }

  .policy-body section {
    padding-block: 29px;
  }

  .policy-body h2 {
    margin-bottom: 12px;
    font-size: 1.45rem;
  }

  .policy-body p,
  .policy-body li,
  .contact-list dd {
    font-size: 0.93rem;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .page-footer__inner {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-height: 104px;
  }

  .page-footer__inner p {
    line-height: 1.5;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .page-header,
  .page-footer,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .policy-page {
    padding: 0;
  }
}
