/* Nurvia Trust Center — tokens mirror the main Nurvia site (base.css). */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('assets/fonts/Inter-400Regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('assets/fonts/Inter-500Medium.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('assets/fonts/Inter-600SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url('assets/fonts/Manrope-Variable.woff2') format('woff2'); }

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #121315;
  --text: #1d1e21;
  --text-2: #3a414b;
  --muted: #595d64;
  --faint: #676b72;
  --line: #e8e4dd;
  --line-strong: #d8d3ca;
  --control-line: #8d8a84; /* 3:1 against white for input/button borders */
  --tint: #fbfaf8;
  --tint-2: #f5f4f1;
  --hover: rgba(18, 19, 21, 0.055);
  --sky: #1f5fd0;
  --sky-deep: #184fb0;
  --sky-soft: #ebf1fc;
  --sky-band: #eef3fb;
  --sky-line: #9fbdf0;
  --sky-ink: #173e74;
  --ok-soft: #e7f5ed;
  --ok-ink: #0f6b3e;
  --ok-line: #8fcfaa;
  --wait-soft: #fdf2e0;
  --wait-ink: #8a4b00;
  --wait-line: #e2b45c;
  --grey-soft: #f1f0ed;
  --grey-ink: #4a4d53;
  --grey-line: #b9b5ad;
  --stop-ink: #b42318;

  --font-display: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-text: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px -10px rgba(16, 24, 40, 0.14);
  --shadow-pop: 0 1px 1px rgba(16, 24, 40, 0.04), 0 12px 32px -8px rgba(16, 24, 40, 0.14), 0 40px 80px -24px rgba(16, 24, 40, 0.22);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  /* Swap this to change the banner: assets/bg/bg-dusk-dark.webp · bg-flow-dark.webp · bg-glass-dark.webp · bg-silk-dark.webp */
  --hero-image: url('assets/bg/bg-dusk-dark.webp');
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--sky-deep); }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
strong { font-weight: 600; color: var(--ink); }

/* ───────── Skip link + draft bar ───────── */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.draft { background: var(--wait-soft); color: var(--wait-ink); border-bottom: 1px solid var(--wait-line); text-align: center; font-size: 14.5px; font-weight: 500; padding: 6px var(--gutter); }

/* ───────── Header ───────── */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; min-width: 0; }
.brand img { height: 26px; width: auto; }
.brand__div { width: 1px; height: 22px; background: var(--line-strong); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.brand__tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--sky-ink); background: var(--sky-soft); border: 1px solid var(--sky-line); border-radius: 999px; padding: 2px 9px 2px 7px; white-space: nowrap; }
.brand__tag .ic { font-size: 13px; }
.site-nav { border-top: 1px solid var(--line); }
.site-nav ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.site-nav li { flex: none; }
.site-nav a { position: relative; display: flex; align-items: center; min-height: 48px; padding: 0 13px; font-size: 15.5px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color 140ms; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current='page'] { color: var(--ink); }
.site-nav a[aria-current='page']::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 0; height: 3px; background: var(--ink); border-radius: 3px 3px 0 0; }
.site-nav a:focus-visible { outline-offset: -3px; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none;
  transition: transform 140ms var(--ease-out), background-color 140ms, border-color 140ms, opacity 140ms;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn .ic { font-size: 16px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover:not(:disabled) { background: #2a2c30; color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--control-line); }
.btn--ghost:hover:not(:disabled) { background: var(--tint-2); color: var(--ink); }
.btn--sm { min-height: 34px; padding: 0 12px; font-size: 14.5px; border-radius: 8px; gap: 6px; font-weight: 500; }
.btn--sm .ic { font-size: 14px; }
.link-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 4px 0; min-height: 28px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-btn:hover { color: var(--sky); }
.link-btn--sky { color: var(--sky); font-weight: 500; }
.link-btn .ic { font-size: 14px; }

/* ───────── Pages ───────── */
#main { outline: none; }
#page.is-in { animation: rise 260ms var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.page-top { background: var(--sky-band); border-bottom: 1px solid #dde6f3; padding: 40px 0 34px; }
.page-top h1 { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; outline: none; margin-top: 4px; }
.page-top .lead { margin-top: 12px; font-size: 17.5px; color: var(--text-2); max-width: 72ch; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--sky-ink); text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.page-body { padding-top: 36px; padding-bottom: 64px; }
.page-body.narrow > * { max-width: 880px; }
.sec { scroll-margin-top: 16px; }
.sec + .sec, .notice + .sec, .toc + .sec { margin-top: 44px; }
.sec > h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 14px; outline: none; }
.sec h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); margin: 22px 0 10px; }
.sec > p { color: var(--text-2); margin: 12px 0; max-width: 72ch; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-head h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.sec-sub { color: var(--text-2); margin: -4px 0 16px; max-width: 72ch; font-size: 15.5px; }
.card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.is-target { animation: flash 2.4s var(--ease-out); }
@keyframes flash { 0%, 40% { background-color: var(--sky-soft); } 100% { background-color: transparent; } }

.bullets { display: grid; gap: 8px; }
.bullets > li { position: relative; padding-left: 20px; color: var(--text-2); }
.bullets > li::before { content: ''; position: absolute; left: 4px; top: 0.66em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.bullets--sm > li { font-size: 15px; }
.bullets--num { counter-reset: n; }
.bullets--num > li { counter-increment: n; padding-left: 30px; }
.bullets--num > li::before { content: counter(n); top: 0.1em; left: 0; width: 22px; height: 22px; background: var(--sky-soft); color: var(--sky-ink); font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--sky-line); background: var(--sky-soft); color: var(--text); }
.notice > .ic { font-size: 20px; color: var(--sky-ink); margin-top: 2px; }
.notice__title { font-family: var(--font-display); font-weight: 700; color: var(--sky-ink); margin-bottom: 4px; }
.notice--brand { background: linear-gradient(180deg, #e9f0fb, #f4f7fc); }

/* Search */
.search { position: relative; width: 260px; max-width: 100%; display: block; }
.search .ic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--faint); pointer-events: none; }
.search input { width: 100%; height: 42px; padding: 0 12px 0 36px; border: 1px solid var(--control-line); border-radius: 10px; background: var(--surface); font-size: 15.5px; }
.search input::placeholder { color: var(--faint); }
.search input:focus-visible { outline-offset: 0; }
.search--block { width: 100%; }

/* Status chips: colour + icon + text (never colour alone) */
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px 2px 8px; border-radius: 999px; border: 1px solid; font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.chip .ic { font-size: 14px; }
.chip--ok { color: var(--ok-ink); background: var(--ok-soft); border-color: var(--ok-line); }
.chip--progress { color: var(--wait-ink); background: var(--wait-soft); border-color: var(--wait-line); }
.chip--aligned { color: var(--ok-ink); background: var(--surface); border-color: var(--ok-line); border-style: dashed; }
.chip--planned { color: var(--grey-ink); background: var(--grey-soft); border-color: var(--grey-line); }
.chip--na { color: var(--sky-ink); background: var(--surface); border-color: var(--sky); }
.chip--xs { min-height: 22px; font-size: 12.5px; padding: 1px 8px 1px 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

/* Compliance badge */
.badge {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(#4e77a2, #7c9fcb); color: #fff; font-family: var(--font-display); font-weight: 800;
  font-size: 12px; line-height: 1.05; text-align: center; overflow: hidden;
}
.badge img { width: 100%; height: 100%; object-fit: cover; }
.badge--lg { width: 68px; height: 68px; font-size: 14px; }

/* ───────── Overview ───────── */
.hero { position: relative; padding-top: 72px; }
.hero__banner { position: absolute; inset: 0 0 auto 0; height: 340px; background: var(--hero-image) center / cover no-repeat, #cfe0f7; }
.hero__banner::after { content: ''; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(to bottom, transparent, rgba(251, 250, 247, 0.55)); }
.hero__card { position: relative; background: var(--surface); border: 1px solid rgba(18, 19, 21, 0.06); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px -16px rgba(16, 24, 40, 0.12); padding: clamp(24px, 5vw, 52px); }
.hero__card h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 46px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); margin: 10px 0 16px; outline: none; }
.eyebrow--brand { background: var(--sky-soft); border: 1px solid var(--sky-line); padding: 3px 10px; border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.hero__copy { max-width: 760px; color: var(--text-2); font-size: 17.5px; line-height: 1.65; }
.hero__actions { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-top: 28px; }
.hero__links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; font-size: 15.5px; }
.hero__links li + li { border-left: 1px solid var(--line-strong); }
.hero__links a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; }
.hero__links li:first-child a { padding-left: 0; }

.glance { margin: 4px 0 40px; }
.glance__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.glance__item { display: flex; align-items: flex-start; gap: 12px; height: 100%; padding: 16px; border-radius: var(--radius); background: var(--sky-band); border: 1px solid #dde6f3; color: var(--ink); font-weight: 500; font-size: 15.5px; line-height: 1.45; text-decoration: none; transition: border-color 140ms, background-color 140ms; }
.glance__item:hover { border-color: var(--sky-line); background: var(--sky-soft); color: var(--ink); }
.glance__ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface); color: var(--sky); font-size: 17px; border: 1px solid #dde6f3; }

.ov { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.ov__side, .ov__main { display: grid; gap: 36px; min-width: 0; }
.comp-mini { padding: 4px 18px; }
.comp-mini li + li { border-top: 1px solid var(--line); }
.comp-mini__item { display: flex; align-items: center; gap: 14px; width: 100%; background: none; border: 0; text-align: left; padding: 12px 0; border-radius: 8px; }
.comp-mini__item:hover .comp-mini__name { color: var(--sky); }
.comp-mini__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); transition: color 140ms; }
.comp-mini__body { display: grid; gap: 4px; justify-items: start; min-width: 0; flex: 1; }
.comp-mini .chev { color: var(--faint); font-size: 16px; }

.contact { padding: 20px; display: grid; gap: 12px; background: var(--tint); }
.contact h2 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.contact h2 .ic { color: var(--sky); }
.contact__list { display: grid; gap: 10px; }
.contact__list dt { font-size: 14px; color: var(--muted); }
.contact__list dd { font-size: 15.5px; font-weight: 500; overflow-wrap: anywhere; }
.contact .link-btn { justify-self: start; }

.ctrl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ctrl-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); }
.ctrl-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); }
.ctrl-card__counts { font-size: 14px; color: var(--muted); margin-top: -6px; }
.ctrl-card ul { display: grid; gap: 10px; }
.ctrl-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.4; }
.ctrl-card .more { margin-top: auto; font-size: 14.5px; font-weight: 600; color: var(--sky); text-decoration: none; min-height: 24px; }
.ctrl-card .more::after { content: ' \2192'; }
.ctrl-ic { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; color: var(--ok-ink); background: var(--ok-soft); }
.ctrl-ic .ic { font-size: 11px; stroke-width: 3; }

.res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.res-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.res-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--tint-2); color: var(--muted); font-size: 18px; }
.res-body { flex: 1; min-width: 0; display: grid; }
.res-title { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.res-type { font-size: 14px; color: var(--muted); margin-top: 2px; }
.latest { padding: 20px; }
.latest .sec-head { margin-bottom: 8px; }
.latest__date { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }

/* ───────── Compliance ───────── */
.fw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fw-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.fw-card__head { display: flex; align-items: center; gap: 16px; }
.fw-card h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; }
.fw-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; }
.fw-note { font-size: 13.5px; color: var(--muted); }
.fw-card__sum { color: var(--text-2); font-size: 15.5px; }
.fw-card__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.fw-card h3 { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fw-card h3 .ic { font-size: 14px; color: var(--sky); }
.fw-card__more { align-self: flex-start; margin-top: auto; }

/* ───────── Controls ───────── */
.ctl-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 48px; align-items: start; }
.ctl-side { position: sticky; top: 16px; display: grid; gap: 22px; max-height: calc(100dvh - 32px); overflow-y: auto; padding: 2px; }
.ctl-side__block { display: grid; gap: 8px; }
.ctl-side__block .eyebrow { color: var(--muted); padding: 0 12px; }
.ctl-nav { display: grid; gap: 2px; }
.ctl-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; transition: background-color 140ms, color 140ms; }
.ctl-nav a:hover { background: var(--hover); color: var(--ink); }
.ctl-nav a[aria-current='true'] { background: #ecebe7; color: var(--ink); font-weight: 700; }
.ctl-nav__n { flex: none; font-size: 13px; font-weight: 500; color: var(--muted); }
.ctl-status { display: grid; gap: 4px; }
.st-btn { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 12px; border-radius: 10px; border: 1px solid transparent; background: none; text-align: left; font-size: 15px; color: var(--text-2); }
.st-btn .ic { font-size: 15px; }
.st-btn--ok .ic { color: var(--ok-ink); } .st-btn--progress .ic { color: var(--wait-ink); } .st-btn--planned .ic { color: var(--grey-ink); }
.st-btn__l { flex: 1; }
.st-btn__n { font-size: 13px; color: var(--muted); }
.st-btn:hover { background: var(--hover); color: var(--ink); }
.st-btn[aria-pressed='true'] { background: var(--sky-soft); border-color: var(--sky-line); color: var(--ink); font-weight: 600; }
.st-btn[aria-pressed='true']::after { content: '\2713'; font-size: 13px; color: var(--sky); }
.ctl-main { min-width: 0; }
.ctl-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; min-height: 28px; }
.ctl-count { font-size: 15px; color: var(--muted); }
.ctl-cat { scroll-margin-top: 16px; }
.ctl-cat + .ctl-cat { margin-top: 40px; }
.ctl-cat h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ctl-cat__n { font-family: var(--font-text); font-size: 14.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.ctl-blurb { margin: 6px 0 14px; color: var(--text-2); max-width: 70ch; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-wrap + p, .table-wrap + h3 { margin-top: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 13px 16px; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: var(--tint-2); font-size: 13px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); padding-top: 10px; padding-bottom: 10px; white-space: nowrap; }
tbody th { font-weight: 600; color: var(--ink); }
td { color: var(--text-2); }
.cell-note { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.ctl-table td.ctl-id { width: 76px; font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; font-size: 13.5px; color: var(--muted); white-space: nowrap; padding-top: 16px; }
.ctl-table th.ctl-body { font-weight: 400; }
.ctl-name { display: block; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.ctl-desc { display: block; margin-top: 4px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.ctl-table td.ctl-st { width: 200px; }
.ctl-note { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.maps { margin-top: 8px; }
.maps summary { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; font-size: 14px; font-weight: 600; color: var(--sky); cursor: pointer; list-style: none; border-radius: 6px; }
.maps summary::-webkit-details-marker { display: none; }
.maps summary::before { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 140ms; margin-right: 2px; }
.maps[open] summary::before { transform: rotate(45deg); }
.maps ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.maps li { font-size: 13.5px; color: var(--text-2); background: var(--tint-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }

/* ───────── Resources ───────── */
.res-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.seg { display: inline-flex; flex-wrap: wrap; padding: 3px; border: 1px solid var(--control-line); border-radius: 10px; background: var(--surface); gap: 2px; }
.seg button { background: none; border: 1px solid transparent; border-radius: 7px; min-height: 34px; padding: 0 12px; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.seg button:hover { color: var(--ink); background: var(--hover); }
.seg button[aria-pressed='true'] { background: var(--sky-soft); border-color: var(--sky-line); color: var(--sky-ink); font-weight: 700; }
.res-sec { margin-top: 26px; }
.res-list { display: grid; }
.res-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); }
.res-row:first-child { border-top: 0; }
.res-row .btn { min-width: 112px; flex: none; }
.res-group { padding: 8px 14px; background: var(--tint-2); font-size: 13px; font-weight: 700; letter-spacing: 0.03em; color: var(--muted); text-transform: uppercase; border-top: 1px solid var(--line); }
.res-group:first-child { border-top: 0; }
.muted-line { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 15px; padding: 14px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.muted-line .ic { margin-top: 4px; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 17px; margin-bottom: 4px; }

/* ───────── AI posture / Updates / FAQ / data ───────── */
.principles { display: grid; gap: 10px; }
.principles li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text-2); }
.principles__n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sky-soft); color: var(--sky-ink); font-family: var(--font-display); font-weight: 800; }
.timeline { display: grid; gap: 0; border-left: 2px solid #dde6f3; margin-left: 6px; }
.timeline > li { position: relative; padding: 0 0 26px 24px; }
.timeline > li::before { content: ''; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--sky); }
.timeline h3 { margin: 0 0 8px !important; font-size: 16px !important; }
.gate { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: var(--sky-band); border-color: #dde6f3; }
.gate__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); color: var(--sky); font-size: 20px; border: 1px solid #dde6f3; }
.gate h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.gate p { color: var(--text-2); margin-bottom: 14px; max-width: 64ch; }
.gate + .sec-sub { margin-top: 18px; }
.gate--sm { margin-top: 32px; }
.faq-tools { display: flex; justify-content: flex-end; margin-bottom: -24px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__item h3 { margin: 0 !important; font-size: inherit !important; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 56px; padding: 14px 18px; background: none; border: 0; text-align: left; font-family: var(--font-display); font-size: 16.5px; font-weight: 700; color: var(--ink); border-radius: var(--radius); }
.faq__q:hover { color: var(--sky); }
.faq__chev { font-size: 18px; color: var(--muted); transition: transform 160ms var(--ease-out); }
.faq__q[aria-expanded='true'] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 18px 18px; color: var(--text-2); max-width: 74ch; }
.toc { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.toc a { display: inline-flex; min-height: 32px; align-items: center; font-size: 15px; font-weight: 500; }
.textalt { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.textalt summary { min-height: 52px; display: flex; align-items: center; padding: 0 18px; font-family: var(--font-display); font-weight: 700; color: var(--ink); cursor: pointer; border-radius: var(--radius); }
.textalt__body { padding: 0 18px 20px; }
.textalt__body h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); margin: 14px 0 10px; }
.textalt__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px 24px; }
.textalt__grid h3 { font-size: 15px; font-weight: 700; color: var(--sky-ink); margin-bottom: 6px; }
.diagram { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 12px; }
.diagram__scroll { overflow-x: auto; border-radius: 12px; }
.diagram__scroll img { width: 100%; min-width: 860px; }
.diagram figcaption { padding: 12px 6px 4px; font-size: 15px; color: var(--text-2); }

/* ───────── Footer ───────── */
.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; font-size: 14.5px; color: var(--muted); }
.foot__brand { display: flex; align-items: center; gap: 10px; }
.foot__brand img { width: 22px; height: 22px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.foot__links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--text-2); }
.foot__links a:hover { color: var(--sky); }
.noscript { padding: 24px var(--gutter); text-align: center; }

/* ───────── Modal ───────── */
.overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(18, 19, 21, 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade 160ms ease-out; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { position: relative; width: 100%; max-width: 600px; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); animation: pop 220ms var(--ease-out); outline: none; }
.overlay.is-static, .overlay.is-static .modal { animation: none; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal form { display: flex; flex-direction: column; min-height: 0; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 10px; }
.modal__head h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); outline: none; }
.modal__body { padding: 8px 24px 16px; overflow-y: auto; display: grid; gap: 18px; align-content: start; }
.modal__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 24px 22px; border-top: 1px solid var(--line); }
.modal__foot .actions { display: flex; gap: 8px; margin-left: auto; }
.modal__foot a { font-size: 15px; }
.x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin: -4px -8px 0 0; border-radius: 8px; background: none; border: 0; color: var(--muted); font-size: 18px; }
.x:hover { background: var(--hover); color: var(--ink); }
.det-head { display: flex; align-items: center; gap: 16px; }
.det-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.det-text { color: var(--text-2); }
.det-h { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.det-small { font-size: 14px; color: var(--muted); }
.det-ctl { border: 1px solid var(--line); border-radius: 12px; }
.det-ctl summary { min-height: 46px; display: flex; align-items: center; padding: 0 14px; font-weight: 600; color: var(--ink); cursor: pointer; border-radius: 12px; }
.det-ctl[open] summary { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.det-ctl__g { padding: 12px 14px 0; }
.det-ctl__g h4 { font-size: 14px; font-weight: 700; color: var(--sky-ink); margin-bottom: 6px; }
.det-ctl__g ul { display: grid; gap: 6px; }
.det-ctl__g li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14.5px; }
.det-ctl__g a { text-decoration: none; min-height: 24px; display: inline-flex; align-items: center; gap: 6px; }
.det-ctl__g a:hover { text-decoration: underline; }
.det-ctl__id { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--muted); }
.det-ctl .det-small { padding: 12px 14px 14px; }
.det-docs { display: grid; gap: 8px; }
.doc-mini { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.doc-mini > .ic { color: var(--faint); font-size: 16px; }
.doc-mini > span { flex: 1; min-width: 0; }
.det-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.det-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; }
.det-links:empty { display: none; }

/* picker */
.picker { border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; max-height: 340px; }
.picker__all { border-bottom: 1px solid var(--line); }
.picker__list { overflow-y: auto; }
.chk { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; font-size: 15.5px; cursor: pointer; border-top: 1px solid var(--line); }
.picker__all.chk, .res-group + .chk { border-top: 0; }
.chk:hover { background: var(--tint-2); }
.chk input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; margin: 0; }
.chk .ic { color: var(--faint); font-size: 16px; }
.chk span { min-width: 0; }
.picker .res-group { position: sticky; top: 0; z-index: 1; }

/* form */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 500; color: var(--ink); }
.field .req { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--control-line); border-radius: 10px; background: var(--surface); padding: 10px 12px; font-size: 16px; }
.field input { height: 44px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--sky); outline-offset: -1px; border-color: transparent; }
.field [aria-invalid='true'] { border-color: var(--stop-ink); }
.field .err { font-size: 14px; color: var(--stop-ink); }
.form-err { font-size: 15px; color: var(--stop-ink); background: #fdecea; border: 1px solid #f4cfca; border-radius: 10px; padding: 10px 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sel-docs { border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.sel-docs__head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.sel-doc { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 15px; border-top: 1px solid var(--line); }
.sel-doc:first-child { border-top: 0; }
.sel-doc > span { flex: 1; min-width: 0; }
.sel-doc .ic { color: var(--faint); font-size: 15px; flex: none; }
.sel-doc button { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: none; border: 0; color: var(--muted); font-size: 15.5px; }
.sel-doc button:hover { background: var(--hover); color: var(--ink); }
.done { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 16px 8px 8px; }
.done__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ok-soft); color: var(--ok-ink); font-size: 24px; }
.done h3 { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.done p { color: var(--text-2); max-width: 44ch; }

/* PDF viewer */
.modal--viewer { max-width: 1000px; height: calc(100dvh - 32px); }
.viewer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 12px 24px; }
.viewer__head h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; outline: none; }
.viewer__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.viewer__tools .x { margin: 0; }
.viewer__body { flex: 1; min-height: 0; padding: 0 24px 8px; }
.viewer__body iframe { width: 100%; height: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--tint-2); }
.viewer__note { padding: 8px 24px 16px; font-size: 14px; color: var(--muted); }

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
  .ov { grid-template-columns: 1fr; gap: 32px; }
  .glance__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fw-grid { grid-template-columns: 1fr; }
  .ctl-layout { grid-template-columns: 1fr; gap: 20px; }
  .ctl-side { position: static; max-height: none; overflow: visible; gap: 14px; }
  .ctl-side__block .eyebrow { padding: 0; }
  .ctl-nav { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: thin; }
  .ctl-nav a { flex: none; border: 1px solid var(--control-line); background: var(--surface); min-height: 38px; padding: 6px 14px; border-radius: 999px; }
  .ctl-nav a[aria-current='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
  .ctl-nav a[aria-current='true'] .ctl-nav__n { color: #e6e6e6; }
  .ctl-status { display: flex; flex-wrap: wrap; gap: 6px; }
  .st-btn { border-color: var(--control-line); min-height: 36px; padding: 4px 12px; border-radius: 999px; }
  .st-btn__l { flex: none; }
}
@media (max-width: 720px) {
  /* Stack table rows into cards; explicit roles in the markup keep table semantics. */
  .table-wrap { overflow: visible; border: 0; background: none; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; width: auto; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 6px 0; }
  .table-wrap tr + tr { margin-top: 10px; }
  .table-wrap th, .table-wrap td { border-top: 0; padding: 6px 16px; }
  .table-wrap td[data-label]::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .ctl-table tr { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; padding: 10px 0; }
  .ctl-table td.ctl-id { grid-column: 1; grid-row: 1; width: auto; padding: 4px 0 4px 16px; }
  .ctl-table td.ctl-st { grid-column: 2; grid-row: 1; width: auto; padding: 4px 16px 4px 0; justify-self: start; }
  .ctl-table th.ctl-body { grid-column: 1 / -1; grid-row: 2; }
  .ctl-table td::before { display: none !important; }
}
@media (max-width: 640px) {
  .site-head__bar { min-height: 60px; gap: 10px; }
  .brand { gap: 8px; }
  .brand img { height: 22px; }
  .brand__name { font-size: 16px; }
  .brand__tag { display: none; }
  .site-head__cta { min-height: 38px; padding: 0 12px; font-size: 14.5px; }
  .site-head__cta .ic { display: none; }
  .hero { padding-top: 48px; }
  .hero__banner { height: 240px; }
  .glance__list, .ctrl-grid, .res-grid { grid-template-columns: 1fr; }
  .fw-card { padding: 18px; }
  .fw-card__cols { grid-template-columns: 1fr; }
  .page-top { padding: 28px 0 24px; }
  .page-top .lead, .hero__copy { font-size: 16.5px; }
  .form__row { grid-template-columns: 1fr; }
  .res-row { flex-wrap: wrap; padding: 14px 16px; }
  .res-row .btn { margin-left: 52px; }
  .res-card { flex-wrap: wrap; }
  .search { width: 100%; }
  .gate { flex-direction: column; padding: 20px; }
  .faq-tools { margin-bottom: 8px; }
  .modal__head, .modal__body, .modal__foot { padding-left: 18px; padding-right: 18px; }
  .modal__foot .actions { width: 100%; }
  .modal__foot .actions .btn { flex: 1; }
  .modal--viewer { height: calc(100dvh - 16px); }
  .viewer__head { padding: 12px 12px 10px 18px; }
  .viewer__body { padding: 0 12px 6px; }
  .viewer__tools .btn span.lbl { display: none; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .brand__div { display: none; }
  .site-head__cta { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
