/* Trust Center — page styles on top of design system tokens */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ml-white); }
body {
  font-family: var(--font-primary);
  font-weight: var(--fw-light);
  color: var(--color-fg);
  font-feature-settings: "ss01", "kern";
}

/* Layout */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 980px; margin: 0 auto; padding: 0 28px; }

.section { padding: var(--sec-pad, 96px) 0; }
.section-tight { padding: var(--sec-pad-tight, 64px) 0; }

/* Density modes — set by Tweaks panel via [data-density] */
[data-density="compact"] {
  --sec-pad: 64px;
  --sec-pad-tight: 40px;
  --card-pad: 20px;
  --row-pad: 14px;
}
[data-density="regular"] {
  --sec-pad: 96px;
  --sec-pad-tight: 64px;
  --card-pad: 28px;
  --row-pad: 20px;
}
[data-density="comfy"] {
  --sec-pad: 128px;
  --sec-pad-tight: 88px;
  --card-pad: 36px;
  --row-pad: 26px;
}

/* Accent color modes — driven by Tweaks */
[data-accent="hortensia"] {
  --accent: var(--ml-hortensia-blue);
  --accent-strong: var(--ml-medialine-blue);
  --accent-soft: rgba(0,109,177,0.08);
  --hero-bg: var(--ml-grey-04);
  --hero-fg: var(--ml-text-grey);
  --hero-heading: var(--ml-hortensia-blue);
  --hero-eyebrow: var(--ml-hortensia-blue);
  --hero-rule: var(--ml-grey-15);
}
[data-accent="medialine"] {
  --accent: var(--ml-medialine-blue);
  --accent-strong: var(--ml-dark-blue);
  --accent-soft: rgba(6,62,133,0.08);
  --hero-bg: var(--ml-medialine-blue);
  --hero-fg: rgba(255,255,255,0.86);
  --hero-heading: #fff;
  --hero-eyebrow: #9DD9F5;
  --hero-rule: rgba(255,255,255,0.18);
}
[data-accent="gradient"] {
  --accent: var(--ml-medialine-blue);
  --accent-strong: var(--ml-dark-blue);
  --accent-soft: rgba(0,159,227,0.10);
  --hero-bg: var(--ml-gradient-primary);
  --hero-fg: rgba(255,255,255,0.92);
  --hero-heading: #fff;
  --hero-eyebrow: #9DD9F5;
  --hero-rule: rgba(255,255,255,0.18);
}

/* Eyebrow */
.eyebrow {
  font-family: var(--font-primary);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-size: 11.5px;
  color: var(--accent);
}

/* Hairline rule */
.hr-rule { height: 1px; background: var(--color-divider); border: 0; margin: 0; }

/* Headings */
h1, h2, h3, h4 { font-family: var(--font-primary); font-weight: var(--fw-bold); color: var(--ml-hortensia-blue); letter-spacing: 0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(40px, 4.6vw + 4px, 60px); }
h2 { font-size: clamp(28px, 2.2vw + 8px, 40px); }
h3 { font-size: 22px; }
h4 { font-size: 17px; }

p { margin: 0; line-height: 1.6; }

/* Status pill */
.status-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:#23B86A; box-shadow: 0 0 0 4px rgba(35,184,106,0.18); }
.status-dot.warn { background:#E0A203; box-shadow: 0 0 0 4px rgba(224,162,3,0.18); }
.status-dot.crit { background:#D43A3A; box-shadow: 0 0 0 4px rgba(212,58,58,0.18); }

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:8px; padding:12px 22px; border-radius:10px; font-size:14px; font-weight:700; letter-spacing:0.04em; border:0; cursor:pointer; font-family:inherit; text-decoration:none; transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard); }
.btn:hover { text-decoration:none; }
.btn:active { transform: scale(0.98); }

/* Primary — brand gradient (light top-left → dark bottom-right). Hover → solid cyan. */
.btn-primary { background: linear-gradient(135deg, #009fe3 0%, #140f41 100%); color:#fff; border:0; }
.btn-primary:hover { background: #009fe3; color:#fff; border:0; }

/* Secondary on white — outline, hover fills cyan with white text */
.btn-ghost { background:transparent; color: var(--ml-medialine-blue); border:1.5px solid var(--ml-grey-15); }
.btn-ghost:hover { background:#009fe3; border-color:#009fe3; color:#fff; }

/* On coloured backgrounds — white text + white outline, hover fills cyan */
.btn-ghost-light { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,0.55); }
.btn-ghost-light:hover { background:#009fe3; border-color:#009fe3; color:#fff; }
.btn-on-light { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,0.75); }
.btn-on-light:hover { background:#009fe3; border-color:#009fe3; color:#fff; }

.link { color: var(--ml-hortensia-blue); font-weight: 400; text-decoration: none; border-bottom: 1px solid var(--ml-grey-15); transition: border-color var(--dur-fast) var(--ease-standard); }
.link:hover { border-color: var(--ml-hortensia-blue); }

/* Cards / list rows — document-forward, low chrome */
.row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: var(--row-pad, 20px) 4px;
  border-bottom: 1px solid var(--color-divider);
}
.row:last-child { border-bottom: 0; }
.row-icon { width:36px; height:36px; display:flex; align-items:center; justify-content:center; color: var(--ml-hortensia-blue); }
.row-title { font-size: 16px; font-weight: 700; color: var(--ml-grey-90); margin: 0 0 2px; }
.row-sub { font-size: 13.5px; color: var(--ml-grey-50); font-weight: 300; }

/* Group shape (echo of brand seal) */
.ml-shape {
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 0 100%);
}

/* Sticky in-page nav */
.subnav {
  position: sticky;
  top: 108px;
  z-index: 30;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-divider);
}
.subnav-inner { display:flex; gap: 4px; overflow-x: auto; padding: 0; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.subnav button {
  font-family: inherit;
  background: transparent; border: 0;
  font-size: 13px; font-weight: 700;
  color: var(--ml-grey-70);
  letter-spacing: 0.04em;
  padding: 16px 14px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}
.subnav button:hover { color: var(--ml-medialine-blue); }
.subnav button.active { color: var(--ml-medialine-blue); border-bottom-color: var(--ml-medialine-blue); }

/* Section header */
.sec-head { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.sec-head .eyebrow { margin: 0; }
.sec-head h2 { color: var(--ml-hortensia-blue); }
.sec-head .lead { font-size: 17px; font-weight: 300; line-height: 1.6; color: var(--ml-text-grey); margin-top: 4px; }

/* Cert cards */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert {
  padding: var(--card-pad, 28px);
  background: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 220px;
  transition: background var(--dur-fast) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.cert:hover { box-shadow: var(--shadow-lg); transform: scale(1.025); z-index: 2; }
.cert-badge {
  display: flex; align-items: center; gap: 18px;
  margin: calc(var(--card-pad, 28px) * -1) calc(var(--card-pad, 28px) * -1) 4px;
  padding: 24px var(--card-pad, 28px);
  background: var(--ml-gradient-primary);
}
.cert-badge .cert-title { color: #fff; }
.cert-badge .cert-scope { color: rgba(255,255,255,0.85); }
.cert-seal {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft, rgba(0,109,177,0.08));
  color: var(--ml-hortensia-blue);
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 0 100%);
  font-weight: 700; font-size: 11px;
  flex-shrink: 0;
}
.cert-title { font-size: 17px; font-weight: 700; color: var(--ml-grey-90); margin: 0; line-height: 1.2; letter-spacing: 0.01em; }
.cert-scope { font-size: 13px; color: var(--ml-grey-50); font-weight: 300; }
.cert-meta { font-size: 12px; color: var(--ml-grey-50); display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--color-divider); }
.cert-meta b { color: var(--ml-text-grey); font-weight: 700; }

.cert-status { display:inline-flex; align-items:center; gap:6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1c8a52; }
.cert-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #23B86A; }

/* C5 Testat — full-width card with light (#f3f6f9) header, no gradient */
.cert-c5 {
  display: grid;
  grid-template-columns: 320px 1fr;
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}
.cert-c5:hover { box-shadow: var(--shadow-lg); transform: scale(1.025); z-index: 2; }
.cert-c5-head {
  background: #f3f6f9;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 36px;
  border-right: 1px solid var(--color-divider);
}
.cert-c5-head img { width: 100%; max-width: 230px; height: auto; object-fit: contain; }
.cert-c5-body {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: var(--card-pad, 28px) 32px;
  flex-wrap: wrap;
}
.cert-c5-meta { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.cert-c5-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  padding: 11px 18px; border-radius: 25px;
  background: var(--ml-gradient-primary); color: #fff;
  white-space: nowrap; text-decoration: none;
  transition: background var(--dur-fast) var(--ease-standard);
}
.cert-c5-cta:hover { background: var(--ml-cyan); color: #fff; text-decoration: none; }

/* Security practices */
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.practice {
  padding: 36px 32px 36px 0;
  border-top: 1px solid var(--color-divider);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
}
.practice:nth-child(odd) { padding-right: 48px; }
.practice:nth-child(even) { padding-left: 48px; border-left: 1px solid var(--color-divider); padding-right: 0; }
.practice-icon { width: 48px; height: 48px; color: var(--accent); }
.practice h3 { color: var(--ml-grey-90); font-size: 19px; margin: 0 0 10px; letter-spacing: 0.01em; }
.practice ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.practice ul li { font-size: 14.5px; line-height: 1.5; color: var(--ml-text-grey); padding-left: 16px; position: relative; font-weight: 300; }
.practice ul li::before { content: "·"; position: absolute; left: 4px; color: var(--ml-cyan); font-weight: 700; font-size: 18px; line-height: 1; top: 3px; }
.practice p { font-size: 14.5px; color: var(--ml-text-grey); line-height: 1.55; }

/* Subprocessors table */
.tbl { width:100%; border-collapse: collapse; font-size: 14px; }
.tbl thead th {
  text-align: left;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ml-grey-50);
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-divider);
  background: var(--ml-grey-04);
}
.tbl tbody td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--color-divider);
  color: var(--ml-text-grey);
  font-weight: 300;
  vertical-align: top;
}
.tbl tbody tr:hover td { background: var(--ml-grey-04); }
.tbl .name { color: var(--ml-grey-90); font-weight: 700; font-size: 14.5px; }
.tbl .name-sub { color: var(--ml-grey-50); font-size: 12.5px; font-weight: 300; margin-top: 2px; }
.region-flag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft, rgba(0,109,177,0.08));
  color: var(--accent-strong, var(--ml-medialine-blue));
  font-weight: 700; letter-spacing: 0.02em;
}

/* Documents */
.doc-toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.doc-search {
  flex: 1; min-width: 240px;
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  padding: 11px 14px;
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.doc-search:focus-within { border-color: var(--ml-hortensia-blue); box-shadow: var(--shadow-focus); }
.doc-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 14px; color: var(--ml-grey-90);
  font-weight: 300;
}
.doc-search input::placeholder { color: var(--ml-grey-50); }
.doc-filter {
  display: inline-flex; gap: 0;
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  overflow: hidden;
}
.doc-filter button {
  background: #fff; border: 0; padding: 11px 16px;
  font-family: inherit; font-size: 13px; font-weight: 700;
  color: var(--ml-grey-70); cursor: pointer;
  border-right: 1px solid var(--color-divider);
  letter-spacing: 0.02em;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}
.doc-filter button:last-child { border-right: 0; }
.doc-filter button.active { background: var(--ml-medialine-blue); color: #fff; }
.doc-filter button:hover:not(.active) { background: var(--ml-grey-04); }

.doc-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto auto;
  gap: 24px;
  align-items: center;
  padding: var(--row-pad, 20px) 0;
  border-bottom: 1px solid var(--color-divider);
}
.doc-row:hover { background: var(--ml-grey-04); }
.doc-row .doc-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.doc-row .doc-name { font-size: 15.5px; font-weight: 700; color: var(--ml-grey-90); margin: 0 0 3px; letter-spacing: 0.01em; }
.doc-row .doc-meta { font-size: 12.5px; color: var(--ml-grey-50); font-weight: 300; display: flex; gap: 14px; }
.doc-row .doc-meta span { display: inline-flex; align-items: center; gap: 4px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
}
.tag-public { background: rgba(35,184,106,0.12); color: #1c8a52; }
.tag-gated  { background: rgba(224,162,3,0.14);  color: #8a6404; }
.tag-nda    { background: rgba(178,40,135,0.12); color: var(--ml-magenta); }

.doc-action {
  appearance: none; border: 0; cursor: pointer; font-family: inherit;
  background: transparent; color: var(--ml-medialine-blue);
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 6px;
}
.doc-action:hover { background: rgba(6,62,133,0.06); }

/* Modal */
.modal-back {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,15,65,0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 180ms var(--ease-standard);
}
.modal {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 560px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: popIn 220ms var(--ease-standard);
}
.modal-head { padding: 24px 28px 16px; border-bottom: 1px solid var(--color-divider); }
.modal-head h3 { margin: 0; font-size: 22px; color: var(--ml-hortensia-blue); letter-spacing: 0.02em; }
.modal-head .sub { font-size: 13.5px; color: var(--ml-grey-50); margin-top: 6px; font-weight: 300; }
.modal-body { padding: 24px 28px; display: grid; gap: 16px; }
.modal-foot { padding: 18px 28px 24px; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--color-divider); }
.modal-close { position: absolute; right: 18px; top: 18px; background: transparent; border: 0; cursor: pointer; color: var(--ml-grey-50); padding: 6px; font-size: 20px; line-height: 1; }
.modal-close:hover { color: var(--ml-grey-90); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Form fields */
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; color: var(--ml-grey-70); letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 14px; font-weight: 300;
  color: var(--ml-grey-90);
  padding: 11px 14px;
  border: 1px solid var(--color-divider); border-radius: 8px;
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--ml-hortensia-blue);
  box-shadow: var(--shadow-focus);
}
.field textarea { resize: vertical; min-height: 90px; }
.field .err { color: var(--ml-magenta); font-size: 12.5px; font-weight: 700; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ml-text-grey); font-weight: 300; cursor: pointer; }
.check input { margin-top: 2px; accent-color: var(--ml-medialine-blue); }

/* Incident timeline */
.timeline { display: grid; gap: 0; border-left: 1px solid var(--color-divider); padding-left: 28px; margin-left: 8px; }
.tl-row { position: relative; padding: 0 0 28px 0; }
.tl-row::before {
  content: ""; position: absolute; left: -34px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #23B86A; box-shadow: 0 0 0 4px rgba(35,184,106,0.15);
}
.tl-row.warn::before { background: #E0A203; box-shadow: 0 0 0 4px rgba(224,162,3,0.18); }
.tl-row.crit::before { background: #D43A3A; box-shadow: 0 0 0 4px rgba(212,58,58,0.18); }
.tl-date { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ml-grey-50); margin-bottom: 6px; }
.tl-title { font-size: 16px; font-weight: 700; color: var(--ml-grey-90); margin: 0 0 6px; }
.tl-body { font-size: 14px; color: var(--ml-text-grey); line-height: 1.55; font-weight: 300; }
.tl-meta { font-size: 12px; color: var(--ml-grey-50); margin-top: 8px; display: flex; gap: 14px; }

/* FAQ */
.faq { border-top: 1px solid var(--color-divider); }
.faq-item { border-bottom: 1px solid var(--color-divider); }
.faq-q {
  width: 100%; text-align: left;
  background: transparent; border: 0; cursor: pointer;
  padding: 22px 0; font-family: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 16.5px; font-weight: 700; color: var(--ml-grey-90); letter-spacing: 0.01em;
}
.faq-q:hover { color: var(--ml-medialine-blue); }
.faq-icon { color: var(--ml-grey-50); transition: transform var(--dur-base) var(--ease-standard); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--ml-medialine-blue); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur-base) var(--ease-standard);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 0 24px; font-size: 15px; color: var(--ml-text-grey); line-height: 1.65; font-weight: 300; max-width: 760px; }

/* Stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--hero-rule, rgba(255,255,255,0.18)); border-bottom: 1px solid var(--hero-rule, rgba(255,255,255,0.18)); }
.stat {
  padding: 28px 24px;
  border-right: 1px solid var(--hero-rule, rgba(255,255,255,0.18));
}
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--font-primary); font-weight: 700; font-size: 32px; color: inherit; letter-spacing: 0.01em; line-height: 1; }
.stat .l { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; margin-top: 8px; }

/* No-results */
.empty {
  padding: 64px 20px;
  text-align: center;
  color: var(--ml-grey-50);
  font-size: 14.5px;
  font-weight: 300;
}

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--ml-dark-blue); color: #fff;
  padding: 14px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  animation: toastIn 280ms var(--ease-standard);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Print */
/* ============================================================
   RESPONSIVE — standard breakpoints 1024 / 768 / 640
   (media-query rules use !important to override inline grids)
   ============================================================ */
@media (max-width: 1024px) {
  .container, .container-narrow { padding: 0 24px; }
  .hero-grid { gap: 40px !important; }
  .partner-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 20px; }
  .section { padding: 56px 0 !important; }

  /* Header */
  .header-inner { padding: 14px 20px !important; }
  .brand-logo { width: 44px !important; height: 44px !important; }
  .brand-wordmark { font-size: 16px !important; }
  .subnav { top: 72px; }

  /* Hero stacks to one column */
  .hero-section { padding: 56px 0 48px !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; align-items: start !important; }
  .hero-grid aside { border-left: 0 !important; padding-left: 0 !important; }
  .hero-shapes { display: none !important; }

  /* Hero action buttons stack full-width */
  .hero-cta { flex-direction: column !important; align-items: stretch !important; }
  .hero-cta > * { width: 100%; justify-content: center; text-align: center; }

  /* Stat strip → 2 columns */
  .stat-strip { grid-template-columns: repeat(2, 1fr) !important; }
  .stat { border-right: 0 !important; }
  .stat:nth-child(odd) { border-right: 1px solid var(--hero-rule, rgba(255,255,255,0.18)) !important; }

  /* Card grids stack */
  .cert-grid, .practice-grid { grid-template-columns: 1fr !important; }
  .cert-c5 { grid-template-columns: 1fr !important; }
  .cert-c5-head { border-right: 0; border-bottom: 1px solid var(--color-divider); }
  .cert-c5-body { gap: 18px; }
  .cert-c5-cta { width: 100%; justify-content: center; }
  .practice:nth-child(even) { border-left: 0; padding-left: 0; }
  .practice:nth-child(odd) { padding-right: 0; }

  .partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .seccta-box { grid-template-columns: 1fr !important; gap: 24px !important; }
  .gated-panel { grid-template-columns: 40px 1fr !important; gap: 14px 16px !important; }
  .gated-panel > a { grid-column: 1 / -1; justify-content: center; }

  /* Subprocessor table scrolls horizontally */
  .table-wrap { overflow-x: auto !important; }
  .table-wrap table { min-width: 640px; }

  /* Awards row */
  .award-row { grid-template-columns: 56px 1fr auto !important; gap: 16px !important; }

  /* Document rows */
  .doc-row { grid-template-columns: 32px 1fr auto !important; gap: 14px !important; }
  .doc-row .doc-meta, .doc-row .tag-cell { grid-column: 2 / -1; }
}

@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 16px; }

  .stat-strip { grid-template-columns: 1fr !important; }
  .stat, .stat:nth-child(odd) { border-right: 0 !important; }
  .stat:not(:last-child) { border-bottom: 1px solid var(--hero-rule, rgba(255,255,255,0.18)); }

  .partner-grid { grid-template-columns: 1fr !important; }

  /* Awards: stack year above title */
  .award-row { grid-template-columns: 1fr !important; gap: 4px !important; }
  .award-row > div:last-child { display: none !important; }

  /* Sub-nav comfortable tap targets */
  .subnav button { padding: 14px 12px; }

  /* Modal full-width feel */
  .modal { max-width: 100% !important; }
}
