/* Short and Petit — legal pages.
   Deliberately self-contained: no web fonts, no CDN, no analytics, no third
   party requests of any kind. A privacy policy that phones a font CDN home
   leaks the reader's IP to that CDN, which is precisely what the page is
   promising not to do. System font stack only. */

:root {
  color-scheme: light dark;

  --bg:          #f7f6fb;
  --surface:     #ffffff;
  --ink:         #16121f;
  --ink-soft:    #4b4560;
  --ink-faint:   #6f6889;
  --rule:        #e3e0ec;
  --accent:      #6d28d9;
  --accent-soft: #f1ebfd;
  --band:        #0b0a1a;
  --band-ink:    #ffffff;
  --band-soft:   #b9b2d4;
  --measure:     34rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #0d0b16;
    --surface:     #15121f;
    --ink:         #ece9f4;
    --ink-soft:    #b3acc6;
    --ink-faint:   #8b83a3;
    --rule:        #2a2440;
    --accent:      #b490f5;
    --accent-soft: #1e1732;
    --band:        #06050f;
    --band-ink:    #ffffff;
    --band-soft:   #9089ab;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Header band ─────────────────────────────────────────────────────────── */

.band {
  background: var(--band);
  color: var(--band-ink);
  padding: 2rem 1.25rem 1.75rem;
  border-bottom: 3px solid var(--accent);
}

.band__inner { max-width: var(--measure); margin: 0 auto; }

.band__eyebrow {
  margin: 0 0 .35rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--band-soft);
}

.band__eyebrow a { color: inherit; }

.band h1 {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.01em;
}

.band__meta {
  margin: .6rem 0 0;
  font-size: .85rem;
  color: var(--band-soft);
}

/* ── Document body ───────────────────────────────────────────────────────── */

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 1rem;
}

h2 {
  margin: 2.5rem 0 .75rem;
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.005em;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--rule);
}

h2:first-of-type { margin-top: .5rem; }

h3 {
  margin: 1.75rem 0 .5rem;
  font-size: 1rem;
  font-weight: 700;
}

p, ul, ol { margin: 0 0 1rem; }

ul, ol { padding-left: 1.35rem; }

li { margin-bottom: .4rem; }

li > ul, li > ol { margin-top: .4rem; }

a { color: var(--accent); text-underline-offset: .16em; }

a:hover { text-decoration-thickness: 2px; }

strong { font-weight: 700; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .875em;
  background: var(--accent-soft);
  padding: .1em .35em;
  border-radius: 4px;
}

/* Lead paragraph / plain-language summary */
.lead {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin: 0 0 2rem;
  color: var(--ink-soft);
}

.lead p:last-child { margin-bottom: 0; }

.lead strong { color: var(--ink); }

/* Definition-style key/value block, used for the company identification */
dl { margin: 0 0 1rem; }

dt {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: .9rem;
}

dd { margin: .1rem 0 0; }

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: .92rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: .6rem .7rem;
  border-bottom: 1px solid var(--rule);
}

th {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.table-wrap { overflow-x: auto; margin-bottom: 1.25rem; }
.table-wrap table { margin-bottom: 0; }

/* Document index cards on the landing page */
.cards { list-style: none; margin: 0 0 1rem; padding: 0; }

.cards li { margin: 0 0 .75rem; }

.cards a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: inherit;
}

.cards a:hover { border-color: var(--accent); }

.cards .cards__title {
  display: block;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .15rem;
}

.cards .cards__desc {
  display: block;
  font-size: .9rem;
  color: var(--ink-soft);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  border-top: 1px solid var(--rule);
  font-size: .85rem;
  color: var(--ink-faint);
}

footer p { margin: 0 0 .5rem; }

footer nav { margin-bottom: .75rem; }

footer nav a { margin-right: 1rem; white-space: nowrap; }

@media (max-width: 30rem) {
  body { font-size: 16px; }
  .band h1 { font-size: 1.55rem; }
}

@media print {
  .band { background: none; color: #000; border-bottom: 2px solid #000; }
  .band__eyebrow, .band__meta { color: #444; }
  a { color: #000; }
  footer nav { display: none; }
}
