/* =============================================================
   Veridian Corp — Global Stylesheet
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── Reset & base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1e2235;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout shell ───────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  background: #0d1526;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -.015em;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; opacity: .92; }
.logo-icon { width: 28px; height: 28px; }

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.site-nav a {
  color: rgba(255,255,255,.72);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
  text-decoration: none;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0d1526 0%, #1a2a50 45%, #1e3464 100%);
  color: #fff;
  padding: 96px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(37,99,235,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(99,102,241,.14) 0%, transparent 60%);
  pointer-events: none;
}

/* subtle grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(37,99,235,.2);
  border: 1px solid rgba(96,165,250,.3);
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 span {
  background: linear-gradient(90deg, #60a5fa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,.72);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
}
.btn-primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover { background: #1d4ed8; box-shadow: 0 6px 20px rgba(37,99,235,.45); text-decoration: none; }
.btn-secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.btn-secondary:hover { background: rgba(255,255,255,.16); text-decoration: none; }

/* ── TRUST BAR ────────────────────────────────────────────────── */
.trust-bar {
  background: #f8fafc;
  border-top: 1px solid #e9ecf0;
  border-bottom: 1px solid #e9ecf0;
  padding: 22px 24px;
}

.trust-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 28px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: .06em;
  text-transform: uppercase;
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 4px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.trust-badge .tb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
}
.trust-badge.green .tb-dot { background: #16a34a; }
.trust-badge.purple .tb-dot { background: #7c3aed; }
.trust-badge.orange .tb-dot { background: #ea580c; }

/* ── STATS ────────────────────────────────────────────────────── */
.stats-section {
  padding: 72px 24px;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  color: #0d1526;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-lead {
  font-size: 1.0625rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: #f8fafc;
  border: 1px solid #e9ecf0;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow .2s;
}
.stat-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0d1526;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-value span { color: #2563eb; }
.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
}

/* ── COMPLIANCE FRAMEWORK ──────────────────────────────────────── */
.framework-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, #f0f4ff 0%, #fff 100%);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.framework-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.framework-card:hover {
  border-color: #2563eb;
  box-shadow: 0 8px 32px rgba(37,99,235,.1);
  transform: translateY(-2px);
}
.framework-card-icon {
  width: 44px; height: 44px;
  background: #eff6ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.framework-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1526;
  margin-bottom: 8px;
}
.framework-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}
.framework-card .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}
.tag {
  font-size: 0.6875rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: .02em;
}

/* ── POLICY GRID ─────────────────────────────────────────────── */
.policies-section {
  padding: 80px 24px;
  background: #fff;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.policy-card {
  border: 1px solid #e9ecf0;
  border-radius: 12px;
  padding: 22px 20px;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s;
  position: relative;
  overflow: hidden;
}
.policy-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: transparent;
  transition: background .18s;
}
.policy-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 16px rgba(99,102,241,.09);
  text-decoration: none;
}
.policy-card:hover::before { background: #6366f1; }
.policy-card-icon { font-size: 1.5rem; margin-bottom: 12px; }
.policy-card h3 { font-size: 0.9375rem; font-weight: 700; color: #0d1526; margin-bottom: 6px; }
.policy-card p { font-size: 0.8125rem; color: #64748b; line-height: 1.55; }

/* ── NEWS TIMELINE ───────────────────────────────────────────── */
.news-section {
  padding: 80px 24px;
  background: #f8fafc;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: #fff;
  border: 1px solid #e9ecf0;
  border-radius: 14px;
  padding: 24px;
}
.news-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0d1526;
  margin-bottom: 8px;
  line-height: 1.4;
}
.news-card p { font-size: 0.8125rem; color: #64748b; line-height: 1.6; }
.news-pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 12px;
  letter-spacing: .03em;
}
.pill-green  { background: #dcfce7; color: #166534; }
.pill-blue   { background: #dbeafe; color: #1e40af; }
.pill-purple { background: #ede9fe; color: #5b21b6; }

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, #0d1526 0%, #1a2a50 60%, #1e3464 100%);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37,99,235,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .cta-inner { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.cta-section p {
  color: rgba(255,255,255,.7);
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1.0625rem;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: #080e1c;
  color: rgba(255,255,255,.55);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.8);
  font-weight: 600;
  font-size: 0.9375rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 0.8125rem;
}
.footer-links a { color: rgba(255,255,255,.5); }
.footer-links a:hover { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-copy {
  font-size: 0.8125rem;
  width: 100%;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
}

/* ── POLICY PAGE SHARED ──────────────────────────────────────── */
main.policy-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}
.page-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0d1526;
  margin-bottom: 6px;
  letter-spacing: -.025em;
}
.page-subtitle { color: #64748b; margin-bottom: 32px; }

.doc-header {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 32px;
  font-size: 0.9rem;
}
.doc-header table { width: 100%; border-collapse: collapse; }
.doc-header td { padding: 4px 12px 4px 0; vertical-align: top; }
.doc-header td:first-child { font-weight: 600; color: #475569; white-space: nowrap; width: 160px; }

.content-section { margin-bottom: 36px; }
.content-section h2 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: #0d1526;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9ecf0;
}
.content-section h3 { font-size: 1rem; font-weight: 600; color: #334155; margin: 20px 0 10px; }
.content-section p,
.content-section li { color: #374151; line-height: 1.7; margin-bottom: 10px; }
.content-section ol,
.content-section ul { padding-left: 22px; }

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 14px 0 24px;
}
.policy-table th,
.policy-table td {
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.policy-table th { background: #f1f5f9; font-weight: 600; color: #0d1526; }
.policy-table tbody tr:nth-child(even) { background: #f8fafc; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .framework-grid    { grid-template-columns: repeat(2, 1fr); }
  .policy-grid       { grid-template-columns: repeat(2, 1fr); }
  .news-grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .framework-grid    { grid-template-columns: 1fr; }
  .policy-grid       { grid-template-columns: 1fr; }
  .news-grid         { grid-template-columns: 1fr; }
  .hero              { padding: 64px 20px 72px; }
  .header-inner      { flex-direction: column; height: auto; padding: 14px 20px; gap: 10px; }
  .footer-inner      { flex-direction: column; text-align: center; }
}
