@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/manrope-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/manrope-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/manrope-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("/fonts/fraunces-latin-700-normal.woff2") format("woff2");
}

:root {
  --paper: #f8f6f0;
  --card: #fffdfa;
  --ink: #071b45;
  --muted: #53607a;
  --line: #dbe1eb;
  --blue: #0759d9;
  --navy: #06153a;
  --gold: #e4a20d;
  color-scheme: light;
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-wrap: anywhere;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--navy);
}

:where(a, button):focus-visible {
  outline: 3px solid rgba(7, 89, 217, 0.4);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  transform: translateY(-160%);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(7, 27, 69, 0.14);
}

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

.site-header {
  border-bottom: 1px solid #e7e2d8;
  background: var(--card);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 48px), 1180px);
  min-height: 84px;
  gap: 28px;
  margin: 0 auto;
  padding: 8px 0;
}

.brand {
  display: block;
  flex: 0 0 214px;
  height: 68px;
  overflow: hidden;
}

.brand img {
  display: block;
  width: 214px;
  height: 68px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--blue);
}

.site-nav .signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  padding: 8px 20px;
}

.site-nav .signin:hover {
  background: var(--navy);
  color: #fff;
}

.page-shell {
  width: min(calc(100% - 40px), 1020px);
  margin: 0 auto;
  padding: 50px 0 80px;
}

.legal-card {
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 16px;
  background: #fff;
  padding: clamp(28px, 6vw, 64px);
  box-shadow: 0 16px 46px rgba(7, 27, 69, 0.08);
}

.meta {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
}

h1 {
  max-width: 15ch;
  margin: 0 0 28px;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

h2 {
  margin: 3rem 0 0.65rem;
  padding-top: 0.35rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h3 {
  margin: 2rem 0 0.55rem;
  font-size: 1.16rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.35rem;
}

li {
  margin: 0.72rem 0;
  padding-left: 0.25rem;
}

li::marker {
  color: var(--gold);
}

strong {
  color: var(--navy);
  font-weight: 700;
}

.site-footer {
  background: var(--navy);
  color: #e1e8f8;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), 1180px);
  min-height: 112px;
  gap: 32px;
  margin: 0 auto;
  padding: 20px 0;
}

.footer-brand {
  display: block;
  width: 178px;
  height: 60px;
  overflow: hidden;
}

.footer-brand img {
  display: block;
  width: 178px;
  height: 60px;
  object-fit: contain;
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-links a {
  color: #fff;
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffd26a;
}

@media (max-width: 720px) {
  .header-inner {
    width: min(calc(100% - 32px), 1180px);
    min-height: 76px;
  }

  .brand,
  .brand img {
    width: 174px;
    height: 58px;
  }

  .site-nav a:not(.signin) {
    display: none;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav .signin {
    min-height: 42px;
    padding: 7px 14px;
  }

  .page-shell {
    width: min(calc(100% - 24px), 1020px);
    padding: 24px 0 48px;
  }

  .legal-card {
    border-radius: 12px;
    padding: 26px 22px 34px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    width: min(calc(100% - 40px), 1180px);
    padding: 28px 0;
  }
}

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

  body {
    background: #fff;
  }

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

  .legal-card {
    border: 0;
    padding: 0;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
