@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --blue: #1662f5;
  --blue-dark: #0f4fd1;
  --blue-soft: #eef4ff;
  --navy: #10295a;
  --ink: #111418;
  --ink-2: #4a505b;
  --line: #e3e5e9;
  --soft: #f6f7f8;
  --page: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--blue-dark); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
h1 { margin: 0 0 1rem; font-size: clamp(2.1rem, 5vw, 3.25rem); font-weight: 500; }
h2 { margin: 0 0 0.9rem; font-size: 1.6rem; font-weight: 500; }
h3 { margin: 1.6rem 0 0.4rem; font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: 0.45rem; }

.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; padding: 0.6rem 1rem; background: #fff; z-index: 2; }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.75rem; padding-block: 1rem; }
.brand { margin-right: auto; color: var(--ink); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.04em; text-decoration: none; }
.brand i { display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px #dce8ff; }
.top nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; font-size: 0.97rem; }
.top nav a { color: var(--ink-2); text-decoration: none; padding-block: 0.3rem; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); text-decoration: underline; }

.hero { background: var(--navy); color: #fff; }
.hero .wrap { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.hero h1 { max-width: 17ch; }
.hero p { max-width: 58ch; color: #d5e0f5; font-size: 1.15rem; }
.button { display: inline-block; margin-top: 0.75rem; padding: 0.75rem 1.5rem; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 500; text-decoration: none; }
.button:hover { background: #dce8ff; }
.hero a:focus-visible { outline-color: #fff; }

.band { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.band + .band { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 3rem; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 2.5rem; }
.features h3 { margin-top: 0; }
.features p { color: var(--ink-2); }

.legal { display: grid; grid-template-columns: 240px minmax(0, 70ch); gap: 3.5rem; padding-block: 3rem 5rem; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal section { padding-top: 1.75rem; scroll-margin-top: 1rem; }
.updated { color: var(--ink-2); }
.toc { font-size: 0.93rem; line-height: 1.45; }
.toc div { position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow-y: auto; }
.toc strong { display: block; margin-bottom: 0.6rem; font-weight: 600; }
.toc ol { margin: 0; padding-left: 1.5rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue-dark); text-decoration: underline; }
.note { margin: 1.25rem 0; padding: 1.1rem 1.3rem; border-radius: 14px; background: var(--blue-soft); }
.note > :last-child { margin-bottom: 0; }

.table { overflow-x: auto; margin-bottom: 1.25rem; }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.97rem; line-height: 1.5; }
th, td { padding: 0.75rem 1rem 0.75rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-weight: 600; }

footer { background: var(--soft); border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-2); }
footer .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.5rem; padding-block: 2.5rem; }
footer p { margin: 0; }
footer strong { color: var(--ink); font-weight: 600; }
footer .links a { display: block; padding-block: 0.15rem; }
footer .fine { grid-column: 1 / -1; font-size: 0.88rem; }

@media (max-width: 860px) {
  .split, .features, .legal, footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .legal { gap: 1.5rem; padding-top: 2rem; }
  .toc div { position: static; max-height: none; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .top, .toc, footer .links { display: none; } .legal { display: block; } }
