/* ============================================================
   Just Software — Trust Center
   Generated stylesheet. Tokens and components from the
   just-software-design-system project. Do not hand-edit a
   published snapshot; change TrustTheme.cs and regenerate.
   Poppins is SIL OFL 1.1 — see Resources/Trust/README-assets.md.
   ============================================================ */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/Poppins-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/Poppins-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/Poppins-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('fonts/Poppins-ExtraBold.woff2') format('woff2'); }

:root {
  /* Brand — from the logo mark */
  --blue-50: #EBEFFF;  --blue-100: #D6DEFF; --blue-200: #ADBCFF; --blue-300: #7C90FF;
  --blue-500: #042FFF; --blue-600: #0024D6; --blue-700: #001FB9; --blue-900: #00115E;
  --red-500: #F82840;

  /* Neutrals — cool, navy-tinted slate */
  --neutral-0: #FFFFFF;  --neutral-25: #FAFBFF; --neutral-50: #F4F6FB;
  --neutral-100: #ECEFF6; --neutral-200: #DDE2EC; --neutral-300: #C3CBDA;
  --neutral-500: #6B7588; --neutral-600: #4A5366; --neutral-900: #0C1222;

  /* Semantic hues */
  --green-50: #E6F8EF; --green-500: #12B76A; --green-700: #0A6E41;
  --amber-50: #FFF5E6; --amber-100: #FCE6BF; --amber-600: #C76F04;

  /* Aliases — reference these, not the scales */
  --brand: var(--blue-500);
  --brand-active: var(--blue-700);
  --brand-subtle: var(--blue-50);
  --accent: var(--red-500);
  --bg: var(--neutral-25);
  --bg-deep: var(--neutral-900);
  --surface: var(--neutral-0);
  --surface-subtle: var(--neutral-50);
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-600);
  --text-muted: var(--neutral-500);
  --text-link: var(--blue-600);
  --border: var(--neutral-200);
  --border-subtle: var(--neutral-100);

  /* Type */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Segoe UI Mono', monospace;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --pill: 999px;
  --shadow-xs: 0 1px 2px rgba(12, 18, 34, .05);
  --shadow-md: 0 12px 28px rgba(12, 18, 34, .10);
  --shadow-lg: 0 18px 44px rgba(12, 18, 34, .09);

  /* The sticky masthead plus the snapshot bar — anchors clear it. */
  --chrome: 116px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.015em;
  margin: 0;
}
p { margin: 0; }
a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--brand); text-decoration: underline; }
a:focus-visible, summary:focus-visible {
  outline: none; border-radius: 4px;
  box-shadow: 0 0 0 4px rgba(4, 47, 255, .18);
}
code, .mono { font-family: var(--font-mono); }
::selection { background: var(--blue-200); color: var(--blue-900); }

.wrap { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

/* ---- Masthead ------------------------------------------------ */

.masthead { position: sticky; top: 0; z-index: 30; }
.masthead-bar {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.masthead-inner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { height: 22px; display: block; }
.brand-rule { width: 1px; height: 20px; background: var(--border); }
.brand-label {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: -.01em; color: var(--text-primary);
}
.nav { display: flex; gap: 4px; flex: 1 1 300px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  border-radius: var(--pill); padding: 7px 13px; white-space: nowrap; flex: none;
  font-weight: 600; font-size: 13.5px; color: var(--text-secondary);
}
.nav a:hover { background: var(--surface-subtle); color: var(--brand); text-decoration: none; }
.nav a[aria-current] { background: var(--brand-subtle); color: var(--brand-active); }

/* The dark provenance bar. Every page says which snapshot it is, on the page itself,
   so a saved or printed copy still carries it. */
.snapbar { background: var(--bg-deep); color: rgba(255, 255, 255, .72); }
.snapbar-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 7px; font-size: 12.5px;
}
.snapbar strong { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.snapbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); flex: none; }
.snapbar .mono { color: rgba(255, 255, 255, .9); }
.snapbar .spacer { flex: 1; }
.snapbar a { color: var(--blue-300); font-weight: 600; }

/* A preview snapshot says so in the one place nobody can miss. */
.snapbar.is-preview { background: #3a1d07; }
.snapbar.is-preview .dot { background: var(--amber-600); }

/* ---- Hero ---------------------------------------------------- */

.hero {
  background: radial-gradient(120% 130% at 12% -20%, var(--blue-50), var(--neutral-25) 60%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px; align-items: center; padding-block: 72px 76px;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.eyebrow {
  font-weight: 700; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand);
}
.hero h1 {
  font-weight: 800; font-size: 54px; line-height: 1.05; letter-spacing: -.035em;
}
.lede {
  font-size: 18px; line-height: 1.55; color: var(--text-secondary);
  max-width: 54ch; text-wrap: pretty;
}
.hero-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-weight: 600; font-size: 13.5px; color: var(--text-secondary);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.tick { color: var(--green-500); font-weight: 700; }
.tick-pending { color: var(--amber-600); font-weight: 700; }

.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  overflow: hidden; min-width: 0;
}
.hero-card-head {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
}
.hero-card-head .mono { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.hero-card dl { margin: 0; }
.hero-card .row {
  padding: 14px 24px; border-bottom: 1px solid var(--border-subtle);
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.hero-card dt { font-size: 13.5px; color: var(--text-secondary); font-weight: 500; }
.hero-card dd { margin: 0; font-weight: 700; font-size: 13.5px; text-align: right; }
.hero-card .row:last-child { border-bottom: 0; }
/* The identity prose past the lede, when the hero stands in for the identity section. */
.hero-more { font-size: 15px; line-height: 1.6; color: var(--text-secondary); max-width: 60ch; text-wrap: pretty; }
.hero .reviewed { font-size: 12.5px; color: var(--text-muted); }

/* ---- Bands and cards ----------------------------------------- */

.band { padding-block: 56px 0; }
.band-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.band-head h2 { font-weight: 800; font-size: 30px; letter-spacing: -.025em; }
.band-head p { font-size: 14px; color: var(--text-secondary); max-width: 52ch; }

/* The organisation page's section cards: spaced like the product page's, not stacked
   edge to edge. */
.band.sections { display: flex; flex-direction: column; gap: 14px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-sm { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow 160ms cubic-bezier(.16, 1, .3, 1), border-color 160ms;
}
a.card { color: inherit; text-decoration: none; }
a.card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-200); text-decoration: none; }

.card-product { padding: 26px 28px; gap: 12px; }
.card-product .head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.card-product .name {
  font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.015em;
}
.card-product p { font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }
/* Pinned to the card's foot, so the links line up across a row of cards whose
   descriptions differ in length. */
.card-product .more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 2px;
  font-weight: 700; font-size: 14px; color: var(--brand);
}

.card-section { padding: 20px 22px; gap: 9px; }
.card-section .head { display: flex; align-items: center; gap: 10px; }
.card-section .n {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; color: var(--brand);
  background: var(--brand-subtle); border-radius: 6px; padding: 3px 7px;
}
.card-section .title {
  font-family: var(--font-display); font-weight: 700; font-size: 16.5px; letter-spacing: -.01em;
}
.card-section .summary { font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }
.card-section .reviewed { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ---- Pills and status ---------------------------------------- */

.pill {
  padding: 4px 10px; border-radius: var(--pill); font-size: 11px; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  background: var(--surface-subtle); color: var(--text-secondary);
}
.pill-org { background: var(--surface-subtle); color: var(--text-secondary); }
.pill-product { background: var(--brand-subtle); color: var(--brand-active); }
.pill-ga { background: var(--green-50); color: var(--green-700); }
.pill-preview { background: var(--amber-50); color: var(--amber-600); }
.pill-deprecated { background: var(--neutral-100); color: var(--text-secondary); }

.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.status-certified { color: var(--green-700); }
.status-progress { color: var(--amber-600); }
.status-none { color: var(--text-muted); }

.fact {
  padding: 5px 10px; border-radius: var(--radius-sm);
  background: var(--surface-subtle); border: 1px solid var(--border-subtle);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--text-secondary);
}
.facts-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- Dark figures strip -------------------------------------- */

.stats { margin-top: 64px; background: var(--bg-deep); color: #fff; }
.stats .wrap { padding-block: 64px; }
.stats .eyebrow { color: var(--blue-300); }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px; margin-top: 28px;
}
.stat { display: flex; flex-direction: column; gap: 8px; padding-left: 18px; border-left: 2px solid var(--blue-500); }
.stat .big {
  font-family: var(--font-display); font-weight: 800; font-size: 40px;
  line-height: 1; letter-spacing: -.03em; color: #fff;
}
.stat .label { font-weight: 700; font-size: 14px; color: #fff; }
.stat-note { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .66); }

/* ---- Document layout (product + organisation detail) --------- */

.doc { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 36px; align-items: start; padding-block: 36px 80px; }
.doc-main { min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.crumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); padding-top: 24px; }
.crumbs a { font-weight: 600; }

.toc { position: sticky; top: calc(var(--chrome) + 16px); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.toc .heading {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); padding: 0 0 10px 12px;
}
.toc > a {
  padding: 8px 12px; border-radius: var(--radius-sm); border-left: 2px solid var(--border);
  font-size: 13.5px; font-weight: 600; color: var(--text-secondary);
}
.toc > a:hover { background: var(--surface-subtle); color: var(--brand); border-left-color: var(--brand); text-decoration: none; }
.toc .aside {
  margin-top: 20px; padding: 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: 12px; line-height: 1.5; color: var(--text-secondary);
}
.toc .aside strong { display: block; margin-bottom: 6px; color: var(--text-primary); }
.toc .aside ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.toc .aside li a { font-weight: 600; }

.doc-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.doc-head h1 { font-weight: 800; font-size: 38px; letter-spacing: -.03em; line-height: 1.1; }
.doc-head .intro { font-size: 16.5px; line-height: 1.6; color: var(--text-secondary); max-width: 70ch; text-wrap: pretty; }
.doc-head .meta {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted);
}

/* ---- Section cards ------------------------------------------- */

.sec {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 30px;
  scroll-margin-top: calc(var(--chrome) + 24px);
  display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-xs);
}
/* The section link is a quiet "#" after the heading, brought up on hover or focus. */
.sec-head { display: flex; align-items: baseline; gap: 10px; }
.sec-head h2 { font-weight: 700; font-size: 23px; letter-spacing: -.02em; }
.sec-head .anchor { font-weight: 700; font-size: 18px; color: var(--text-muted); opacity: .4; }
.sec:hover .sec-head .anchor, .sec-head .anchor:focus-visible { opacity: 1; }
.sec-head .anchor:hover { color: var(--brand); text-decoration: none; }
.sec > p { font-size: 15px; line-height: 1.65; color: var(--text-secondary); max-width: 74ch; text-wrap: pretty; }
.sec > .prose-list {
  margin: -6px 0 0; padding-left: 22px; max-width: 72ch;
  font-size: 15px; line-height: 1.65; color: var(--text-secondary);
}
.sec > .prose-list li + li { margin-top: 2px; }
.sec h3 { font-size: 16px; font-weight: 700; margin-top: 4px; }
.sec .reviewed { font-size: 12.5px; color: var(--text-muted); }

/* Practice tiles inside a section: a named practice and the approved sentence under it.
   Tiles, not a table — each is read on its own, and each is an anchor target. */
.practices {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.practices li {
  padding: 14px 16px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  background: var(--surface-subtle); display: flex; flex-direction: column; gap: 6px;
  scroll-margin-top: calc(var(--chrome) + 24px);
}
.practices li:target { border-color: var(--brand); background: var(--brand-subtle); }
.practices h3 { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--text-primary); }
.practices p { font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); }

/* Residency: one part per data residency boundary, each an anchor our DPA links to. */
.residency { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: calc(var(--chrome) + 24px); }
.residency + .residency { padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.regions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.regions li { font-size: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.regions .mono { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.regions .desc { flex-basis: 100%; font-size: 13.5px; color: var(--text-secondary); }

/* ---- Tables --------------------------------------------------- */

/* `overflow: hidden` here clipped the last column of the six-column subprocessor table
   outright — the reader could not reach it and nothing said it was there. Auto is the safety
   net between the breakpoints; below 840px the table restacks instead, because a horizontal
   scroll hides the column a reviewer came for. */
.table {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow-x: auto; overflow-y: hidden;
}
.table table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 13.5px; }
.table caption {
  text-align: left; padding: 14px 16px; background: var(--surface-subtle);
  border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--text-secondary);
}
/* Headings may wrap: unbreakable upper-case headings ("PARENT JURISDICTION") set the width of
   the short columns, and the one prose column was squeezed to a word per line. */
.table thead th {
  text-align: left; vertical-align: bottom; padding: 11px 14px; background: var(--surface-subtle);
  border-bottom: 1px solid var(--border);
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text-muted);
}
/* One-word values ("On file", "Direct") stay on one line. */
.table .short { white-space: nowrap; }
.table tbody th, .table tbody td {
  text-align: left; vertical-align: top; padding: 13px 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.table tbody th { font-weight: 600; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table small { display: block; margin-top: 3px; font-size: 12px; color: var(--text-muted); }

/* A vendor table: one <tbody> per vendor, a row of facts and the service it provides on a
   full-width row beneath. As a column of its own the service paragraph set every row's height
   and squeezed the facts beside it to a word per line. */
.table-vendors tbody + tbody { border-top: 1px solid var(--border); }
.table-vendors tbody tr:first-child > * { border-bottom: 0; padding-bottom: 4px; }
.table-vendors tr.service td { padding-top: 0; padding-bottom: 14px; line-height: 1.55; color: var(--text-secondary); }

/* ---- Callouts, lists, links ----------------------------------- */

/* Named `callout`, not `note`: `.stat .note` is a caption in the dark strip, and a bare
   `.note` rule reached it through the properties the more specific selector does not set —
   which printed four amber warning boxes across the figures band. */
.callout {
  display: flex; gap: 11px; align-items: flex-start; padding: 14px 16px;
  background: var(--amber-50); border: 1px solid var(--amber-100);
  border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.55;
  color: var(--amber-600); font-weight: 500;
}
.callout::before { content: "!"; font-weight: 800; flex: none; }

.doclist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
/* Wraps, so `.desc` (flex-basis 100%) drops to its own line. Without it the description sat
   beside the name and squeezed the title into a one-word column. */
.doclist li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle); font-size: 14px;
}
.doclist li:last-child { border-bottom: 0; }
.doclist .name { flex: 1; font-weight: 600; }
.doclist .ver, .doclist .hint { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.doclist .desc { flex-basis: 100%; font-size: 13px; color: var(--text-secondary); }
.doclist .nda, .card-brief .nda {
  font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--amber-600); white-space: nowrap;
}
.doclist .request, .doclist .pdf { font-size: 13px; font-weight: 700; white-space: nowrap; }

/* ---- Policy page ---------------------------------------------- */

.policy { max-width: 860px; display: flex; flex-direction: column; gap: 14px; padding-block: 28px 80px; }
.policy .actions { margin-top: 10px; }
.button {
  display: inline-flex; align-items: center; padding: 10px 18px; border-radius: var(--pill);
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px;
}
.button:hover { background: var(--brand-active); color: #fff; text-decoration: none; }
.policy-body { gap: 0; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }
.policy-body > * + * { margin-top: 12px; }
/* margin-bottom is restated because the reset at the top covers h1-h3 only: an h4 kept the
   browser's 1.33em, which the flex column does not collapse, and opened a gap under the heading. */
.policy-body h2, .policy-body h3, .policy-body h4, .policy-body h5, .policy-body h6 {
  color: var(--text-primary); font-weight: 700; letter-spacing: -.01em; margin-top: 22px; margin-bottom: 0;
}
.policy-body h2 { font-size: 22px; } .policy-body h3 { font-size: 18px; } .policy-body h4 { font-size: 16px; }
.policy-body > :first-child { margin-top: 0; }
.policy-body ul, .policy-body ol { padding-left: 22px; }
.policy-body li + li { margin-top: 4px; }
.policy-body blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--border); color: var(--text-muted); }
.policy-body pre {
  margin: 0; padding: 12px 14px; background: var(--surface-subtle); border-radius: var(--radius-sm);
  font-size: 12.5px; overflow-x: auto; white-space: pre-wrap;
}
.policy-body .source-label { font-size: 12px; font-style: italic; color: var(--text-muted); }
.policy-body img { max-width: 100%; height: auto; }
.policy-body .image-missing, .policy-body .empty { font-style: italic; color: var(--text-muted); }
.policy-body hr { border: 0; border-top: 1px solid var(--border); }
.policy-body .table table { min-width: 0; }
.policy-body .align-center { text-align: center; } .policy-body .align-right { text-align: right; }
.footnote { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); margin-top: 12px; }

.changelog { list-style: none; margin: 0; padding: 0; }
.changelog li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.changelog li:last-child { border-bottom: 0; }
.changelog time { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); flex: none; width: 82px; }
.changelog .what { flex: 1; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }
.changelog .id { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }
.changelog .cat {
  font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: var(--brand-active); margin-right: 4px;
}

/* The overview band: previews of sections stated in full further down the page. */
.card-brief { padding: 22px 24px; gap: 12px; }
.card-brief h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 16.5px; letter-spacing: -.01em;
}
.card-brief ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.card-brief li { font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }
.card-brief li strong { color: var(--text-primary); font-weight: 600; }
.card-brief .when { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.card-brief .links {
  display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto;
  font-size: 13.5px; font-weight: 700; color: var(--text-muted);
}

.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.contact-card {
  background: linear-gradient(145deg, var(--blue-500), var(--blue-700));
  border-radius: var(--radius-lg); padding: 26px 28px; color: #fff;
  box-shadow: 0 14px 32px rgba(4, 47, 255, .22);
  display: flex; flex-direction: column; gap: 12px;
}
.contact-card h3 { color: #fff; font-weight: 700; font-size: 19px; }
.contact-card p { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.contact-card a { color: #fff; font-weight: 700; }
.contact-card .muted { color: rgba(255, 255, 255, .8); font-size: 13.5px; }

/* ---- Footer --------------------------------------------------- */

.colophon { margin-top: 64px; background: var(--bg-deep); color: rgba(255, 255, 255, .7); }
.colophon .wrap { padding-block: 44px 52px; display: flex; flex-direction: column; gap: 14px; }
.colophon img { height: 20px; display: block; }
.colophon p { font-size: 13px; line-height: 1.6; max-width: 80ch; }
.colophon a { color: var(--blue-300); font-weight: 600; }
.colophon .mono { color: rgba(255, 255, 255, .85); }

/* ---- Responsive ----------------------------------------------- */

/* The rail goes at 1180px rather than at phone-ish widths: beside it the subprocessor table
   has too little room for its prose column well before a laptop screen runs out. */
@media (max-width: 1180px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  /* The rail stops being a rail: sticky at the top of a single column would
     cover the content it links to. */
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .toc .heading { flex-basis: 100%; padding-left: 0; }
  .toc > a { border-left: 0; border: 1px solid var(--border); background: var(--surface); border-radius: var(--pill); padding: 6px 12px; font-size: 12.5px; }
  .toc .aside { flex-basis: 100%; margin-top: 8px; }
}

/* Tables become stacked records well before phone width: a six-column subprocessor row stops
   fitting around 840px, and a horizontal scroll hides the column that matters. */
@media (max-width: 840px) {
  .table { overflow: visible; }
  .table table { min-width: 0; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table tbody th, .table tbody td { display: block; border-bottom: 0; padding: 4px 16px; }
  .table tbody th { padding-top: 14px; font-size: 15px; }
  .table tbody td::before {
    content: attr(data-label) ": "; font-weight: 700; color: var(--text-muted);
    font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
    display: block; margin-top: 6px;
  }
  .table tbody tr { display: block; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
  .table tbody tr:last-child { border-bottom: 0; }
  .table-vendors table, .table-vendors tbody { display: block; }
  .table-vendors tbody tr { border-bottom: 0; padding-bottom: 0; }
  .table-vendors tbody tr.service { padding-bottom: 14px; }
}

@media (max-width: 680px) {
  /* On a phone the masthead wraps to two rows and the snapshot bar to three lines — over a
     quarter of the screen held still over the content. It scrolls away instead; the bar is
     still the first thing on every page, and a screenshot of the top still carries it. */
  :root { --gutter: 16px; --chrome: 0px; }
  .masthead { position: static; }
  .hero-inner { padding-block: 44px 48px; gap: 32px; }
  .hero h1 { font-size: 34px; letter-spacing: -.028em; }
  .lede { font-size: 16.5px; }
  .doc-head h1 { font-size: 28px; }
  .band-head h2 { font-size: 24px; }
  .sec { padding: 22px 20px; }
  .stat .big { font-size: 32px; }
}

/* ---- Print ----------------------------------------------------- */

@media print {
  :root { --gutter: 0; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .masthead { position: static; }
  .masthead-bar { background: #fff; }
  .nav, .toc, .contact-card { display: none; }
  .snapbar, .stats, .colophon { background: #fff !important; color: #000 !important; border-top: 1px solid #999; }
  .snapbar a, .colophon a, .stats .eyebrow { color: #000 !important; }
  .stat .big, .stat .label, .stat-note, .colophon .mono, .snapbar .mono, .snapbar strong { color: #000 !important; }
  .hero { background: #fff; }
  .hero h1 { font-size: 24pt; }
  .doc { grid-template-columns: minmax(0, 1fr); padding-block: 0; }
  .sec, .card, .table, .practices li { break-inside: avoid; box-shadow: none; }
  h1, h2, h3 { break-after: avoid; }
  /* A printed page loses every link, so the destination is printed after it. */
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #444; word-break: break-all; }
  .sec-head .anchor { display: none; }
  .policy .actions { display: none; }
}