:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --paper: #fffdf9;
  --ink: #18201d;
  --muted: #62706a;
  --line: #ded8cf;
  --accent: #157f73;
  --accent-dark: #0b5d55;
  --accent-soft: #d9efea;
  --warm: #a95632;
  --shadow: 0 24px 70px rgba(24, 32, 29, 0.12);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(
      180deg,
      rgba(217, 239, 234, 0.58),
      rgba(247, 244, 239, 0) 420px
    ),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
  text-decoration-color: rgba(21, 127, 115, 0.35);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--warm);
  text-decoration-color: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid rgba(222, 216, 207, 0.75);
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 1rem;
  line-height: 1;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-nav a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.top-nav a:hover {
  background: rgba(21, 127, 115, 0.09);
  color: var(--accent-dark);
}

.hero {
  padding: 78px 20px 54px;
}

.hero-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(2.35rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

.lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: #40504a;
  font-size: clamp(1.06rem, 2vw, 1.3rem);
  line-height: 1.58;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.policy-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(21, 127, 115, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.72);
  color: #43544e;
  font-size: 0.92rem;
}

.content-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 42px;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto 80px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 14px 40px rgba(24, 32, 29, 0.06);
}

.toc p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 7px 8px;
  border-radius: 6px;
  color: #42524d;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.policy {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.policy section {
  scroll-margin-top: 96px;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}

.policy section:first-child {
  padding-top: 0;
  border-top: 0;
}

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

.policy h2 {
  margin: 0 0 14px;
  color: #14231f;
  font-size: clamp(1.42rem, 3vw, 2rem);
  line-height: 1.18;
}

.policy h3 {
  margin: 24px 0 8px;
  color: #24322f;
  font-size: 1.04rem;
  line-height: 1.3;
}

.policy p {
  margin: 0 0 14px;
  color: #34423e;
}

.policy p:last-child,
.policy ul:last-child,
.policy address:last-child {
  margin-bottom: 0;
}

.policy ul {
  margin: 10px 0 16px;
  padding-left: 1.25rem;
  color: #34423e;
}

.policy li {
  margin: 8px 0;
  padding-left: 0.15rem;
}

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

address {
  margin-top: 12px;
  padding: 16px;
  border-left: 4px solid var(--accent);
  background: rgba(217, 239, 234, 0.48);
  color: #2f3f3a;
  font-style: normal;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .top-nav a {
    flex: 0 0 auto;
  }

  .hero {
    padding-top: 46px;
  }

  .content-shell {
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(100% - 28px, var(--max-width));
    margin-bottom: 54px;
  }

  .toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toc p {
    grid-column: 1 / -1;
  }

  .policy {
    padding: 24px;
  }

  .policy section {
    scroll-margin-top: 24px;
    padding-block: 26px;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 15.5px;
  }

  .hero {
    padding-inline: 14px;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.4rem);
    line-height: 1.02;
  }

  .policy-meta {
    flex-direction: column;
  }

  .policy-meta span {
    width: 100%;
  }

  .toc {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .policy {
    padding: 20px;
  }

  address {
    padding: 14px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 28px, var(--max-width));
  }
}

@media print {
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }

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

  .hero {
    padding: 0 0 18px;
  }

  .content-shell,
  .hero-inner {
    display: block;
    width: 100%;
    margin: 0;
  }

  .policy {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .policy section {
    break-inside: avoid;
    padding-block: 16px;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}
