@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --accent:        #00A8CC;
  --accent-dark:   #0090B0;
  --accent-glow:   rgba(0,168,204,0.12);
  --accent-border: rgba(0,168,204,0.25);
  --green:         #00cc64;

  /* Dark surfaces (default) */
  --bg:      #0b0f17;
  --bg2:     #111827;
  --bg3:     #151e2d;
  --text:    #f1f5f9;
  --muted:   #8b9bb0;
  --faint:   #6e7d90;
  --border:  rgba(255,255,255,0.07);
  --surface: #111827;
  --mono:    'Courier New', Courier, monospace;
}

/* Light section — redefine tokens so all var() references flip automatically */
.sect-light {
  --bg:      #f7f9fc;
  --bg2:     #ffffff;
  --bg3:     #f0f4f8;
  --text:    #0f172a;
  --muted:   #475569;
  --faint:   #94a3b8;
  --border:  #e2e8f0;
  --surface: #ffffff;
  background: var(--bg);
  color: var(--text);
}
.sect-light .card,
.sect-light .card:hover {
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── NAVIGATION ─────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,15,23,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0 40px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: #f1f5f9; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; color: #8b9bb0; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: #f1f5f9; }
.nav-cta {
  background: var(--accent) !important;
  color: #0b0f17 !important;
  padding: 8px 20px !important;
  border-radius: 4px;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: #0b0f17 !important; }

/* Hamburger button */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer; padding: 10px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  height: 2px; width: 22px;
  background: #f1f5f9;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s, width 0.2s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE WRAPPER ────────────────────────────────────────────────────────── */
.page-content { padding-top: 64px; min-height: 100vh; }

/* ── SECTION ─────────────────────────────────────────────────────────────── */
.section { padding: 80px 40px; max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px;
  color: var(--text);
}
.section-title em { font-style: normal; color: var(--accent); }
.section-sub { font-size: 17px; color: var(--muted); max-width: 580px; line-height: 1.7; margin-bottom: 48px; }

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--accent); color: #0b0f17; padding: 14px 32px;
  border-radius: 4px; font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--accent); padding: 14px 32px;
  border-radius: 4px; font-weight: 600; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; border: 1px solid rgba(0,168,204,0.5);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--accent); background: var(--accent-glow); transform: translateY(-2px); }

/* ── CARDS ────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 28px; transition: border-color 0.2s;
}
.card:hover { border-color: var(--accent-border); }

/* ── GRIDS ────────────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
footer {
  background: #06080c;
  border-top: 1px solid var(--accent-border);
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,168,204,0.55) 25%, rgba(0,168,204,0.55) 75%, transparent 100%);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 40px 44px;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}
.footer-brand p {
  font-size: 14px; color: var(--muted); line-height: 1.75;
  margin: 16px 0 24px; max-width: 240px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social svg { display: block; flex-shrink: 0; }
.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,168,204,0.08);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col-head {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,168,204,0.15);
}
.footer-col a {
  display: block; font-size: 14px;
  color: var(--muted); margin-bottom: 9px;
  transition: color 0.2s, padding-left 0.15s;
}
.footer-col a:hover { color: var(--text); padding-left: 4px; }
.footer-compliance {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 14px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 20px;
}
.compliance-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.compliance-badges span {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px; padding: 4px 10px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.02);
}
.footer-tech { font-size: 13px; color: var(--muted); }
.footer-tech a { color: var(--muted); transition: color 0.2s; }
.footer-tech a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }
footer .nav-logo { font-size: 16px; color: #f1f5f9; }
footer .nav-logo span { color: var(--accent); }

/* ── BLOG PROSE ───────────────────────────────────────────────────────────── */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 28px; font-weight: 700; margin: 40px 0 16px; color: var(--text); }
.prose h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: var(--accent); }
.prose p { color: var(--muted); line-height: 1.8; margin-bottom: 20px; font-size: 17px; }
.prose ul { color: var(--muted); padding-left: 24px; margin-bottom: 20px; }
.prose ul li { margin-bottom: 8px; line-height: 1.7; font-size: 17px; }
.prose strong { color: var(--text); }
.prose blockquote {
  border-left: 3px solid var(--accent); padding: 16px 24px;
  background: var(--bg2); border-radius: 0 8px 8px 0; margin: 28px 0;
  color: var(--text); font-size: 18px; font-style: italic;
}
.prose img { border-radius: 8px; margin: 32px 0; width: 100%; }
.prose .chart-wrap { background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 24px; margin: 32px 0; }

/* ── CEO QUOTE ────────────────────────────────────────────────────────────── */
.ceo-quote-section { padding: 0 40px 48px; }
.ceo-quote-block {
  border-left: 4px solid var(--accent);
  background: var(--bg2);
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
  max-width: 900px;
  margin: 0 auto;
}
.ceo-quote-block blockquote {
  font-size: 19px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 16px;
}
.ceo-quote-block blockquote::before { content: "\201C"; }
.ceo-quote-block blockquote::after  { content: "\201D"; }
.ceo-quote-attribution {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(7,9,15,0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column; gap: 0;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 4px 0 12px;
    display: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 15px;
    color: #8b9bb0;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 0;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta {
    margin: 8px 24px 4px !important;
    display: block !important;
    text-align: center;
    padding: 14px !important;
    font-size: 13px !important;
    border-radius: 4px !important;
  }
  .section { padding: 60px 20px; }
  .footer-inner { padding: 48px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand p { max-width: 100%; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-compliance { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr; gap: 32px; }
  .footer-col { padding-bottom: 8px; }
  .footer-legal { flex-direction: column; align-items: center; gap: 8px; }
}

/* ── 390px BASELINE HARDENING ─────────────────────────────────────────────── */
/* Safety net for class-less inline grids that page media queries can't reach.
   Inline styles can only be overridden with !important. Two-column inline grids
   collapse to one column; three-plus collapse to two. Matches both
   "columns:1fr 1fr" and "columns: 1fr 1fr" spacing variants. */
@media (max-width: 760px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="repeat(2,"], [style*="repeat(2, "] {
    grid-template-columns: 1fr !important;
  }
  [style*="repeat(3,"], [style*="repeat(3, "],
  [style*="repeat(4,"], [style*="repeat(4, "],
  [style*="repeat(5,"], [style*="repeat(5, "] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Data tables scroll internally instead of forcing horizontal page overflow */
  .prose table,
  .page-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 14px;
  }
}

/* Tighten gutters and oversized type on small phones (390px baseline) */
@media (max-width: 440px) {
  .section { padding: 48px 16px; }
  .footer-inner { padding: 40px 16px 24px; }
  .ceo-quote-section { padding: 0 16px 40px; }
  .ceo-quote-block { padding: 24px 20px; }
  .ceo-quote-block blockquote { font-size: 17px; }
  .section-sub { font-size: 16px; }
  .prose p, .prose ul li { font-size: 16px; }
  .prose blockquote { padding: 14px 18px; font-size: 16px; }
}

/* ── About page entity definition block (AIO/AEO) ────────────
   Used by the .direct-answer-block section in pages/about.html.
   Do NOT strip — the block depends on these classes.
─────────────────────────────────────────────────────────── */

.direct-answer-block {
  background-color: #1A4A7B;          /* Matrix Blue */
  border-radius: 8px;
  padding: 2.5rem 3rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

/* Subtle geometric accent — pure CSS, no image dependency */
.direct-answer-block::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(0, 168, 204, 0.15); /* Innovation Cyan at 15% */
  border-radius: 50%;
  pointer-events: none;
}
.direct-answer-block::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(0, 168, 204, 0.10);
  border-radius: 50%;
  pointer-events: none;
}

.entity-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00A8CC;                     /* Innovation Cyan */
  margin-bottom: 1rem;
  display: block;
}

.entity-definition {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: #FFFFFF;
  margin: 0 0 2rem;
  max-width: 72ch;
}

.entity-definition strong {
  font-weight: 600;
  color: #FFFFFF;
}

.entity-metrics {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-value {
  font-size: 26px;
  font-weight: 700;
  color: #00A8CC;                     /* Innovation Cyan */
  line-height: 1.1;
}

.metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.4;
  max-width: 16ch;
}

.entity-compliance {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}

.compliance-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.03em;
}

.entity-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Primary CTA — per brand guidelines §11 */
.btn-entity-primary {
  display: inline-block;
  background-color: #00A8CC;          /* Innovation Cyan */
  color: #06222b;                     /* Dark ink — WCAG AA on cyan */
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  transition: background-color 0.3s ease;
}
.btn-entity-primary:hover {
  background-color: #008BAA;
}

/* Secondary CTA — per brand guidelines §11 */
.btn-entity-secondary {
  display: inline-block;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}
.btn-entity-secondary:hover {
  border-color: rgba(255, 255, 255, 0.70);
  color: #FFFFFF;
}

/* Internal link anchors within the block */
.entity-definition a {
  color: #00A8CC;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.entity-definition a:hover {
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .direct-answer-block { padding: 1.75rem 1.5rem; }
  .entity-definition { font-size: 15px; }
  .entity-metrics { gap: 1.25rem; }
  .metric-value { font-size: 22px; }
}

/* ── ACCESSIBILITY ────────────────────────────────────────────────────────── */
/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── CASE STUDY (enterprise layout) ───────────────────────────────────────── */
/* Hero */
.cs-hero {
  position: relative; overflow: hidden;
  padding: 64px 40px 56px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cs-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 75% at 50% 0%, rgba(0,168,204,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cs-hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.cs-breadcrumb {
  display: flex; gap: 8px; justify-content: center; align-items: center;
  flex-wrap: wrap; font-size: 12px; color: var(--faint); margin-bottom: 24px;
}
.cs-breadcrumb a { color: var(--muted); transition: color 0.2s; }
.cs-breadcrumb a:hover { color: var(--accent); }
.cs-eyebrow {
  display: inline-block; font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent-border);
  border-radius: 2px; padding: 6px 16px; margin-bottom: 20px;
}
.cs-hero h1 {
  font-size: clamp(30px, 4.4vw, 50px); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; color: var(--text);
}
.cs-byline {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  letter-spacing: 0.04em; margin-bottom: 22px;
}
.cs-lead { font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 760px; margin: 0 auto; }

/* Hero metric band */
.cs-metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: 960px; margin: 44px auto 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--bg2);
}
.cs-metric { padding: 26px 18px; text-align: center; border-right: 1px solid var(--border); }
.cs-metric:last-child { border-right: none; }
.cs-metric .v {
  font-family: var(--mono); font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -0.01em;
}
.cs-metric .l { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* Body sections */
.cs-section { max-width: 960px; margin: 0 auto; padding: 32px 40px; }
.cs-kicker {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.cs-h2 {
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 800;
  letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 20px; color: var(--text);
}
.cs-prose p { color: var(--muted); font-size: 16px; line-height: 1.85; margin-bottom: 16px; }
.cs-prose p:last-child { margin-bottom: 0; }
.cs-prose strong { color: var(--text); }

/* Bordered content panel */
.cs-panel { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 40px; }

/* Numbered approach steps */
.cs-steps { display: flex; flex-direction: column; margin-top: 4px; }
.cs-step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  padding: 24px 0; border-top: 1px solid var(--border);
}
.cs-step:first-child { border-top: none; padding-top: 0; }
.cs-step:last-child { padding-bottom: 0; }
.cs-step-num {
  font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--accent);
  background: var(--accent-glow); border: 1px solid var(--accent-border);
  border-radius: 8px; width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cs-step-body h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.cs-step-body p { color: var(--muted); font-size: 15px; line-height: 1.8; }

/* Results grid */
.cs-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 28px; }
.cs-result { text-align: center; background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 22px 12px; }
.cs-result .v { font-family: var(--mono); font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1; }
.cs-result .l { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.4; }

/* Challenge chips (multi-factor challenge grids) */
.cs-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 24px; }
.cs-chip { background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.cs-chip h3 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.cs-chip p { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* Featured PrescientIQ panel */
.cs-featured {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #091820 0%, #07131a 100%);
  border: 1px solid var(--accent-border); border-radius: 16px; padding: 44px;
}
.cs-featured::before {
  content: ''; position: absolute; top: -90px; right: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,204,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.cs-featured > * { position: relative; }

/* FAQ */
.cs-faq { display: flex; flex-direction: column; gap: 14px; }
.cs-faq-item {
  background: var(--bg2); border: 1px solid var(--border);
  border-left: 3px solid var(--accent-border);
  border-radius: 10px; padding: 26px 28px; transition: border-color 0.2s;
}
.cs-faq-item:hover { border-left-color: var(--accent); }
.cs-faq-item h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.cs-faq-item p { color: var(--muted); font-size: 15px; line-height: 1.85; }

/* Related case studies */
.cs-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cs-related-card {
  display: block; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; transition: border-color 0.2s, transform 0.2s;
}
.cs-related-card:hover { border-color: var(--accent-border); transform: translateY(-3px); }
.cs-related-tag {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.cs-related-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.cs-related-card p { color: var(--muted); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.cs-related-more { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent); }

/* CTA band */
.cs-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(0,168,204,0.10) 0%, rgba(0,168,204,0.03) 100%);
  border-top: 1px solid var(--accent-border); border-bottom: 1px solid var(--accent-border);
  padding: 72px 40px; text-align: center; margin-top: 32px;
}
.cs-cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; color: var(--text); }
.cs-cta p { font-size: 17px; color: var(--muted); max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.cs-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 760px) {
  .cs-hero { padding: 44px 20px 44px; }
  .cs-section { padding: 28px 20px; }
  .cs-panel { padding: 28px 22px; }
  .cs-featured { padding: 32px 24px; }
  .cs-metric { border-right: none; border-bottom: 1px solid var(--border); }
  .cs-metric:last-child { border-bottom: none; }
  .cs-step { grid-template-columns: 1fr; gap: 12px; }
  .cs-cta { padding: 52px 20px; }
}
