/* Shared reading layout for the three supplied policy documents. */
html {
  scroll-padding-top: 100px;
}
.legal-page {
  background: var(--paper);
}
.legal-header .bar {
  min-height: 84px;
  flex-wrap: nowrap;
}
.legal-header .back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0 8px 16px;
  font: 600 14px/20px var(--body);
}
.legal-header .back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-top: 48px;
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 8px;
}
.legal-nav p {
  margin: 0 0 12px;
  font: 600 12px/18px var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}
.legal-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 24px;
  font: 600 15px/22px var(--body);
}
.legal-nav a:hover {
  background: #dedede;
}
.legal-nav a[aria-current] {
  background: var(--neon);
  color: var(--ink);
}
.legal-article {
  min-width: 0;
  padding: clamp(24px, 4vw, 56px);
  border-radius: 32px;
  background: var(--white);
  font: 400 17px/1.75 var(--body);
  overflow-wrap: anywhere;
}
.legal-article h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.legal-article h2 {
  margin: 48px 0 18px;
  font-size: clamp(25px, 2.5vw, 32px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: initial;
}
.legal-article h3 {
  margin: 32px 0 14px;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: initial;
}
.legal-article h1 strong,
.legal-article h2 strong,
.legal-article h3 strong {
  font-weight: inherit;
}
.legal-article p {
  margin-block: 16px;
}
.legal-article .legal-updated {
  color: var(--mid);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.legal-article a {
  color: #086a16;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-article a:hover {
  color: var(--ink);
}
.legal-article ul,
.legal-article ol {
  margin-block: 18px;
  padding-left: 26px;
}
.legal-article li {
  margin-block: 10px;
  padding-left: 4px;
}
.legal-article .doc-list-literal {
  list-style: none;
  padding-left: 8px;
}
.legal-article .doc-underline {
  text-decoration: underline;
}
.legal-article .legal-toc {
  padding: 24px;
  margin-block: 28px 40px;
  border-radius: 20px;
  background: #f1f3ee;
}
.legal-toc h2 {
  margin-top: 0;
}
.legal-toc p {
  margin-block: 8px;
  font-size: 15px;
  line-height: 1.5;
}
.legal-toc a {
  display: inline-block;
  padding-block: 4px;
}
.legal-table-wrap {
  margin-block: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.legal-table-wrap.wide-table table {
  min-width: 680px;
}
.legal-article table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.6;
}
.legal-article th,
.legal-article td {
  padding: 14px;
  vertical-align: top;
  text-align: left;
  border: 1px solid #cdd2c8;
  overflow-wrap: anywhere;
}
.legal-article th {
  background: #e4ffb2;
  font-weight: 700;
}
.legal-article tr:nth-child(even) td {
  background: #f6f7f4;
}
.legal-article td p,
.legal-article th p {
  margin-block: 0 10px;
}
.legal-article td p:last-child,
.legal-article th p:last-child {
  margin-bottom: 0;
}
.legal-article .back-to-top {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 40px;
}
.legal-page footer {
  margin-top: 40px;
}
@media (max-width: 980px) {
  .legal-table-wrap.wide-table::before {
    content: "Swipe or scroll to read all columns →";
    position: sticky;
    left: 0;
    display: block;
    padding-bottom: 12px;
    color: var(--mid);
    font-size: 13px;
    line-height: 1.5;
  }
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 24px;
  }
  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .legal-nav p {
    flex-basis: 100%;
    margin-bottom: 0;
  }
  .legal-nav a {
    border: 1px solid #ccc;
  }
}
@media (max-width: 640px) {
  .legal-article {
    padding: 24px 20px;
    border-radius: 24px;
    font-size: 16px;
  }
  .legal-article h1 {
    font-size: 36px;
  }
  .legal-article h2 {
    font-size: 24px;
  }
  .legal-article h3 {
    font-size: 20px;
  }
  .legal-article .legal-toc {
    padding: 18px;
  }
  .legal-article th,
  .legal-article td {
    padding: 8px;
    font-size: 12px;
    line-height: 1.6;
  }
  .legal-header .brand svg {
    width: 121px;
    height: 32px;
  }
}
@media print {
  .legal-header,
  .legal-nav,
  .legal-page footer,
  .skip-link,
  .back-to-top {
    display: none;
  }
  .legal-layout {
    display: block;
    padding: 0;
  }
  .legal-article {
    padding: 0;
    font-size: 11pt;
    border-radius: 0;
  }
  .legal-article h2,
  .legal-article h3 {
    break-after: avoid;
  }
  .legal-article tr {
    break-inside: avoid;
  }
  .legal-article a {
    color: var(--ink);
  }
}
