
.legal-page {
  --ink: #202322;
  --muted: #5c625f;
  --line: #e1e5e3;
  --accent: #306895;
  --gutter: 24px;
  --masthead: 60px;
  --legal-width: 704px;
  min-height: 100vh;
  background: #fff;
  color: var(--ink);
  font: 16px/1.65 Maco, system-ui, sans-serif;
}
.legal-page .site-header.wrap {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  max-width: none;
  height: var(--masthead);
  min-height: var(--masthead);
  padding: 0 max(var(--gutter), calc((100% - 1056px) / 2));
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.legal-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
  text-decoration: none;
}
.legal-page .brand img { width: 22px; height: 22px; border-radius: 0; }
.legal-page .brand .brand-wordmark { width: 86.84375px; }
.legal-menu { height: 44px; padding: 0; border: 0; }
.legal-menu summary {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  list-style: none;
  border-radius: 22px;
  cursor: pointer;
}
.legal-menu summary::-webkit-details-marker { display: none; }
.legal-menu summary span {
  position: absolute;
  top: 18px;
  inset-inline-start: 12px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.legal-menu summary span + span { top: 24px; }
.legal-menu[open] summary span { transform: translateY(3px) rotate(45deg); }
.legal-menu[open] summary span + span { transform: translateY(-3px) rotate(-45deg); }
.legal-menu:not([open]) .site-nav { pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .legal-menu summary span { transition: transform 315ms ease; }
  @supports (transition-behavior: allow-discrete) and selector(details::details-content) {
    .legal-menu::details-content {
      opacity: 0;
      transition: opacity 240ms ease, content-visibility 240ms allow-discrete;
    }
    .legal-menu[open]::details-content { opacity: 1; }
  }
  @supports not ((transition-behavior: allow-discrete) and selector(details::details-content)) {
    .legal-menu[open] .site-nav { animation: legal-menu-fade-in 240ms ease; }
  }
}
@keyframes legal-menu-fade-in { from { opacity: 0; } }
.legal-page .legal-menu .site-nav {
  position: absolute;
  inset: var(--masthead) 0 auto;
  display: grid;
  width: auto;
  height: calc(100dvh - var(--masthead));
  align-content: start;
  gap: 4px;
  padding: 16px calc(var(--gutter) + 8px) 32px;
  overflow: auto;
  background: #fff;
}
.legal-page .site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.25;
  text-decoration: none;
}
.legal-page .site-nav a[aria-current='page'] { color: var(--muted); }
.legal-page .site-nav a:hover { text-decoration: underline; }
.legal-page:has(.legal-menu[open]) { overflow: hidden; }
.legal-page :is(main, .site-footer).wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--legal-width));
}
.legal-page .page-head {
  padding: clamp(32px, 7vw, 72px) 0 clamp(24px, 4vw, 44px);
  margin: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.legal-page .page-head h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(32px, 6vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.legal-page .page-head .date-line {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.legal-page .page-head > p:not(.date-line) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}
.legal-page .document {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.legal-page .document section {
  scroll-margin-top: calc(var(--masthead) + 12px);
  margin: 0;
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.legal-page .document h2 {
  margin: 0 0 12px;
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.legal-page .document :is(p, ul, ol) { margin: 0 0 14px; }
.legal-page .document section > :last-child { margin-bottom: 0; }
.legal-page .document :is(ul, ol) { padding-inline-start: 1.2em; }
.legal-page .document li + li { margin-block-start: .45em; }
.legal-page .document a { color: var(--accent); overflow-wrap: anywhere; text-underline-offset: .18em; }
.legal-page .document code { background: #f5f3ee; border-radius: 4px; padding-inline: .25em; overflow-wrap: anywhere; }
.legal-page .site-footer {
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 8px;
  padding: 30px 0 40px;
  margin-block-start: 0;
  border: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.home-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}
.home-artwork {
  position: relative;
  flex: 1;
  min-height: min(320px, 55svh);
  overflow: clip;
}
.home-artwork svg {
  display: block;
  width: 100%;
  height: auto;
}
.home-page .site-footer {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  pointer-events: none;
}
@media (min-width: 720px) {
  .legal-page { --gutter: 32px; }
  .legal-page .legal-menu .site-nav {
    inset-inline-start: auto;
    inset-inline-end: max(var(--gutter), calc((100% - 1056px) / 2));
    width: 320px;
    height: auto;
    max-height: calc(100dvh - var(--masthead) - 16px);
    border: 1px solid var(--line);
    border-block-start: 0;
    border-radius: 0 0 24px 24px;
  }
  .legal-page .document { font-size: 17px; }
  .legal-page .document section { padding-block: 32px; }
}
@media (max-width: 350px) {
  .legal-page { --gutter: 16px; }
}
@media print {
  .legal-page main.wrap { width: 100%; }
  .legal-page .site-header, .legal-page .site-footer { display: none; }
}
