/* The privacy policy, terms, about and contact pages. */
.legal { --mint: #eef5ef; --forest: #12130f; background: var(--white); }
.legal .site-header { border-bottom: 0; background: var(--mint, #eef5ef); max-width: none; padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); }
.legal__main { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 110px); }
.legal__page { max-width: 760px; margin-inline: auto; }
.legal__page h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.06; letter-spacing: -0.03em; }
.legal__page h2 { margin-top: 44px; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; scroll-margin-top: 20px; }
.legal__page p, .legal__page li { margin-top: 12px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.legal__page li { margin-top: 8px; }
.legal__page ul { margin-top: 8px; padding-left: 22px; list-style: disc; }
.legal__page ol { margin-top: 8px; padding-left: 22px; list-style: decimal; }
.legal__page a { color: var(--accent-deep); }
.legal__page b { color: var(--ink); }
.legal__meta { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.legal__lead { margin-top: 22px !important; font-size: 19px !important; color: var(--ink) !important; }
.legal__draft { margin-top: 0 !important; margin-bottom: 24px; padding: 10px 14px; border: 1px solid #f0d9a8; border-radius: 10px; background: var(--amber-wash); color: var(--amber) !important; font-size: 14px !important; font-weight: 600; }
.legal__table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.legal__table th, .legal__table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; color: var(--ink-2); }
.legal__table thead th { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.legal__table tbody th { width: 38%; font-weight: 600; color: var(--ink); }
.todo { padding: 1px 6px; border-radius: 6px; background: #fff2a8; color: #5c4400; font-weight: 600; }
.legal .foot { margin-top: 0; }
@media (max-width: 760px) {
  .legal .site-header { grid-template-columns: 1fr auto; grid-template-areas: "brand account" "tabs tabs"; height: auto; padding-block: 14px 8px; row-gap: 8px; }
  .legal .site-header .mark { grid-area: brand; }
  .legal .site-header .account-links { grid-area: account; flex-wrap: wrap; justify-content: flex-end; gap: 8px; min-width: 0; }
  .legal .site-header .nav { grid-area: tabs; display: flex; gap: 24px; }
  .legal__table, .legal__table tbody, .legal__table tr, .legal__table th, .legal__table td { display: block; width: auto; }
  .legal__table tbody th { width: auto; }
  .legal__table thead { display: none; }
  .legal__table tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .legal__table th, .legal__table td { padding: 0; border: 0; }
  .legal__table td { margin-top: 4px; }
}
@media print { .legal .site-header, .legal .foot { display: none; } }

/* The footer, as on the homepage. */
.foot { padding-block: 56px 48px; background: var(--forest); color: rgb(255 255 255 / 0.76); font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot__grid > div p:last-child { max-width: 40ch; }
.foot__brand { margin-bottom: 12px; color: var(--white); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.foot nav { display: grid; align-content: start; justify-items: start; gap: 10px; }
.foot h2 { color: var(--white); font-size: 15px; letter-spacing: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot :focus-visible { outline-color: var(--white); }
@media (max-width: 760px) { .foot__grid { grid-template-columns: minmax(0, 1fr); } }

/* The header on mid-size windows, as on the homepage. */
@media (min-width: 761px) {
  .legal .site-header .account-links, .legal .site-header .nav { white-space: nowrap; }
  .legal .site-header .account-links { justify-self: end; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .legal .site-header { grid-template-columns: auto 1fr auto; column-gap: 16px; }
  .legal .site-header .nav { justify-self: center; gap: 18px; }
  .legal .site-header .account-links { gap: 12px; }
  .legal .site-header .lang > span { display: none; }
}
