@font-face {
  font-family: "Alexandria";
  src: url("../assets/fonts/Alexandria-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Alexandria";
  src: url("../assets/fonts/Alexandria-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Alexandria";
  src: url("../assets/fonts/Alexandria-Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --background: #fff;
  --surface: #f3f3f3;
  --text: #161616;
  --secondary: #626262;
  --border: rgba(22, 22, 22, 0.14);
  --page: min(920px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Alexandria", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
.legal-page {
  width: var(--page);
  margin-inline: auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 92px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 11px;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-header nav a,
.site-footer a {
  color: var(--secondary);
  font-size: 0.84rem;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--text);
}

.legal-page {
  padding: 76px 0 112px;
}

.legal-intro {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.eyebrow,
.effective-date {
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 16px 0 24px;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.summary {
  max-width: 760px;
  margin: 0;
  color: var(--secondary);
  font-size: 1.08rem;
  line-height: 1.75;
}

.legal-content {
  max-width: 760px;
  padding-top: 30px;
}

.legal-content section {
  padding-top: 34px;
  scroll-margin-top: 24px;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}

h3 {
  margin: 28px 0 10px;
  font-size: 1rem;
}

p,
li {
  color: #2b2b2b;
  font-size: 0.96rem;
  line-height: 1.75;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 0 0 18px;
  padding-left: 1.35rem;
}

li + li {
  margin-top: 9px;
}

.plain-language {
  margin: 26px 0 2px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--surface);
}

.plain-language strong {
  display: block;
  margin-bottom: 7px;
}

.plain-language p {
  margin: 0;
}

.site-footer {
  min-height: 112px;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  font-size: 0.78rem;
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-header {
    padding: 20px 0;
  }

  .legal-page {
    padding-top: 52px;
  }
}

@media print {
  .skip-link,
  .site-header,
  .site-footer {
    display: none;
  }

  .legal-page {
    width: 100%;
    padding: 0;
  }

  .legal-content {
    max-width: none;
  }
}
