@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/Outfit-Variable.ttf") format("truetype");
}

:root {
  --legal-bg: #fff;
  --legal-canvas: #f5f5f7;
  --legal-text: #424245;
  --legal-muted: #6e6e73;
  --legal-link: #06c;
  --legal-link-hover: #147ce5;
  --legal-hairline: #d2d2d7;
  --legal-max: 980px;
  --legal-sidebar: 220px;
  --mint: #3dcea2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.legal {
  margin: 0;
  background: var(--legal-bg);
  color: var(--legal-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--legal-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--legal-link-hover);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--legal-hairline);
}

.site-header-inner,
.site-footer-inner,
.wrap {
  max-width: var(--legal-max);
  margin: 0 auto;
  padding: 0 22px;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 600;
  font-synthesis: none;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand .wordmark-swing {
  color: #1d1d1f;
}

.brand .wordmark-21 {
  color: var(--mint);
}

.header-nav {
  display: flex;
  gap: 22px;
  font-size: 12px;
  font-weight: 400;
}

.crumb {
  background: var(--legal-canvas);
  border-bottom: 1px solid var(--legal-hairline);
  font-size: 12px;
  color: var(--legal-muted);
  padding: 10px 0;
}

.layout {
  display: grid;
  grid-template-columns: var(--legal-sidebar) minmax(0, 1fr);
  gap: 48px;
  max-width: var(--legal-max);
  margin: 0 auto;
  padding: 48px 22px 80px;
}

.toc {
  position: sticky;
  top: 72px;
  align-self: start;
  font-size: 14px;
  line-height: 1.4;
}

.toc a {
  display: block;
  color: var(--legal-text);
  padding: 6px 0;
}

.toc a:hover {
  color: var(--legal-link);
}

.article h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.004em;
  margin: 0 0 8px;
}

.updated {
  color: var(--legal-muted);
  font-size: 14px;
  margin: 0 0 28px;
}

.lede {
  font-size: 21px;
  line-height: 1.381;
  font-weight: 400;
  margin: 0 0 36px;
}

.article h2 {
  font-size: 28px;
  line-height: 1.14286;
  font-weight: 600;
  letter-spacing: 0.007em;
  margin: 48px 0 14px;
}

.article h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 28px 0 10px;
}

.article p,
.article li {
  margin: 0 0 14px;
}

.article ul,
.article ol {
  padding-left: 1.2em;
  margin: 0 0 16px;
}

.article li {
  margin-bottom: 8px;
}

.site-footer {
  background: var(--legal-canvas);
  border-top: 1px solid var(--legal-hairline);
  font-size: 12px;
  color: var(--legal-muted);
  padding: 20px 0 32px;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

@media (max-width: 800px) {
  .layout {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .toc {
    position: static;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--legal-hairline);
  }

  .article h1 {
    font-size: 32px;
  }
}
