/* legal.css — shared styling for the policy pages (Privacy, Terms).
   Uses the product's theme tokens so it stays on-brand and theme-aware. */
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

.nav { border-bottom: 1px solid var(--hairline); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.3px; text-decoration: none; }
.brand small { font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; color: var(--ink-soft); margin-left: 5px; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-link { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.nav-link:hover { color: var(--ink); }

.doc { max-width: 720px; margin: 0 auto; padding: 56px 24px 20px; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 2.4px;
  text-transform: uppercase; color: var(--acc-tech); margin: 0 0 14px; }
.doc h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -1.2px; line-height: 1.05; margin: 0 0 12px; }
.updated { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 10px; }
.lede { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 8px; }
.lede b { color: var(--ink); font-weight: 600; }

.note { margin: 22px 0; padding: 16px 18px; border: 1px solid var(--hairline); border-left: 3px solid var(--role-locked);
  border-radius: 12px; background: var(--panel); font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
:root[data-theme="dark"] .note { border-left-color: var(--gold); }
.note b { color: var(--ink); font-weight: 600; }
.fill { background: var(--sel-bg); border-radius: 4px; padding: 0 4px; font-weight: 600; color: var(--ink); }

.doc h2 { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.4px;
  margin: 40px 0 10px; padding-top: 10px; }
.doc h2 .num { color: var(--ink-soft); font-family: var(--font-mono); font-size: 14px; margin-right: 8px; }
.doc p { font-size: 15.5px; line-height: 1.65; color: var(--ink); margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 4px; list-style: none; }
.doc ul li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.6; color: var(--ink); margin-bottom: 8px; }
.doc ul li::before { content: "—"; position: absolute; left: 0; color: var(--ink-soft); }
.doc a[href] { color: var(--acc-tech); text-decoration: underline; text-underline-offset: 2px; }
.doc b { font-weight: 600; }

.contact-box { margin: 16px 0 6px; padding: 20px 22px; background: var(--panel); border: 1px solid var(--hairline); border-radius: 14px; }
.contact-box .k { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--ink-soft); margin: 0 0 6px; }
.contact-box p { margin: 0 0 4px; font-size: 15px; }

footer { border-top: 1px solid var(--hairline); margin-top: 50px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 26px 0; font-size: 13px; color: var(--ink-soft); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot .mono { font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; }
