@font-face {
  font-family: Geist;
  src: url("/assets/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --blue: #1687e8;
  --ink: #0c1117;
  --muted: #607080;
  --line: #dfe8ef;
  --light: #f6faff;
  --white: #fff;
  --shadow: 0 12px 40px #24425f12;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: Geist, Arial, sans-serif; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.legal-container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 30;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 10px; }
.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e8eff5;
  background: #ffffffed;
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { flex: 0 0 auto; }
.header-inner nav { display: flex; align-items: center; gap: 34px; font-family: Geist, Arial, sans-serif; }
.header-inner nav a:hover { color: var(--blue); }
.header-inner .header-button {
  padding: 14px 20px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}
.header-inner .header-button:hover { background: #0877d5; color: var(--white); }
.legal-hero { padding: 76px 0 68px; border-bottom: 1px solid var(--line); background: var(--white); }
.legal-hero .legal-container { max-width: 1160px; }
.eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-hero h1 { font-size: clamp(42px, 6vw, 66px); line-height: 1.05; letter-spacing: -.025em; }
.legal-hero h1 + p { max-width: 730px; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 54px;
  padding-top: 64px;
  padding-bottom: 110px;
}
.category-panel {
  position: sticky;
  top: 122px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.category-title {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.category-panel nav { display: grid; }
.category-panel a {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.category-panel a:hover { color: var(--blue); }
.documents { display: grid; gap: 28px; min-width: 0; }
.legal-document {
  scroll-margin-top: 112px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.legal-document > h2 {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.legal-copy { margin-top: 28px; color: #27333e; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.legal-copy > :first-child { margin-top: 0; }
.legal-copy > :last-child { margin-bottom: 0; }
.legal-copy h3, .legal-copy h4, .legal-copy h5, .legal-copy h6 {
  margin: 1.7em 0 .65em;
  color: var(--ink);
  line-height: 1.3;
}
.legal-copy h3 { font-size: 27px; }
.legal-copy h4 { font-size: 21px; }
.legal-copy h5, .legal-copy h6 { font-size: 18px; }
.legal-copy p, .legal-copy ul, .legal-copy ol, .legal-copy table { margin: 0 0 1.25em; }
.legal-copy ul, .legal-copy ol { padding-left: 1.5em; }
.legal-copy li + li { margin-top: .45em; }
.legal-copy a { color: #0877d5; text-decoration: underline; text-underline-offset: 3px; }
.legal-copy hr { height: 1px; margin: 30px 0; border: 0; background: var(--line); }
.legal-copy table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.legal-copy th, .legal-copy td { min-width: 210px; padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-copy th { background: var(--light); color: var(--ink); }
.legal-footer { padding: 42px 0; background: var(--ink); color: #d9e3eb; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-inner p { color: #93a3b0; font-size: 14px; }
.footer-inner nav { display: flex; align-items: center; gap: 24px; }
.footer-inner nav button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-inner nav a:hover, .footer-inner nav button:hover { color: var(--blue); }
@media (max-width: 900px) {
  .header-inner nav { gap: 20px; }
  .header-inner nav > a:not(.header-button) { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .category-panel { position: static; }
  .category-panel nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
@media (max-width: 620px) {
  .legal-container { width: min(100% - 32px, 1160px); }
  .header-inner { min-height: 74px; }
  .header-inner .header-button { padding: 11px 13px; font-size: 13px; }
  .legal-hero { padding: 50px 0 46px; }
  .legal-hero h1 + p { font-size: 16px; }
  .legal-layout { padding-top: 32px; padding-bottom: 70px; }
  .category-panel { padding: 20px; }
  .category-panel nav { grid-template-columns: 1fr; }
  .legal-document { padding: 26px 20px; }
  .legal-copy { font-size: 16px; line-height: 1.68; }
  .legal-copy h3 { font-size: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-inner nav { flex-wrap: wrap; justify-content: center; }
}
