/* ==========================================================================
   trust.css · /now /uses /status /press /security
   --------------------------------------------------------------------------
   indie /now-page convention pages share a dark, mono-flavoured personality
   that is intentionally separate from the apex Editorial chrome. this file
   provides ALL page-internal styling so the HTML files stay free of inline
   <style> blocks.

   chrome (header.site-header, footer.site-footer.footer-v3, matrix overlay)
   comes from /css/portal.css. body + content styling live here, scoped to
   `.trust-body` and `.trust-page` so they never leak into other surfaces.
   ========================================================================== */

body.trust-body {
  background: #06070f;
  color: #f1f1fa;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  margin: 0;
  min-height: 100%;
}
body.trust-body::before { display: none; }

.trust-body main.trust-page {
  --tp-bg: #06070f;
  --tp-surface: #0d0f1a;
  --tp-surface-2: #11131f;
  --tp-ink: #f1f1fa;
  --tp-mute: #9598b8;
  --tp-mute-2: #6b6e8b;
  --tp-rule: #1d2236;
  --tp-accent: #41e0fe;
  --tp-violet: #7d3aff;
  --tp-good: #4ade80;
  --tp-warn: #fbbf24;
  --tp-bad: #ef4444;

  padding: 56px 24px 96px;
}

.trust-page .trust-wrap { max-width: 760px; margin: 0 auto; }
.trust-page--press .trust-wrap { max-width: 880px; }
.trust-page--status .trust-wrap { max-width: 780px; }

.trust-page * { box-sizing: border-box; }

.trust-page a {
  color: var(--tp-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease;
}
.trust-page a:hover { border-bottom-color: var(--tp-accent); }

.trust-page p { margin-bottom: 14px; color: var(--tp-mute); }
.trust-page p strong { color: var(--tp-ink); font-weight: 600; }
.trust-page strong { color: var(--tp-ink); font-weight: 600; }

.trust-page .trust-header {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--tp-rule);
  margin-bottom: 48px;
}

.trust-page .eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: var(--tp-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-page .eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tp-accent);
  box-shadow: 0 0 12px var(--tp-accent);
}
.trust-page--status .eyebrow { color: var(--tp-good); }
.trust-page--status .eyebrow::before {
  background: var(--tp-good);
  box-shadow: 0 0 12px var(--tp-good);
  animation: trust-pulse 2s ease-in-out infinite;
}
@keyframes trust-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.trust-page h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 14px;
  color: var(--tp-ink);
}
.trust-page--security h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }

.trust-page .lead {
  color: var(--tp-mute);
  font-size: 18px;
  max-width: 64ch;
}
.trust-page--press .lead { font-size: 19px; }

.trust-page .last-updated {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--tp-mute-2);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-page--now .last-updated::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tp-good);
  box-shadow: 0 0 8px var(--tp-good);
}

.trust-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 56px 0 16px;
  letter-spacing: -0.015em;
  color: var(--tp-ink);
}
.trust-page--uses h2,
.trust-page--status h2 {
  font-size: 1.4rem;
  margin: 48px 0 18px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-page h2 .priority,
.trust-page h2 .label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7em;
  font-weight: 500;
  color: var(--tp-mute-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trust-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--tp-accent);
}
.trust-page--security h3 { color: var(--tp-ink); }

.trust-page .section-lead { color: var(--tp-mute); font-size: 14px; margin-bottom: 18px; }

/* ---- /now: target callout + status icons ---- */

.trust-page--now .target {
  background: linear-gradient(135deg, rgba(125, 58, 255, 0.10), rgba(65, 224, 254, 0.06));
  border: 1px solid var(--tp-rule);
  border-radius: 14px;
  padding: 28px;
  margin: 32px 0;
}
.trust-page--now .target-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  color: var(--tp-mute);
  padding: 6px 0;
}
.trust-page--now .target-line strong { color: var(--tp-ink); }
.trust-page--now .target-line:not(:last-child) {
  border-bottom: 1px dashed var(--tp-rule);
  padding-bottom: 10px;
  margin-bottom: 8px;
}

.trust-page--now ul,
.trust-page--security ul,
.trust-page--press ul { list-style: none; margin: 0 0 18px; padding: 0; }
.trust-page--security ul,
.trust-page--press ul { padding-left: 0; }
.trust-page--now li {
  padding: 14px 18px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-rule);
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-page--now li .icon {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  text-transform: uppercase;
}
.trust-page--now li .icon.ship { background: rgba(74, 222, 128, 0.12); color: var(--tp-good); border: 1px solid rgba(74, 222, 128, 0.30); }
.trust-page--now li .icon.now  { background: rgba(65, 224, 254, 0.12); color: var(--tp-accent); border: 1px solid rgba(65, 224, 254, 0.30); }
.trust-page--now li .icon.next { background: rgba(125, 58, 255, 0.12); color: var(--tp-violet); border: 1px solid rgba(125, 58, 255, 0.30); }
.trust-page--now li .icon.hold { background: rgba(251, 191, 36, 0.12); color: var(--tp-warn); border: 1px solid rgba(251, 191, 36, 0.30); }
.trust-page--now li .body { flex: 1; font-size: 15px; color: var(--tp-mute); }
.trust-page--now li .body strong { color: var(--tp-ink); font-weight: 600; }

.trust-page--now .note,
.trust-page--uses .note-block,
.trust-page--status .note-block {
  background: var(--tp-surface);
  border-left: 3px solid var(--tp-violet);
  padding: 18px 22px;
  border-radius: 6px;
  margin: 32px 0;
  font-size: 14px;
  color: var(--tp-mute);
}

/* ---- /uses + /status tables ---- */

.trust-page table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-rule);
  border-radius: 8px;
  overflow: hidden;
}
.trust-page th,
.trust-page td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--tp-rule);
}
.trust-page th {
  background: var(--tp-surface-2);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tp-mute);
  font-weight: 500;
}
.trust-page tr:last-child td { border-bottom: none; }

.trust-page--uses td.tool {
  font-weight: 600;
  color: var(--tp-ink);
  width: 200px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
}
.trust-page--uses td.note { color: var(--tp-mute); }

.trust-page--uses .badge,
.trust-page--press .tag {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  margin-left: 6px;
  font-weight: 600;
  text-transform: uppercase;
}
.trust-page--uses .badge.free   { background: rgba(74, 222, 128, 0.12); color: var(--tp-good); border: 1px solid rgba(74, 222, 128, 0.30); }
.trust-page--uses .badge.paid   { background: rgba(125, 58, 255, 0.12); color: var(--tp-violet); border: 1px solid rgba(125, 58, 255, 0.30); }
.trust-page--uses .badge.legacy { background: rgba(251, 191, 36, 0.12); color: var(--tp-warn); border: 1px solid rgba(251, 191, 36, 0.30); }

.trust-page--status .summary {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.10), rgba(65, 224, 254, 0.06));
  border: 1px solid var(--tp-rule);
  border-radius: 14px;
  padding: 28px;
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-page--status .summary .stat { text-align: center; }
.trust-page--status .summary .stat-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 32px;
  font-weight: 700;
  color: var(--tp-good);
  letter-spacing: -0.02em;
  line-height: 1;
}
.trust-page--status .summary .stat-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--tp-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}

.trust-page--status td.host { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 600; color: var(--tp-ink); font-size: 13px; }
.trust-page--status td.role { color: var(--tp-mute); font-size: 13px; }
.trust-page--status td.code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 600; }
.trust-page--status td.code.ok   { color: var(--tp-good); }
.trust-page--status td.code.warn { color: var(--tp-warn); }
.trust-page--status td.code.bad  { color: var(--tp-bad); }
.trust-page--status td.latency   { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: var(--tp-mute); }
.trust-page--status td.dot { width: 24px; text-align: center; }
.trust-page--status td.dot::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.trust-page--status td.dot.ok::before   { background: var(--tp-good); box-shadow: 0 0 8px var(--tp-good); }
.trust-page--status td.dot.warn::before { background: var(--tp-warn); box-shadow: 0 0 8px var(--tp-warn); }
.trust-page--status td.dot.bad::before  { background: var(--tp-bad);  box-shadow: 0 0 8px var(--tp-bad); }

.trust-page--status .disclosure {
  background: var(--tp-surface);
  border: 1px dashed var(--tp-rule);
  padding: 22px;
  border-radius: 8px;
  margin: 32px 0;
  font-size: 13px;
  color: var(--tp-mute);
  line-height: 1.7;
}
.trust-page--status .disclosure h3 {
  color: var(--tp-ink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- /press grids + product cards + dl-rows ---- */

.trust-page--press .grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.trust-page--press .grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.trust-page--press .stat {
  background: var(--tp-surface);
  border: 1px solid var(--tp-rule);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.trust-page--press .stat-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--tp-accent);
  display: block;
  line-height: 1;
}
.trust-page--press .stat-label {
  font-size: 12px;
  color: var(--tp-mute);
  margin-top: 6px;
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.trust-page--press .product {
  background: var(--tp-surface);
  border: 1px solid var(--tp-rule);
  border-radius: 12px;
  padding: 24px;
}
.trust-page--press .product h3 { margin-top: 0; font-size: 1.2rem; color: var(--tp-ink); }
.trust-page--press .product .tag {
  background: var(--tp-surface-2);
  color: var(--tp-mute);
  margin-left: 0;
  margin-right: 8px;
  letter-spacing: 0.04em;
}
.trust-page--press .product p { font-size: 15px; color: var(--tp-mute); margin-bottom: 8px; }

.trust-page--press .contact {
  background: linear-gradient(135deg, rgba(65, 224, 254, 0.08), rgba(125, 58, 255, 0.08));
  border: 1px solid var(--tp-rule);
  border-radius: 14px;
  padding: 32px;
  margin: 48px 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  color: var(--tp-ink);
}
.trust-page--press .contact strong { color: var(--tp-accent); font-weight: 600; }
.trust-page--press .contact a { font-weight: 600; }

.trust-page--press .dl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--tp-rule);
  border-radius: 8px;
  margin-bottom: 8px;
  background: var(--tp-surface);
}
.trust-page--press .dl-row .label { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; color: var(--tp-ink); }
.trust-page--press .dl-row .meta  { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; color: var(--tp-mute-2); }

.trust-page--press ul,
.trust-page--security ul {
  margin-left: 20px;
  margin-bottom: 16px;
  padding-left: 0;
  list-style: disc;
  color: var(--tp-mute);
}
.trust-page--press li,
.trust-page--security li { margin-bottom: 6px; }
.trust-page--security code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.9em;
  background: var(--tp-surface);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--tp-accent);
}

.trust-page--security .contact {
  background: var(--tp-surface);
  border: 1px solid var(--tp-rule);
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  color: var(--tp-ink);
}
.trust-page--security .contact strong { color: var(--tp-accent); }

/* ---- responsive ---- */

@media (max-width: 600px) {
  .trust-body main.trust-page { padding: 40px 20px 80px; }
  .trust-page--status .summary { grid-template-columns: 1fr; gap: 14px; }
  .trust-page table { font-size: 12px; }
  .trust-page th, .trust-page td { padding: 10px 12px; }
  .trust-page--press .contact { padding: 24px; }
}
