/* Privacy Architecture whitepaper — a marketing-flavored trust page in the legal
   family. Builds on legal.css (nav, wrap, term, grid-bg, type, the [data-lang]
   toggle) and adds the whitepaper's own components. The brand fluorescent lime
   (#baff00, from the OKEight mark) is spent ONLY on the positive "on-device /
   your control" moments; everything else stays as quiet as the legal pages. */

:root {
  --lime: #baff00;
  --lime-ink: #0d0d0d;
  --lime-strong: #a6e600;
  --danger-dim: #9a5a44;
}

/* wider measure than a legal doc — this page has cards + a pipeline, not just prose */
.pa-wrap { max-width: 960px; }

.pa-hero { padding-top: 8px; }
.pa-hero h1 { font-size: clamp(32px, 5.4vw, 52px); }
.pa-hero h1 .mark {
  background: var(--lime);
  color: var(--lime-ink);
  padding: 0 .14em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.pa-stamp {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px;
  font-size: 12.5px; font-weight: 680; letter-spacing: .02em;
  color: var(--legal-fg-mid);
  background: var(--legal-panel); border: 1px solid var(--legal-line);
  padding: 7px 13px; border-radius: 999px;
}
.pa-stamp .sq { width: 8px; height: 8px; border-radius: 2px; background: var(--lime); box-shadow: 0 0 0 3px rgba(186,255,0,.22); }

/* section headers */
.pa-sec { padding: 34px 0; border-top: 1px solid var(--legal-line); }
.pa-sec:first-of-type { border-top: none; }
.pa-sec > .eyebrow {
  color: var(--legal-accent); font-size: 12px; font-weight: 760;
  letter-spacing: .14em; text-transform: uppercase;
}
.pa-sec > h2 {
  margin-top: 12px; font-size: clamp(22px, 3.4vw, 28px);
  line-height: 1.22; letter-spacing: -0.02em; font-weight: 760;
}
.pa-sec > .sub { margin-top: 12px; color: var(--legal-fg-mid); font-size: 15.5px; max-width: 64ch; line-height: 1.7; }

/* four nevers — sober ink, no lime (these are what we DON'T do) */
.pa-nevers { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pa-never {
  background: #fff; border: 1px solid var(--legal-line); border-radius: 16px;
  padding: 20px 20px 22px;
}
.pa-never .x {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; margin-bottom: 13px;
  background: var(--lime-ink); color: #fff; font-weight: 700; font-size: 15px;
}
.pa-never h3 { font-size: 16px; font-weight: 740; letter-spacing: -0.01em; }
.pa-never p { margin-top: 7px; color: var(--legal-fg-mid); font-size: 14.5px; line-height: 1.65; }

/* data-flow pipeline — the instrument of the page */
.pa-pipe { margin-top: 24px; display: grid; gap: 12px; }
.pa-step {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--legal-line); border-radius: 16px; padding: 18px 20px;
}
.pa-step .n {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--lime-ink); color: #fff; font-weight: 700; font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.pa-step .bd h3 { font-size: 15.5px; font-weight: 720; }
.pa-step .bd p { margin-top: 4px; color: var(--legal-fg-mid); font-size: 14px; line-height: 1.6; }
.pa-tag {
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 720;
  padding: 6px 11px; border-radius: 8px; white-space: nowrap;
}
.pa-tag.local { background: var(--lime); color: var(--lime-ink); }
.pa-tag.sent { background: var(--legal-panel); color: var(--legal-fg-dim); border: 1px solid var(--legal-line); }
.pa-pipe-note {
  margin-top: 14px; font-size: 13.5px; color: var(--legal-fg-mid);
  padding-left: 14px; border-left: 2px solid var(--lime);
}

/* AI choice cards — the BYO card carries the lime (the "your control" moment) */
.pa-choices { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pa-choice { background: #fff; border: 1px solid var(--legal-line); border-radius: 16px; padding: 22px; }
.pa-choice .lbl { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 720; color: var(--legal-fg-dim); }
.pa-choice h3 { margin-top: 10px; font-size: 16px; font-weight: 740; }
.pa-choice p { margin-top: 9px; color: var(--legal-fg-mid); font-size: 14.5px; line-height: 1.65; }
.pa-choice.max {
  border-color: var(--lime-strong);
  background: linear-gradient(180deg, rgba(186,255,0,.14), #fff 46%);
}
.pa-choice.max .lbl { color: var(--lime-ink); }
.pa-choice.max .pill {
  display: inline-block; margin-bottom: 12px;
  background: var(--lime); color: var(--lime-ink);
  font-size: 11px; font-weight: 760; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px;
}

/* verifiability facts */
.pa-facts { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.pa-fact { display: flex; gap: 12px; align-items: flex-start; }
.pa-fact .k { color: var(--lime-strong); font-weight: 800; line-height: 1.5; }
.pa-fact p { color: var(--legal-fg-mid); font-size: 14.5px; line-height: 1.62; }
.pa-fact strong { color: var(--legal-fg); font-weight: 700; }

/* comparison table — reuse legal-table look, emphasize the OKEight column */
.pa-compare { margin-top: 22px; overflow-x: auto; border: 1px solid var(--legal-line); border-radius: 16px; }
table.pa-tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
table.pa-tbl th, table.pa-tbl td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--legal-line); vertical-align: top; }
table.pa-tbl thead th { font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; font-weight: 720; }
table.pa-tbl thead th.bad { color: var(--danger-dim); }
table.pa-tbl thead th.ok { color: var(--lime-ink); background: var(--lime); border-top-right-radius: 12px; }
table.pa-tbl td.rl { color: var(--legal-fg); font-weight: 700; }
table.pa-tbl td.dim { color: var(--legal-fg-dim); }
table.pa-tbl td.good { color: var(--legal-fg); }
table.pa-tbl td.good-col { background: rgba(186,255,0,.06); }
table.pa-tbl tbody tr:last-child td { border-bottom: none; }

.pa-foot {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--legal-line);
  color: var(--legal-fg-dim); font-size: 13px; line-height: 1.7;
}

@media (max-width: 640px) {
  .pa-nevers, .pa-choices, .pa-facts { grid-template-columns: 1fr; }
  .pa-step { grid-template-columns: auto 1fr; }
  .pa-step .pa-tag { grid-column: 2; justify-self: start; margin-top: 2px; }
}
