/* Legal pages — the marketing page's palette, in a reading layout.
   Same three-state theme structure: bare :root is the full light palette,
   and the dark blocks redefine tokens only, never component colours. */
.nav-cta{background:var(--indigo);color:#fff !important;padding:.42rem .8rem;border-radius:8px;
  text-decoration:none;font-weight:600}
.nav-cta:hover{opacity:.92}
.plan-cta{display:inline-block;margin-top:14px;background:var(--indigo);color:#fff;
  padding:.5rem .9rem;border-radius:9px;text-decoration:none;font-weight:600;font-size:.9rem}
.plan-cta:hover{opacity:.92}
.plan-cta.ghost{background:transparent;color:var(--indigo);border:1px solid var(--rule)}

:root {
  --paper: #f5f6fb; --surface: #fff; --surface-2: #edeff8;
  --ink: #12142a; --ink-soft: #494e73; --ink-faint: #7b80a3;
  --rule: #dde0ef; --indigo: #3b4fd8; --teal: #0e5a4c;
  --warn-bg: #fbf0e2; --warn-ink: #8a4f06; --warn-line: #e6c48f;
  --void: #141b52; --void-2: #0c1132;
  --void-fg: #f0f2ff; --void-faint: rgba(228,232,255,.42);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #080a16; --surface: #10142a; --surface-2: #171c36;
    --ink: #eceefc; --ink-soft: #a9aed0; --ink-faint: #787da2;
    --rule: #232945; --indigo: #8b9bf0; --teal: #4fdcc0;
    --warn-bg: #2f230e; --warn-ink: #e8bd7a; --warn-line: #6a5324;
  }
}
:root[data-theme="dark"] {
  --paper: #080a16; --surface: #10142a; --surface-2: #171c36;
  --ink: #eceefc; --ink-soft: #a9aed0; --ink-faint: #787da2;
  --rule: #232945; --indigo: #8b9bf0; --teal: #4fdcc0;
  --warn-bg: #2f230e; --warn-ink: #e8bd7a; --warn-line: #6a5324;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: var(--indigo); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }

.bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem clamp(1.15rem, 4vw, 3rem);
  background: linear-gradient(172deg, var(--void), var(--void-2));
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--void-fg); }
.brand-lockup { display: flex; align-items: center; gap: .6rem; }
.brand-name { font-family: Archivo, sans-serif; font-weight: 800; font-size: 1.1rem; letter-spacing: -.03em; }
.brand-split { width: 1px; height: 20px; background: rgba(255,255,255,.18); }
.brand-vendor { display: flex; align-items: center; gap: .45rem; }
.brand-by { font-family: "IBM Plex Mono", monospace; font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--void-faint); }
.brand-sehsaa { height: 15px; width: auto; display: block; }
.bar-links { display: flex; gap: 1.3rem; }
@media (max-width: 700px) {
  /* 375px: the full link list is wider than the screen and pushes the page
     sideways. The policies stay reachable from every footer. */
  .bar-links a:not(.nav-cta):not([href*="/app/login"]) { display: none; }
  .bar { gap: .6rem; }
}
.bar-links { flex-wrap: wrap; row-gap: .4rem; }
.bar-links a { font-size: .85rem; color: rgba(228,232,255,.72); text-decoration: none; }
.bar-links a:hover { color: var(--void-fg); }
@media (max-width: 620px) {
  .brand-split, .brand-vendor { display: none; }
  .bar-links { gap: .9rem; }
}

.doc { max-width: 72ch; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.15rem, 4vw, 2rem) 4rem; }
.eyebrow { font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin: 0 0 1rem; }
h1 { font-family: Archivo, sans-serif; font-weight: 800; font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); letter-spacing: -.035em; line-height: 1.05; margin: 0; text-wrap: balance; }
.updated { font-family: "IBM Plex Mono", monospace; font-size: .78rem; color: var(--ink-faint); margin: 1rem 0 0; }

.draft {
  margin: 2rem 0 0; padding: 1rem 1.1rem; border-radius: 4px;
  background: var(--warn-bg); color: var(--warn-ink);
  border: 1px solid var(--warn-line); font-size: .88rem; line-height: 1.6;
}
.draft strong { color: inherit; }

h2 {
  font-family: Archivo, sans-serif; font-weight: 700; font-size: 1.4rem;
  letter-spacing: -.025em; margin: 2.8rem 0 0; padding-top: 1.6rem;
  border-top: 1px solid var(--rule); text-wrap: balance;
}
h3 { font-family: Archivo, sans-serif; font-weight: 600; font-size: 1.08rem; letter-spacing: -.02em; margin: 1.8rem 0 0; }
p, ul, ol { margin: 1rem 0 0; color: var(--ink-soft); }
li { margin-top: .5rem; }
strong { color: var(--ink); font-weight: 500; }
code { font-family: "IBM Plex Mono", monospace; font-size: .88em; background: var(--surface-2); padding: .1em .35em; border-radius: 3px; color: var(--ink); }

.note { margin-top: 1.2rem; padding: .95rem 1.1rem; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--teal); border-radius: 3px; font-size: .92rem; }
table { width: 100%; border-collapse: collapse; margin-top: 1.3rem; font-size: .9rem; display: block; overflow-x: auto; }
th, td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: "IBM Plex Mono", monospace; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
td { color: var(--ink-soft); }

.foot { background: #090d28; color: rgba(228,232,255,.66); padding: 2.5rem clamp(1.15rem, 4vw, 3rem); text-align: center; }
.foot-logo { width: 150px; height: auto; margin: 0 auto .9rem; display: block; opacity: .95; }
.foot p { color: inherit; font-size: .85rem; margin-top: .4rem; }
.foot a { color: rgba(228,232,255,.86); }
.foot-links { font-size: .8rem; }
