/* ──────────────────────────────────────────────────────────
   site.css — shared styles for static pages
   Used by: /security, /privacy, /terms, /cookies
   (and by upcoming SEO landing, product, and blog pages)

   Sections in this file:
     1. Resets + tokens
     2. Typography + base
     3. Top nav (matches landing palette)
     4. Trust hero (used by trust + content pages)
     5. Body content (TOC, prose, callouts)
     6. Mega-footer (4-column, responsive)
     7. Cookie banner
     8. Mobile breakpoints
   ────────────────────────────────────────────────────────── */

*, *::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;
  --footer-bg: #1F2933;
}

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; }

/* ── Mega-footer ───────────────────────────────────────────
   Multi-column footer used across all static pages.
   Phase 1 ships 4 columns: Brand, Product, Trust, Company.
   Phase 2 adds Solutions column (10 SEO landing pages).
   Phase 3 expands Product column with /platform, /use-cases, /pricing, /about.
   Phase 4 adds Resources column with /insights + articles.
   When you add a column or link, edit this single CSS file
   and update the <footer> markup in every page that uses it.
   ────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.7);
  padding: 56px 24px 28px;
  font-size: 14px;
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer-col h4 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 14px;
}
.site-footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 5px 0;
  font-size: 14px;
}
.site-footer-col a:hover { color: #fff; text-decoration: underline; }
.site-footer-brand .site-footer-logo {
  display: inline-block;
  font-size: 20px; font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.site-footer-brand .site-footer-logo span {
  color: rgba(255,255,255,0.55);
  font-weight: 700;
}
.site-footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.site-footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* When the Solutions column ships in Phase 2, the grid becomes 5 columns.
   The class .site-footer-cols-5 swaps the template; add it to the wrapping
   div on every page when ready. */
.site-footer-cols-5 { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
.site-footer-cols-6 { grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; }

@media (max-width: 900px) {
  .site-footer-cols,
  .site-footer-cols-5,
  .site-footer-cols-6 {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .site-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .site-footer-cols,
  .site-footer-cols-5,
  .site-footer-cols-6 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .site-footer-bottom { justify-content: center; text-align: center; }
}

/* Legacy footer class — kept until all pages migrate to .site-footer.
   Remove once landing.html and any remaining pages stop referencing it. */
.trust-footer {
  background: var(--footer-bg);
  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: var(--accent); color: #fff;
}
.cookie-btn-decline:hover { background: rgba(255,255,255,0.1); }
.cookie-btn-accept:hover { background: var(--accent-dark); }

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

/* ──────────────────────────────────────────────────────────
   Landing-page styles (.lp-*)
   Used by SEO landing pages, product pages, and blog index.
   Reuses .nav and .site-footer from above.
   ────────────────────────────────────────────────────────── */

.lp-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  padding: 80px 24px 64px;
  border-bottom: 1px solid var(--border);
}
.lp-hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.lp-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(12,133,131,0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.lp-hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 18px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.lp-hero p.lp-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 32px;
}
.lp-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.lp-btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.lp-btn-primary {
  background: var(--accent);
  color: #fff !important;
}
.lp-btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(12,133,131,0.25);
  text-decoration: none;
}
.lp-btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--border);
}
.lp-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  text-decoration: none;
}

/* ── Body sections ──────────────────────────────────────── */
.lp-body { background: var(--bg); }
.lp-section {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px 24px;
}
.lp-section-narrow { max-width: 760px; }
.lp-section + .lp-section { padding-top: 0; }
.lp-section h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.2;
}
.lp-section h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-top: 26px;
  margin-bottom: 8px;
}
.lp-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.lp-section ul {
  margin: 8px 0 18px 22px;
  color: var(--text-secondary);
}
.lp-section ul li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
}
.lp-section strong { color: var(--text); }
.lp-section a { color: var(--accent); font-weight: 500; }
.lp-section a:hover { text-decoration: underline; }

/* Section with subtle alt background (for visual rhythm) */
.lp-section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lp-section-alt .lp-section { padding: 64px 24px; }

/* ── Stat row ───────────────────────────────────────────── */
.lp-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.lp-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}
.lp-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.lp-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Feature grid ───────────────────────────────────────── */
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.lp-feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}
.lp-feature h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 6px;
}
.lp-feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ── Pull quote / pillar callout ────────────────────────── */
.lp-quote {
  border-left: 3px solid var(--accent);
  padding: 12px 18px;
  margin: 22px 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  background: var(--bg-alt);
  border-radius: 4px;
}

/* ── FAQ list ───────────────────────────────────────────── */
.lp-faq-list {
  border-top: 1px solid var(--border);
  margin-top: 12px;
}
.lp-faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.lp-faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}
.lp-faq-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ── Mid-page CTA block ─────────────────────────────────── */
.lp-cta {
  background: var(--text);
  color: #fff;
  border-radius: 14px;
  padding: 36px 32px;
  margin: 16px 0;
  text-align: center;
}
.lp-cta h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.lp-cta p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 20px;
  line-height: 1.55;
}
.lp-cta .lp-btn-primary { background: var(--accent); }
.lp-cta .lp-btn-primary:hover { background: var(--accent-dark); }

/* ── Related-pages strip ────────────────────────────────── */
.lp-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.lp-pillar {
  display: block;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.lp-pillar:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.lp-pillar-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}
.lp-pillar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

/* ── Mobile breakpoints ─────────────────────────────────── */
@media (max-width: 720px) {
  .lp-hero { padding: 56px 20px 44px; }
  .lp-hero h1 { font-size: 32px; }
  .lp-hero p.lp-sub { font-size: 17px; }
  .lp-section { padding: 44px 20px; }
  .lp-section h2 { font-size: 24px; }
  .lp-stat-row,
  .lp-feature-grid,
  .lp-pillars {
    grid-template-columns: 1fr;
  }
  .lp-cta { padding: 28px 22px; }
}
