/* ============================================================
   Compliance Platform — SEO landing layer
   Brand-matched styling. Shared by the hub and all deck pages.
   ============================================================ */

:root {
  --background: #fbfdfe;
  --foreground: #10141a;
  --card: #fefeff;
  --primary: #233242;
  --primary-foreground: #fafbfc;
  --muted-foreground: #677078;
  --border: #dce2e8;
  --surface-card-from: #fffffff5;
  --surface-card-to: #f3f7fcd6;
  --teal-500: #00baa7;
  --teal-600: #009588;
  --teal-700: #00776e;
  --emerald-500: #00bb7f;
  --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.05);
  --shadow-hero: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --maxw: 1080px;
}

@font-face {
  font-family: 'Geist';
  src: url('fonts/Geist-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('fonts/Geist-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('fonts/Geist-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fffffff2;
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 16px; color: var(--foreground);
  text-decoration: none;
}
.brand svg { width: 22px; height: 22px; color: var(--teal-700); }
.site-nav { display: flex; gap: 22px; }
.site-nav a {
  color: var(--muted-foreground); text-decoration: none;
  font-size: 14px; font-weight: 500;
}
.site-nav a:hover { color: var(--teal-700); }

/* ---------- Hero ---------- */
.hero {
  padding: 78px 0 64px 0;
  background:
    radial-gradient(900px 400px at 70% -10%, #3b82f614, transparent),
    radial-gradient(700px 360px at 12% 8%, #0ea5e910, transparent);
}
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal-700); margin-bottom: 16px;
}
.hero h1 {
  font-size: 46px; font-weight: 600; letter-spacing: -0.022em;
  line-height: 1.1; max-width: 880px; margin-bottom: 18px;
}
.hero .lede {
  font-size: 18px; color: var(--muted-foreground);
  max-width: 680px; margin-bottom: 28px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; transition: opacity .15s;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost {
  background: transparent; color: var(--foreground);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--teal-500); color: var(--teal-700); }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section.tint { background: #f4f7fa66; border-top: 1px solid var(--border);
               border-bottom: 1px solid var(--border); }
h2 {
  font-size: 30px; font-weight: 600; letter-spacing: -0.018em;
  margin-bottom: 14px;
}
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.section-lede {
  font-size: 16px; color: var(--muted-foreground);
  max-width: 660px; margin-bottom: 32px;
}
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* ---------- Card grid ---------- */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
  background-image: linear-gradient(135deg, var(--surface-card-from), var(--surface-card-to));
  box-shadow: var(--shadow-card);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted-foreground); }
.card .card-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-700); margin-bottom: 10px;
}
a.card { text-decoration: none; color: inherit; display: block;
         transition: box-shadow .15s, transform .15s; }
a.card:hover { box-shadow: var(--shadow-hero); transform: translateY(-2px); }
.card .more {
  display: inline-block; margin-top: 12px;
  font-size: 14px; font-weight: 600; color: var(--teal-700);
}

/* ---------- Feature list ---------- */
.features { display: grid; gap: 14px;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feature {
  display: flex; gap: 12px; align-items: flex-start;
}
.feature .dot {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px;
  background: #00baa71f; color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 12px; margin-top: 2px;
}
.feature .feature-body h3 { font-size: 15.5px; margin-bottom: 3px; }
.feature .feature-body p { font-size: 14px; color: var(--muted-foreground); }

/* ---------- Prose blocks ---------- */
.prose { max-width: 740px; }
.prose h2 { margin-top: 8px; }
.prose h3 { margin: 26px 0 8px 0; }
.prose p { font-size: 16px; color: #3a424b; }
.prose ul { margin: 0 0 14px 22px; }
.prose li { font-size: 16px; color: #3a424b; margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { margin-bottom: 6px; }
.faq-item p { font-size: 15px; color: var(--muted-foreground); }

/* ---------- Language switcher ---------- */
.lang-bar {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 16px 0; font-size: 13px;
}
.lang-bar a {
  color: var(--muted-foreground); text-decoration: none;
  padding: 3px 8px; border-radius: 6px; border: 1px solid transparent;
}
.lang-bar a:hover { border-color: var(--border); }
.lang-bar a.current {
  color: var(--teal-700); font-weight: 600;
  border-color: var(--teal-500); background: #00baa70d;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0; background: #f4f7fa66;
  font-size: 13.5px; color: var(--muted-foreground);
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: space-between; align-items: flex-start;
}
.site-footer a { color: var(--muted-foreground); text-decoration: none; }
.site-footer a:hover { color: var(--teal-700); }
.site-footer .disclaimer { max-width: 520px; font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero h1 { font-size: 33px; }
  .hero { padding: 52px 0 44px 0; }
  h2 { font-size: 24px; }
  .site-nav { display: none; }
}
