/* Shared styles for trust pages: /security, /privacy, /terms, /cookies */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #1F2933;
  --text-secondary: #52606D;
  --text-muted: #8e8ea0;
  --accent: #0C8583;
  --accent-dark: #0A5654;
  --accent-2: #A65A3A;
  --border: #e4e4ec;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav (matches landing) ───────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.logo {
  font-size: 22px; font-weight: 800; color: var(--text);
  letter-spacing: -0.02em;
}
.logo-ai { color: var(--text-muted); font-weight: 700; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--text-secondary); font-weight: 500; font-size: 15px;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 9px 18px; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark); text-decoration: none; }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ── Hero ───────────────────────────────────────────────── */
.trust-hero {
  background: var(--bg-alt);
  padding: 64px 24px 48px;
  border-bottom: 1px solid var(--border);
}
.trust-hero-inner {
  max-width: 920px; margin: 0 auto;
}
.trust-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.trust-hero h1 {
  font-size: 42px; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15;
  color: var(--text); margin-bottom: 14px;
}
.trust-hero p {
  font-size: 18px; color: var(--text-secondary);
  max-width: 680px;
}
.trust-meta {
  margin-top: 18px; font-size: 13px; color: var(--text-muted);
}

/* ── Body content ───────────────────────────────────────── */
.trust-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.trust-body h2 {
  font-size: 22px; font-weight: 700; margin-top: 36px; margin-bottom: 12px;
  color: var(--text); letter-spacing: -0.01em;
}
.trust-body h2:first-child { margin-top: 0; }
.trust-body h3 {
  font-size: 17px; font-weight: 600; margin-top: 24px; margin-bottom: 8px;
  color: var(--text);
}
.trust-body p {
  font-size: 16px; color: var(--text-secondary); margin-bottom: 14px;
}
.trust-body ul {
  margin: 8px 0 18px 22px; color: var(--text-secondary);
}
.trust-body ul li { margin-bottom: 6px; font-size: 16px; }
.trust-body strong { color: var(--text); }
.trust-body code {
  background: var(--bg-alt);
  padding: 2px 6px; border-radius: 4px;
  font-size: 14px; color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.trust-callout {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 16px 18px;
  border-radius: 6px;
  margin: 18px 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.trust-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 18px 22px;
  border-radius: 8px;
  margin-bottom: 32px;
}
.trust-toc h4 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 10px;
}
.trust-toc a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: var(--text-secondary);
}
.trust-toc a:hover { color: var(--accent); text-decoration: none; }

/* ── Footer (compact, matches landing palette) ──────────── */
.trust-footer {
  background: #1F2933;
  color: rgba(255,255,255,0.7);
  padding: 36px 24px;
  font-size: 14px;
}
.trust-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.trust-footer a { color: rgba(255,255,255,0.85); }
.trust-footer a:hover { color: #fff; text-decoration: underline; }
.trust-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ── Cookie banner ─────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: #1F2933;
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
  display: none;
  z-index: 9999;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner.show { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cookie-banner p { flex: 1 1 280px; min-width: 240px; margin: 0; color: rgba(255,255,255,0.92); }
.cookie-banner a { color: #5dd6d3; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; }
.cookie-banner button {
  border: 0; cursor: pointer;
  padding: 9px 16px; border-radius: 8px;
  font-weight: 600; font-size: 13px;
  font-family: inherit;
}
.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
}
.cookie-btn-accept {
  background: #0C8583; color: #fff;
}
.cookie-btn-decline:hover { background: rgba(255,255,255,0.1); }
.cookie-btn-accept:hover { background: #0A5654; }

@media (max-width: 540px) {
  .trust-hero { padding: 44px 20px 36px; }
  .trust-hero h1 { font-size: 32px; }
  .trust-body { padding: 32px 20px 60px; }
}
