/* Document content only. Header, footer and dialog use the homepage styles. */
.legal-skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: 1rem;
  padding: .65rem 1rem;
  transform: translateY(-180%);
  border-radius: .75rem;
  background: var(--pine, #1c382c);
  color: var(--ivory, #faf9f6);
  font-weight: 700;
  text-decoration: none;
}
.legal-skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--pastel, #a3cfb8);
  outline-offset: 3px;
}

.legal-shell {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 2rem 1rem 5rem;
  color: var(--pine, #1c382c);
  line-height: 1.75;
  scroll-margin-top: 1rem;
}
.legal-shell a {
  color: var(--sage, #3d755c);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
.legal-shell a:hover {
  color: var(--pine, #1c382c);
}
.legal-shell a:focus-visible,
.legal-shell:focus-visible {
  outline: 3px solid var(--sage, #3d755c);
  outline-offset: 4px;
  border-radius: .25rem;
}
.legal-breadcrumb {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .25rem .65rem;
  color: var(--muted, #607568);
  font-size: .8125rem;
  line-height: 1.6;
}
.legal-breadcrumb a {
  font-weight: 500;
  text-decoration: none;
}
.legal-breadcrumb a:hover {
  text-decoration: underline;
}
.legal-intro {
  max-width: 56rem;
  padding-block: 2.5rem 3rem;
}
.legal-eyebrow {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 1.25rem;
  padding: .3rem .85rem;
  border: 1px solid #c3dccd;
  border-radius: 999px;
  background: var(--soft, #eff5f0);
  color: var(--sage, #3d755c);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.6;
}
.legal-intro h1 {
  max-width: 23ch;
  margin: 0;
  color: var(--pine, #1c382c);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.legal-intro h1 span {
  color: var(--sage, #3d755c);
}
.legal-intro > p:not(.legal-eyebrow):not(.legal-updated) {
  max-width: 68ch;
  margin: 1.25rem 0 0;
  color: #4f6859;
  font-size: 1rem;
  line-height: 1.75;
}
.legal-updated {
  display: inline-flex;
  max-width: 100%;
  margin: 1.25rem 0 0;
  align-items: center;
  flex-wrap: wrap;
  gap: .2rem .35rem;
  color: var(--muted, #607568);
  font-size: .75rem;
  line-height: 1.6;
}
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
}
.legal-toc,
.legal-document {
  min-width: 0;
  border: 1px solid var(--border, #dce5de);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 4px 24px -8px rgb(28 56 44 / .1);
}
.legal-toc {
  padding: 1.25rem;
}
.legal-toc h2,
.legal-toc-label {
  margin: 0 0 .6rem;
  color: var(--pine, #1c382c);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.01em;
}
.legal-toc ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: .1rem;
}
.legal-toc li {
  min-width: 0;
  margin: 0;
}
.legal-toc a {
  display: block;
  padding: .45rem .6rem;
  border-radius: .65rem;
  color: #4f6859;
  font-size: .8125rem;
  line-height: 1.55;
  text-decoration: none;
}
.legal-toc a:hover,
.legal-toc a[aria-current='location'] {
  background: var(--soft, #eff5f0);
  color: var(--pine, #1c382c);
}
.legal-document {
  width: 100%;
  padding: 1.25rem;
  color: #365646;
  overflow-wrap: anywhere;
}
.legal-document > * {
  max-width: 72ch;
  margin-inline: auto;
}
.legal-section {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border, #dce5de);
  scroll-margin-top: 1rem;
}
.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
}
.legal-section:last-child {
  padding-bottom: 0;
}
.legal-section h2,
.legal-contact h2 {
  margin: 0 0 1rem;
  color: var(--pine, #1c382c);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.025em;
}
.legal-section h3 {
  margin: 1.5rem 0 .65rem;
  color: var(--pine, #1c382c);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.015em;
}
.legal-section p,
.legal-contact p {
  margin: 0 0 1rem;
}
.legal-section ul,
.legal-section ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
  list-style-position: outside;
}
.legal-section ul { list-style-type: disc; }
.legal-section ol { list-style-type: decimal; }
.legal-section li {
  padding-left: .2rem;
  margin-block: .45rem;
}
.legal-section li::marker { color: var(--sage, #3d755c); }
.legal-section li > ul,
.legal-section li > ol { margin-block: .5rem; }
.legal-document strong {
  color: var(--pine, #1c382c);
  font-weight: 700;
}
.legal-document a {
  font-weight: 500;
  text-decoration: underline;
}
.legal-note {
  margin-block: 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border, #dce5de);
  border-radius: 1rem;
  background: var(--soft, #eff5f0);
  color: var(--pine, #1c382c);
  font-size: .9375rem;
  line-height: 1.75;
}
.legal-section .legal-note { margin-top: 1.5rem; }
.legal-note p:last-child,
.legal-contact p:last-child,
.legal-section > :last-child { margin-bottom: 0; }
.legal-contact {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--border, #dce5de);
  border-radius: 1rem;
  background: var(--soft, #eff5f0);
  scroll-margin-top: 1rem;
}

@media (min-width: 640px) {
  .legal-shell { padding-inline: 1.5rem; }
  .legal-intro { padding-block: 3rem 3.5rem; }
  .legal-intro h1 { font-size: 3rem; }
  .legal-intro > p:not(.legal-eyebrow):not(.legal-updated) { font-size: 1.125rem; }
  .legal-toc { padding: 1.5rem; }
  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }
  .legal-document { padding: 2rem; }
  .legal-section { padding-block: 2rem; }
  .legal-section h2,
  .legal-contact h2 { font-size: 1.5rem; }
  .legal-contact { padding: 1.5rem; }
}
@media (min-width: 1024px) {
  .legal-shell { padding-inline: 2rem; padding-bottom: 6rem; }
  .legal-intro h1 { font-size: 3.25rem; }
  .legal-layout {
    grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
    gap: 2rem;
  }
  .legal-toc {
    position: sticky;
    top: 6.5rem;
    max-height: calc(100vh - 8rem);
    max-height: calc(100svh - 8rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .legal-toc ol { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .legal-shell *,
  .legal-skip-link {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  @page { margin: 18mm; }
  .site-header,
  .site-footer,
  #info-dialog,
  .legal-breadcrumb,
  .legal-toc,
  .legal-skip-link { display: none; }
  .legal-shell {
    max-width: none;
    padding: 0;
    color: #000;
    font-size: 10pt;
    line-height: 1.5;
  }
  .legal-intro { padding: 0 0 1.5rem; }
  .legal-intro h1 { font-size: 24pt; }
  .legal-intro > p:not(.legal-eyebrow):not(.legal-updated) { color: #000; font-size: 11pt; }
  .legal-layout { display: block; }
  .legal-document { padding: 0; border: 0; border-radius: 0; box-shadow: none; color: #000; }
  .legal-document > * { max-width: none; }
  .legal-section { padding-block: 1rem; }
  .legal-section h2,
  .legal-contact h2 { font-size: 14pt; }
  .legal-section h3 { font-size: 11pt; }
  .legal-shell h1,
  .legal-shell h2,
  .legal-shell h3 { break-after: avoid; color: #000; }
  .legal-shell p,
  .legal-shell li { orphans: 3; widows: 3; }
  .legal-note,
  .legal-contact,
  .legal-eyebrow,
  .legal-updated { background: transparent; color: #000; box-shadow: none; }
  .legal-shell a,
  .legal-document strong { color: #000; }
  .legal-note,
  .legal-contact { break-inside: avoid; }
}
