/* Trust pages, site footer, and the cookie bar. White cards, purple only on solid buttons. */

.trust-prose {
  max-width: 42rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
}
.trust-prose h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 1.6rem 0 0.4rem;
}
.trust-prose p,
.trust-prose li {
  color: var(--text);
}
.trust-prose ul {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.2rem;
}
.trust-prose a {
  color: var(--link, #4338ca);
}
.trust-card {
  background: var(--panel, #fff);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
}
.trust-risk {
  border-left: 3px solid var(--accent);
}
.trust-form {
  display: grid;
  gap: 12px;
  max-width: 28rem;
}
.trust-form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}
.trust-form input,
.trust-form textarea {
  font: inherit;
  font-weight: 450;
  color: var(--text);
  background: var(--panel, #fff);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.trust-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer[data-site-footer] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
  margin: 28px 24px 32px;
  padding: 22px 24px;
  background: var(--panel, #fff);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.site-footer[data-site-footer] strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer[data-site-footer] .footer-col a {
  display: block;
  color: var(--text);
  padding: 3px 0;
  font-weight: 550;
  font-size: 0.95rem;
}
.site-footer[data-site-footer] .footer-col a:hover {
  color: var(--accent);
}
.site-footer[data-site-footer] .footer-disclaimer,
.site-footer[data-site-footer] .footer-meta {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 450;
}
.site-footer[data-site-footer] .footer-disclaimer a,
.site-footer[data-site-footer] .footer-meta a,
.site-footer[data-site-footer] .footer-meta button {
  display: inline;
  padding: 0;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer[data-site-footer] .footer-meta {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  color: #12141a;
  border: 1px solid rgba(18, 20, 26, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(18, 20, 26, 0.12);
}
.cookie-banner p {
  flex: 1 1 240px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #12141a;
}
.cookie-banner a {
  color: #12141a;
  font-weight: 650;
}
.cookie-actions,
.cookie-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.cookie-panel {
  flex: 1 1 100%;
  padding-top: 4px;
}
.cookie-panel[hidden] {
  display: none !important;
}
.cookie-choice {
  appearance: none;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 20, 26, 0.18);
  background: #fff;
  color: #12141a;
  cursor: pointer;
}
.cookie-choice:hover {
  border-color: #12141a;
}
.cookie-banner [data-cookie-accept] {
  background: #6d4ef0;
  border-color: #6d4ef0;
  color: #fff;
}
.cookie-option {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex: 1 1 220px;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #12141a;
}
.cookie-option input {
  margin-top: 2px;
}

@media (max-width: 800px) {
  .site-footer[data-site-footer] {
    grid-template-columns: 1fr;
    margin: 12px 12px 20px;
    padding: 14px;
    gap: 14px;
  }
  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px 10px;
    gap: 8px;
    border-radius: 12px;
  }
  .cookie-banner p {
    font-size: 12px;
    flex-basis: 100%;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-choice {
    flex: 1 1 auto;
    min-height: 34px;
    padding: 7px 8px;
    font-size: 12px;
  }
}
