:root {
  --ink: #11151a;
  --muted: #5d6670;
  --paper: #f4f6f8;
  --surface: #ffffff;
  --blue: #004aad;
  --blue-deep: #00377f;
  --line: rgba(17, 21, 26, .14);
  --soft-blue: #dce9fb;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}
a { color: inherit; }
:focus-visible { outline: 3px solid #ffb800; outline-offset: 4px; }
::selection { color: white; background: var(--blue); }
.shell { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 40;
  padding: .8rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 10px;
}
.skip-link:focus { transform: translateY(6rem); }
.site-nav { padding-top: 18px; }
.nav-inner {
  min-height: 64px;
  padding: 8px 10px 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(244, 246, 248, .88);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(32, 48, 68, .08), inset 0 1px 0 white;
  backdrop-filter: blur(18px);
}
.logo { text-decoration: none; font-size: 1.25rem; font-weight: 800; letter-spacing: -.07em; }
.logo-mark { color: var(--blue); }
.back-link {
  padding-bottom: 3px;
  color: var(--muted);
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  transition: color .25s var(--ease);
}
.back-link:hover { color: var(--blue); }
.legal-layout {
  padding: clamp(5rem, 10vw, 9rem) 0 7rem;
  display: grid;
  grid-template-columns: minmax(220px, .38fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}
.legal-intro { position: sticky; top: 2rem; }
.eyebrow {
  margin-bottom: 1.5rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .92;
  letter-spacing: -.07em;
  text-wrap: balance;
}
.updated { margin-top: 1.5rem; color: var(--muted); font-size: .82rem; }
.legal-content {
  padding: clamp(1.6rem, 4vw, 3.5rem);
  background: var(--surface);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: inset 0 0 0 1px rgba(17, 21, 26, .045);
}
.legal-content section + section { margin-top: 3.25rem; padding-top: 3.25rem; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 1rem; font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.04em; }
.legal-content h3 { margin: 1.5rem 0 .65rem; font-size: 1rem; }
.legal-content p, .legal-content li { color: var(--muted); font-size: .98rem; line-height: 1.75; text-wrap: pretty; }
.legal-content p + p { margin-top: 1rem; }
.legal-content ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.legal-content li + li { margin-top: .65rem; }
.legal-content strong { color: var(--ink); font-weight: 700; }
.notice { margin-top: 1.5rem; padding: 1.25rem; background: var(--soft-blue); border-radius: 12px; }
.notice p { color: #3f526b; }
footer { padding: 2.8rem 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
footer p, .footer-links a { color: var(--muted); font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { text-underline-offset: 4px; }

@media (max-width: 760px) {
  .shell { width: calc(100% - 1.5rem); }
  .site-nav { padding-top: 10px; }
  .nav-inner { min-height: 58px; padding-left: 16px; }
  .legal-layout { grid-template-columns: 1fr; padding-top: 4rem; gap: 2.5rem; }
  .legal-intro { position: static; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}
