/* Untap trust center.
   Sizes, spacing and colours follow the Vanta trust center this page replaces (measured 2026-11-17):
   Inter, 16/24 body, 14/22 secondary, 0.01em tracking, 1200px content width, 8px card radius.
   Brand: navy #223C5B banner, teal #2CB1B7 accent. Light theme only, like the Vanta page. */
@font-face {
  font-family: "Inter";
  src: url("/trust/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #223c5b;
  --teal: #2cb1b7;
  --ink: #151414;
  --muted: #545352;
  --line: #c9c8c7;
  --line-soft: #e4e3e2;
  --fill: #f5f5f4;
  --link: #0d5bba;
  --green: #0b7a52;
  --surface: #ffffff;
  --header-h: 73px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 16px/24px "Inter", -apple-system, "Segoe UI", system-ui, Ubuntu, "Helvetica Neue", sans-serif;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 3px; }
.link { color: var(--link); text-decoration: underline; }
.link:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
svg { flex: none; display: block; }

.wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 30; background: var(--surface); padding: 8px 12px; }

/* Top bar: sticky, full width, like Vanta */
.topbar {
  position: sticky; top: 0; z-index: 20; height: var(--header-h);
  display: flex; align-items: center; padding: 0 20px 0 26px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-logo { height: 32px; width: auto; display: block; }
.brand-divider { width: 1.5px; height: 18px; background: var(--ink); }
.brand-title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 40px 0; }
.hero .wrap { min-height: 320px; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: 32px; line-height: 36px; font-weight: 600; }
.hero-text { margin-top: 24px; max-width: 704px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.hero-links a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.hero-links a span { text-decoration: underline; }
.hero-links a:hover span { text-decoration-thickness: 2px; }
.hero-links svg { width: 16px; height: 16px; }

/* Tabs */
.tabs { display: flex; gap: 24px; margin: 32px 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; }
.tabs a {
  padding-bottom: 6px; border-bottom: 2px solid transparent; white-space: nowrap;
  font-size: 14px; line-height: 22px; font-weight: 500; color: var(--muted); text-decoration: none;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }

.status { padding: 24px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.status.error { border-color: #d9a3a3; background: #fdf3f3; color: var(--ink); }

/* Shared */
.view { padding-bottom: 56px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 32px; margin-bottom: 24px; flex-wrap: wrap; }
h2 { font-size: 20px; line-height: 24px; font-weight: 600; }
h3 { font-size: 18px; line-height: 22px; font-weight: 500; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 23px; }

/* Overview layout: 329px side column, 48px gap */
.overview { display: grid; grid-template-columns: 329px minmax(0, 1fr); gap: 48px; align-items: start; }
.side { display: grid; gap: 40px; }
.side h2 { min-height: 32px; display: flex; align-items: center; margin-bottom: 24px; }
.main-col { display: grid; gap: 56px; min-width: 0; }

/* Certified and aligned */
.badge-list { display: grid; gap: 16px; }
.badge-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; }
.badge-list li.has-detail { align-items: start; }
.badge {
  width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; align-content: center; text-align: center;
  font-size: 10px; line-height: 11px; font-weight: 700; letter-spacing: 0.02em;
}
.badge.image { background: none; border-radius: 0; }
.badge img { width: 48px; height: 48px; object-fit: contain; }
.badge svg { width: 22px; height: 22px; }
.badge-name { display: block; }
.has-detail .badge-name { margin-top: 2px; }
.badge-detail { display: block; margin-top: 2px; font-size: 14px; line-height: 22px; color: var(--muted); }
.side-note { margin-top: 12px; font-size: 14px; line-height: 22px; color: var(--muted); }

/* Control cards (overview) */
.control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.control-card { display: flex; flex-direction: column; gap: 24px; }
.control-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-decoration: none; }
.control-card-head h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.control-card-head:hover h3 { text-decoration-thickness: 2px; }
.control-card-head svg { width: 20px; height: 20px; }
.checks { display: grid; gap: 16px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 22px; color: var(--muted); min-width: 0; }
.checks li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checks svg, .status-cell svg { width: 16px; height: 16px; color: var(--green); }
.checks + .link { margin-top: -8px; font-size: 14px; line-height: 22px; align-self: flex-start; }

/* Data collected */
.plain-list { display: grid; gap: 16px; }
.plain-list li { display: flex; align-items: center; gap: 12px; }
.plain-list svg { width: 16px; height: 16px; }

/* Subprocessors */
.vendor-list { display: grid; gap: 24px; }
.vendor { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 24px; align-items: center; }
.vendor-logo { width: 40px; height: 40px; border-radius: 2px; object-fit: contain; display: block; }
.vendor-initial {
  width: 40px; height: 40px; border-radius: 2px; background: var(--fill); border: 1px solid var(--line-soft);
  display: grid; place-items: center; font-weight: 600; color: var(--muted);
}
.vendor-name { font-weight: 500; }
.vendor-category { color: var(--muted); }
.vendor-desc { display: block; margin-top: 4px; font-size: 14px; line-height: 22px; color: var(--muted); }

.table-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.vendor-rows li { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.vendor-rows .vendor { flex: 1 1 320px; }
.vendor-links { display: flex; gap: 16px; font-size: 14px; line-height: 22px; white-space: nowrap; }
.table-foot { padding: 16px 24px; font-size: 14px; line-height: 22px; color: var(--muted); }
.table-foot strong { color: var(--ink); font-weight: 600; }

/* Search */
.search { position: relative; display: block; width: min(360px, 100%); }
.search svg { position: absolute; left: 10px; top: 9px; width: 14px; height: 14px; pointer-events: none; }
.search input {
  width: 100%; height: 32px; padding: 5px 10px 5px 29px; font: inherit; font-size: 14px; line-height: 20px; letter-spacing: inherit;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
}
.search input::placeholder { color: var(--muted); }

/* Controls page: category nav + tables */
.controls-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.side-nav { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 4px; padding-top: 40px; }
.side-nav a { padding: 9px 8px; border-radius: 4px; font-size: 14px; line-height: 22px; color: var(--muted); text-decoration: none; }
.side-nav a:hover { background: var(--fill); color: var(--ink); }
.control-sections { display: grid; gap: 40px; }
.control-section { scroll-margin-top: calc(var(--header-h) + 16px); }
.control-section h3 { margin-bottom: 24px; }
.control-table { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.control-table-head, .control-row { display: grid; grid-template-columns: minmax(0, 1fr) 88px; }
.control-table-head {
  background: var(--fill); border-bottom: 1px solid var(--line);
  font-size: 12px; line-height: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted);
}
.control-table-head span { padding: 12px 16px 12px 24px; }
.control-table-head span:last-child { padding-left: 0; text-align: center; }
.control-row + .control-row { border-top: 1px solid var(--line); }
.control-body { padding: 16px 16px 16px 24px; display: grid; gap: 8px; min-width: 0; }
.control-name { font-weight: 500; }
.control-desc { font-size: 14px; line-height: 22px; color: var(--muted); }
.control-desc ul { list-style: disc; padding-left: 40px; margin-top: 6px; }
.control-desc p + p { margin-top: 6px; }
.status-cell { display: grid; place-items: center; }
.empty { padding: 24px 0; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 22px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }

@media (max-width: 960px) {
  .overview { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .controls-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .side-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0 0 24px; }
  .side-nav a { background: var(--fill); padding: 5px 12px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar { padding: 0 16px; }
  .hero .wrap { min-height: 0; }
  .control-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .control-table-head, .control-row { grid-template-columns: minmax(0, 1fr) 56px; }
  .control-body { padding: 16px 8px 16px 16px; }
  .control-table-head span { padding-left: 16px; }
  .vendor-rows li { padding: 16px; }
  .vendor, .vendor-list { gap: 16px; }
  .control-desc ul { padding-left: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
