/* =========================================================
   Arx — trust page styles
   Only loaded on trust.html — do not modify existing shared CSS
   ========================================================= */

/* ---- Hero ---- */
.trust-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 7vw, 100px);
  border-bottom: 1px solid var(--rule);
}
.trust-hero .eyebrow { margin-bottom: 28px; display: block; }
.trust-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 800px;
  margin-bottom: 28px;
}
.trust-hero h1 em { font-style: italic; color: var(--accent); }
.trust-hero .lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 620px;
}

/* ---- Document meta strip ---- */
.meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
  margin: 48px 0 clamp(60px, 7vw, 96px);
}
.meta-cell {
  padding: 24px 28px;
  border-right: 1px solid var(--rule);
}
.meta-cell:last-child { border-right: 0; }
.meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.meta-value {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* ---- Trust sections ---- */
.trust-section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--rule);
}
.trust-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
  display: block;
}
.trust-section h2 {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 32px;
}
.trust-prose {
  max-width: 680px;
  color: var(--ink-2);
  line-height: 1.72;
  font-size: 15.5px;
}
.trust-prose + .trust-prose { margin-top: 18px; }
.trust-lead {
  max-width: 680px;
  color: var(--ink-2);
  line-height: 1.72;
  font-size: 15.5px;
  margin-bottom: 36px;
}

/* ---- Split rows (data handling, operational security) ---- */
.split-rows { border-top: 1px solid var(--rule); }
.split-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.split-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 2px;
  line-height: 1.5;
}
.split-val {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

/* ---- Shared responsibility box ---- */
.shared-resp-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  margin-top: 36px;
}
.shared-resp-col { padding: 32px 36px; }
.shared-resp-col + .shared-resp-col { border-left: 1px solid var(--rule); }
.shared-resp-col h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.shared-resp-col.inherited h4 { color: var(--signal); }
.shared-resp-col.maintained h4 { color: var(--accent); }
.shared-resp-col ul { list-style: none; margin: 0; padding: 0; }
.shared-resp-col li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.shared-resp-col li:last-child { border-bottom: 0; }
.shared-resp-col li::before {
  content: "→";
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  flex-shrink: 0;
}
.shared-resp-note {
  margin-top: 24px;
  max-width: 680px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.65;
}

/* ---- Subprocessors table ---- */
.subprocessors-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.subprocessors-table th {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: left;
  padding: 10px 20px 10px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}
.subprocessors-table td {
  padding: 18px 20px 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
  color: var(--ink-2);
  vertical-align: top;
  line-height: 1.55;
}
.subprocessors-table tr:last-child td { border-bottom: 0; }
.subprocessors-table .provider {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink);
}

/* ---- Roadmap ---- */
.roadmap-list { margin-top: 8px; }
.roadmap-item {
  display: grid;
  grid-template-columns: 110px 160px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.roadmap-item:first-child { border-top: 1px solid var(--rule); }
.roadmap-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}
.roadmap-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.roadmap-status.complete { color: var(--ok); }
.roadmap-status.in-progress { color: var(--signal); }
.roadmap-status.planned { color: var(--ink-3); }
.roadmap-desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ---- CTA section ---- */
.trust-cta {
  padding: clamp(60px, 7vw, 96px) 0;
}
.trust-cta h2 {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: clamp(26px, 3.5vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 560px;
}
.trust-cta .trust-prose { margin-bottom: 32px; }

/* ---- Trust micro-footer ---- */
.trust-mini-footer {
  border-top: 1px solid var(--rule);
  padding: 20px 0;
  display: flex;
  gap: 36px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.trust-mini-footer a { color: var(--ink-3); }
.trust-mini-footer a:hover { color: var(--ink); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .meta-strip { grid-template-columns: repeat(2, 1fr); }
  .meta-cell:nth-child(2) { border-right: 0; }
  .meta-cell:nth-child(3),
  .meta-cell:nth-child(4) { border-top: 1px solid var(--rule); }
  .meta-cell:nth-child(4) { border-right: 0; }

  .shared-resp-box { grid-template-columns: 1fr; }
  .shared-resp-col + .shared-resp-col { border-left: 0; border-top: 1px solid var(--rule); }

  .roadmap-item { grid-template-columns: 110px 1fr; gap: 12px; }
  .roadmap-desc { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .meta-strip { grid-template-columns: 1fr; }
  .meta-cell { border-right: 0 !important; }
  .meta-cell + .meta-cell { border-top: 1px solid var(--rule); }

  .split-row { grid-template-columns: 1fr; gap: 8px; }
  .split-key { padding-top: 0; }

  .subprocessors-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .roadmap-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ---- Print styles ---- */
@media print {
  @page { size: letter; margin: 1in; }

  .announce,
  .mk-nav { display: none !important; }

  body { background: white !important; color: black !important; }

  .trust-hero,
  .trust-section,
  .trust-cta { background: white !important; }

  section { page-break-inside: avoid; }

  .trust-mini-footer { border-top: 1px solid #ccc; }

  .btn { display: none !important; }

  a[href]::after { content: none !important; }

  .meta-strip,
  .shared-resp-box { border-color: #ccc !important; }

  .split-rows,
  .split-row,
  .roadmap-item { border-color: #ccc !important; }

  .subprocessors-table th,
  .subprocessors-table td { border-color: #ccc !important; }
}
