/* Subprocessor directory: the shared legal layout, with responsive provider tables. */
.page-subprocessors .legal-hero {
  padding-block: 72px 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.page-subprocessors .legal-hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  margin-bottom: 24px;
}
.page-subprocessors .legal-hero h1 span { color: var(--green); }
.sp-hero-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.sp-hero-meta .lede { max-width: 620px; }
.sp-updated {
  flex: none;
  margin: 0;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: .78rem;
  background: var(--surface);
}
.page-subprocessors .legal-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.page-subprocessors .legal-nav {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  gap: 7px;
}
.sp-nav-title {
  color: var(--dark);
  font-size: .68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.page-subprocessors .legal-nav a { padding-block: 6px; line-height: 1.5; }
.page-subprocessors .legal-nav a:hover { text-decoration: underline; }
.page-subprocessors .legal { min-width: 0; }
.sp-section + .sp-section {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.page-subprocessors .sp-section h2 {
  margin: 0 0 22px;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  font-weight: 500;
  line-height: 1.25;
}
.sp-section > p { max-width: 76ch; }
.sp-table-wrap {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 22px;
  background: white;
}
.sp-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
  font-size: .85rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.sp-table th, .sp-table td {
  padding: 18px 17px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.sp-table thead th {
  background: var(--surface);
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.5;
  font-weight: 600;
}
.sp-table tbody th { font-weight: 650; color: var(--ink); }
.sp-table td { color: var(--muted); }
.sp-table tbody td:last-child { background: #f2f8f4; color: #315542; }
.sp-table tbody tr:last-child > * { border-bottom: 0; }
.sp-cell-label { display: none; }
.page-subprocessors .sp-section--contact {
  border: 1px solid #d6e8dd;
  border-radius: 22px;
  padding: 28px;
  background: var(--pale);
}
.sp-section--contact a { overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .page-subprocessors .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .page-subprocessors .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding: 20px; }
  .sp-nav-title { flex-basis: 100%; margin-bottom: 4px; }
  .page-subprocessors .legal-nav a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 20px; background: white; }
  .sp-hero-meta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
  .page-subprocessors .legal-hero { padding-block: 44px 30px; margin-bottom: 28px; }
  .sp-hero-meta .lede { font-size: 1rem; }
  .page-subprocessors .legal-nav { padding: 16px; gap: 7px; }
  .page-subprocessors .legal-nav a { font-size: .76rem; }
  .sp-section + .sp-section { margin-top: 32px; padding-top: 28px; }
  .sp-table-wrap { border: 0; border-radius: 0; overflow: visible; background: none; }
  /* Explicit table roles in the HTML retain row/header relationships when stacked. */
  .sp-table, .sp-table tbody, .sp-table tr, .sp-table th, .sp-table td { display: block; width: 100%; }
  .sp-table colgroup { display: none; }
  .sp-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .sp-table tbody { display: grid; gap: 16px; }
  .sp-table tbody tr { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
  .sp-table tbody th { padding: 18px 20px; font-size: 1rem; background: var(--surface); }
  .sp-table tbody td { padding: 14px 20px; font-size: .9rem; }
  .sp-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .sp-table tbody tr > :last-child { border-bottom: 0; }
  .sp-cell-label { display: block; margin-bottom: 4px; color: var(--dark); font-size: .66rem; line-height: 1.5; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
  .page-subprocessors .sp-section--contact { padding: 22px; }
}
@media print {
  .page-subprocessors .legal-nav { display: none; }
  .page-subprocessors .legal-layout { display: block; }
  .sp-table tbody tr { break-inside: avoid; }
  .sp-section h2 { break-after: avoid; }
}
