/* QuantumLeads legal pages: the same tokens, type and components as index.html */
:root {
  --navy: #00032a; --navy-2: #06103f; --navy-3: #0b1a5c;
  --blue: #0072ff; --blue-600: #0056cc; --cyan: #00c6ff; --grad: linear-gradient(100deg, #0072ff 0%, #00a2ff 55%, #00c6ff 100%);
  --grad-btn: linear-gradient(100deg, #0052cc 0%, #006ee0 100%);
  --paper: #ffffff; --paper-2: #f4f7fd; --line-l: #e3e9f5;
  --ink: #0d1433; --ink-2: #3a4566; --ink-3: #5b6788;
  --on-dark: #eef3ff; --on-dark-2: #b9c4e4; --on-dark-3: #8c99c4;
  --line-d: rgba(150, 180, 255, .18);
  --good: #12b76a; --good-d: #34e3a1;
  --r-sm: 12px; --r: 18px; --r-lg: 26px;
  --shadow: 0 1px 2px rgba(13, 20, 51, .06), 0 10px 30px rgba(13, 20, 51, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font: 400 16px/1.7 "Poppins", "Segoe UI", system-ui, sans-serif; color: var(--ink); background: var(--paper-2); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }

/* header + title band */
.top { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: var(--on-dark); padding-bottom: 64px; }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(640px 360px at 12% 0%, rgba(0, 114, 255, .32), transparent 70%), radial-gradient(560px 320px at 90% 10%, rgba(0, 198, 255, .18), transparent 70%); }
.top::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(150, 180, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 180, 255, .07) 1px, transparent 1px); background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, #000 30%, transparent 75%); }
.nav { height: 78px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line-d); }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.logo img { width: 38px; height: 38px; border-radius: 11px; }
.logo small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); margin-top: 1px; }
.nav .menu { margin-left: auto; display: flex; gap: 4px; }
.nav .menu a { padding: 10px 12px; border-radius: 8px; color: var(--on-dark-2, #c9d3ea); font-weight: 600; font-size: 15px; }
.nav .menu a:hover, .nav .menu a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .menu + .back { margin-left: 12px; }
.nav .back { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(185, 196, 228, .35); background: rgba(255, 255, 255, .04); color: var(--on-dark); font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s; }
.nav .back:hover { border-color: var(--cyan); color: #fff; }
.nav .back svg { width: 16px; height: 16px; }
.title { padding-top: 56px; max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--grad); }
.title h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.title p { margin-top: 14px; color: var(--on-dark-2); font-size: 17px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14px; color: var(--on-dark-2); }
.meta span { display: inline-flex; align-items: center; gap: 8px; }
.meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--good-d); }

/* document */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: -32px; padding-bottom: 96px; position: relative; }
.toc { position: sticky; top: 24px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-l); box-shadow: var(--shadow); }
.toc b { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.45; transition: background-color .2s, color .2s; }
.toc a:hover { background: var(--paper-2); color: var(--blue-600); }
.prose { overflow-wrap: anywhere; padding: 44px 48px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-l); box-shadow: var(--shadow); }
.prose h2 { font-size: 23px; font-weight: 700; margin: 40px 0 12px; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17.5px; font-weight: 600; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { padding: 1px 7px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line-l); font: 500 14px/1.5 Consolas, "Cascadia Mono", monospace; color: var(--ink); }
.prose a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.callout { display: flex; gap: 16px; margin: 0 0 32px; padding: 20px 22px; border-radius: var(--r); background: var(--paper-2); border: 1px solid var(--line-l); border-left: 4px solid var(--blue); }
.callout .ci { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #e8f2ff; color: var(--blue); }
.callout .ci svg { width: 20px; height: 20px; }
.callout p { color: var(--ink); font-size: 15.5px; }
.callout p + p { margin-top: 6px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 32px; }
.facts div { padding: 20px; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line-l); }
.facts b { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.card { margin-top: 16px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line-l); background: var(--paper-2); }
.card address { font-style: normal; color: var(--ink-2); }

/* footer */
footer { background: var(--navy); color: var(--on-dark); padding: 56px 0 32px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.3fr) auto auto auto; gap: 36px 56px; }
.foot p { color: var(--on-dark-2); max-width: 380px; margin-top: 16px; font-size: 15px; }
.foot h3 { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 6px 0 12px; padding-bottom: 8px; border-bottom: 2px solid rgba(0, 198, 255, .55); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; }
.foot-col a, .foot-col address { padding: 6px 0; color: var(--on-dark-2); font-size: 15px; font-style: normal; transition: color .2s; }
.foot-col address { max-width: 250px; line-height: 1.6; }
.foot-col a:hover, .foot-col a[aria-current="page"] { color: #fff; }
.foot-col a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 4px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-d); color: var(--on-dark-3); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .doc { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav .menu { display: none; }
}
@media (max-width: 640px) {
  .nav .back span { display: none; }
  .nav .back { padding: 0 14px; }
  .title { padding-top: 40px; }
  .prose { padding: 28px 20px; }
  .facts, .foot { grid-template-columns: 1fr; }
  .callout { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
