:root {
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --text: #14171c;
  --text-2: #4f5866;
  --border: #e1e5eb;
  --accent: #1f5fd1;
  --accent-2: #e8effc;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1216;
    --bg-2: #161a20;
    --text: #e8ebf0;
    --text-2: #a3adbb;
    --border: #2a313b;
    --accent: #6a9cf5;
    --accent-2: #18243a;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

header.site { border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; }
.logo img { width: 28px; height: 28px; }
header nav a { color: var(--text-2); text-decoration: none; margin-left: 20px; font-size: 15px; }
header nav a:hover { color: var(--text); }

.hero { padding-top: 88px; padding-bottom: 72px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); background: var(--accent-2); padding: 4px 10px; border-radius: 999px; margin-bottom: 20px; }
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.12; margin: 0 0 20px; letter-spacing: -0.02em; max-width: 18ch; }
.lede { font-size: 20px; color: var(--text-2); max-width: 40ch; margin: 0 0 32px; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 8px; }
.btn:hover { filter: brightness(1.08); }
.note { font-size: 15px; color: var(--text-2); margin-top: 14px; }

section { padding: 64px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: 28px; line-height: 1.25; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-lede { color: var(--text-2); max-width: 60ch; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.grid h3 { font-size: 18px; margin: 0 0 6px; }
.grid p { margin: 0; color: var(--text-2); font-size: 16px; }

.promise { border-left: 4px solid var(--accent); padding: 4px 0 4px 20px; font-size: 20px; max-width: 60ch; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.facts li { padding-left: 28px; position: relative; color: var(--text-2); }
.facts li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

footer.site { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--text-2); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site a { color: var(--text-2); margin-left: 18px; }
footer.site a:first-child { margin-left: 0; }

/* Policy pages */
.doc { padding: 56px 0 72px; }
.doc h1 { font-size: 38px; max-width: none; }
.doc .meta { color: var(--text-2); margin-bottom: 36px; }
.doc h2 { font-size: 23px; margin-top: 44px; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { background: var(--bg-2); font-weight: 600; }
.doc .callout { background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; margin: 20px 0; }
.toc { background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 16px 22px; margin-bottom: 8px; }
.toc ol { margin: 6px 0 0; padding-left: 20px; }
.table-scroll { overflow-x: auto; }

@media (max-width: 600px) {
  :root { font-size: 16px; }
  header nav a { margin-left: 14px; }
  .hero { padding-top: 56px; padding-bottom: 48px; }
  header nav .wide-only { display: none; }
  section { padding: 48px 0; }
}
