:root {
  --ink: #17192d;
  --muted: #65697c;
  --line: #e8e5f0;
  --violet: #7940e9;
  --pink: #ed3d91;
  --soft: #faf8ff;
  --warning: #fff7df;
  --warning-line: #e9c764;
  --shadow: 0 20px 55px rgba(28, 22, 66, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 88% 4%, rgba(157,81,241,.11), transparent 24rem), linear-gradient(#fff, #fcfbff);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1040px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(232,229,240,.85); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 45px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--pink)); font-size: 21px; font-weight: 900; letter-spacing: -4px; box-shadow: 0 8px 20px rgba(121,64,233,.22); }
.brand-copy { display: grid; line-height: 1; }
.brand-name { font-size: 21px; font-weight: 850; letter-spacing: -.6px; }
.brand-name span { color: var(--pink); }
.brand-sub { margin-top: 6px; color: #55586c; font-size: 7px; font-weight: 800; letter-spacing: 1.8px; }
.legal-nav { display: flex; align-items: center; gap: 23px; color: #4f5367; font-size: 12px; font-weight: 650; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: var(--violet); }
.home-link { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.draft-banner { border-bottom: 1px solid var(--warning-line); background: var(--warning); }
.draft-banner .shell { padding-block: 12px; display: flex; align-items: center; gap: 10px; color: #6e5411; font-size: 13px; line-height: 1.45; }
.draft-badge { flex: 0 0 auto; padding: 4px 8px; border-radius: 6px; background: #8b6711; color: #fff; font-size: 10px; font-weight: 850; letter-spacing: .7px; }
.legal-hero { padding: 67px 0 30px; }
.eyebrow { color: var(--violet); font-size: 11px; font-weight: 850; letter-spacing: 1.7px; text-transform: uppercase; }
h1 { max-width: 780px; margin: 14px 0 17px; font-size: clamp(38px, 6vw, 62px); line-height: 1.08; letter-spacing: -2.5px; }
.lead { max-width: 750px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.updated { margin-top: 20px; color: #858899; font-size: 12px; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 44px; padding: 24px 0 80px; align-items: start; }
.toc { position: sticky; top: 100px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(35,28,76,.05); }
.toc strong { display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }
.toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.toc a:hover { color: var(--violet); }
.legal-card { padding: 34px clamp(24px, 5vw, 52px); border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.legal-card section { scroll-margin-top: 100px; }
.legal-card section + section { margin-top: 36px; padding-top: 33px; border-top: 1px solid var(--line); }
h2 { margin: 0 0 14px; font-size: 24px; letter-spacing: -.6px; }
h3 { margin: 24px 0 9px; font-size: 16px; }
p, li { color: #51566a; font-size: 14px; line-height: 1.75; }
p { margin: 0 0 13px; }
ul { margin: 12px 0; padding-left: 21px; }
li + li { margin-top: 7px; }
.identity, .info-box { padding: 18px 20px; border: 1px solid #e7def8; border-radius: 14px; background: var(--soft); }
.identity p:last-child, .info-box p:last-child { margin-bottom: 0; }
.test-value { color: #8a5b00; font-weight: 750; }
.data-table { width: 100%; margin-top: 15px; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 13px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.data-table th { background: var(--soft); font-size: 11px; letter-spacing: .4px; text-transform: uppercase; }
.legal-card a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; color: var(--muted); font-size: 12px; }
.footer-links a:hover { color: var(--violet); }
.copyright { color: #858899; font-size: 11px; }
:focus-visible { outline: 3px solid rgba(121,64,233,.35); outline-offset: 3px; border-radius: 5px; }
@media (max-width: 820px) {
  .header-inner { min-height: 70px; overflow-x: auto; }
  .legal-nav { gap: 16px; white-space: nowrap; }
  .legal-nav a:not(.home-link) { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; display: flex; overflow-x: auto; gap: 18px; padding: 14px 17px; }
  .toc strong { display: none; }
  .toc a { flex: 0 0 auto; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 520px); }
  .brand-mark { width: 38px; height: 33px; }
  .brand-name { font-size: 18px; }
  .brand-sub { display: none; }
  .legal-hero { padding-top: 45px; }
  h1 { font-size: 39px; letter-spacing: -1.7px; }
  .lead { font-size: 15px; }
  .draft-banner .shell { align-items: flex-start; }
  .legal-card { padding: 25px 20px; border-radius: 19px; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; }
  .data-table thead { display: none; }
  .data-table tr + tr { margin-top: 14px; }
  .data-table td { border-top: 0; }
  .data-table td:first-child { border-top: 1px solid var(--line); background: var(--soft); font-weight: 750; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding-block: 25px; }
  .footer-links { justify-content: flex-start; }
}
@media print {
  .site-header, .draft-banner, .toc, footer { display: none; }
  body { background: #fff; }
  .legal-hero { padding-top: 20px; }
  .legal-layout { display: block; padding-bottom: 0; }
  .legal-card { padding: 0; border: 0; box-shadow: none; }
}
