/* ============================================================
   CertiFlex — static marketing site (Cloudflare Pages)
   Visual tokens mirror nextjs_space/app/globals.css
   [data-product='digital-compliance'] lime palette
   ============================================================ */

:root {
  /* Brand (lime) — hue 79, hand-tuned for WCAG */
  --brand-50:  hsl(79, 70%, 96%);
  --brand-100: hsl(79, 70%, 90%);
  --brand-200: hsl(79, 65%, 80%);
  --brand-400: hsl(79, 62%, 41%);
  --brand-500: hsl(79, 67%, 30%);
  --brand-600: hsl(79, 70%, 25%);
  --brand-700: hsl(80, 72%, 20%);

  /* Accent (greener lime) — hue 95 */
  --accent-500: hsl(95, 55%, 27%);

  /* Semantic */
  --success:     hsl(142, 76%, 36%);
  --warning:     hsl(38, 92%, 50%);
  --info:        hsl(199, 89%, 48%);
  --destructive: hsl(0, 84%, 60%);

  /* Surfaces / text */
  --foreground:        hsl(222.2, 84%, 4.9%);
  --muted-foreground:  hsl(215.4, 16.3%, 46.9%);
  --card-bg:           #ffffff;
  --border:            hsl(214.3, 31.8%, 91.4%);

  /* Brand gradient (used in CTA card) */
  --gradient-brand: linear-gradient(135deg, var(--brand-500), var(--accent-500));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--foreground);
  line-height: 1.6;
  background: linear-gradient(135deg, var(--brand-50) 0%, var(--brand-50) 50%, var(--brand-100) 100%);
  min-height: 100vh;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 520px; text-align: center; padding: 4rem 1rem; }

/* ===== Header ===== */
.site-header {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--foreground);
  text-decoration: none;
}
.brand img { width: 40px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.2;
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.85rem; }

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.btn-primary:hover { background: var(--brand-700); }

.btn-outline {
  border-color: var(--border);
  background: #fff;
  color: var(--foreground);
}
.btn-outline:hover { background: #f8fafc; }

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}
.btn-ghost:hover { background: rgba(15, 23, 42, 0.05); }

.btn-secondary {
  background: #fff;
  color: var(--brand-700);
}
.btn-secondary:hover { background: hsl(0, 0%, 95%); }

/* ===== Hero ===== */
.hero { padding: 4rem 1.25rem 3rem; text-align: center; }
.hero-inner { max-width: 56rem; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.accent { color: var(--brand-600); }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.eyebrow {
  color: var(--brand-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}
.eyebrow .brand-keep { text-transform: none; }
.pill .brand-keep { text-transform: none; margin-right: 0.2em; }
.lead-compact { margin-bottom: 1.25rem; }

/* ===== Sections ===== */
.section { padding: 4rem 1.25rem; }
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head-follows {
  margin-top: 3.5rem;
  margin-bottom: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.section-head h2 {
  font-size: clamp(1.75rem, 2.5vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: var(--foreground);
  letter-spacing: -0.01em;
}
.section-lead {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 40rem;
  margin: 0 auto;
}
.split-section {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.split-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.split-section p {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  margin: 0 0 1rem;
}
.quote-card {
  background: var(--card-bg);
  border-left: 4px solid var(--brand-600);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  padding: 2rem;
}
.quote-card p {
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.quote-card span {
  color: var(--muted-foreground);
  font-weight: 600;
}
@media (min-width: 900px) {
  .split-section { grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr); }
}

/* ===== Cards / grid ===== */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.narrow-grid { max-width: 56rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  background: var(--card-bg);
  border: 0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#certiflex-products .card {
  display: flex;
  flex-direction: column;
}
#certiflex-products .card > .btn {
  margin-top: auto;
  align-self: flex-start;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.card p {
  margin: 0 0 1rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* ===== Honeycomb grid (depth behind platform) ===== */
.hex-grid {
  display: none;
}
.statute-orbit-fallback {
  display: block;
}
.orbit-fallback-hub {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.orbit-fallback-hub h3 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
}
.orbit-fallback-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin: 1.5rem auto 0.75rem;
  max-width: 56rem;
}

@media (min-width: 768px) {
  .statute-orbit-fallback {
    display: none;
  }
  .hex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 44rem;
    margin: 2rem auto 0;
    padding: 1rem 0;
  }
  .hex-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }
  .hex-row-offset {
    margin-top: -1.2rem;
  }
  .hex-cell {
    position: relative;
    width: 10.5rem;
    height: 11.5rem;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 0.75rem;
    transition: transform 0.2s ease;
  }
  .hex-cell::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--border);
    z-index: -1;
    transform: scale(1.02);
  }
  .hex-cell:hover {
    transform: scale(1.04);
  }
  .hex-cell-hub::before {
    background: var(--brand-400);
  }
  .hex-cell-hub {
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-50) 100%);
  }
  .hex-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-700);
    margin-bottom: 0.25rem;
  }
  .hex-cell h3 {
    margin: 0.15rem 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 700;
  }
  .hex-cell p {
    margin: 0;
    font-size: 0.7rem;
    color: var(--muted-foreground);
    line-height: 1.35;
  }
  .hex-cell-hub h3 {
    color: var(--brand-600);
    font-size: 1rem;
  }
  .hex-cell-hub p {
    font-size: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .hex-grid {
    max-width: 48rem;
  }
  .hex-cell {
    width: 12rem;
    height: 13rem;
  }
  .hex-cell h3 {
    font-size: 1.05rem;
  }
  .hex-cell p {
    font-size: 0.78rem;
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pricing-card p { margin-bottom: 0.5rem; }
.pricing-card .btn {
  margin-top: auto;
  text-align: center;
}
.pricing-card strong { color: var(--foreground); }
.pricing-footnote {
  font-size: 0.95rem;
  margin-top: 1.5rem;
}
.journey-card { min-height: 100%; }
.journey-card h3 { font-size: 1.35rem; }
.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 9999px;
  background: hsl(79, 70%, 90%);
  color: var(--brand-700);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.7rem;
  text-transform: uppercase;
}
.quote-text {
  color: var(--foreground) !important;
  font-weight: 700;
  margin-bottom: 1rem !important;
}

/* Icon circles (mirror Tailwind w-12 h-12 bg-{color}-100 rounded-lg) */
.icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.icon-brand        { background: hsl(79, 70%, 90%); color: var(--brand-600); }
.icon-info         { background: hsl(199, 89%, 48%, 0.1); color: var(--info); }
.icon-success      { background: hsl(142, 76%, 36%, 0.1); color: var(--success); }
.icon-warning      { background: hsl(38, 92%, 50%, 0.1); color: var(--warning); }
.icon-warning-soft { background: hsl(38, 92%, 50%, 0.2); color: var(--warning); }
.icon-destructive  { background: hsl(0, 84%, 60%, 0.1); color: var(--destructive); }

/* ===== "How it works" steps ===== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .steps     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-3   { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .steps     { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps-3   { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-5   { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.steps li { text-align: center; }
.pill-step {
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
}
/* Dormant: method-bridge removed from index.html — keep for reuse if needed */
.method-bridge {
  max-width: 36rem;
  margin: 2.75rem auto 0;
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid hsl(79, 35%, 88%);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.method-bridge p {
  color: var(--muted-foreground);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 1.15rem;
}
.method-bridge p strong { color: var(--foreground); }
.method-bridge .btn { margin-top: 0.25rem; }
.step-num {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: var(--brand-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.steps h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.steps p {
  margin: 0;
  color: var(--muted-foreground);
}

/* ===== CTA card ===== */
.cta-card {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 0.75rem;
  padding: 4rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.12);
}
.cta-card h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 700;
  margin: 0 0 1rem;
}
.cta-card p {
  font-size: 1.125rem;
  margin: 0 0 2rem;
  opacity: 0.9;
}
.stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.stats-grid div {
  background: var(--card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
  text-align: center;
}
.stats-grid strong {
  color: var(--brand-600);
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}
.stats-grid span {
  color: var(--muted-foreground);
  display: block;
  font-weight: 600;
  margin-top: 0.5rem;
}
.roadmap-card {
  background: linear-gradient(135deg, #fff, hsl(79, 70%, 96%));
  border: 1px solid hsl(79, 65%, 80%);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}
.roadmap-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.roadmap-card p {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  margin: 0 auto 1rem;
  max-width: 48rem;
}
@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Subdued impact row (penalties / channel cost) — not hero-scale stats */
.stats-grid.impact-stats {
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.stats-grid.impact-stats div {
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  border: 1px solid hsl(79, 35%, 88%);
  background: rgba(255, 255, 255, 0.85);
}
.stats-grid.impact-stats strong {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.stats-grid.impact-stats span {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  margin-top: 0.4rem;
}
@media (min-width: 640px) {
  .stats-grid.impact-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .stats-grid.impact-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* ===== Lead form ===== */
.is-hidden { display: none !important; }
.lead-form {
  max-width: 56rem;
  margin: 0 auto;
}
.lead-confirmation {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  font-weight: 700;
  max-width: 56rem;
  padding: 1.5rem;
  text-align: center;
}
.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--foreground);
  font-size: 0.9rem;
  font-weight: 700;
}
.form-grid input {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--foreground);
  font: inherit;
  padding: 0.75rem 0.85rem;
}
.form-grid input:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px hsl(79, 70%, 25%, 0.12);
  outline: none;
}
.form-status {
  color: var(--muted-foreground);
  margin: 1rem 0 0;
}
.form-status.success { color: var(--success); }
.form-status.error { color: var(--destructive); }
@media (min-width: 768px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== Footer ===== */
.site-footer {
  padding: 2rem 1.25rem 3rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}
.brand-footer {
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--foreground);
  margin: 0 0 0.75rem;
}

/* ===== Maintenance fallback page ===== */
.maintenance {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.maintenance .card {
  background: var(--card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08),
              0 4px 6px -4px rgba(15, 23, 42, 0.05);
  padding: 3rem 2.5rem;
  max-width: 32rem;
  width: 100%;
  text-align: center;
}
.maintenance .logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--foreground);
}
.maintenance .logo-row img { width: 40px; height: 40px; }
.maintenance .badge {
  display: inline-block;
  background: var(--gradient-brand);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}
.maintenance h1 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.maintenance p {
  color: var(--muted-foreground);
  font-size: 1rem;
  margin: 0 0 1rem;
}
.maintenance .actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .maintenance .actions { flex-direction: row; justify-content: center; }
}
.muted { color: var(--muted-foreground); font-size: 0.9rem; }

/* ===== Legal / policy pages ===== */
.legal-page {
  max-width: 48rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.legal-meta {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  margin: 0 0 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.legal-page > p:first-of-type:not(.eyebrow):not(.legal-meta) {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}
.legal-page section {
  margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--foreground);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--foreground);
}
.legal-page p {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0 0 0.85rem;
}
.legal-page ul,
.legal-page ol {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}
.legal-page li {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.legal-page li strong {
  color: var(--foreground);
}
.footer-legal {
  margin-top: 0.75rem;
}
.footer-legal a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-legal a:hover {
  color: var(--brand-600);
  text-decoration: underline;
}
.footer-sep {
  margin: 0 0.5rem;
  color: var(--muted-foreground);
}

/* ===== CertiFlex industry hubs ===== */
.chain-map {
  background: var(--card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  padding: 1.5rem 1.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--foreground);
  overflow-x: auto;
}
.chain-map .arrow { color: var(--brand-600); font-weight: 700; }
.violation-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted-foreground);
}
.violation-list li { margin-bottom: 0.65rem; line-height: 1.6; }
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.card-link:hover h3 { color: var(--brand-600); }
.card-link .link-hint {
  color: var(--brand-600);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}
.industry-hero { text-align: left; max-width: 48rem; }
.industry-hero .lead { margin-left: 0; text-align: left; }
.stats-footnote {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  line-height: 1.55;
  max-width: 42rem;
  margin: 0.25rem auto 2rem;
}
.module-pillar {
  color: var(--brand-600);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}
.module-fit {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 1rem !important;
}
.module-fit strong { color: var(--foreground); }

/* ===== Industry intelligence hubs ===== */
.hub-meta {
  color: var(--muted-foreground);
  font-size: 0.88rem;
  margin: 0 0 1.5rem;
}
.chain-context {
  max-width: 48rem;
  margin: 1.25rem auto 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.65;
}
.chain-context ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}
.dos-donts-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .dos-donts-grid { grid-template-columns: 1fr 1fr; }
}
.dos-donts-grid h3 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}
.dos-donts-grid .do-card {
  border-left: 4px solid var(--success);
}
.dos-donts-grid .dont-card {
  border-left: 4px solid var(--destructive);
}
.dos-donts-grid ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted-foreground);
  font-size: 0.92rem;
  line-height: 1.6;
}
.dos-donts-grid li { margin-bottom: 0.5rem; }
.news-feed {
  display: grid;
  gap: 1rem;
}
.news-item {
  background: var(--card-bg);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  border: 1px solid hsl(79, 35%, 88%);
  padding: 1.25rem 1.35rem;
}
.news-item time {
  display: block;
  color: var(--brand-600);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}
.news-item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}
.news-item p {
  margin: 0 0 0.65rem;
  color: var(--muted-foreground);
  font-size: 0.92rem;
  line-height: 1.55;
}
.news-item a {
  color: var(--brand-600);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.news-item a:hover { text-decoration: underline; }
.hub-source-note {
  color: var(--muted-foreground);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 1rem;
  text-align: center;
}
.future-section {
  border: 1px dashed hsl(79, 40%, 75%);
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: hsl(79, 70%, 96%, 0.5);
  color: var(--muted-foreground);
  font-size: 0.9rem;
}
