/* ── Base ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: #070b0a;
  color: #f3f4f6;
  -webkit-font-smoothing: antialiased;
}
.font-display { font-family: 'Instrument Sans', 'DM Sans', system-ui, sans-serif; }

/* ── Mobile navigation ── */
.mobile-nav { display: none; }
.mobile-nav.is-open { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-link-active { color: #fff !important; }

/* ── Trust page layout ── */
.trust-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
@media (min-width: 640px) {
  .trust-main { padding: 3rem 1.5rem 5rem; }
}

.trust-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34d399;
  margin-bottom: 0.75rem;
}
.trust-title {
  font-family: 'Instrument Sans', 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}
.trust-audience {
  margin-top: 1.25rem;
  padding: 1rem 1.125rem;
  border-radius: 0.75rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #9ca3af;
}
.trust-audience + .trust-audience { margin-top: 0.75rem; }
.trust-audience strong { color: #d1d5db; font-weight: 600; }

/* ── Prose ── */
.prose section { margin-bottom: 2.75rem; }
.prose h2 {
  font-family: 'Instrument Sans', 'DM Sans', system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
@media (min-width: 640px) { .prose h2 { font-size: 1.5rem; } }
.prose h3 {
  font-family: 'Instrument Sans', 'DM Sans', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-top: 1.5rem;
  margin-bottom: 0.625rem;
}
.prose p {
  color: #9ca3af;
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.prose ul, .prose ol {
  color: #9ca3af;
  margin-bottom: 1rem;
  padding-left: 1.375rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: #34d399; }
.prose a {
  color: #34d399;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(52, 211, 153, 0.35);
}
.prose a:hover { color: #6ee7b7; }
.prose strong { color: #e5e7eb; font-weight: 600; }
.prose em { color: #d1d5db; }
.prose code {
  font-size: 0.8125rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}
.prose .callout {
  border-left: 3px solid #10b981;
  padding: 0.875rem 1rem;
  margin: 1.25rem 0;
  background: rgba(16, 185, 129, 0.06);
  border-radius: 0 0.5rem 0.5rem 0;
  color: #d1d5db;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.prose .callout-warn {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.06);
}

/* ── Tables ── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c1210;
  margin: 1.25rem 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 0;
}
.prose thead { background: rgba(255, 255, 255, 0.03); }
.prose th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #d1d5db;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.prose td {
  padding: 0.875rem 1rem;
  color: #9ca3af;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  line-height: 1.55;
}
.prose tbody tr:last-child td { border-bottom: none; }

@media (max-width: 639px) {
  .table-stack thead { display: none; }
  .table-stack tbody tr {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .table-stack tbody tr:last-child { border-bottom: none; }
  .table-stack td {
    display: block;
    padding: 0;
    border: none;
  }
  .table-stack td:first-child {
    font-weight: 600;
    color: #fff;
    font-size: 0.9375rem;
    margin-bottom: 0.375rem;
  }
  .table-stack td:last-child { font-size: 0.875rem; line-height: 1.55; }

  .table-compare thead { display: none; }
  .table-compare tbody tr {
    display: block;
    margin-bottom: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
  }
  .table-compare tbody tr:last-child { margin-bottom: 0; }
  .table-compare td { display: block; padding: 0; border: none; }
  .table-compare td:first-child {
    font-weight: 600;
    color: #34d399;
    font-size: 0.9375rem;
    margin-bottom: 0.625rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .table-compare td:nth-child(2)::before {
    content: 'Legacy';
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin-bottom: 0.25rem;
  }
  .table-compare td:nth-child(2) { margin-bottom: 0.625rem; font-size: 0.875rem; }
  .table-compare td:nth-child(3)::before {
    content: 'See The Greens';
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #34d399;
    margin-bottom: 0.25rem;
  }
  .table-compare td:nth-child(3) { font-size: 0.875rem; color: #d1d5db; }
}

/* ── Flowchart ── */
.flowchart { margin: 1.5rem 0; }
.flow-start {
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
}
.flow-arrow {
  display: flex;
  justify-content: center;
  padding: 0.375rem 0;
  color: #34d399;
  font-size: 1.125rem;
}
.flow-step {
  padding: 1rem 1.125rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.06);
}
.flow-step-num {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #34d399;
  margin-bottom: 0.375rem;
}
.flow-step-title { font-weight: 600; color: #fff; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.flow-step-desc { font-size: 0.8125rem; color: #9ca3af; line-height: 1.5; }
.flow-step-human { border-color: rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.06); }
.flow-step-human .flow-step-num { color: #fbbf24; }
.flow-branch {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  margin: 0.25rem 0 0.25rem 0.75rem;
  border-left: 2px solid rgba(255, 255, 255, 0.08);
}
.flow-path { padding: 0.625rem 0.875rem; border-radius: 0.5rem; font-size: 0.8125rem; line-height: 1.5; }
.flow-path-pass { background: rgba(16, 185, 129, 0.08); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.2); }
.flow-path-exception { background: rgba(245, 158, 11, 0.08); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.2); }

/* ── Step list ── */
.prose ol.step-list {
  list-style: none;
  padding-left: 0;
}
.step-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  counter-reset: steps;
}
.step-list li {
  counter-increment: steps;
  position: relative;
  padding: 0.875rem 1rem 0.875rem 3rem;
  margin-bottom: 0.5rem;
  border-radius: 0.75rem;
  background: #0c1210;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  line-height: 1.6;
  color: #9ca3af;
}
.step-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0.875rem;
  top: 0.875rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-list li strong { color: #e5e7eb; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 1rem; }
.faq-item {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c1210;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.125rem;
  font-weight: 500;
  color: #fff;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-icon {
  flex-shrink: 0;
  color: #34d399;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.15s;
}
.faq-item p {
  padding: 0 1.125rem 1rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #9ca3af;
}

/* ── CTA ── */
.trust-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
  text-align: center;
}
.trust-cta-title {
  font-family: 'Instrument Sans', 'DM Sans', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}
.trust-cta-desc { margin-top: 0.5rem; font-size: 0.875rem; color: #9ca3af; }
.trust-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
@media (min-width: 480px) {
  .trust-cta-actions { flex-direction: row; justify-content: center; }
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: #059669;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: #10b981; color: #fff; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s;
}
.btn-secondary:hover { border-color: rgba(16, 185, 129, 0.4); color: #fff; }

.info-cards { display: flex; flex-direction: column; gap: 0.625rem; margin: 1rem 0; }
.info-card {
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c1210;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #9ca3af;
}
.info-card strong { color: #e5e7eb; }
