/* ==========================================================================
   HelpChain Design System CSS
   --------------------------------------------------------------------------
   Maintenance structure (source-of-truth orientation):
   1) Tokens
   2) Base Elements
   3) Layout Primitives
   4) Buttons
   5) Cards / Panels
   6) Forms
   7) Badges / Status
   8) Utilities
   9) Responsive Adjustments
   --------------------------------------------------------------------------
   Note: Historical/page-scoped legacy blocks remain later in this file.
   They are preserved where removal could change public/admin rendering.
   ========================================================================== */

/* =========================
   TOKENS
   ========================= */
:root {
  /* Typography */
  --hc-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hc-font-size-body: 1rem;
  --hc-line-body: 1.6;

  /* Color system */
  --hc-bg: #f7f9fc;
  --hc-surface: #ffffff;
  --hc-surface-soft: #f8fbff;
  --hc-border: #e6ebf2;
  --hc-border-strong: #d7e1ee;
  --hc-text: #1e2a36;
  --hc-text-muted: #5e6b78;
  --hc-text-soft: #94a3b8;
  --hc-accent: #243e63;
  --hc-accent-hover: #1f3452;
  --hc-accent-soft: #eef3f8;
  --hc-text-primary: #1e2a36;
  --hc-border-subtle: #e6ecf2;
  --hc-bg-soft: #f7f9fc;
  --hc-accent-color: var(--hc-accent);
  --hc-primary: #2f6fed;
  --hc-primary-2: #5a8bff;
  --hc-primary-soft: #eaf1ff;
  --hc-success: #16a34a;
  --hc-warning: #f59e0b;
  --hc-danger: #dc2626;
  --hc-info: #0ea5e9;
  --hc-focus: var(--hc-accent);

  /* Spacing, radii, shadows */
  --hc-space-1: 4px;
  --hc-space-2: 8px;
  --hc-space-3: 12px;
  --hc-space-4: 16px;
  --hc-space-5: 20px;
  --hc-space-6: 24px;
  --hc-space-7: 32px;
  --hc-space-8: 40px;
  --hc-space-9: 56px;
  --hc-radius-sm: 10px;
  --hc-radius: 16px;
  --hc-radius-lg: 20px;
  --hc-shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.05);
  --hc-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --hc-shadow-lg: 0 14px 34px rgba(15, 23, 42, 0.12);

  /* Motion */
  --hc-duration-fast: 140ms;
  --hc-duration-normal: 180ms;
  --hc-ease-standard: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Layout */
  --hc-max-content: 1120px;
  --hc-max-readable: 72ch;
  --hc-icon-inline-size: 16px;
  --hc-icon-card-size: 22px;
  --hc-icon-box-size: 44px;
  --hc-icon-size-sm: 16px;
  --hc-icon-size-md: 20px;
  --hc-icon-size-lg: 24px;
  --hc-icon-default: var(--hc-text-muted);
  --hc-icon-accent: var(--hc-accent);
  --hc-icon-hover: var(--hc-accent-hover);

  /* Legacy aliases (compat) */
  --hc-card: var(--hc-surface);
  --hc-text-main: var(--hc-text);
  --hc-primary: var(--hc-accent);
  --hc-primary-2: var(--hc-accent-hover);
  --hc-primary-soft: var(--hc-accent-soft);
  --bs-body-font-family: var(--hc-font-sans);
}

/* =========================
   BASE ELEMENTS
   ========================= */
/* Icon system baseline (Type A: boxed / Type B: inline) */
i.fas,
i.fab,
i.bi {
  line-height: 1;
  vertical-align: middle;
  font-size: inherit;
}

.hc-icon-inline {
  font-size: var(--hc-icon-inline-size);
  color: var(--hc-icon-default);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hc-icon-box {
  width: var(--hc-icon-box-size);
  height: var(--hc-icon-box-size);
  border-radius: 10px;
  border: 1px solid var(--hc-primary);
  color: var(--hc-primary);
  background: var(--hc-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--hc-icon-box-size);
}

.hc-icon-box i {
  font-size: var(--hc-icon-card-size);
  line-height: 1;
  color: inherit;
}

.hc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  font-size: var(--hc-icon-size-sm);
  line-height: 1;
  vertical-align: -0.125em;
  color: var(--hc-icon-default);
  transition: color 0.2s ease;
}

.hc-icon svg,
svg.hc-icon {
  fill: currentColor;
}

html, body {
  font-family: var(--hc-font-sans);
}

body {
  background: var(--hc-bg);
  color: var(--hc-text-main);
  font-family: var(--hc-font-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hc-font-sans);
}

p, li, span, a, button, input, textarea, select, label, th, td {
  font-family: var(--hc-font-sans);
}

/* =========================
   DOCUMENTATION INTRO
   ========================= */
.hc-doc-page {
  max-width: 920px;
  margin: 0 auto;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}

.hc-doc-intro {
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--hc-border);
}

.hc-doc-intro__label {
  margin: 0 0 0.48rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hc-accent);
}

.hc-doc-intro__title {
  margin: 0;
  font-size: clamp(1.42rem, 2vw, 1.86rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--hc-text-main);
}

.hc-doc-intro__lead {
  margin: 0.6rem 0 0;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--hc-text-muted);
}

@media (max-width: 767.98px) {
  .hc-doc-page {
    padding-top: 1rem;
  }

  .hc-doc-intro {
    margin-bottom: 0.95rem;
    padding-bottom: 0.75rem;
  }

  .hc-doc-intro__label {
    font-size: 0.7rem;
  }

  .hc-doc-intro__lead {
    font-size: 0.95rem;
    line-height: 1.58;
  }
}

/* =========================
   CARDS / PANELS (CORE)
   ========================= */
.hc-card {
  background: var(--hc-card);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
}

.hc-muted {
  color: var(--hc-text-muted);
}

.hc-soft {
  color: var(--hc-text-soft);
}

/* =========================
   BUTTONS (CORE)
   ========================= */
.hc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.hc-btn:active {
  transform: translateY(1px);
}

.hc-btn-primary {
  background: var(--hc-accent);
  box-shadow: 0 10px 22px rgba(36, 62, 99, 0.22);
  border: 1px solid var(--hc-accent);
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.hc-btn-primary:hover {
  transform: translateY(-1.5px);
  background: var(--hc-accent-hover);
  border-color: var(--hc-accent-hover);
  box-shadow: 0 14px 28px rgba(31, 52, 82, 0.26);
  filter: none;
}

.hc-btn-outline {
  background: #fff;
  color: var(--hc-primary);
  border-color: var(--hc-border);
}

.hc-btn-outline:hover {
  background: var(--hc-primary-soft);
  border-color: rgba(47, 111, 237, 0.25);
}

/* =========================
   SHARED FORM CONTAINER
   ========================= */
.hc-form-container {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--hc-border-subtle, #e6ecf2);
  border-radius: 14px;
  padding: 32px 36px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.hc-form-group {
  margin-bottom: 18px;
}

.hc-intake__grid .hc-form-group,
.row.g-3 > .hc-form-group {
  margin-bottom: 0;
}

.hc-form-group > label,
.hc-form-group .form-label,
.hc-form-group .hc-intake__label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.hc-form-container :is(input, select, textarea, .form-control, .form-select, .hc-input, .hc-select, .hc-textarea, .hc-intake__input, .hc-intake__select, .hc-intake__textarea) {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e3e8ef;
  font-size: 15px;
}

.hc-form-container :is(textarea, .hc-textarea, .hc-intake__textarea) {
  min-height: 120px;
}

.hc-form-submit {
  width: 100%;
  margin-top: 16px;
}

@media (max-width: 767px) {
  .hc-form-container {
    padding: 22px;
  }

  .hc-form-container :is(textarea, .hc-textarea, .hc-intake__textarea) {
    min-height: 110px;
  }
}

/* =========================
   LEGACY / PAGE-SCOPED LAYERS
   (preserved for compatibility)
   ========================= */
/* =========================
   HelpChain Europe v1 (Official)
   Navbar + Hero overrides
   ========================= */

.hc-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hc-surface);
  border-bottom: 1px solid var(--hc-border);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.hc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hc-text-main);
  text-decoration: none;
  font-size: 1.15rem;
  margin-right: 1.2rem;
}

.hc-brand:hover {
  text-decoration: none;
}

.hc-brand__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.hc-brand__text {
  line-height: 1;
}

.hc-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-navlink {
  color: var(--hc-text-muted);
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
}

.hc-navlink:hover {
  color: var(--hc-text-main);
  background: var(--hc-primary-soft);
}

.hc-navlink.nav-link-volunteer {
  background: var(--hc-primary-soft);
  color: var(--hc-primary);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

/* Search */
.hc-nav .search-input-group {
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  box-shadow: var(--hc-shadow);
}

.hc-nav .search-input {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  padding: 0.35rem 0.5rem;
  color: var(--hc-text-main);
}

.hc-nav .search-button {
  border: 0;
  background: transparent;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

/* Hero */
.hc-hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(47, 111, 237, 0.12), transparent 55%),
    radial-gradient(700px 320px at 75% 20%, rgba(242, 166, 90, 0.1), transparent 60%),
    var(--hc-bg);
  border-bottom: 1px solid var(--hc-border);
}

.hc-hero__title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--hc-text-main);
}

.hc-hero__subtitle {
  max-width: 860px;
  margin: 0 auto 1.6rem;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--hc-text-muted);
}

/* Keep your existing hero shapes but soften them */
.hc-hero .hero-shapes {
  opacity: 0.25;
  filter: blur(0.2px);
}

/* Buttons (use the ones we defined before, just ensure sizing here) */
.hc-hero .hc-btn {
  min-width: 220px;
  justify-content: center;
}

/* Icon buttons (theme/bell) -> make them "quiet" */
.hc-nav #themeToggle,
.hc-nav #pushNotifications {
  border: 1px solid var(--hc-border) !important;
  background: #fff !important;
  border-radius: 999px !important;
}

.hc-nav #themeToggle:hover,
.hc-nav #pushNotifications:hover {
  background: var(--hc-primary-soft) !important;
  border-color: rgba(47, 111, 237, 0.25) !important;
}

/* Force CTA styles to win over legacy hero button rules */
.hc-hero .hero-buttons .hc-btn-primary {
  background: var(--hc-primary) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.18) !important;
}

.hc-hero .hero-buttons .hc-btn-primary i {
  color: #fff;
}

.hc-hero .hero-buttons .hc-btn-outline {
  background: #fff !important;
  color: var(--hc-primary) !important;
  border-color: var(--hc-border) !important;
}

/* ============================
   HelpChain v1 — HERO LAYOUT
   Add at END of design-system.css
   ============================ */

:root {
  --hc-hero-maxw: 980px;
  --hc-hero-minh: clamp(560px, 72vh, 820px);
}

/* Hero container: give it real presence */
.hero-light,
.hc-hero {
  position: relative;
  background:
    radial-gradient(1200px 400px at 50% 0%, rgba(47, 111, 237, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 249, 252, 1));
  border-bottom: 1px solid var(--HC_BORDER, #e6ebf2);
  padding: clamp(40px, 6vh, 72px) 0 clamp(32px, 5vh, 64px);
  min-height: var(--hc-hero-minh);
  display: flex;
  align-items: flex-start;
}

.hero-light,
.hc-hero {
  padding-top: 110px;
  padding-bottom: 120px;
}

/* Keep shapes subtle (premium, not disco) */
.hero-shapes,
.hc-hero .hero-shapes {
  opacity: 0.35;
  filter: blur(0.2px);
}

/* Content width and spacing */
.hero-content,
.hc-hero .hero-content {
  max-width: var(--hc-hero-maxw);
  margin: 0 auto;
  padding: 0 16px;
}

/* Typography hierarchy */
.hero-title,
.hc-hero__title {
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 14px 0;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--HC_TEXT, #0f172a);
}

.hero-subtitle,
.hc-hero__subtitle {
  margin: 0 auto 26px auto;
  max-width: 68ch;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
  color: var(--HC_TEXT_MUTED, #475569);
}

/* Buttons: larger, cleaner, less “floating in the void” */
.hero-buttons,
.hc-hero .hero-buttons {
  margin-top: 18px;
  gap: 14px !important;
}

.hero-buttons a,
.hc-hero .hero-buttons a {
  padding: 12px 18px;
  font-weight: 600;
  border-radius: 999px;
  min-width: 220px;
  justify-content: center;
}

/* Primary CTA should be hc-btn-primary (your gradient/shadow) */
.hero-buttons .btn-primary,
.hero-buttons .btn-success {
  border: 0;
}

/* Secondary CTA: soft surface + border (human NGO vibe) */
.hc-btn-secondary {
  background: #ffffff;
  border: 1px solid #e6ebf2;
  color: var(--hc-text, #0f172a);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hc-btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.1);
  background: #f4f8ff;
}

/* Small screens: reduce empty feeling, keep hierarchy */
@media (max-width: 768px) {
  .hero-light {
    min-height: auto;
    padding: 44px 0 56px;
  }

  .hero-buttons a {
    width: 100%;
    min-width: 0;
  }
}

/* =========================
   HelpChain v1 — Trust section
   ========================= */

.hc-trust {
  padding: clamp(48px, 6vw, 84px) 0;
  background: var(--HC_SURFACE, #f7f9fc);
}

.hc-trust__head {
  max-width: 780px;
  margin: 0 auto 28px;
}

.hc-trust__title {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.hc-trust__subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(15, 23, 42, 0.75);
  margin: 0;
}

.hc-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.hc-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.hc-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(47, 111, 237, 0.1);
  color: var(--HC_PRIMARY, #2f6fed);
  margin-bottom: 12px;
  font-size: 18px;
}

.hc-card__title {
  font-size: 16px;
  margin: 0 0 8px;
}

.hc-card__text {
  margin: 0;
  color: rgba(15, 23, 42, 0.74);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .hc-trust__grid {
    grid-template-columns: 1fr;
  }

  .hc-card {
    padding: 16px;
  }
}

/* =========================
   HERO readability hotfix
   ========================= */
.hero-subtitle,
.hero .hero-subtitle,
.hero-light .hero-subtitle {
  color: rgba(0, 0, 0, 0.82) !important;
  opacity: 1 !important;
  text-shadow: none !important;
  background: rgba(255, 255, 255, 0.92) !important;
  padding: 10px 14px;
  border-radius: 10px;
  display: inline-block;
  max-width: 780px;
  margin: 12px auto 0;
  backdrop-filter: blur(6px);
}

.hero-content,
.hero-light .hero-content {
  text-align: center;
}

/* =========================
   Top nav cleanup (remove bullets, align)
   ========================= */
nav ul,
header ul,
.navbar ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

nav li,
header li,
.navbar li {
  margin: 0 !important;
  padding: 0 !important;
}

nav a,
header a,
.navbar a {
  text-decoration: none;
}

/* =========================
   Hero title polish
   ========================= */
.hero-title,
.hero-light .hero-title {
  color: #0b1220 !important;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* =========================
   Impact card polish
   ========================= */
.impact-card,
#impact-widget,
.impact-widget {
  max-width: 980px;
  margin: 26px auto 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(11, 18, 32, 0.1);
}

/* Impact widget (public impact section) */
.impact-section {
  padding: 40px 0;
}

.impact-card {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  background: #fff;
  padding: 22px 22px 16px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.impact-title {
  margin: 0;
  font-weight: 700;
}

.impact-subtitle {
  margin: 8px 0 0;
  opacity: 0.8;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.impact-kpi {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.02);
}

.impact-kpi-label {
  font-size: 0.9rem;
  opacity: 0.75;
}

.impact-kpi-value {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 6px;
}

.impact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.impact-box {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px;
}

.impact-box-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.impact-sla-line {
  margin: 4px 0;
}

.impact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.impact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
}

.impact-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.75;
}

@media (max-width: 900px) {
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .impact-row {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Impact KPI animations
   ========================= */
@keyframes hcPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  35% {
    transform: scale(1.02);
    opacity: 0.95;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.impact-kpi-animate {
  animation: hcPulse 420ms ease-in-out;
}

.impact-kpi-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: color 200ms ease;
}

.impact[aria-busy="true"] .impact-kpi-number {
  opacity: 0.6;
  filter: saturate(0.8);
}

/* === Sticky CTA (Modern NGO / Airy) === */
.hc-sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 999;
  display: none; /* JS toggles */
  padding: 0 14px;
}

.hc-sticky-cta.is-visible{
  display: block;
}

.hc-sticky-cta__inner{
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.14);
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(2, 6, 23, 0.10);
  backdrop-filter: blur(10px);

  padding: 12px 12px;
}

.hc-sticky-cta__copy{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
}

.hc-sticky-cta__title{
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.2;
}

.hc-sticky-cta__subtitle{
  color: rgba(15,23,42,0.72);
  font-size: 12.5px;
  line-height: 1.3;
}

.hc-sticky-cta__actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hc-sticky-cta .hc-btn{
  appearance: none;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(15,23,42,0.14);
  background: rgba(255,255,255,0.60);
  color: #0f172a;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.hc-sticky-cta .hc-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
  border-color: rgba(2,132,199,0.22);
}

.hc-sticky-cta .hc-btn:focus-visible{
  outline: 3px solid rgba(2,132,199,0.28);
  outline-offset: 2px;
}

.hc-sticky-cta .hc-btn--primary{
  background: rgba(2,132,199,0.16);
  border-color: rgba(2,132,199,0.28);
  color: #075985;
}

.hc-sticky-cta .hc-btn--primary:hover{
  background: rgba(2,132,199,0.20);
}

.hc-sticky-cta__close{
  border: 1px solid rgba(15,23,42,0.14);
  background: rgba(255,255,255,0.55);
  color: rgba(15,23,42,0.75);
  border-radius: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  flex: 0 0 auto;
}

.hc-sticky-cta__close:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
  border-color: rgba(2,132,199,0.22);
}

@media (max-width: 720px){
  .hc-sticky-cta__inner{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hc-sticky-cta__actions{
    justify-content: stretch;
  }
  .hc-sticky-cta .hc-btn{
    width: 100%;
    text-align: center;
  }
.hc-sticky-cta__close{
  width: 100%;
  height: 40px;
}
}

/* === Hero focus (Modern NGO) === */
.hc-hero{
  padding: 72px 0 56px;
  text-align: center;
}

.hc-hero h1{
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
}

.hc-hero .hc-lead{
  max-width: 720px;
  margin: 16px auto 28px;
  font-size: 1.15rem;
  opacity: 0.9;
}

.hc-hero .hc-btn{
  min-width: 200px;
}

/* === E22: Quick nav (Modern NGO) === */
.hc-quicknav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.hc-quicknav__btn{
  appearance:none;
  border:1px solid rgba(15,23,42,0.14);
  background: rgba(255,255,255,0.72);
  color: rgba(15,23,42,0.82);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 650;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.hc-quicknav__btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(2,6,23,0.08);
  border-color: rgba(2,132,199,0.22);
  background: rgba(255,255,255,0.92);
}

.hc-quicknav__btn:focus-visible{
  outline: 3px solid rgba(2,132,199,0.25);
  outline-offset: 2px;
}

.hc-acc__text{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hc-acc__summaryline{
  font-size: 0.9rem;
  color: var(--hc-muted, rgba(15,23,42,0.72));
}

/* === E24: Why section grid (Modern NGO) === */
.hc-why-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hc-why-card{
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--hc-border, rgba(15,23,42,0.14));
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hc-why-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.10);
  border-color: rgba(2,132,199,0.22);
}

.hc-why-ic{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(2,132,199,0.10);
  border: 1px solid rgba(2,132,199,0.18);
  margin-bottom: 10px;
  font-size: 18px;
}

.hc-why-card h3{
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(15,23,42,0.92);
}

.hc-why-card p{
  margin: 0;
  color: rgba(15,23,42,0.72);
  line-height: 1.55;
}

@media (max-width: 900px){
  .hc-why-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
  .hc-why-grid{ grid-template-columns: 1fr; }
}

/* === E27: Why-choose visual hierarchy (Modern NGO) === */
/* 1) Featured (top 3) */
.hc-why-card.hc-featured{
  border-color: rgba(2, 132, 199, 0.28);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.10);
}

/* 2) Support (bottom 3) - slightly quieter */
.hc-why-card:not(.hc-featured){
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
}

/* 3) Hover parity */
.hc-why-card:hover{
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.10);
  border-color: rgba(2, 132, 199, 0.22);
}

/* 4) More breathing room before footer */
#why-choose{
  padding-bottom: 72px;
}

/* === E28: Vertical rhythm + Modern NGO flow (no content cuts) === */

/* Slightly tighter section rhythm */
.hc-section{
  padding: 44px 0;
}

/* Better separation between blocks without heavy lines */
.hc-section + .hc-section{
  border-top: 1px solid rgba(15,23,42,0.06);
}

/* Cards: a bit more breathing room */
.hc-card{
  border-radius: 16px;
}

/* Grids: keep elegant on smaller screens */
@media (max-width: 920px){
  .hc-grid-3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .hc-grid-2, .hc-grid-3{ grid-template-columns: 1fr; }
}

/* Hero: reduce “too much air” on tall screens (override safely) */
.hc-hero{
  min-height: auto;
  padding: 42px 0 18px;
}

/* === E29: Hero + Impact premium landing (Modern NGO) === */

/* Hero container feels like a “soft card” section */
.hc-hero{
  background: radial-gradient(1200px 420px at 50% -120px, rgba(2,132,199,0.10), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78));
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.hc-hero .hero-content{
  max-width: 860px;
  margin: 0 auto;
}

.hc-hero .hero-title{
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hc-hero .hero-subtitle{
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(15,23,42,0.78);
}

/* Buttons a bit more “NGO premium” */
.hc-hero .hero-buttons .btn{
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 10px 24px rgba(2,6,23,0.06);
}
.hc-hero .hero-buttons .btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(2,6,23,0.08);
}

/* Impact: visually closer to hero, centered, premium card */
#impact{
  margin-top: -18px;
  padding-top: 24px;
}
#impact .impact-card{
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 18px 44px rgba(2,6,23,0.08);
}

/* Keep alternating section backgrounds subtle with new tokens */
.hc-section:nth-of-type(even){
  background: rgba(2,6,23,0.02);
}

/* Mobile: avoid negative margin weirdness */
@media (max-width: 720px){
  #impact{ margin-top: 0; }
}

/* === E30: Modern NGO Nav polish === */
.navbar, .hc-nav, header nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar, .hc-nav, header {
  background: rgba(244, 246, 251, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hc-border);
}

.navbar a, .hc-nav a, header a {
  text-decoration: none;
}

.navbar .nav-link, .hc-nav .nav-link, header nav a {
  color: rgba(15, 23, 42, 0.82);
  font-weight: 600;
}

.navbar .nav-link:hover, .hc-nav .nav-link:hover, header nav a:hover {
  color: rgba(2, 132, 199, 0.95);
}

.navbar .nav-link:focus-visible, .hc-nav .nav-link:focus-visible, header nav a:focus-visible {
  outline: 3px solid rgba(2,132,199,0.25);
  outline-offset: 2px;
  border-radius: 10px;
}

/* === E30.2: Nav spacing + container === */
.navbar .container, header .container, .hc-nav .container {
  max-width: 1040px;
}

.navbar, header, .hc-nav {
  padding-top: 10px;
  padding-bottom: 10px;
}

main {
  padding-top: 8px;
}

/* === E30.6: Hard-attach nav styling (failsafe) === */
.hc-navbar, .hc-nav, nav.main-nav, .hc-home-premium__nav {
  background: rgba(244, 246, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hc-border);
}

.hc-navbar, .hc-nav, nav.main-nav, .hc-home-premium__nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.hc-navbar a, .hc-nav a, nav.main-nav a, .hc-home-premium__nav a {
  color: rgba(15, 23, 42, 0.82);
  font-weight: 600;
  text-decoration: none;
}

.hc-navbar a:hover, .hc-nav a:hover, nav.main-nav a:hover, .hc-home-premium__nav a:hover {
  color: rgba(2, 132, 199, 0.95);
}

/* === E30.6: Modern NGO Nav polish (real classes) === */
nav.main-nav{
  position: sticky;
  top: 0;
  z-index: 1100;

  background: rgba(244, 246, 251, 0.92);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

nav.main-nav .container{
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Brand */
nav.main-nav .navbar-brand-light{
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(15, 23, 42, 0.92);
  text-decoration: none;
}

/* Menu layout */
nav.main-nav .nav-menu{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

/* Links */
nav.main-nav .nav-link-light{
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;

  color: rgba(15, 23, 42, 0.78);
  text-decoration: none;
  font-weight: 600;

  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}

nav.main-nav .nav-link-light:hover{
  background: rgba(2, 132, 199, 0.08);
  color: rgba(2, 132, 199, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.06);
}

nav.main-nav .nav-link-light:focus-visible{
  outline: 3px solid rgba(2, 132, 199, 0.35);
  outline-offset: 2px;
}

/* Right-side search: airy pill */
nav.main-nav .search-container{
  margin-left: auto;
}

nav.main-nav .search-input-group{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;

  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;

  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.05);
}

nav.main-nav .search-input{
  border: 0;
  outline: 0;
  background: transparent;
  padding: 6px 10px;
  min-width: 220px;
  color: rgba(15, 23, 42, 0.85);
}

nav.main-nav .search-input::placeholder{
  color: rgba(15, 23, 42, 0.55);
}

nav.main-nav .search-button{
  border: 1px solid rgba(2, 132, 199, 0.18);
  background: rgba(2, 132, 199, 0.10);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

nav.main-nav .search-button:hover{
  transform: translateY(-1px);
  background: rgba(2, 132, 199, 0.14);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.06);
}

/* Mobile: give breathing room */
@media (max-width: 768px){
  nav.main-nav .container{
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* === E27: Why-choose visual hierarchy (Modern NGO) === */
/* 1) Featured (top 3) */
.hc-why-card.hc-featured{
  border-color: rgba(2, 132, 199, 0.28);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.10);
}

/* 2) Support (bottom 3) - slightly quieter */
.hc-why-card:not(.hc-featured){
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
}

/* 3) Hover parity */
.hc-why-card:hover{
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.10);
  border-color: rgba(2, 132, 199, 0.22);
}

/* 4) More breathing room before footer */
#why-choose{
  padding-bottom: 72px;
}

/* === E25: Airy footer (Modern NGO) === */
.site-footer, footer{
  background: rgba(255,255,255,0.82);
  border-top: 1px solid var(--hc-border, rgba(15,23,42,0.14));
  color: rgba(15,23,42,0.72);
}

.site-footer a, footer a{
  color: rgba(15,23,42,0.78);
  text-decoration: none;
  border-bottom: 1px dashed rgba(2,132,199,0.35);
  padding-bottom: 1px;
}

.site-footer a:hover, footer a:hover{
  color: rgba(2,132,199,0.95);
  border-bottom-color: rgba(2,132,199,0.65);
}

.site-footer .footer-inner,
footer .footer-inner{
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 16px;
}

.site-footer .footer-grid,
footer .footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.site-footer h4, footer h4{
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(15,23,42,0.88);
  letter-spacing: -0.01em;
}

.site-footer p, footer p{
  margin: 0;
  line-height: 1.6;
}

.site-footer .footer-links,
footer .footer-links{
  display: grid;
  gap: 8px;
}

.site-footer .footer-bottom,
footer .footer-bottom{
  border-top: 1px solid rgba(15,23,42,0.10);
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: rgba(15,23,42,0.62);
}

.site-footer .footer-social,
footer .footer-social{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer .footer-social a,
footer .footer-social a{
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.75);
  border-radius: 999px;
  padding: 8px 10px;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.site-footer .footer-social a:hover,
footer .footer-social a:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.08);
  border-color: rgba(2,132,199,0.25);
}

@media (max-width: 840px){
  .site-footer .footer-grid,
  footer .footer-grid{
    grid-template-columns: 1fr;
  }
}

/* === Premium footer === */
.site-footer,
footer {
  background: linear-gradient(
    180deg,
    #0f172a 0%,
    #0b1220 100%
  );
  color: rgba(255, 255, 255, 0.78);
  padding: 18px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer a,
footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
  border-bottom: 0;
  padding-bottom: 0;
}

.site-footer a:hover,
footer a:hover {
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.7;
  border-bottom: 0;
}

.site-footer hr,
footer hr {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 12px 0;
}

.site-footer,
footer {
  position: relative;
  overflow: hidden;
}

/* subtle blue top glow */
.site-footer::before,
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: radial-gradient(
    60% 100% at 50% 0%,
    rgba(37, 99, 235, 0.18) 0%,
    rgba(37, 99, 235, 0.08) 40%,
    transparent 75%
  );
  pointer-events: none;
}

/* === E24: Why section grid (Modern NGO) === */
.hc-why-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hc-why-card{
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--hc-border, rgba(15,23,42,0.14));
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hc-why-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.10);
  border-color: rgba(2,132,199,0.22);
}

.hc-why-ic{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(2,132,199,0.10);
  border: 1px solid rgba(2,132,199,0.18);
  margin-bottom: 10px;
  font-size: 18px;
}

.hc-why-card h3{
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(15,23,42,0.92);
}

.hc-why-card p{
  margin: 0;
  color: rgba(15,23,42,0.72);
  line-height: 1.55;
}

@media (max-width: 900px){
  .hc-why-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
  .hc-why-grid{ grid-template-columns: 1fr; }
}

.hc-acc__text{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hc-acc__summaryline{
  font-size: 0.9rem;
  color: var(--hc-muted, rgba(15,23,42,0.72));
}

/* === E22: Quick nav (Modern NGO) === */
.hc-quicknav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.hc-quicknav__btn{
  appearance:none;
  border:1px solid rgba(15,23,42,0.14);
  background: rgba(255,255,255,0.72);
  color: rgba(15,23,42,0.82);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 650;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.hc-quicknav__btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(2,6,23,0.08);
  border-color: rgba(2,132,199,0.22);
  background: rgba(255,255,255,0.92);
}

.hc-quicknav__btn:focus-visible{
  outline: 3px solid rgba(2,132,199,0.25);
  outline-offset: 2px;
}

.hc-hero__hint{
  margin-top: 24px;
  font-size: .9rem;
  opacity: .6;
}

/* === Hero polish (Modern NGO) === */
.hc-hero .hero-shapes {
  opacity: 0.35;
  filter: blur(0.3px);
}

.hc-hero .hero-shape {
  opacity: 0.55;
}

@media (prefers-reduced-motion: reduce) {
  .hc-hero .hero-shapes,
  .hc-hero .hero-shape {
    animation: none !important;
    transition: none !important;
  }
}

/* === Volunteer Accordion (Modern NGO) === */
.hc-accordion{
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.hc-acc{
  border: 1px solid var(--hc-border, rgba(15,23,42,0.14));
  background: rgba(255,255,255,0.92);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
  overflow: hidden;
}

.hc-acc__summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.hc-acc__summary::-webkit-details-marker{ display:none; }

.hc-acc__title{
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(15,23,42,0.92);
}

.hc-acc__meta{
  font-size: 0.9rem;
  color: rgba(15,23,42,0.65);
  border: 1px dashed rgba(2,132,199,0.22);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(2,132,199,0.05);
  flex: 0 0 auto;
}

.hc-acc__body{
  padding: 0 16px 16px;
  border-top: 1px solid rgba(15,23,42,0.08);
}

.hc-acc[open]{
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.08);
}

/* === E21: Progressive stories (Modern NGO) === */
.hc-stories[data-collapsed="true"] .hc-story--extra{
  display: none;
}

.hc-linkbtn{
  margin-top: 10px;
  background: transparent;
  border: 1px dashed rgba(15,23,42,0.18);
  color: rgba(15,23,42,0.78);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hc-linkbtn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
  border-color: rgba(2,132,199,0.22);
}

.hc-linkbtn:focus-visible{
  outline: 3px solid rgba(2,132,199,0.28);
  outline-offset: 2px;
}

/* === Hero focus (Modern NGO) === */
.hc-hero{
  padding: 72px 0 56px;
  text-align: center;
}

.hc-hero h1{
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
}

.hc-hero .hc-lead{
  max-width: 720px;
  margin: 16px auto 28px;
  font-size: 1.15rem;
  opacity: 0.9;
}

.hc-hero .hc-btn{
  min-width: 200px;
}
/* --- HelpChain Sections (Volunteer-friendly) --- */
.hc-section {
  padding: 56px 0;
}

.hc-section:nth-of-type(even) {
  background: rgba(0, 0, 0, 0.02);
}

.hc-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.hc-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.hc-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  opacity: 0.92;
}

.hc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hc-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hc-card-title {
  margin: 0 0 8px;
  font-weight: 700;
}

/* === Airy sections === */
.hc-section{
  padding: 56px 0;
}

.hc-section .container{
  padding-left: var(--hc-pad);
  padding-right: var(--hc-pad);
}

.hc-section__title{
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.hc-section__subtitle{
  color: var(--hc-muted);
  max-width: 72ch;
  margin: 0 auto;
}

.hc-section--soft{
  background: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(18,24,40,0.05);
  border-bottom: 1px solid rgba(18,24,40,0.05);
}

/* === Modern NGO typography === */
.hc-section__title{
  color: var(--hc-text);
  font-weight: 900;
  letter-spacing: -0.03em;
  position: relative;
  display: inline-block;
}

.hc-section__subtitle{
  color: rgba(15,23,42,0.78);
}

/* === Section accent line === */
.hc-section__title:after{
  content: "";
  display: block;
  height: 4px;
  width: 44px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(2,132,199,0.45);
}

/* === Airy chips === */
.hc-chip,
.impact-chip,
.request-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.05);
  border: 1px solid rgba(15,23,42,0.06);
  color: rgba(15,23,42,0.78);
  font-weight: 600;
  font-size: 13px;
}

/* === Airy sections === */
.hc-section{
  padding: 56px 0;
}

.hc-section .container{
  padding-left: var(--hc-pad);
  padding-right: var(--hc-pad);
}

.hc-section__title{
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.hc-section__subtitle{
  color: var(--hc-muted);
  max-width: 72ch;
  margin: 0 auto;
}

.hc-section--soft{
  background: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(18,24,40,0.05);
  border-bottom: 1px solid rgba(18,24,40,0.05);
}

.hc-card-text {
  margin: 0;
  line-height: 1.6;
  opacity: 0.9;
}

/* === Airy cards === */
.hc-card,
.hc-story,
.hc-request-preview,
.impact-card,
.vh-card{
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow-soft);
  backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hc-card:hover,
.hc-story:hover,
.hc-request-preview:hover,
.impact-card:hover,
.vh-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--hc-shadow);
  border-color: rgba(2,132,199,0.22);
}

.hc-story-kicker {
  display: inline-block;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
}

.hc-story-title {
  margin: 0 0 8px;
  font-weight: 750;
}

.hc-story-text {
  margin: 0;
  line-height: 1.6;
  opacity: 0.9;
}

.hc-cta {
  padding-top: 70px;
  padding-bottom: 70px;
}

.hc-cta-inner {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
}

.hc-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hc-cta-note {
  margin-top: 14px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.hc-card:hover,
.hc-story:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hc-cta-actions .btn:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.25);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hc-grid-3 {
    grid-template-columns: 1fr;
  }

  .hc-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Volunteer onboarding mini-cards */
.vh-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
}

.vh-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.vh-bullets li {
  margin-bottom: 6px;
}

/* Trust / Micro-proof block */
.hc-proof {
  max-width: 980px;
  margin: 28px auto 0;
  padding: 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
}

.hc-proof-title {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hc-proof-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hc-proof-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(20, 20, 20, 0.92);
}

.hc-proof-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.06);
}

.hc-proof-links {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hc-proof-links a {
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.35);
  color: rgba(20, 20, 20, 0.82);
}

.hc-proof-links a:hover {
  border-bottom-style: solid;
  color: rgba(0, 0, 0, 0.92);
}

.hc-demo-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.08);
  font-weight: 700;
  font-size: 12px;
  color: rgba(20,20,20,0.75);
  margin-bottom: 8px;
}

/* Request Preview */
.hc-request-preview .hc-section-head {
  max-width: 980px;
  margin: 0 auto 14px;
  text-align: center;
}

.hc-section-title {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hc-section-subtitle {
  margin: 0;
  color: rgba(20,20,20,0.72);
}

.hc-preview-grid {
  max-width: 1100px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.hc-request-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(6px);
}

.hc-request-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.02);
  font-size: 12.5px;
  color: rgba(20,20,20,0.70);
}

.hc-chip--urgency {
  background: rgba(255, 193, 7, 0.10);
  border-color: rgba(255, 193, 7, 0.18);
}

.hc-request-title {
  margin: 0 0 10px;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.hc-request-desc {
  margin: 0 0 14px;
  color: rgba(20,20,20,0.74);
  line-height: 1.65;
}

.hc-request-meta {
  border-top: 1px dashed rgba(0,0,0,0.10);
  padding-top: 14px;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.hc-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hc-meta-label {
  color: rgba(20,20,20,0.55);
  font-size: 13px;
}

.hc-meta-value {
  font-weight: 600;
  color: rgba(20,20,20,0.82);
}

.hc-request-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.hc-btn:focus-visible {
  outline: 3px solid rgba(0, 123, 255, 0.35);
  outline-offset: 2px;
}

.hc-btn--primary {
  background: rgba(30, 30, 30, 0.85);
  color: rgba(255,255,255,0.96);
  border-color: rgba(0,0,0,0.20);
}

.hc-btn--ghost {
  background: rgba(255,255,255,0.85);
  color: rgba(20,20,20,0.78);
}

.hc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.08);
}

.hc-request-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: rgba(20,20,20,0.60);
}

.hc-preview-side {
  display: grid;
  gap: 12px;
}

.hc-mini-card {
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.85);
  padding: 16px;
}

.hc-mini-title {
  margin: 0 0 8px;
  font-weight: 800;
}

.hc-mini-list {
  margin: 0;
  padding-left: 16px;
  color: rgba(20,20,20,0.78);
}

.hc-mini-text {
  margin: 0;
  color: rgba(20,20,20,0.78);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .hc-preview-grid {
    grid-template-columns: 1fr;
  }
}
/* Volunteer roles section */
.hc-section-title {
  font-size: 34px;
  font-weight: 900;
  margin: 0 0 8px;
}

.hc-section-subtitle {
  margin: 0 0 18px;
  opacity: 0.8;
}

.hc-chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 10px;
}

.hc-muted {
  font-size: 13px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .hc-grid-3 {
    grid-template-columns: 1fr;
  }
}
/* === HelpChain Airy UI Tokens (ETAP 15) === */
:root{
  --hc-bg: #f4f6fb;
  --hc-surface: rgba(255,255,255,0.92);
  --hc-surface-strong: #ffffff;
  --hc-border: rgba(15, 23, 42, 0.14);
  --hc-border-soft: rgba(15, 23, 42, 0.10);
  --hc-text: #0f172a;
  --hc-muted: rgba(15, 23, 42, 0.72);
  --hc-muted-2: rgba(15, 23, 42, 0.55);

  --hc-radius: 18px;
  --hc-radius-sm: 14px;
  --hc-shadow: 0 16px 44px rgba(2, 6, 23, 0.10);
  --hc-shadow-soft: 0 10px 28px rgba(2, 6, 23, 0.08);

  --hc-max: 1120px;
  --hc-pad: 20px;
  --hc-gap: 14px;
}


/* === Airy base === */
body{
  color: var(--hc-text);
  background: var(--hc-bg);
}

.container{
  max-width: var(--hc-max);
}

a{
  text-underline-offset: 3px;
}
/* === HelpChain Airy UI Tokens (ETAP 15) === */
:root{
  --hc-bg: #f7f8fb;
  --hc-surface: rgba(255,255,255,0.82);
  --hc-surface-strong: #ffffff;
  --hc-border: rgba(18, 24, 40, 0.10);
  --hc-border-soft: rgba(18, 24, 40, 0.08);
  --hc-text: #0f172a;
  --hc-muted: rgba(15, 23, 42, 0.72);
  --hc-muted-2: rgba(15, 23, 42, 0.55);

  --hc-radius: 18px;
  --hc-radius-sm: 14px;
  --hc-shadow: 0 14px 40px rgba(2, 6, 23, 0.08);
  --hc-shadow-soft: 0 10px 28px rgba(2, 6, 23, 0.06);

  --hc-max: 1120px;
  --hc-pad: 20px;
  --hc-gap: 14px;
}

/* === E31.3: Nav account dropdown (Modern NGO) === */
.hc-nav-dd{ position: relative; }

.hc-nav-dd__toggle{
  border: 1px solid var(--hc-border, rgba(15,23,42,0.14));
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.hc-nav-dd__toggle:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(2,6,23,0.08);
  border-color: rgba(2,132,199,0.22);
}

.hc-nav-dd__toggle:focus-visible{
  outline: 3px solid rgba(2,132,199,0.25);
  outline-offset: 2px;
}

.hc-nav-dd__menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--hc-border, rgba(15,23,42,0.14));
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(2,6,23,0.12);
  padding: 8px;
  display: none;
  z-index: 9999;
}

.hc-nav-dd.is-open .hc-nav-dd__menu{ display: block; }

.hc-nav-dd__item{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(15,23,42,0.92);
  transition: background .12s ease, transform .12s ease;
}

.hc-nav-dd__item:hover{
  background: rgba(2,132,199,0.08);
  transform: translateX(1px);
}

.hc-nav-dd__sep{
  height: 1px;
  background: rgba(15,23,42,0.10);
  margin: 6px 6px;
}

/* === E31.4: Nav search pill (Modern NGO) === */
.main-nav .search-container{
  margin-left: 12px;
}

.main-nav .search-input-group{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--hc-border, rgba(15,23,42,0.14));
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 28px rgba(2,6,23,0.05);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.main-nav .search-input-group:focus-within{
  border-color: rgba(2,132,199,0.32);
  box-shadow: 0 18px 44px rgba(2,6,23,0.10);
  transform: translateY(-1px);
}

.main-nav .search-input{
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  min-width: 240px;
  padding: 0 6px !important;
  color: rgba(15,23,42,0.92);
}

.main-nav .search-input::placeholder{
  color: rgba(15,23,42,0.45);
}

.main-nav .search-button{
  border: 1px solid rgba(2,132,199,0.18);
  background: rgba(2,132,199,0.10);
  color: rgba(15,23,42,0.82);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.main-nav .search-button:hover{
  transform: translateY(-1px);
  background: rgba(2,132,199,0.14);
  border-color: rgba(2,132,199,0.28);
  box-shadow: 0 10px 28px rgba(2,6,23,0.08);
}

.main-nav .search-button:focus-visible{
  outline: 3px solid rgba(2,132,199,0.25);
  outline-offset: 2px;
}

@media (max-width: 980px){
  .main-nav .search-input{ min-width: 180px; }
}

@media (max-width: 768px){
  .main-nav .search-container{ display: none !important; }
}

/* === E32.1: Nav row layout (Modern NGO) === */
.main-nav .hc-nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.main-nav .hc-nav-left{
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.main-nav .hc-nav-right{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.main-nav .nav-menu{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav .nav-link-light{
  padding: 10px 10px;
  border-radius: 10px;
  color: rgba(15,23,42,0.82);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.main-nav .nav-link-light:hover{
  background: rgba(2,132,199,0.08);
  color: rgba(15,23,42,0.92);
}

/* === E32.2: Nav mobile behavior (Modern NGO) === */
@media (max-width: 767px){
  .main-nav .hc-nav-row{
    flex-wrap: wrap;
    gap: 10px;
  }

  /* left/right become one row: brand + hamburger */
  .main-nav .hc-nav-left{
    flex: 1 1 auto;
    gap: 10px;
  }

  .main-nav .hc-nav-right{
    flex: 0 0 auto;
    gap: 8px;
  }

  /* hide desktop search + icons on mobile (we'll re-add inside collapse later if needed) */
  .main-nav .search-container.d-none.d-md-block{
    display: none !important;
  }

  /* collapse must be visible on mobile when opened */
  .main-nav #navbarNav{
    width: 100%;
    margin-top: 10px;
  }

  .main-nav #navbarNav .nav-menu{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 0 2px;
  }

  .main-nav #navbarNav .nav-menu > li{
    width: 100%;
  }

  .main-nav #navbarNav .nav-link-light{
    display: block;
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
  }

  .main-nav #navbarNav .hc-btn{
    width: 100%;
    justify-content: center;
  }
}

/* === E32.3: Mobile nav search + account (Modern NGO) === */
/* ===== Premium Navbar ===== */
.hc-nav{
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.72);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.hc-nav .navbar-brand{
  font-weight: 750;
  letter-spacing: -0.02em;
}

.hc-nav .navbar-nav{
  gap: 2px;
}

.hc-nav .navbar-nav .nav-link{
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 520;
  transition: background .18s ease, color .18s ease;
}

.hc-nav .navbar-nav .nav-link:hover{
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.92);
}

.hc-nav .nav-link[aria-current="page"]{
  color: rgba(15, 23, 42, 0.95);
  background: transparent;
  position: relative;
}

.hc-nav .nav-link[aria-current="page"]::after{
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: rgba(37, 99, 235, 0.85);
}

.hc-nav .nav-link.active:not([aria-current="page"]){
  color: rgba(15, 23, 42, 0.95);
}

.hc-iconbtn{
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.80);
  color: rgba(15, 23, 42, 0.70);
  transition: transform .15s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.hc-iconbtn:hover{
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.22);
  color: rgba(15, 23, 42, 0.85);
  transform: translateY(-1px);
}

.hc-iconbtn i{
  font-size: 14px;
}

.hc-ops-kpis { margin-bottom: 40px; }

.hc-health {
  margin-bottom: 25px;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(15, 23, 42, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0f172a;
}

.hc-health__label {
  font-size: 0.9rem;
  opacity: 1;
  color: rgba(15, 23, 42, 0.75);
}

.hc-health__sub {
  margin-top: 4px;
  font-size: 0.84rem;
  color: rgba(15, 23, 42, 0.68);
}

.hc-health__value {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
}

.hc-health__cta-container {
  margin-top: 6px;
}

.hc-health__cta {
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 0.9;
  color: inherit;
}

.hc-health__cta:hover {
  text-decoration: underline;
}

.hc-health--stable {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.4);
}

.hc-health--warning {
  background: rgba(245, 158, 11, 0.09);
  border-color: rgba(245, 158, 11, 0.45);
}

.hc-health--danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.42);
}

.hc-health--stable .hc-health__value,
.hc-health--stable .hc-health__cta,
.hc-health--stable .hc-health__sub {
  color: #166534;
}

.hc-health--warning .hc-health__value,
.hc-health--warning .hc-health__cta,
.hc-health--warning .hc-health__sub {
  color: #92400e;
}

.hc-health--danger .hc-health__value,
.hc-health--danger .hc-health__cta,
.hc-health--danger .hc-health__sub {
  color: #b91c1c;
}

.hc-ops-kpis__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hc-ops-kpis__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hc-ops-kpis__select {
  min-width: 110px;
}

.hc-ops-kpis__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.hc-kpi-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
}

.hc-kpi-card--wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .hc-kpi-card--wide {
    grid-column: span 1;
  }
}

.hc-kpi-card--alert {
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.hc-kpi-card--focus {
  border-color: rgba(245, 158, 11, 0.45);
  background: #fffdf7;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.15) inset;
}

.hc-kpi-card--warning {
  border-color: rgba(245, 158, 11, 0.35);
  background: #fffefa;
}

.hc-kpi-card--healthy {
  border-color: rgba(22, 163, 74, 0.45);
  background: #f8fff9;
}

.hc-kpi-label {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 8px;
}

.hc-kpi-value {
  font-size: 1.8rem;
  font-weight: 700;
}

.hc-kpi-sub {
  font-size: 0.8rem;
  opacity: 0.6;
}

.hc-kpi-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.hc-kpi-list li {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.hc-kpi-category-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.35);
}

.hc-kpi-category-link:hover {
  color: #2563eb;
  border-bottom-color: rgba(37, 99, 235, 0.45);
}

.hc-dd__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.hc-dd__title{
  font-weight: 750;
  color: rgba(15,23,42,.92);
}

.hc-dd__link{
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  color: rgba(37,99,235,.92);
}

.hc-dd__empty{
  padding: 14px 12px;
}

.hc-dd__emptyTitle{
  font-weight: 700;
  color: rgba(15,23,42,.88);
}

.hc-dd__emptyText{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(15,23,42,.62);
}

.hc-vdash-empty{
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.85);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.hc-vdash-empty__title{ font-weight: 750; }

.hc-vdash-empty__text{
  margin-top: 4px;
  color: rgba(15,23,42,.62);
  font-size: 14px;
}

.hc-toast{
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 360px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.92);
  color: rgba(255,255,255,.92);
  box-shadow: 0 18px 40px rgba(15,23,42,.22);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  font-size: 13px;
}

.hc-toast.is-on{
  opacity: 1;
  transform: translateY(0);
}

.hc-cta{
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 650;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.hc-nav-search {
  display: flex;
  align-items: center;
  min-width: 0;
}

.hc-nav-intervenant-links{
  display: flex;
  align-items: center;
  gap: 8px;
}

.hc-nav-intervenant-links__item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, .18);
  background: rgba(255,255,255,.72);
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.hc-nav-intervenant-links__item:hover{
  background: rgba(239, 246, 255, .95);
  border-color: rgba(37, 99, 235, .28);
  color: #1d4ed8;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .10);
  transform: translateY(-1px);
}

.hc-nav-intervenant-links__item--accent{
  background: rgba(37, 99, 235, .10);
  border-color: rgba(37, 99, 235, .24);
}

.hc-nav-intervenant-links__item--accent:hover{
  background: rgba(37, 99, 235, .14);
}

.hc-labelswap{
  display: inline-flex;
  align-items: center;
}

.hc-labelswap__short{
  display: none;
}

.hc-nav-search__box{
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 14px;
  padding: 6px;
  gap: 6px;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.hc-nav-search__input{
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 10px;
  width: 220px;
  font-size: 14px;
  color: #0f172a;
}

.hc-nav-search__btn{
  border: 0;
  background: rgba(37, 99, 235, .10);
  color: #2563eb;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, background .2s ease;
}

.hc-nav-search__btn:hover{
  background: rgba(37, 99, 235, .16);
  transform: translateY(-1px);
}

.hc-nav-search__box:focus-within{
  background: rgba(255,255,255,.95);
  border-color: rgba(37, 99, 235, .45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.hc-nav-mobile{
  display: grid;
  gap: 10px;
  padding: 10px 0 2px;
}

.hc-nav-mobile__search{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--hc-border);
  border-radius: 14px;
  background: rgba(255,255,255,0.7);
  box-shadow: var(--hc-shadow-sm);
}

.hc-nav-mobile__account{
  display: grid;
  gap: 6px;
}

@media (max-width: 992px){
  .hc-nav-search__input{
    width: 160px;
  }
}

/* Desktop navbar stability across browsers (Chrome/Edge/Firefox font metrics differ) */
@media (min-width: 992px){
  .hc-navbar .navbar-collapse{
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .hc-navbar .navbar-nav{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 2px;
  }

  .hc-navbar .nav-link{
    padding-left: 10px;
    padding-right: 10px;
  }

  .hc-nav-search{
    flex: 0 1 auto;
  }

  .hc-nav-intervenant-links{
    flex: 0 0 auto;
  }
}

@media (min-width: 992px) and (max-width: 1600px){
  .hc-nav-intervenant-links__item{
    min-height: 36px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .hc-nav-search__input{
    width: 170px;
  }
}

@media (min-width: 992px) and (max-width: 1760px){
  .hc-labelswap__long{
    display: none;
  }

  .hc-labelswap__short{
    display: inline;
  }

  .hc-nav-intervenant-links__item{
    min-height: 34px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .hc-nav-search__input{
    width: 150px;
  }
}

@media (min-width: 992px) and (max-width: 1360px){
  .hc-nav-search__input{
    width: 170px;
  }

  .hc-navbar .nav-link{
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.94rem;
  }

  .hc-navbar .nav-link.hc-nav-cta{
    padding: 8px 10px;
  }

}

@media (min-width: 992px) and (max-width: 1500px){
  .hc-nav-search{
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1180px){
  .hc-nav-intervenant-links{
    display: none !important;
  }
}

/* === E32.4: Mobile primary CTA in nav (Modern NGO) === */
.hc-nav-mobile__cta{
  width: 100%;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.10);
}

.hc-search-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hc-search-card{
  display: block;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.9);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.hc-search-card:hover{
  transform: translateY(-1px);
  border-color: rgba(37,99,235,.25);
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}

.hc-search-card__title{
  font-weight: 650;
}

.hc-search-card__sub{
  font-size: 12px;
  color: rgba(15,23,42,.60);
  margin-top: 2px;
}

.hc-search-card__snip{
  font-size: 13px;
  color: rgba(15,23,42,.72);
  margin-top: 8px;
}

.hc-search-card mark{
  background: rgba(37, 99, 235, 0.15);
  color: inherit;
  border-radius: 4px;
  padding: 0 2px;
}

@media (max-width: 992px){
  .hc-search-grid{
    grid-template-columns: 1fr;
  }
}

/* === E33.2: Nav links states (Modern NGO) === */
.main-nav .nav-link-light{
  position: relative;
  border-radius: 12px;
  padding: 8px 10px;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.main-nav .nav-link-light:hover{
  background: rgba(2,132,199,0.08);
}

.main-nav .nav-link-light:focus-visible{
  outline: 3px solid rgba(2,132,199,0.28);
  outline-offset: 2px;
}

.main-nav .nav-link-light.is-active{
  background: rgba(2,132,199,0.12);
  color: rgba(2, 6, 23, 0.92);
  box-shadow: 0 10px 20px rgba(2,6,23,0.06);
}

.main-nav .nav-link-light.is-active::after{
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 99px;
  background: rgba(2,132,199,0.50);
}

/* === E33.3: Nav dropdown premium surface (Modern NGO) === */
.hc-nav-dd__menu{
  border: 1px solid rgba(15,23,42,0.14);
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(2,6,23,0.10);
  overflow: hidden;
}

.hc-nav-dd__menu a{
  padding: 10px 12px;
}

.hc-nav-dd__menu a:hover{
  background: rgba(2,132,199,0.08);
}

/* === E34: Hero micro-promise (Modern NGO) === */
.hc-hero .hc-hero__micro{
  margin: 10px 0 0;
  font-size: 0.98rem;
  color: rgba(15,23,42,0.78);
}

.hc-hero .hc-hero__helper{
  margin-top: 10px;
  font-size: 0.95rem;
  color: rgba(15,23,42,0.70);
}

/* === E35: Hero proof chips (Modern NGO) === */
.hc-hero__proof{
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hc-proofchip{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: 0 8px 22px rgba(2,6,23,0.06);
  color: rgba(15,23,42,0.78);
  font-size: 0.92rem;
  line-height: 1;
  backdrop-filter: blur(8px);
}
@media (max-width: 720px){
  .hc-proofchip{ width: auto; }
}

/* === E36: Volunteer Quick Start (Modern NGO) === */
.hc-quickstart{
  padding-top: 34px;
  padding-bottom: 34px;
}
.hc-qs__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.hc-qs__card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: 0 10px 28px rgba(2,6,23,0.06);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hc-qs__card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(2,6,23,0.10);
  border-color: rgba(2,132,199,0.22);
}
.hc-qs__card:focus-visible{
  outline: 3px solid rgba(2,132,199,0.35);
  outline-offset: 3px;
}
.hc-qs__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(2,132,199,0.08);
  border: 1px solid rgba(2,132,199,0.14);
  flex: 0 0 auto;
  font-size: 1.2rem;
}
.hc-qs__title{
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(15,23,42,0.90);
}
.hc-qs__text{
  margin-top: 2px;
  color: rgba(15,23,42,0.72);
  font-size: 0.96rem;
  line-height: 1.35;
}
.hc-qs__go{
  margin-left: auto;
  color: rgba(15,23,42,0.55);
  font-weight: 800;
}
.hc-qs__fineprint{
  margin: 12px 0 0;
  text-align: center;
  color: rgba(15,23,42,0.62);
  font-size: 0.95rem;
}
@media (max-width: 980px){
  .hc-qs__grid{ grid-template-columns: 1fr; }
}

/* === E37: Return hook (Modern NGO) === */
.hc-qs__return{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15,23,42,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hc-qs__return-left{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hc-qs__return-text{
  color: rgba(15,23,42,0.70);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-qs__badge{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(2,132,199,0.10);
  border: 1px solid rgba(2,132,199,0.18);
  color: rgba(2,132,199,0.92);
  font-weight: 800;
  font-size: 0.85rem;
  flex: 0 0 auto;
}
.hc-qs__return-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.hc-btn.hc-btn--ghost{
  background: rgba(2,6,23,0.03);
  border: 1px solid rgba(15,23,42,0.10);
  color: rgba(15,23,42,0.84);
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 800;
}
.hc-btn.hc-btn--ghost:hover{
  border-color: rgba(2,132,199,0.22);
  box-shadow: 0 10px 28px rgba(2,6,23,0.06);
  transform: translateY(-1px);
}
.hc-btn.hc-btn--ghost.is-active{
  background: rgba(2,132,199,0.12);
  border-color: rgba(2,132,199,0.28);
  color: rgba(2,132,199,0.95);
}
.hc-btn.hc-btn--link{
  background: transparent;
  border: 0;
  padding: 9px 10px;
  border-radius: 999px;
  color: rgba(2,132,199,0.92);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
}
@media (max-width: 860px){
  .hc-qs__return{
    flex-direction: column;
    align-items: stretch;
  }
  .hc-qs__return-actions{
    justify-content: flex-start;
  }
  .hc-qs__return-text{
    white-space: normal;
  }
}

/* === E38: Volunteer Promise Bar (Modern NGO) === */
.hc-promise{
  margin-top: 36px;
  padding: 20px 0;
  background: linear-gradient(
    to bottom,
    rgba(244,246,251,0.92),
    rgba(255,255,255,0.96)
  );
  border-top: 1px solid rgba(15,23,42,0.08);
}

.hc-promise__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hc-promise__list{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-promise__list li{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(15,23,42,0.78);
  font-weight: 700;
  font-size: 0.95rem;
}

.hc-promise__icon{
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(2,132,199,0.12);
  color: rgba(2,132,199,0.95);
  font-weight: 900;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.hc-promise__cta{
  flex: 0 0 auto;
}

@media (max-width: 860px){
  .hc-promise__inner{
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .hc-promise__list{
    justify-content: center;
  }
  .hc-promise__cta{
    width: 100%;
  }
  .hc-promise__cta .hc-btn{
    width: 100%;
    text-align: center;
  }
}

/* === E39.1: Focus + link hygiene (Modern NGO) === */
:focus { outline: none; }

:focus-visible{
  outline: 3px solid rgba(2,132,199,0.35);
  outline-offset: 3px;
  border-radius: 12px;
}

a{
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover{
  text-decoration-thickness: 2px;
}

/* === E39.2: Anchor offset (Modern NGO) === */
:root{
  scroll-padding-top: 88px;
}

[id]{
  scroll-margin-top: 88px;
}

/* === E39.3: Reduced motion global guard (Modern NGO) === */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === E39.4: Button states polish (Modern NGO) === */
.hc-btn{
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.hc-btn:active{
  transform: translateY(0px);
  box-shadow: none;
}

.hc-btn--primary:hover{
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.10);
}

.hc-btn--primary:active{
  transform: translateY(1px);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.10);
}

/* === E40.3: Hero layout stability (Modern NGO) === */
.hc-hero{
  min-height: 92vh;
}

/* === E41.2: Trust micro-badges (Modern NGO) === */
.hc-trust-badges{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.hc-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--hc-border, rgba(15,23,42,0.12));
  color: rgba(15,23,42,0.82);
  font-size: 0.92rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(2,6,23,0.06);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.hc-badge i{
  color: rgba(2,132,199,0.9);
}

.hc-badge:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(2,6,23,0.08);
  border-color: rgba(2,132,199,0.25);
}

@media (max-width: 720px){
  .hc-badge{ font-size: 0.9rem; }
}

/* === E41.3: Soft ring hover for hc cards (Modern NGO) === */
.hc-card:hover,
.hc-story:hover,
.impact-card:hover{
  box-shadow: 0 18px 44px rgba(2,6,23,0.10);
  border-color: rgba(2,132,199,0.22);
}

/* === E42.1: Smooth anchors (Modern NGO) === */
html{
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

/* === E42.2: Anchor offset failsafe (Modern NGO) === */
:target{
  scroll-margin-top: 86px;
}

/* === E42.3: Hero scroll cue polish (Modern NGO) === */
.hc-hero__hint{
  margin-top: 14px;
  font-size: 0.95rem;
  color: rgba(15,23,42,0.70);
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 10px 26px rgba(2,6,23,0.06);
}

.hc-hero__hint::before{
  content: "↓";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(2,132,199,0.10);
  border: 1px solid rgba(2,132,199,0.18);
  color: rgba(2,132,199,0.95);
}

/* === E43.1: Button system unification (Modern NGO) === */
:root{
  --hc-btn-radius: 12px;
  --hc-btn-pad-y: 10px;
  --hc-btn-pad-x: 16px;
  --hc-btn-font: 600;
  --hc-btn-shadow: 0 8px 20px rgba(2,6,23,0.08);
  --hc-btn-shadow-hover: 0 12px 26px rgba(2,6,23,0.12);
  --hc-btn-ring: 0 0 0 3px rgba(37,99,235,0.20);
}

/* Base for all premium buttons */
.hc-btn,
a.hc-btn,
button.hc-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--hc-btn-pad-y) var(--hc-btn-pad-x);
  border-radius: var(--hc-btn-radius);
  font-weight: var(--hc-btn-font);
  text-decoration: none;
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: var(--hc-btn-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
  will-change: transform;
}

.hc-btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--hc-btn-shadow-hover);
  border-color: rgba(2,132,199,0.22);
}

.hc-btn:active{
  transform: translateY(0px);
  box-shadow: 0 8px 18px rgba(2,6,23,0.10);
}

.hc-btn:focus-visible{
  outline: none;
  box-shadow: var(--hc-btn-shadow), var(--hc-btn-ring);
}

/* Primary */
.hc-btn--primary{
  background: rgba(2,132,199,0.96);
  color: #fff;
  border-color: rgba(2,132,199,0.38);
}

.hc-btn--primary:hover{
  background: rgba(2,132,199,1);
}

/* Secondary (light) */
.hc-btn--ghost{
  background: rgba(255,255,255,0.82);
  color: rgba(15,23,42,0.92);
}

.hc-btn--ghost:hover{
  background: rgba(255,255,255,0.92);
}

/* Small variant */
.hc-btn--sm{
  padding: 9px 14px;
  font-size: 0.95rem;
}

/* === E44: CTA actions unify (Modern NGO) === */
.hc-cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  margin-top:16px;
}

.hc-cta-actions .hc-btn{
  min-width: 220px;
}

@media (max-width: 520px){
  .hc-cta-actions .hc-btn{
    width:100%;
    min-width: 0;
  }
}

/* === E45: Accordion header density + iconography (Modern NGO) === */
.hc-accordion{ margin-top: 14px; }

.hc-acc{
  border-radius: 18px;
  overflow: clip;
}

.hc-acc__summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 16px;
  cursor:pointer;
}

.hc-acc__left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.hc-acc__icon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-size: 18px;
  background: rgba(2,132,199,0.08);
  border: 1px solid rgba(2,132,199,0.18);
  flex: 0 0 auto;
}

.hc-acc__text{ min-width:0; }

.hc-acc__title{
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hc-acc__summaryline{
  display:block;
  margin-top: 2px;
  color: rgba(15,23,42,0.72);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hc-acc__right{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 0 0 auto;
}

.hc-acc__meta{
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.06);
  border: 1px solid rgba(15,23,42,0.10);
  color: rgba(15,23,42,0.78);
}

.hc-acc__chev{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.7);
  transition: transform .18s ease;
}

details.hc-acc[open] .hc-acc__chev{
  transform: rotate(180deg);
}

@media (max-width: 520px){
  .hc-acc__summary{ padding: 12px 14px; }
  .hc-acc__meta{ display:none; }
}

/* === E46: Accordion body readability (Modern NGO) === */

.hc-acc__body{
  padding: 14px 16px 18px;
}

.hc-acc__body .hc-title{
  font-size: 1.25rem;
  margin: 4px 0 10px;
}

.hc-acc__body .hc-lead{
  max-width: 72ch;
  color: rgba(15,23,42,0.82);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hc-acc__body .hc-grid-2,
.hc-acc__body .hc-grid-3{
  margin-top: 14px;
}

.hc-acc__body .hc-card{
  border: 1px solid var(--hc-border, rgba(15,23,42,0.12));
  background: rgba(255,255,255,0.82);
}

.hc-acc__body .hc-card-title{
  margin-bottom: 6px;
}

.hc-acc__body .hc-card-text{
  color: rgba(15,23,42,0.78);
  line-height: 1.65;
}

/* Stories: по-ефирно и подравнено */
.hc-acc__body .hc-stories{
  margin-top: 12px;
}

.hc-acc__body .hc-story{
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--hc-border, rgba(15,23,42,0.12));
}

/* На мобилно: по-малко padding */
@media (max-width: 520px){
  .hc-acc__body{ padding: 12px 14px 16px; }
  .hc-acc__body .hc-lead{ font-size: 1rem; }
}
/* === E47: Impact + KPI readability (Modern NGO) === */

/* Impact section head */
#impact .hc-section__title{
  margin-bottom: 6px;
}

#impact .hc-section__subtitle{
  max-width: 74ch;
  margin: 0 auto;
}

/* KPI grid: равни карти */
#impact .impact-kpis{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 980px){
  #impact .impact-kpis{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  #impact .impact-kpis{ grid-template-columns: 1fr; }
}

/* KPI cards */
#impact .impact-kpi{
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--hc-border, rgba(15,23,42,0.12));
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
}

#impact .impact-kpi__label{
  font-size: 0.92rem;
  color: rgba(15,23,42,0.70);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

#impact .impact-kpi__value{
  font-size: 1.65rem;
  font-weight: 800;
  color: rgba(15,23,42,0.92);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

#impact .impact-kpi__hint{
  margin-top: 8px;
  font-size: 0.92rem;
  color: rgba(15,23,42,0.66);
}

/* Secondary block (SLA + categories): повече въздух */
#impact .impact-meta{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
}

@media (max-width: 980px){
  #impact .impact-meta{ grid-template-columns: 1fr; }
}

#impact .impact-panel{
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--hc-border, rgba(15,23,42,0.12));
  border-radius: 16px;
  padding: 14px;
}

#impact .impact-panel__title{
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: rgba(15,23,42,0.90);
}

#impact .impact-sla{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 520px){
  #impact .impact-sla{ grid-template-columns: 1fr; }
}

#impact .impact-sla__item{
  border: 1px dashed rgba(2,132,199,0.22);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(2,132,199,0.06);
}

#impact .impact-sla__label{
  font-size: 0.9rem;
  color: rgba(15,23,42,0.70);
  margin: 0 0 6px;
}

#impact .impact-sla__value{
  font-weight: 800;
  font-size: 1.12rem;
  font-variant-numeric: tabular-nums;
}

/* Categories chips: по-тихи */
#impact .impact-chip{
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.10);
  color: rgba(15,23,42,0.80);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

/* Footer note */
#impact .impact-footer{
  margin-top: 10px;
  font-size: 0.92rem;
  color: rgba(15,23,42,0.62);
}
/* === E48: Impact empty-state + chips + SLA tone (Modern NGO) === */

.impact-card .impact-kpi {
  font-variant-numeric: tabular-nums;
}

.impact-card .impact-kpi__label,
.impact-card .impact-kpi__title,
.impact-card .impact-kpi-label {
  line-height: 1.2;
}

.impact-card .impact-kpi__value,
.impact-card .impact-kpi-value,
.impact-card .impact-kpi-number {
  letter-spacing: -0.02em;
}

.impact-card .impact-chip,
#impact_categories .impact-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: .25rem .35rem .0 0;
  white-space: nowrap;
}

#impact_categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .45rem;
}

/* SLA rows: make "no data" look intentional */
.impact-card .impact-sla-row,
.impact-card .impact-sla {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem 1rem;
  align-items: baseline;
}

.impact-card [id^="impact_sla_"] {
  font-weight: 600;
}

/* If we print "(недостатъчно данни)" – soften it */
.impact-card .impact-muted,
.impact-card .impact-note,
.impact-card small {
  opacity: .8;
}

/* Footer line readability */
.impact-card .impact-footer,
.impact-card .impact-foot,
#impact_updated_at,
#impact_privacy_note {
  font-size: .95rem;
  opacity: .75;
}
/* === E49: Impact + KPI layout refinement (Modern NGO) === */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.impact-kpi,
.impact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
}

.impact-kpi-number {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.impact-kpi-label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--hc-muted);
}

.impact-kpi-hint {
  margin-top: auto;
  font-size: 12px;
  color: var(--hc-muted-soft);
}

@media (max-width: 640px) {
  .impact-grid {
    gap: 12px;
  }

  .impact-kpi,
  .impact-card {
    min-height: auto;
  }
}
/* === E49: Impact + KPI layout refinement (Modern NGO) === */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.impact-kpi,
.impact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
}

.impact-kpi-number {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.impact-kpi-label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--hc-muted);
}

.impact-kpi-hint {
  margin-top: auto;
  font-size: 12px;
  color: var(--hc-muted-soft);
}

@media (max-width: 640px) {
  .impact-grid {
    gap: 12px;
  }

  .impact-kpi,
  .impact-card {
    min-height: auto;
  }
}
/* E49.a: Accordion body mobile spacing */
.hc-acc__body {
  padding-top: 12px;
}

/* E49.b: Sticky CTA mobile offset */
@media (max-width: 720px){
  .hc-sticky-cta{
    bottom: 12px;
  }
}
/* E49.a: Accordion body mobile spacing */
.hc-acc__body {
  padding-top: 12px;
}

/* E49.b: Sticky CTA mobile offset */
@media (max-width: 720px){
  .hc-sticky-cta{
    bottom: 12px;
  }
}
/* E50.1: Text micro-contrast */
.hc-section__subtitle,
.hc-lead,
.hc-card-text,
.hc-story-text {
  color: rgba(15, 23, 42, 0.82);
}

.hc-muted,
.hc-acc__summaryline {
  color: rgba(15, 23, 42, 0.62);
}

/* E50.2: Card edge lift */
.hc-card,
.hc-story,
.hc-request-card {
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.hc-card:hover,
.hc-story:hover,
.hc-request-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
}

/* E50.3: Soft section separators */
.hc-section + .hc-section::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(15,23,42,0.06),
    transparent
  );
  margin-bottom: 32px;
}

/* E50.4: Focus-visible polish */
:focus-visible {
  outline: 2px solid rgba(2,132,199,0.6);
  outline-offset: 2px;
  border-radius: 6px;
}
/* E50.1: Text micro-contrast */
.hc-section__subtitle,
.hc-lead,
.hc-card-text,
.hc-story-text {
  color: rgba(15, 23, 42, 0.82);
}

.hc-muted,
.hc-acc__summaryline {
  color: rgba(15, 23, 42, 0.62);
}

/* E50.2: Card edge lift */
.hc-card,
.hc-story,
.hc-request-card {
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.hc-card:hover,
.hc-story:hover,
.hc-request-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
}

/* E50.3: Soft section separators */
.hc-section + .hc-section::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(15,23,42,0.06),
    transparent
  );
  margin-bottom: 32px;
}

/* E50.4: Focus-visible polish */
:focus-visible {
  outline: 2px solid rgba(2,132,199,0.6);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (max-width: 480px) {
  #cgw_action_btn { display: none !important; }
}


@media (max-width: 480px) {
  #cgw_action_btn { display: none !important; }
}


/* === E52.x: Mobile overflow hard-stop === */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
img, svg, video, canvas { max-width: 100%; height: auto; }
pre, code { max-width: 100%; overflow-x: auto; }


/* === E52.x: Mobile overflow hard-stop === */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}
img, svg, video, canvas { max-width: 100%; height: auto; }
pre, code { max-width: 100%; overflow-x: auto; }


/* === E52.4: Mobile overflow fix — accordion (hc-acc) === */
.hc-acc,
.hc-acc__summary,
.hc-acc__body {
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 480px) {
  /* details container must never exceed viewport */
  details.hc-acc {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden; /* kills accidental inner overflow */
  }

  /* summary line: allow wrapping instead of pushing width */
  .hc-acc__summary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* the right block (time + chevron) must not force width */
  .hc-acc__right {
    flex: 0 0 auto;
    min-width: 0;
  }

  /* body content must not create horizontal scroll */
  .hc-acc__body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  /* any grids inside accordion must wrap on mobile */
  .hc-acc__body .hc-grid-2,
  .hc-acc__body .hc-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Trust badges — refined premium */
.hc-hero .hc-hero__subtitle{
  margin-bottom: 8px;
}

.hc-hero .hc-trust{
  margin-top: 4px;
  margin-bottom: 12px;
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  color: var(--hc-muted, #5b6676);
  font-size: 0.94rem;
  letter-spacing: 0.3px;
}

.hc-hero .hc-trust__item{
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: transparent;
  font-weight: 600;
}

.hc-hero .hc-trust__item--strong{
  border-color: rgba(47,111,237,0.35);
  background: rgba(47,111,237,0.06);
  color: var(--hc-text, #0f172a);
  font-weight: 600;
}

.hc-hero .hc-trust__dot{
  opacity: 0.45;
}

/* Dark mode support (uses your existing theme switch class if present) */
[data-theme="dark"] .hc-hero .hc-trust{
  color: rgba(226,232,240,0.78);
}

[data-theme="dark"] .hc-hero .hc-trust__item{
  border-color: rgba(226,232,240,0.18);
  background: transparent;
}

[data-theme="dark"] .hc-hero .hc-trust__item--strong{
  border-color: rgba(90,139,255,0.45);
  background: rgba(90,139,255,0.14);
  color: rgba(226,232,240,0.92);
}

/* --- Hero mini counters (v1) --- */
.hc-hero__stats{
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--hc-text-muted, #6b7280);
  font-size: 0.95rem;
}

.hc-stat{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(15,23,42,0.08);
  backdrop-filter: blur(6px);
}

.hc-stat__value{
  font-weight: 700;
  color: var(--hc-text, #0f172a);
  letter-spacing: -0.02em;
}

.hc-stat__label{
  font-weight: 500;
}

.hc-stat__dot{
  opacity: 0.55;
}

/* Dark mode friendly */
[data-theme="dark"] .hc-stat{
  background: rgba(15,23,42,0.35);
  border-color: rgba(255,255,255,0.10);
}

[data-theme="dark"] .hc-stat__value{
  color: rgba(255,255,255,0.92);
}

.hc-how{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--hc-text-muted);
}

.hc-how__item{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15,23,42,.08);
}

.hc-how__icon{
  font-size: 14px;
  line-height: 1;
}

.hc-how__sep{
  opacity: .45;
}

.hc-hero__microcopy{
  margin: 14px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--hc-muted, #6b7280);
  max-width: 820px;
}

.hc-hero__microcopy .hc-dot{
  margin: 0 10px;
  opacity: .55;
}

/* === HelpChain v1 – Legal strip (compact) === */
.hc-footer__legal,
.hc-footer-legal,
.hc-legal-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  font-size: 0.85rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);

  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  margin-top: 18px;
}

.hc-footer__legal a,
.hc-footer-legal a,
.hc-legal-strip a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 500;
}

.hc-footer__legal a:hover,
.hc-footer-legal a:hover,
.hc-legal-strip a:hover {
  text-decoration: underline;
}

@media (max-width: 520px) {
  .hc-footer__legal,
  .hc-footer-legal,
  .hc-legal-strip {
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
  }
}


/* === E52.4: Mobile overflow fix — accordion (hc-acc) === */
.hc-acc,
.hc-acc__summary,
.hc-acc__body {
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 480px) {
  /* details container must never exceed viewport */
  details.hc-acc {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden; /* kills accidental inner overflow */
  }

  /* summary line: allow wrapping instead of pushing width */
  .hc-acc__summary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* the right block (time + chevron) must not force width */
  .hc-acc__right {
    flex: 0 0 auto;
    min-width: 0;
  }

  /* body content must not create horizontal scroll */
  .hc-acc__body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  /* any grids inside accordion must wrap on mobile */
  .hc-acc__body .hc-grid-2,
  .hc-acc__body .hc-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
  }
}



/* --- WHY HELPCHAIN (v1) --- */
.hc-why{
  padding: 56px 20px 24px;
  background: linear-gradient(180deg, rgba(47,111,237,.03), rgba(255,255,255,0));
}

.hc-why__container{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.hc-why__card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 22px 20px 24px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}

.hc-why__card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.hc-why__icon{
  font-size: 28px;
  margin-bottom: 10px;
}

.hc-why__card h3{
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--hc-text, #0f172a);
}

.hc-why__card p{
  font-size: 14px;
  color: var(--hc-muted, #6b7280);
  line-height: 1.5;
}

/* =========================
   HERO: KPI COUNTERS (v1)
   ========================= */

.hc-hero__meta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hc-hero__counters {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hc-kpi,
.hc-hero__counters .hc-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: var(--HC_TEXT, #0f172a);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}

.hc-kpi strong,
.hc-hero__counters .hc-counter strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.2px;
}

.hc-kpi:hover,
.hc-hero__counters .hc-counter:hover {
  background: rgba(15, 23, 42, 0.085);
  border-color: rgba(47, 111, 237, 0.25);
}

/* make the old "grey pills" stop looking disabled */
.hero-light .hero-content .hero-buttons + .hero-counters,
.hero-light .hero-content .hero-counters {
  opacity: 1 !important;
  filter: none !important;
}

/* === HelpChain v1 – Hero vertical rhythm fix === */

.hc-hero,
.hero-light {
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
  min-height: unset;
}

.hc-hero .hero-content,
.hero-light .hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hc-hero__title {
  margin-bottom: 0.75rem;
}

.hc-hero__subtitle {
  margin-bottom: 1.75rem;
}

.hc-hero .hero-buttons,
.hero-light .hero-buttons {
  margin-top: 1.25rem;
}

.hc-hero__stats,
.hc-hero__counters,
.hc-counters {
  margin-top: 0.75rem;
}

/* === HelpChain v1 – Step 4: hero micro-polish === */

/* Make trust badges block lighter + smaller */
.hc-hero .hc-trust,
.hc-hero .trust-badges,
.hc-hero .hc-hero__trust {
  background: transparent !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  max-width: 720px;
  margin: 4px auto 12px;
}

/* Tighten spacing below CTA */
.hc-hero .hero-buttons { margin-top: 1.1rem; }
.hc-hero .hc-hero__stats,
.hc-hero .hc-hero__counters,
.hc-hero .hc-counters { margin-top: 0.6rem; }

/* Make the "credibility line" compact */
.hc-hero .hc-trustline,
.hc-hero .hero-trustline,
.hc-hero .hc-hero__trustline,
.hc-hero .hc-hero__microcopy {
  margin-top: 0.55rem;
  gap: 14px;
  font-size: 0.95rem;
  opacity: 0.92;
}

/* Slightly tighten How it works pills row */
.hc-hero .hc-howitworks,
.hc-hero .hero-howitworks,
.hc-hero .hc-hero__howitworks,
.hc-hero .hc-how {
  margin-top: 0.55rem;
  gap: 10px;
}


/* === Step 5: Soft hero fade-in (CSS-only, no libs) === */
@media (prefers-reduced-motion: no-preference) {
  .hc-hero .hero-content > * {
    opacity: 0;
    transform: translateY(10px);
    animation: hcFadeUp 520ms ease-out forwards;
  }

  /* Stagger: title -> subtitle -> badges -> CTAs -> counters -> micro-steps */
  .hc-hero .hero-content > *:nth-child(1) { animation-delay: 40ms; }
  .hc-hero .hero-content > *:nth-child(2) { animation-delay: 90ms; }
  .hc-hero .hero-content > *:nth-child(3) { animation-delay: 140ms; }
  .hc-hero .hero-content > *:nth-child(4) { animation-delay: 190ms; }
  .hc-hero .hero-content > *:nth-child(5) { animation-delay: 240ms; }
  .hc-hero .hero-content > *:nth-child(6) { animation-delay: 290ms; }

  /* Optional: subtle entrance for first section cards right after hero */
  #features .card,
  .features-section .card {
    opacity: 0;
    transform: translateY(8px);
    animation: hcFadeUp 520ms ease-out forwards;
    animation-delay: 260ms;
  }

  @keyframes hcFadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-hero .hero-content > *,
  #features .card,
  .features-section .card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Step 12 — Hero micro-animations */
@media (prefers-reduced-motion: no-preference) {
  .hc-hero {
    animation: hcFadeUpSection 0.6s ease-out both;
  }

  .hc-kpis {
    animation: hcFadeUpSection 0.8s ease-out both;
    animation-delay: 0.15s;
  }

  @keyframes hcFadeUpSection {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Step 12 — Hero micro-animations */
@media (prefers-reduced-motion: no-preference) {
  .hc-hero {
    animation: hcFadeUpSection 0.6s ease-out both;
  }

  .hc-kpis {
    animation: hcFadeUpSection 0.8s ease-out both;
    animation-delay: 0.15s;
  }

  @keyframes hcFadeUpSection {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Step 9 — Why HelpChain section polish */
.hc-why-section,
.features-section {
  margin-top: 3.5rem;
  margin-bottom: 4rem;
}

.hc-why-section .section-title,
.features-section .text-center h2 {
  margin-bottom: 0.75rem;
}

.hc-why-section .section-subtitle,
.features-section .text-center p.lead {
  margin-bottom: 2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.hc-why-section .feature-card,
.features-section .feature-card-light {
  padding: 1.4rem 1.4rem 1.6rem;
}

.hc-why-section .feature-card h3,
.features-section .feature-card-light .feature-title-light {
  margin-bottom: 0.4rem;
}

.hc-why-section .feature-card p,
.features-section .feature-card-light .feature-description-light {
  line-height: 1.55;
  opacity: 0.95;
}

/* HC v1 - Mini "How it works" row (hero) */
.hc-how-mini {
  margin: 18px auto 0;
  padding: 14px 16px;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  background: var(--hc-surface, rgba(255,255,255,.7));
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.hc-how-mini__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hc-how-mini__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(47,111,237,.08);
  font-size: 18px;
}

.hc-how-mini__title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.1;
}

.hc-how-mini__desc {
  font-size: 0.9rem;
  opacity: 0.82;
  margin-top: 2px;
}

.hc-how-mini__sep {
  width: 1px;
  height: 34px;
  background: rgba(0,0,0,.10);
}

@media (max-width: 768px) {
  .hc-how-mini {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hc-how-mini__sep {
    width: 100%;
    height: 1px;
  }
}

/* --- HelpChain v1: Trust badges (hero) --- */
.hc-trust-badges{
  display:flex;
  gap:.6rem;
  justify-content:center;
  flex-wrap:wrap;
  margin:.85rem 0 1.1rem;
}

.hc-badge-pill{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.42rem .72rem;
  border-radius:999px;
  font-size:.92rem;
  line-height:1;
  color: rgba(15, 23, 42, .75);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
  backdrop-filter: blur(8px);
  text-decoration:none;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.hc-badge-pill i{
  opacity:.85;
  width: 1.05rem;
  text-align: center;
}

.hc-badge-pill:hover{
  transform: translateY(-1px);
}

/* HC v1 — Mini "How it works" row (hero) */
.hc-how-mini {
  margin: 18px auto 0;
  padding: 14px 16px;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  background: var(--hc-surface, rgba(255,255,255,.7));
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.hc-how-mini__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hc-how-mini__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(47,111,237,.08);
  font-size: 18px;
}

.hc-how-mini__title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.1;
}

.hc-how-mini__desc {
  font-size: 0.9rem;
  opacity: 0.82;
  margin-top: 2px;
}

.hc-how-mini__sep {
  width: 1px;
  height: 34px;
  background: rgba(0,0,0,.10);
}

@media (max-width: 768px) {
  .hc-how-mini {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hc-how-mini__sep {
    width: 100%;
    height: 1px;
  }
}

/* Step 10 fix — ensure trustline text stays visible in hero */
.hc-hero .hc-trustline,
.hc-hero .hc-trustline__item,
.hc-hero .hc-trustline__dot {
  color: var(--hc-text-muted, #475569);
}

.hc-hero .hc-trustline__link {
  color: var(--hc-primary, #2F6FED);
}

[data-theme="dark"] .hc-hero .hc-trustline,
[data-theme="dark"] .hc-hero .hc-trustline__item,
[data-theme="dark"] .hc-hero .hc-trustline__dot {
  color: rgba(226, 232, 240, 0.78);
}

[data-theme="dark"] .hc-hero .hc-trustline__link {
  color: rgba(90, 139, 255, 0.95);
}

/* Defensive: ensure trustline parts are never hidden */
.hc-hero .hc-trustline__item,
.hc-hero .hc-trustline__dot {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1;
}

/* Defensive: ensure trustline parts are never hidden */
.hc-hero .hc-trustline__item,
.hc-hero .hc-trustline__dot {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1;
}

/* Step 10 fix — ensure trustline text stays visible in hero */
.hc-hero .hc-trustline,
.hc-hero .hc-trustline__item,
.hc-hero .hc-trustline__dot {
  color: var(--hc-text-muted, #475569);
}

.hc-hero .hc-trustline__link {
  color: var(--hc-primary, #2F6FED);
}

[data-theme="dark"] .hc-hero .hc-trustline,
[data-theme="dark"] .hc-hero .hc-trustline__item,
[data-theme="dark"] .hc-hero .hc-trustline__dot {
  color: rgba(226, 232, 240, 0.78);
}

[data-theme="dark"] .hc-hero .hc-trustline__link {
  color: rgba(90, 139, 255, 0.95);
}

/* Step 10 — Trust line (premium, minimal) */
.hc-trustline{
  margin-top: .9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  font-size: .95rem;
  opacity: .88;
  color: var(--hc-text-muted, #475569);
}

.hc-trustline__item{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.hc-trustline__dot{
  opacity: .5;
  color: currentColor;
}

.hc-trustline__link{
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .95;
  color: var(--hc-primary, #2F6FED);
}

.hc-trustline__link:hover{
  opacity: 1;
}

[data-theme="dark"] .hc-trustline{
  color: rgba(226, 232, 240, 0.78);
}

[data-theme="dark"] .hc-trustline__link{
  color: rgba(90, 139, 255, 0.95);
}

/* Step 10 — Trust line (premium, minimal) */
.hc-trustline{
  margin-top: .9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  font-size: .95rem;
  opacity: .88;
}

.hc-trustline__item{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.hc-trustline__dot{
  opacity: .5;
}

.hc-trustline__link{
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .95;
}

.hc-trustline__link:hover{
  opacity: 1;
}

/* Step 9 - Why HelpChain section polish */
.hc-why-section,
.features-section {
  margin-top: 3.5rem;
  margin-bottom: 4rem;
}

.hc-why-section .section-title,
.features-section .text-center h2 {
  margin-bottom: 0.75rem;
}

.hc-why-section .section-subtitle,
.features-section .text-center p.lead {
  margin-bottom: 2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.hc-why-section .feature-card,
.features-section .feature-card-light {
  padding: 1.4rem 1.4rem 1.6rem;
}

.hc-why-section .feature-card h3,
.features-section .feature-card-light .feature-title-light {
  margin-bottom: 0.4rem;
}

.hc-why-section .feature-card p,
.features-section .feature-card-light .feature-description-light {
  line-height: 1.55;
  opacity: 0.95;
}

/* --- HelpChain v1: Soft hero reveal --- */
.hc-hero .hero-content{
  opacity: 0;
  transform: translateY(10px);
  animation: hcFadeUpHero .55s ease-out forwards;
}
@keyframes hcFadeUpHero{
  to{ opacity:1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .hc-hero .hero-content{ animation:none; opacity:1; transform:none; }
}

/* --- HelpChain v1: Micro-CTA under KPIs --- */
.hc-micro-cta{
  margin: 0.65rem 0 0;
  text-align: center;
  color: var(--hc-text-muted, #475569);
  font-size: 0.98rem;
}

.hc-micro-cta a{
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  color: var(--hc-primary, #2F6FED);
}

[data-theme="dark"] .hc-micro-cta{
  color: rgba(226, 232, 240, 0.78);
}

[data-theme="dark"] .hc-micro-cta a{
  color: rgba(90, 139, 255, 0.95);
}

/* --- Submit request: intro + steps --- */
.hc-form-intro{ margin: .25rem 0 1rem; }

.hc-form-steps{
  display:flex; align-items:center; gap:.4rem;
  margin: 0 0 .65rem;
  color: rgba(15,23,42,.72);
  font-size: .92rem;
}

.hc-step{
  width: 28px; height: 28px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.75);
}

.hc-step.is-active{
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 10px 24px rgba(37,99,235,.12);
  font-weight: 700;
}

.hc-step-label{ margin-left:.25rem; }

.hc-form-trust{
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(15,23,42,.78);
}

.hc-form-trust li{ margin: .22rem 0; }

.kpi-meta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* KPI polish */
.kpi-value {
  font-weight: 700;
  color: #2563eb; /* trust blue */
}

.kpi-label {
  font-size: 0.85rem;
  color: #6b7280;
}

.kpi-note {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
}

/* KPI status pill */
.kpi-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #ecfeff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.kpi-status.is-live { opacity: 1; }
.kpi-status.is-offline { opacity: .6; filter: grayscale(1); }

.features-section {
  padding-block: clamp(32px, 6vw, 80px) !important;
}

/* =========================================
   Step 2 — Mobile UX polish (Home hero + KPI)
   ========================================= */
@media (max-width: 480px) {
  /* HERO spacing: less пусто, повече фокус */
  .hc-hero,
  .hero,
  .home-hero,
  main .hero {
    padding-top: 24px !important;
    padding-bottom: 20px !important;
  }

  /* Headline readability */
  .hc-hero h1,
  .hero h1,
  .home-hero h1 {
    font-size: clamp(28px, 7vw, 36px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 10px !important;
  }

  /* Subtitle spacing */
  .hc-hero p,
  .hero p,
  .home-hero p {
    font-size: 14.5px !important;
    line-height: 1.45 !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
  }

  /* CTA buttons: full width stack, no tiny taps */
  .hc-hero .btn,
  .hero .btn,
  .home-hero .btn,
  .hc-hero a[role="button"],
  .hero a[role="button"],
  .home-hero a[role="button"] {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
  }

  /* If there is a CTA row wrapper, stack it */
  .hc-hero .btn-group,
  .hero .btn-group,
  .home-hero .btn-group,
  .hc-hero .hero-actions,
  .hero .hero-actions,
  .home-hero .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* KPI row: consistent cards */
  .hc-kpis,
  .kpis,
  .hero-kpis,
  .hc-hero .kpi-row,
  .hero .kpi-row,
  .home-hero .kpi-row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 12px auto 0 !important;
  }

  /* KPI item: equal height, better number focus */
  .hc-kpis > *,
  .kpis > *,
  .hero-kpis > *,
  .kpi {
    padding: 10px 8px !important;
    border-radius: 14px !important;
    min-height: 56px !important;
    display: grid !important;
    place-items: center !important;
    text-align: center !important;
  }

  /* KPI number */
  [data-kpi],
  .kpi__value,
  .kpi-value {
    font-size: 18px !important;
    font-weight: 750 !important;
    line-height: 1.1 !important;
  }

  /* KPI label */
  .kpi__label,
  .kpi-label,
  .hc-kpi__label {
    font-size: 11.5px !important;
    opacity: 0.9 !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
  }

  /* Status pill: smaller, calmer */
  .kpi-status,
  .status-pill,
  .trust-pill {
    font-size: 12px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    margin-top: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 100% !important;
  }

  /* Remove “jank” if any counters animate */
  @media (prefers-reduced-motion: reduce) {
    * {
      scroll-behavior: auto !important;
      transition: none !important;
      animation: none !important;
    }
  }
}

@media (max-width: 480px) {
  .hc-kpis,
  .kpis,
  .hero-kpis {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* =========================
   $20M SaaS polish pack
   ========================= */

body.hc-page-home{
  --hc-bg: #0b1220;
  --hc-bg2: #0a1020;
  --hc-surface: rgba(15,23,42,.03);
  --hc-surface2: rgba(15,23,42,.06);
  --hc-border: rgba(15,23,42,.12);
  --hc-border2: rgba(15,23,42,.20);
  --hc-text: #0f172a;
  --hc-muted: #475569;
  --hc-shadow: 0 20px 60px rgba(0,0,0,.45);
  --hc-shadow2: 0 12px 30px rgba(0,0,0,.35);
  --hc-radius: 18px;
  background:
    radial-gradient(900px 520px at 50% -180px, rgba(56,189,248,.10), transparent 62%),
    linear-gradient(180deg, #0f172a, #0b1220);
  color: var(--hc-text);
}

body.hc-page-home .hc-shell{ width: 100%; }

body.hc-page-home .hc-container{
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* HERO */
body.hc-page-home .hc-hero{
  position: relative;
  padding: 72px 0 40px;
}

body.hc-page-home .hc-hero__grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}

body.hc-page-home .hc-hero__grid > :first-child{
  text-align: left;
}

@media (max-width: 992px){
  body.hc-page-home .hc-hero{ padding: 56px 0 28px; }
  body.hc-page-home .hc-hero__grid{ grid-template-columns: 1fr; }
}

body.hc-page-home .hc-eyebrow{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--hc-border);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  color: var(--hc-muted);
  font-size: 13px;
}

body.hc-page-home .hc-h1{
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(34px, 3.6vw, 56px);
  margin: 14px 0 10px;
}

body.hc-page-home .hc-lead{
  color: var(--hc-muted);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  max-width: 52ch;
}

body.hc-page-home .hc-ctaRow{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 8px;
}

body.hc-page-home .hc-btnPrimary{
  border: 1px solid rgba(99,102,241,.22);
  background: linear-gradient(135deg, rgba(56,189,248,.22), rgba(168,85,247,.18));
  box-shadow: var(--hc-shadow2);
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 600;
}

body.hc-page-home .hc-btnGhost{
  border: 1px solid var(--hc-border);
  background: rgba(255,255,255,.65);
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 600;
  color: var(--hc-text);
}

/* PRODUCT CARD */
body.hc-page-home .hc-productCard{
  border-radius: var(--hc-radius);
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.78);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  overflow: hidden;
}

body.hc-page-home .hc-productCard__inner{
  padding: 18px 18px 14px;
}

body.hc-page-home .hc-miniKpis{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 576px){
  body.hc-page-home .hc-miniKpis{ grid-template-columns: repeat(2, 1fr); }
}

body.hc-page-home .hc-kpi{
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 10px 10px;
}

body.hc-page-home .hc-kpi__v{
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
}
body.hc-page-home .hc-kpi__l{
  color: var(--hc-muted);
  font-size: 12px;
  margin-top: 6px;
}

/* SECTIONS */
body.hc-page-home .hc-section{ padding: 28px 0; }
body.hc-page-home .hc-sectionTitle{
  font-weight: 750;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

body.hc-page-home .hc-cardRow{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 992px){
  body.hc-page-home .hc-cardRow{ grid-template-columns: 1fr; }
}

body.hc-page-home .hc-card{
  border: 1px solid var(--hc-border);
  background: rgba(255,255,255,.70);
  border-radius: 16px;
  padding: 14px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
body.hc-page-home .hc-card:hover{
  transform: translateY(-2px);
  border-color: var(--hc-border2);
  background: rgba(255,255,255,.80);
}

/* =========================
   Enterprise tighten (Light public)
   ========================= */

/* Hero copy should read like a product, not a poster */
body.hc-page-home .hc-hero__copy,
body.hc-page-home .hc-lead{
  text-align: left;
}

body.hc-page-home .hc-lead{
  max-width: 52ch;
}

/* Make the right card feel like an operational module */
body.hc-page-home .hc-productCard{
  background: rgba(255,255,255,.86);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

body.hc-page-home .hc-kpi{
  background: rgba(255,255,255,.95);
  border-color: rgba(15,23,42,.10);
}

/* Slightly more “Linear-like” buttons */
body.hc-page-home .hc-btnPrimary,
body.hc-page-home .hc-btnGhost{
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 600;
}

body.hc-page-home .hc-hero__micro{
  margin-top: 18px;
  font-size: 13px;
  color: var(--hc-muted);
}

body.hc-page-home .hc-ctaTertiary{
  display: inline-flex;
  align-items: center;
  padding: 9px 2px;
  color: rgba(15,23,42,.78);
  font-weight: 600;
  text-decoration: none;
}

body.hc-page-home .hc-ctaTertiary:hover{
  color: rgba(15,23,42,.96);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.hc-page-home .hc-b2b-copy{
  margin: 0 0 10px;
  color: var(--hc-muted);
  line-height: 1.6;
  max-width: 70ch;
}

body.hc-page-home .hc-b2b-list{
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 6px;
  color: rgba(15,23,42,.86);
}

/* Admin - ProAccess detail */
.hc-admin .card { border-radius: 16px; }
.hc-admin .card-header { background: rgba(255,255,255,.75); }
.hc-pre { white-space: pre-wrap; line-height: 1.55; }
.hc-sticky { position: sticky; top: 96px; }
@media (max-width: 991px) { .hc-sticky { position: static; top: auto; } }

/* Professionnels page - isolate step layout from submit-request step pills */
body.hc-page-pro .hc-hero-pro {
  text-align: left;
  padding: 140px 0 120px 0;
}

body.hc-page-pro .container {
  max-width: 1280px;
}

body.hc-page-pro .hc-hero-pro .hc-hero__content {
  max-width: 1200px;
  margin: 0;
  text-align: left;
}

body.hc-page-pro .hc-hero-pro .hc-hero__title {
  font-weight: 700;
  letter-spacing: -0.5px;
}

body.hc-page-pro .hc-hero-pro .hc-hero__subtitle {
  font-size: 1.1rem;
  color: #374151;
  max-width: 720px;
}

#how-it-works .hc-pro-step {
  height: 100%;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

#how-it-works .hc-pro-step__number {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  margin-bottom: 10px;
  font-weight: 700;
}

#how-it-works .hc-pro-step h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.2;
}

#how-it-works .hc-pro-step p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.82);
  line-height: 1.5;
}

.hc-hero-pro .hc-micro--authority {
  margin-top: 4px;
  color: rgba(15, 23, 42, 0.62);
  font-size: .9rem;
}

.hc-anchor { margin-top: 48px; }
.hc-anchor p { font-size: 0.95rem; }
.hc-anchor .fw-semibold { font-size: 1.05rem; }

/* Institutional block */
body.hc-page-pro .hc-section-institutional {
  background: #f8fafc;
  padding: 120px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

body.hc-page-pro .hc-section-institutional .hc-section__title {
  font-weight: 700;
  margin-bottom: 1rem;
}

body.hc-page-pro .hc-section-institutional .hc-security-intro {
  max-width: 720px;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(15,23,42,.72);
}

body.hc-page-pro .hc-section-institutional .hc-security-list {
  list-style: none;
  padding-left: 0;
}

body.hc-page-pro .hc-section-institutional .hc-security-list li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 18px;
}

body.hc-page-pro .hc-section-institutional .hc-security-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #1e3a8a;
}

/* Professionals - more institutional cards */
body.hc-page-pro .card-institutional {
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

/* Professionals - stricter footer tone */
body.hc-page-pro .footer,
body.hc-page-pro .hc-footer-min {
  background: #0f172a !important;
  color: rgba(255,255,255,.86);
}

body.hc-page-pro footer::before {
  display: none !important;
}

/* Institutional hero */
.hc-hero-institutional {
  text-align: left;
  padding: 140px 0 110px 0;
}

.hc-h1-institutional {
  font-weight: 750;
  letter-spacing: -0.6px;
  line-height: 1.08;
  max-width: 18ch;
  margin-bottom: 28px;
}

.hc-subtext-institutional {
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 70ch;
  color: rgba(15, 23, 42, 0.82);
  margin-bottom: 22px;
}

.hc-pilotline {
  margin-top: 14px;
  max-width: 70ch;
  color: rgba(15, 23, 42, 0.62);
}

/* Institutional cards */
.hc-card-institutional {
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: none !important;
  background: #fff;
}

body.hc-page-pro .hc-section__title {
  margin-bottom: 36px;
}

body.hc-page-pro .hc-card.card-institutional {
  padding: 28px 32px;
}

@media (max-width: 575px) {
  .hc-card-institutional {
    padding: 22px 20px;
  }
}

.hc-card-institutional h3,
.hc-card-institutional h4 {
  font-weight: 650;
  letter-spacing: -0.2px;
}

.hc-card-institutional ul li {
  color: rgba(15, 23, 42, 0.82);
}

/* Compliance block */
.hc-compliance {
  background: rgba(248, 250, 252, 1);
  padding: 120px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.hc-compliance .hc-section__title {
  font-weight: 750;
  letter-spacing: -0.3px;
  margin-bottom: 28px;
}

.hc-compliance__intro {
  max-width: 78ch;
  color: rgba(15, 23, 42, 0.82);
  font-size: 1rem;
  line-height: 1.6;
}

/* Institutional footer */
.hc-footer-institutional {
  background: linear-gradient(180deg, #0f2748 0%, #0d2340 100%);
  color: rgba(241, 245, 249, 0.92);
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.hc-btn:disabled,
.hc-btn[disabled]{
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.hc-footer-institutional a {
  color: #dbeafe;
  text-decoration: none;
}

.hc-footer-institutional a:hover {
  text-decoration: underline;
  color: #eff6ff;
}

.hc-footer__inner { padding-top: 8px; padding-bottom: 8px; }
.hc-footer__top { display: grid; gap: 4px; justify-items: center; text-align: center; padding: 8px 0; }
.hc-footer__copyright { font-weight: 700; color: #f8fafc; }
.hc-footer__trust { opacity: .98; font-size: .86rem; line-height: 1.35; color: #dbeafe; }
.hc-footer__nav { margin-top: 2px; display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: center; }
.hc-footer__link { opacity: .95; }
.hc-footer__dot { opacity: .7; color: #bfdbfe; }

/* Prevent accidental white chips/selection-looking backgrounds in footer nav */
.hc-footer-institutional .hc-footer__nav,
.hc-footer-institutional .hc-footer__nav *{
  background: transparent !important;
}

.hc-footer-institutional .hc-footer__nav::selection,
.hc-footer-institutional .hc-footer__nav *::selection{
  background: rgba(191, 219, 254, 0.28);
  color: #f8fafc;
}

/* Admin dashboard - pilotage KPI cards */
.hc-kpi-card {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  min-height: 84px;
}

.hc-kpi-card__label {
  font-size: 0.82rem;
  color: rgba(15, 23, 42, 0.62);
}

.hc-kpi-card__value {
  margin-top: 4px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

/* =========================
   Core design tokens
   ========================= */
:root{
  /* density */
  --hc-section-pad-y: 72px;
  --hc-section-gap: 24px;

  /* cards */
  --hc-card-radius: 18px;
  --hc-card-border: rgba(15, 23, 42, .10);
  --hc-card-shadow: 0 14px 40px rgba(15, 23, 42, .08);

  /* typography */
  --hc-h1-weight: 800;
  --hc-h2-weight: 800;
  --hc-body-color: #1f2937;
  --hc-muted-color: #475569;
  --hc-heading-color: #0f172a;

  /* surfaces */
  --hc-surface: #ffffff;
  --hc-surface-alt: #f8fafc;
}

/* Apply tokens globally where it matters */
body{
  color: var(--hc-body-color);
}
h1, .h1{
  color: var(--hc-heading-color);
  font-weight: var(--hc-h1-weight);
}
h2, .h2{
  color: var(--hc-heading-color);
  font-weight: var(--hc-h2-weight);
}
p, .text-muted{
  color: var(--hc-muted-color);
}

/* Utility you can reuse on any section wrapper */
.hc-section{
  padding-block: var(--hc-section-pad-y);
}
.hc-card{
  border-radius: var(--hc-card-radius);
  border: 1px solid var(--hc-card-border);
  box-shadow: var(--hc-card-shadow);
  background: var(--hc-surface);
}

/* =========================
   Institutional mode (per page)
   ========================= */
body[data-hc-page="/gouvernance"],
body[data-hc-page="/professionnels"],
body[data-hc-page="/pro-access-request"]{
  /* tighter spacing */
  --hc-section-pad-y: 52px;
  --hc-section-gap: 18px;

  /* less softness, more structure */
  --hc-card-radius: 12px;
  --hc-card-border: rgba(15, 23, 42, .16);
  --hc-card-shadow: 0 6px 18px rgba(15, 23, 42, .06);

  /* typography */
  --hc-h1-weight: 750;
  --hc-h2-weight: 700;
  --hc-body-color: #111827;
  --hc-muted-color: #374151;
  --hc-heading-color: #0b1220;

  /* backgrounds */
  --hc-surface: #ffffff;
  --hc-surface-alt: #f6f8fb;
}

body[data-hc-page="/gouvernance"] .hc-divider,
body[data-hc-page="/professionnels"] .hc-divider{
  height: 1px;
  background: rgba(15, 23, 42, .08);
  margin-block: 18px;
}

/* Bootstrap card bridge for institutional pages */
body[data-hc-page="/gouvernance"] .card,
body[data-hc-page="/professionnels"] .card,
body[data-hc-page="/pro-access-request"] .card{
  border-radius: var(--hc-card-radius);
  border: 1px solid var(--hc-card-border);
  box-shadow: var(--hc-card-shadow);
  background: var(--hc-surface);
}

/* Institutional cards refinement */
body[data-hc-page="/gouvernance"] .hc-card,
body[data-hc-page="/professionnels"] .hc-card,
body[data-hc-page="/pro-access-request"] .hc-card,
body[data-hc-page="/gouvernance"] .card,
body[data-hc-page="/professionnels"] .card,
body[data-hc-page="/pro-access-request"] .card {
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.18);
  box-shadow: none;
  background: #ffffff;
}

body[data-hc-page="/gouvernance"] h2,
body[data-hc-page="/professionnels"] h2,
body[data-hc-page="/pro-access-request"] h2 {
  font-weight: 700;
  letter-spacing: -.2px;
  margin-bottom: 14px;
}

body[data-hc-page="/gouvernance"] .hc-hero,
body[data-hc-page="/professionnels"] .hc-hero {
  padding-top: 56px;
  padding-bottom: 40px;
}

/* Memo (document-like) section */
body[data-hc-page="/professionnels"] .hc-memo,
body[data-hc-page="/gouvernance"] .hc-memo,
body[data-hc-page="/pro-access-request"] .hc-memo{
  padding-block: 44px;
}

body[data-hc-page="/professionnels"] .hc-memo__title{
  font-weight: 700;
  letter-spacing: -.2px;
  margin-bottom: 22px;
}

body[data-hc-page="/professionnels"] .hc-memo__block{
  padding: 18px 0;
  border-top: 1px solid rgba(15,23,42,.10);
}

body[data-hc-page="/professionnels"] .hc-memo__block:last-child{
  border-bottom: 1px solid rgba(15,23,42,.10);
}

body[data-hc-page="/professionnels"] .hc-memo__h{
  font-weight: 650;
  margin: 0 0 6px 0;
}

body[data-hc-page="/professionnels"] .hc-memo__p{
  margin: 0;
  color: rgba(15,23,42,.78);
  max-width: 78ch;
}

/* Process diagram (Professionnels) */
.hc-page-pro{
  --hc-accent: #243e63;
  --hc-text: #0F172A;
  --hc-muted: #475569;
  --hc-border: #E5E7EB;
  --hc-card-bg: #F6F8FB;
}

.hc-page-pro .hc-process{
  padding: 72px 0;
  text-align: center;
}

.hc-page-pro .hc-section-head{
  text-align: center;
  margin-bottom: 18px;
}

.hc-page-pro .hc-section-head h2{
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--hc-text);
}

.hc-page-pro .hc-section-sub{
  margin: 0;
  color: var(--hc-muted);
  font-size: 16px;
}

.hc-page-pro .hc-process-diagram{
  max-width: 980px;
  margin: 24px auto 8px;
  padding: 18px 18px 8px;
  border-radius: 16px;
}

.hc-page-pro .hc-svg{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.hc-page-pro .hc-dossier{
  padding: 56px 0;
}

.hc-page-pro .hc-dossier__inner{
  text-align: center;
}

.hc-page-pro .hc-dossier h2{
  margin-bottom: 10px;
}

.hc-page-pro .hc-dossier p{
  max-width: 680px;
  margin: 0 auto 18px;
  color: var(--hc-muted);
}

.hc-usecases .hc-section-head { margin-bottom: 18px; }

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

.hc-card--usecase{
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}

.hc-card__badge{
  display:inline-flex;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.18);
  margin-bottom: 10px;
}

.hc-card__title{ margin: 0 0 8px; }
.hc-card__text{ margin: 0 0 10px; opacity: .9; }

.hc-list{
  margin: 0;
  padding-left: 18px;
  opacity: .92;
}

.hc-usecases-cta{
  margin-top: 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.08);
}

.hc-kpi-card{
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}

.hc-kpi-value{
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #2563eb;
}

.hc-kpi-title{
  font-weight: 600;
  margin-bottom: 6px;
}

.hc-kpi-desc{
  opacity: .85;
  font-size: 14px;
}

.hc-pilot-frame{
  margin-top: 24px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.08);
}

.hc-pilot-results .hc-section-head{
  margin-bottom: 18px;
}

.hc-ops-card{
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
}

.hc-ops-card h3{
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 16px;
}

.hc-ops-icon{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #1e40af;
}

.hc-ops-card p{
  font-size: 14px;
  opacity: .9;
}

.hc-ops-note{
  margin-top: 20px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.08);
}

.hc-territorial-card{
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
}

.hc-territorial-card h3{
  font-size: 16px;
  margin-bottom: 8px;
}

.hc-territorial-card p{
  font-size: 14px;
  opacity: .9;
}

.hc-territorial-note{
  margin-top: 20px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.18);
}

.hc-page-pro .hc-trust-title{
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 10px;
}

.hc-page-pro .hc-trust-list{
  margin: 0;
  padding-left: 18px;
  opacity: .9;
  font-size: 14px;
  line-height: 1.55;
}

.hc-page-pro .hc-trust-list li{
  margin: 6px 0;
}

.hc-page-pro .hc-trust-callout{
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(37,99,235,.10), rgba(15,23,42,.03));
  border: 1px solid rgba(37,99,235,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hc-page-pro .hc-trust-callout__title{
  font-weight: 700;
  margin-bottom: 4px;
}

.hc-page-pro .hc-trust-callout__text{
  margin: 0;
  opacity: .9;
  font-size: 14px;
}

/* Hero readability + CTA polish (Professionnels) */
.hc-page-pro .hero-content,
.hc-page-pro .hc-hero__content{
  max-width: 720px;
}

.hc-page-pro .hc-btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

@media (max-width: 520px){
  .hc-page-pro .hc-section-head h2{ font-size: 26px; }
  .hc-page-pro .hc-section-sub{ font-size: 14px; }
  .hc-page-pro .hc-process{ padding: 56px 0; }
  .hc-page-pro .hc-process-diagram{
    padding: 14px 12px 6px;
    border-radius: 14px;
    margin-top: 18px;
  }
}

@media (max-width: 991.98px){
  .hc-grid-3{ grid-template-columns: 1fr; }
  .hc-usecases-cta{ flex-direction: column; align-items: stretch; }
}

@media (max-width: 768px){
  .hc-page-pro .hc-trust-callout{ flex-direction: column; align-items: flex-start; }
  .hc-page-pro .hc-trust-callout__actions{ width: 100%; display: flex; gap: 10px; flex-wrap: wrap; }
}

/* Institutional CTA tone */
body[data-hc-page="/gouvernance"] .btn-primary{
  background: #0f172a;
  border-color: #0f172a;
  border-radius: 8px;
  font-weight: 600;
  padding: 10px 18px;
}

body[data-hc-page="/gouvernance"] .btn-primary:hover{
  background: #0b1220;
  border-color: #0b1220;
}

/* Audit trail blocks (admin + institutional detail pages) */
.hc-audit__row {
  padding: 10px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.hc-audit__row:first-child {
  border-top: 0;
}

.hc-audit__meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.65);
}

.hc-audit__action {
  font-weight: 650;
  font-size: 13px;
}

.hc-audit__msg {
  font-size: 13px;
  color: rgba(15, 23, 42, 0.8);
}

.hc-audit__diff {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.7);
  display: flex;
  gap: 8px;
  align-items: center;
}

.hc-audit__old {
  text-decoration: line-through;
  opacity: 0.75;
}

.hc-audit__arrow {
  opacity: 0.6;
}

/* Optional but recommended: calmer glass navbar */
.navbar{
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.hc-page-home .navbar{
  background: rgba(255,255,255,.82) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.hc-orienter {
  background: #f8fafc;
}

.hc-orienter__hero {
  padding: 56px 0 8px;
}

.hc-orienter__title {
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.hc-orienter__subtitle {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  color: #475569;
}

.hc-orienter__grid-section {
  padding: 40px 0 72px;
}

.hc-orienter__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 980px) {
  .hc-orienter__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hc-orienter__hero {
    padding-top: 44px;
  }

  .hc-orienter__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.hc-orienter-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 22px 18px;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  color: inherit;
}

.hc-orienter-card:focus {
  outline: none;
}

.hc-orienter-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.55);
}

.hc-orienter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: rgba(59, 130, 246, 0.35);
}

.hc-orienter-card__title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hc-orienter-card__desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}

.hc-orienter-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
}

.hc-orienter-card__meta-label {
  font-size: 12px;
  color: #64748b;
}

.hc-orienter__cta {
  text-align: center;
  margin: 36px 0 22px;
}

.hc-orienter__cta-sub {
  margin: 10px 0 0;
  font-size: 13px;
  color: #64748b;
}

.hc-orienter__enterprise {
  margin: 26px 0 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.hc-orienter__enterprise-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px;
}

.hc-orienter__enterprise-actions {
  flex: 0 0 auto;
}

.hc-orienter__enterprise-actions .hc-btn {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.hc-orienter__enterprise-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.hc-orienter__enterprise-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  max-width: 720px;
}

@media (max-width: 820px) {
  .hc-orienter__enterprise-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hc-orienter__trust {
  margin: 18px 0 0;
  font-size: 12px;
  color: #64748b;
}

.hc-about {
  background: #f8fafc;
}

.hc-about__hero {
  padding: 64px 0 32px;
}

.hc-about__hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 980px) {
  .hc-about__hero-inner {
    grid-template-columns: 1fr;
  }
}

.hc-about__title {
  font-size: clamp(34px, 3.5vw, 46px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hc-about__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #475569;
  max-width: 720px;
  margin: 0 0 24px;
}

.hc-about__hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hc-about__trustline {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.hc-about__institutional {
  margin-top: 22px;
}

.hc-about__institutional-inner {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.hc-about__institutional-text {
  font-size: 13px;
  color: #475569;
  letter-spacing: 0.01em;
  margin: 0;
}

.hc-about__institutional-sep {
  margin: 0 6px;
  color: #cbd5e1;
}

.hc-about__hero-proof {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hc-about__proof-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
}

.hc-about__proof-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}

.hc-about__proof-value {
  font-size: 16px;
  font-weight: 600;
}

.hc-about__content {
  padding: 40px 0 80px;
}

.hc-about__section {
  margin-bottom: 72px;
}

.hc-about__section-head {
  margin-bottom: 28px;
}

.hc-about__h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 10px;
}

.hc-about__lead {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  max-width: 760px;
}

.hc-about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 980px) {
  .hc-about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hc-about__grid {
    grid-template-columns: 1fr;
  }
}

.hc-about__card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
}

.hc-about__h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}

.hc-about__text {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.hc-about__split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 24px;
}

@media (max-width: 980px) {
  .hc-about__split {
    grid-template-columns: 1fr;
  }
}

.hc-about__list {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.hc-about__panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
}

.hc-about__section--closing {
  text-align: center;
}

.hc-about__closing {
  max-width: 720px;
  margin: 0 auto;
}

.hc-about__approche {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
}

.hc-about__section--pilot {
  padding-top: 0;
}

.hc-about__pilot {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
}

.hc-about__contact-note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.hc-about__contact-note a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
}

.hc-about__contact-note a:hover {
  text-decoration: underline;
}

.hc-institutional-note{
  font-size: 14px;
  color: #5f6b7a;
  max-width: 720px;
  margin: 14px auto 0;
  text-align: center;
  line-height: 1.6;
}

.hc-institutional-note p{
  margin: 0 0 8px;
}

.hc-pilot-note{
  font-size: 14px;
  color: #5f6b7a;
  max-width: 720px;
  margin: 0 auto 8px;
  line-height: 1.6;
  text-align: center;
}

.hc-about__closing-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ================================
   PAGE: Home (Accueil)
   Scope: .hc-home
   ================================ */

.hc-home {
  background: #f8fafc;
}

/* HERO */

.hc-home__hero {
  padding: 72px 0 44px;
}

.hc-home__hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 980px) {
  .hc-home__hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hc-home__hero {
    padding: 56px 0 34px;
  }
}

.hc-home__title {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hc-home__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 22px;
  max-width: 720px;
}

.hc-home__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hc-home__trust {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* SNAPSHOT (Vue opérationnelle) */

.hc-home__snapshot-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.hc-home__snapshot-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
}

.hc-home__snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hc-home__metric {
  border: 1px solid #eef2f7;
  background: rgba(248, 250, 252, 0.7);
  border-radius: 14px;
  padding: 12px;
}

.hc-home__metric-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hc-home__metric-label {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #64748b;
}

.hc-home__snapshot-sub {
  margin: 12px 0 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

/* SECTION HEAD */

.hc-home__section-head h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 10px;
}

.hc-home__section-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  max-width: 760px;
}

/* HOW */

.hc-home__how {
  padding: 34px 0 70px;
}

.hc-home__how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 980px) {
  .hc-home__how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hc-home__how-grid {
    grid-template-columns: 1fr;
  }
}

.hc-home__card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.hc-home__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: rgba(59, 130, 246, 0.28);
}

.hc-home__card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.hc-home__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

/* POSITIONING BLOCK */

.hc-home__positioning {
  padding: 10px 0 84px;
}

.hc-home__positioning-inner {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 820px) {
  .hc-home__positioning-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hc-home__positioning-copy h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}

.hc-home__positioning-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  max-width: 840px;
}

.hc-footer__intervenants {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hc-footer__intervenants-title {
  font-size: 11px;
  color: #bfdbfe;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

.hc-footer__intervenants-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hc-footer__link {
  font-size: 12px;
  color: #e2e8f0;
  text-decoration: none;
}

.hc-footer__link:hover {
  color: #f8fafc;
  text-decoration: underline;
}

@media (max-width: 768px){
  .hc-footer__intervenants{
    display: grid;
    gap: 2px;
  }
}

/* =============== */
/* Institutional Page (Enterprise SaaS) */
/* =============== */
.hc-institutional {
  --hc-i-bg: #eaf0f6;
  --hc-i-surface: rgba(255, 255, 255, 0.92);
  --hc-i-surface-2: rgba(255, 255, 255, 0.78);
  --hc-i-border: rgba(15, 23, 42, 0.08);
  --hc-i-text: #0f172a;
  --hc-i-muted: #475569;
  --hc-i-faint: #64748b;
  --hc-i-accent: #2563eb;
  --hc-i-accent-2: #3b82f6;
  --hc-i-radius: 18px;
  --hc-i-shadow: 0 15px 40px rgba(15, 23, 42, 0.07);
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(59, 130, 246, 0.14), transparent 60%),
    radial-gradient(800px 480px at 90% 10%, rgba(96, 165, 250, 0.10), transparent 55%),
    linear-gradient(180deg, #eaf0f6 0%, #dbe5f1 60%, #cfdbea 100%);
  color: var(--hc-i-text);
}

.hc-institutional .hc-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.hc-institutional .hc-hero {
  padding: 78px 0 44px;
}

.hc-institutional .hc-hero h1 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 18ch;
}

.hc-institutional .hc-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--hc-i-muted);
  margin: 0 0 26px;
  max-width: 64ch;
}

.hc-institutional .hc-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-top: 10px;
}

.hc-institutional .hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  min-width: 220px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.hc-institutional .hc-btn:active {
  transform: translateY(1px);
}

.hc-institutional .hc-btn--primary {
  background: linear-gradient(180deg, var(--hc-i-accent-2), var(--hc-i-accent));
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.18);
}

.hc-institutional .hc-btn--primary:hover {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.hc-institutional .hc-btn--ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--hc-i-border);
  color: var(--hc-i-text);
}

.hc-institutional .hc-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.12);
}

.hc-institutional .hc-dossier-note{
  display: grid;
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 10px;
}

.hc-institutional .hc-dossier-note__title{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--hc-i-faint);
}

.hc-institutional .hc-dossier-note__text{
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--hc-i-muted);
  max-width: 74ch;
}

.hc-institutional .hc-section {
  padding: 34px 0;
}

.hc-institutional .hc-section h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.hc-institutional h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.hc-institutional .hc-lead {
  color: var(--hc-i-muted);
  line-height: 1.65;
  max-width: 78ch;
}

.hc-institutional .hc-card {
  background: var(--hc-i-surface);
  border: 1px solid var(--hc-i-border);
  border-radius: var(--hc-i-radius);
  box-shadow: var(--hc-i-shadow);
}

.hc-institutional .hc-card--soft {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.hc-institutional .hc-card-pad {
  padding: 18px;
}

.hc-institutional .hc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .hc-institutional .hc-grid-3 {
    grid-template-columns: 1fr;
  }
}

.hc-institutional .hc-trust {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.hc-institutional .hc-trust-wrap {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 16px;
}

.hc-institutional .hc-pill {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 10px 12px;
  text-align: center;
  color: var(--hc-i-muted);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hc-institutional .hc-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hc-institutional .hc-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--hc-i-muted);
  line-height: 1.75;
}

/* =========================
   Cadre de confiance (Public)
   ========================= */
.hc-institutional .hc-trust__head{
  margin-bottom: 16px;
}

.hc-institutional .hc-trust__subtitle{
  margin: 8px 0 0;
  color: var(--hc-i-muted);
  max-width: 72ch;
}

.hc-institutional .hc-trust__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

@media (max-width: 1100px){
  .hc-institutional .hc-trust__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px){
  .hc-institutional .hc-trust__grid{
    grid-template-columns: 1fr;
  }
}

.hc-institutional .hc-trustcard{
  background: var(--hc-i-surface);
  border: 1px solid var(--hc-i-border);
  border-radius: var(--hc-i-radius);
  box-shadow: var(--hc-i-shadow);
  padding: 16px 16px 14px;
}

.hc-institutional .hc-trustcard__title{
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.hc-institutional .hc-trustcard__list{
  margin: 0;
  padding-left: 18px;
  color: var(--hc-i-muted);
}

.hc-institutional .hc-trustcard__list li{
  margin: 6px 0;
}

.hc-institutional .hc-trust__note{
  margin-top: 14px;
}

/* Cadre de confiance (institutional cards) */
.hc-trust {
  padding: 60px 0;
}

.hc-trust-header h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.hc-trust-sub {
  color: #475569;
  max-width: 720px;
  margin-bottom: 32px;
}

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

@media (max-width: 1024px) {
  .hc-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hc-trust-grid {
    grid-template-columns: 1fr;
  }
}

.hc-trust-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.06);
}

.hc-trust-card h3 {
  font-size: 15px;
  margin-bottom: 12px;
}

.hc-trust-card ul {
  padding-left: 18px;
  margin: 0;
  color: #475569;
}

.hc-trust-card li {
  margin-bottom: 6px;
}

.hc-nav a.nav-link--secondary {
  opacity: 0.82;
}

.hc-nav a.nav-link--secondary:hover {
  opacity: 1;
}

.hc-nav a.is-active {
  position: relative;
  opacity: 1;
}

.hc-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 99px;
  background: rgba(44, 122, 210, 0.85);
}

/* Institutional readability polish */
.hc-section-title {
  letter-spacing: -0.02em;
}

.hc-card p {
  line-height: 1.6;
}

/* Home trust strip: early institutional credibility signals */
body.hc-page-home .hc-hero-trust-strip {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.7);
}

body.hc-page-home .hc-hero-trust-strip .container {
  padding-top: 10px;
  padding-bottom: 10px;
}

body.hc-page-home .hc-hero-trust-strip__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
}

body.hc-page-home .hc-hero-trust-strip__item {
  position: relative;
  color: rgba(30, 41, 59, 0.82);
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 500;
  white-space: nowrap;
}

body.hc-page-home .hc-hero-trust-strip__item:not(:last-child)::after {
  content: "•";
  margin-left: 14px;
  color: rgba(71, 85, 105, 0.55);
}

@media (max-width: 767.98px) {
  body.hc-page-home .hc-hero-trust-strip .container {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  body.hc-page-home .hc-hero-trust-strip__list {
    justify-content: flex-start;
    gap: 6px 10px;
  }

  body.hc-page-home .hc-hero-trust-strip__item {
    font-size: 0.8rem;
  }

  body.hc-page-home .hc-hero-trust-strip__item:not(:last-child)::after {
    margin-left: 10px;
  }
}

/* =========================================================
   Public Design System v2
   Canonical shared layer for public-facing pages
   ========================================================= */
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) {
  --hc-public-bg: #f4f7fb;
  --hc-public-surface: #ffffff;
  --hc-public-surface-soft: #f6f9fc;
  --hc-public-surface-tint: linear-gradient(180deg, rgba(244, 248, 253, 0.98), rgba(255, 255, 255, 0.99));
  --hc-public-surface-trust: linear-gradient(180deg, rgba(240, 246, 252, 0.98), rgba(248, 251, 255, 0.99));
  --hc-public-border: rgba(173, 190, 211, 0.62);
  --hc-public-border-strong: rgba(148, 171, 198, 0.68);
  --hc-public-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
  --hc-public-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
  --hc-public-ink: #15263b;
  --hc-public-muted: #50657d;
  --hc-public-subtle: #6a7f96;
  --hc-public-accent: #173d7d;
  --hc-public-accent-strong: #1d4a96;
  --hc-public-accent-soft: #eef4fb;
  --hc-public-radius: 20px;
  --hc-public-radius-lg: 24px;
  --hc-public-section-pad: clamp(3.8rem, 6vw, 5.8rem);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-main-content {
  background:
    radial-gradient(circle at top left, rgba(143, 170, 210, 0.08), transparent 26%),
    linear-gradient(180deg, #f6f9fc 0%, #f3f7fb 100%);
}

/* Shared public primitives */
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell {
  width: min(100% - 2rem, 1160px);
  max-width: 1160px;
  margin-inline: auto;
  padding-top: clamp(2.75rem, 5vw, 4rem);
  padding-bottom: clamp(3.6rem, 6vw, 5rem);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-hero,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-section-tint,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-trust-block {
  position: relative;
  overflow: hidden;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-hero {
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
  padding: clamp(1.55rem, 3vw, 2.35rem);
  border: 1px solid rgba(179, 196, 217, 0.82);
  border-radius: var(--hc-public-radius-lg);
  background:
    radial-gradient(circle at top right, rgba(134, 164, 208, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 254, 0.98));
  box-shadow: var(--hc-public-shadow);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-hero::before,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-trust-block::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(29, 74, 150, 0), rgba(29, 74, 150, 0.34), rgba(29, 74, 150, 0));
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-hero--trust,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-trust-block,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-card-trust {
  background:
    radial-gradient(circle at top right, rgba(111, 147, 196, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(241, 247, 253, 0.99), rgba(249, 251, 255, 0.99));
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-section,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-section-alt,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-section-soft,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-section-tint {
  padding-top: var(--hc-public-section-pad);
  padding-bottom: var(--hc-public-section-pad);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-section-alt {
  background: linear-gradient(180deg, rgba(246, 249, 253, 0.92), rgba(255, 255, 255, 0.96));
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-section-soft {
  background: var(--hc-public-surface-soft);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-section-tint {
  background: var(--hc-public-surface-tint);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-section-header {
  margin-bottom: clamp(1.35rem, 2.2vw, 2rem);
  max-width: 74ch;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c7188;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--hc-public-ink);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-lead {
  max-width: 72ch;
  color: var(--hc-public-muted);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.72;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-card,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-card-soft,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-card-elevated,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-card-trust {
  border: 1px solid var(--hc-public-border);
  border-radius: var(--hc-public-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--hc-public-shadow-soft);
  padding: clamp(1.25rem, 2.3vw, 1.75rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-card-soft {
  background: linear-gradient(180deg, rgba(246, 249, 253, 0.95), rgba(255, 255, 255, 0.99));
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-card-elevated {
  box-shadow: var(--hc-public-shadow);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.public-card, .public-card-soft, .public-card-elevated, .public-card-trust):hover {
  border-color: var(--hc-public-border-strong);
  box-shadow: var(--hc-public-shadow);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-metrics-strip,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-trust-grid {
  display: grid;
  gap: 0.9rem;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-metrics-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Map shared primitives to existing public page structures */
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell .hc-doc-intro__label {
  color: #5c7188;
  margin-bottom: 0.85rem;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell .hc-doc-intro__title {
  margin-bottom: 0.9rem;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.12;
  color: var(--hc-public-ink);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell .hc-doc-intro__lead {
  max-width: 72ch;
  color: var(--hc-public-muted);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.72;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card.mb-3,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card.mb-4 {
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 1rem !important;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card .card-body,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card.mb-3 .card-body,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card.mb-4 .card-body {
  border: 1px solid var(--hc-public-border);
  border-radius: var(--hc-public-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--hc-public-shadow-soft);
  padding: clamp(1.25rem, 2.3vw, 1.75rem);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card:nth-of-type(odd):not(.public-cta-card) .card-body {
  background: linear-gradient(180deg, rgba(246, 249, 253, 0.95), rgba(255, 255, 255, 0.99));
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card .card-body h2,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card .card-body .h5 {
  margin-bottom: 0.9rem !important;
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  line-height: 1.28;
  color: var(--hc-public-ink);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card .card-body h3,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card .card-body .h6 {
  color: #254261;
  font-weight: 700;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card .card-body p:last-child,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card .card-body ul:last-child {
  margin-bottom: 0;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(1.25rem, 3vw, 2.4rem);
  align-items: center;
  margin-bottom: 1rem;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid rgba(151, 174, 202, 0.78);
  border-radius: var(--hc-public-radius);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.99), rgba(238, 245, 251, 0.96));
  box-shadow:
    0 22px 48px rgba(23, 50, 79, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature__eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.8rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(95, 135, 170, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--hc-ocean-700);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature h2 {
  margin: 0 0 0.8rem;
  color: var(--hc-public-ink);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.18;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature__content > p:not(.hc-interstructure-feature__eyebrow) {
  max-width: 62ch;
  margin: 0 0 1rem;
  color: var(--hc-public-muted);
  line-height: 1.68;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature ul {
  display: grid;
  gap: 0.52rem;
  margin: 0 0 1.15rem;
  padding-left: 1.15rem;
  color: #243b55;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature li::marker {
  color: var(--hc-ocean-700);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature__governance {
  max-width: 62ch;
  margin: -0.15rem 0 1rem;
  color: #65788f;
  font-size: 0.9rem;
  line-height: 1.58;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-mini-workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  color: #17324f;
  font-size: 0.9rem;
  font-weight: 700;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-mini-workflow span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(143, 167, 196, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  white-space: nowrap;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-mini-workflow span:not(:last-child)::after {
  content: "→";
  margin-left: 0.55rem;
  color: rgba(47, 94, 132, 0.72);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature__visual {
  margin: 0;
  padding: 0.35rem;
  border: 1px solid rgba(166, 187, 211, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 34px rgba(23, 50, 79, 0.12);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(178, 195, 216, 0.68);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature__visual figcaption {
  margin-top: 0.85rem;
  color: #17324f;
  font-size: 0.95rem;
  font-weight: 750;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature__visual p {
  margin: 0.25rem 0 0;
  color: #60758d;
  font-size: 0.86rem;
}

body.hc-page-pilotage .hc-pilotage-preview__image {
  display: block;
  width: 100%;
}

body.hc-page-pilotage .hc-pilotage-preview figcaption {
  margin-top: 0.55rem;
  color: #60758d;
  font-size: 0.85rem;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-cta-card .card-body {
  border-color: rgba(158, 179, 205, 0.82) !important;
  background:
    radial-gradient(circle at top right, rgba(133, 163, 208, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(249, 251, 255, 0.99), rgba(243, 247, 252, 0.98)) !important;
  box-shadow: var(--hc-public-shadow) !important;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-cta-card .d-flex,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-cta-card .hc-pilotage-cta__actions {
  margin-top: 1rem;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.hc-btn, .btn, .public-cta-row .hc-btn, .public-cta-row .btn) {
  min-height: 46px;
  border-radius: 12px;
  padding: 0.8rem 1.25rem;
  font-weight: 600;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.hc-btn--primary, .hc-btn-primary, .btn-primary, .hc-btnPrimary) {
  background: linear-gradient(180deg, var(--hc-public-accent-strong) 0%, var(--hc-public-accent) 100%);
  border-color: var(--hc-public-accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(23, 61, 125, 0.18);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.hc-btn--primary, .hc-btn-primary, .btn-primary, .hc-btnPrimary):hover {
  border-color: #15376f;
  box-shadow: 0 14px 28px rgba(23, 61, 125, 0.22);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.hc-btn--ghost, .hc-btn-outline, .btn-outline-secondary, .btn-secondary, .hc-btnGhost, .hc-btn--secondary) {
  background: rgba(255, 255, 255, 0.92);
  color: #234063;
  border-color: rgba(165, 183, 205, 0.72);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.hc-btn--ghost, .hc-btn-outline, .btn-outline-secondary, .btn-secondary, .hc-btnGhost, .hc-btn--secondary):hover {
  background: #f2f6fb;
  color: #173d7d;
  border-color: rgba(148, 171, 198, 0.82);
}

/* Public navigation and footer */
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root.hc-navbar {
  background: rgba(251, 253, 255, 0.9);
  border-bottom: 1px solid rgba(196, 209, 225, 0.82);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(14px);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link:not(.hc-nav-cta) {
  color: #314863;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link:not(.hc-nav-cta):hover {
  background: rgba(233, 240, 248, 0.9);
  color: #1b375a;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link.active,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link[aria-current="page"],
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link.is-active {
  background: rgba(227, 236, 247, 0.96);
  border-bottom-color: rgba(29, 74, 150, 0.34);
  color: #173d7d;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link.hc-nav-cta {
  background: linear-gradient(180deg, #1d4a96 0%, #173d7d 100%);
  border-color: #173d7d;
  box-shadow: 0 12px 24px rgba(23, 61, 125, 0.18);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link.hc-nav-cta:hover {
  box-shadow: 0 14px 28px rgba(23, 61, 125, 0.22);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer.hc-footer-institutional {
  background: linear-gradient(180deg, rgba(244, 248, 252, 0.98), rgba(238, 244, 250, 0.98));
  border-top: 1px solid rgba(189, 203, 221, 0.8);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__inner {
  padding-top: clamp(2.5rem, 4vw, 3.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__brand {
  padding-bottom: 1.15rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgba(189, 203, 221, 0.74);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__copyright {
  color: #16273d;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__trust,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__link,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__meta-nav {
  color: #536a84;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__title {
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #61758c;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__grid {
  gap: 1.6rem 2rem;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__group {
  display: grid;
  align-content: start;
  gap: 0.48rem;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__meta {
  margin-top: 1.55rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(189, 203, 221, 0.7);
}

/* Existing public page families consuming the shared system */
body.hc-page-pro .hc-page-pro {
  background: linear-gradient(180deg, #f6f9fc 0%, #f2f6fb 100%);
}

body.hc-page-pro .hc-section {
  padding-top: clamp(4rem, 6vw, 5.5rem);
  padding-bottom: clamp(4rem, 6vw, 5.5rem);
}

body.hc-page-pro .hc-section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(246, 249, 253, 0.92), rgba(255, 255, 255, 0.96));
}

body.hc-page-pro .hc-hero-pro.hc-hero-institutional {
  background:
    radial-gradient(circle at 85% 18%, rgba(128, 158, 204, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(239, 245, 252, 0.98));
  border-bottom: 1px solid rgba(190, 205, 224, 0.82);
}

body.hc-page-pro .hc-hero__title {
  max-width: 16ch;
  color: var(--hc-public-ink);
}

body.hc-page-pro .hc-hero__subtitle,
body.hc-page-pro .hc-section-subtitle {
  color: var(--hc-public-muted);
}

body.hc-page-pro :is(.hc-territorial-card, .hc-ops-card, .hc-trust-card, .hc-usecases-cta, .hc-trust-callout, .hc-objective-highlight, .hc-dossier__inner) {
  border: 1px solid var(--hc-public-border);
  border-radius: var(--hc-public-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--hc-public-shadow-soft);
}

body.hc-page-pro :is(.hc-territorial-card, .hc-ops-card, .hc-trust-card) {
  padding: 1.35rem;
}

body.hc-page-pro .hc-usecases-cta,
body.hc-page-pro .hc-trust-callout,
body.hc-page-pro .hc-dossier__inner {
  background:
    radial-gradient(circle at top right, rgba(133, 163, 208, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(249, 251, 255, 0.99), rgba(243, 247, 252, 0.98));
  box-shadow: var(--hc-public-shadow);
}

body.hc-page-about .hc-about {
  background: linear-gradient(180deg, #f6f9fc 0%, #f2f6fb 100%);
}

body.hc-page-about .hc-about__hero {
  background:
    radial-gradient(circle at 84% 18%, rgba(134, 164, 208, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(239, 245, 252, 0.98));
  border-bottom: 1px solid rgba(190, 205, 224, 0.82);
}

body.hc-page-about :is(.hc-about__hero-panel, .hc-about__proof-card, .hc-about__card, .hc-about__panel, .hc-about__pilot, .hc-about__midcta, .hc-about__approche) {
  border-color: var(--hc-public-border);
  border-radius: var(--hc-public-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--hc-public-shadow-soft);
}

body.hc-page-about .hc-about__section {
  padding-top: clamp(3.6rem, 5vw, 5rem);
  padding-bottom: clamp(3.6rem, 5vw, 5rem);
}

body.hc-page-about .hc-about__section--alt {
  background: linear-gradient(180deg, rgba(245, 249, 253, 0.96), rgba(255, 255, 255, 0.98));
}

body.hc-page-about .hc-about__midcta,
body.hc-page-about .hc-about__pilot {
  background:
    radial-gradient(circle at top right, rgba(133, 163, 208, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(249, 251, 255, 0.99), rgba(243, 247, 252, 0.98));
  box-shadow: var(--hc-public-shadow);
}

body[data-hc-page="/contact"] .hc-intake,
body.hc-page-demo .hc-intake {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 6vw, 5.5rem);
  background:
    radial-gradient(circle at top right, rgba(136, 166, 210, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(246, 249, 253, 0.98), rgba(255, 255, 255, 0.99));
}

body[data-hc-page="/contact"] .hc-intake__head,
body.hc-page-demo .hc-intake__head {
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  border: 1px solid rgba(179, 196, 217, 0.82);
  border-radius: var(--hc-public-radius-lg);
  background:
    radial-gradient(circle at top right, rgba(133, 163, 208, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 254, 0.98));
  box-shadow: var(--hc-public-shadow);
}

body[data-hc-page="/contact"] .hc-intake__value,
body.hc-page-demo .hc-intake__value,
body[data-hc-page="/contact"] .hc-intake__card,
body.hc-page-demo .hc-intake__card,
body[data-hc-page="/contact"] .hc-intake__confirm-block,
body.hc-page-demo .hc-intake__confirm-block {
  border-color: var(--hc-public-border);
  border-radius: var(--hc-public-radius);
  box-shadow: var(--hc-public-shadow-soft);
}

body[data-hc-page="/contact"] .hc-intake__card,
body.hc-page-demo .hc-intake__card {
  background: rgba(255, 255, 255, 0.99);
}

body[data-hc-page="/contact"] .hc-intake__btn,
body.hc-page-demo .hc-intake__btn {
  background: linear-gradient(180deg, #1d4a96 0%, #173d7d 100%);
  border-color: #173d7d;
  box-shadow: 0 12px 24px rgba(23, 61, 125, 0.18);
}

body[data-hc-page="/contact"] .hc-intake__btn--ghost,
body.hc-page-demo .hc-intake__btn--ghost {
  background: rgba(255, 255, 255, 0.9);
  color: #234063;
  border-color: rgba(165, 183, 205, 0.72);
}

@media (max-width: 1199.98px) {
  body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-metrics-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-metrics-strip,
  body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell {
    width: min(100% - 1rem, 1160px);
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-hero {
    padding: 1.25rem;
    border-radius: 18px;
  }

  body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-metrics-strip,
  body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-trust-grid {
    grid-template-columns: 1fr;
  }

  body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-interstructure-feature {
    padding: 1rem;
    border-radius: 18px;
  }

  body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-mini-workflow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-mini-workflow span {
    justify-content: space-between;
    width: 100%;
    white-space: normal;
  }

  body.hc-page-pro .hc-section,
  body.hc-page-about .hc-about__section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* =========================================================
   Homepage premium tokens
   ========================================================= */
:root {
  --hc-navy: #123a72;
  --hc-blue: #2e5bff;
  --hc-teal: #0f766e;
  --hc-warm-surface: #f3f4f6;
}

body.hc-page-home {
  --hc-bg: #f8fafc;
  --hc-border: #e5e7eb;
  --hc-text: #0f172a;
  --hc-muted: #64748b;
  --hc-radius-xl: 20px;
  --hc-shadow-home: 0 18px 48px rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   UX consistency pass - shared ocean/mist tokens and public shell language
   ========================================================================== */
:root {
  --hc-ocean-900: #15314d;
  --hc-ocean-700: #2f5e84;
  --hc-ocean-500: #6e93b0;
  --hc-ocean-cyan-300: #9ecad7;
  --hc-mist-100: #edf5fb;
  --hc-surface-glass: rgba(255, 255, 255, 0.82);
  --hc-gradient-page:
    radial-gradient(circle at top left, rgba(95, 135, 170, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(45, 88, 125, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbfe 0%, #eef4fa 56%, #f9fbfd 100%);
  --hc-gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 252, 0.94));
  --hc-gradient-header:
    linear-gradient(135deg, rgba(23, 50, 79, 0.06), rgba(95, 135, 170, 0.12) 52%, rgba(255, 255, 255, 0.84));
  --hc-shadow-soft:
    0 18px 42px rgba(19, 42, 67, 0.08),
    0 3px 10px rgba(15, 23, 42, 0.04);
  --hc-border-soft: rgba(122, 151, 177, 0.2);
  /* UX 07 — public page atmosphere and comparable card surfaces. */
  --hc-public-page-gradient:
    radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.08), transparent 34%),
    linear-gradient(180deg, #B9D5F5 0%, #D3E5FA 35%, #EDF5FE 72%, #FFFFFF 100%);
  --hc-shadow-card: 0 14px 34px rgba(23, 49, 84, 0.08);
  --hc-shadow-card-hover: 0 18px 42px rgba(23, 49, 84, 0.12);
  --hc-shadow-dialog: 0 28px 80px rgba(15, 23, 42, 0.28);
  --hc-radius-control: 12px;
  --hc-radius-card: 18px;
  --hc-radius-panel: 24px;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) {
  background: var(--hc-public-page-gradient);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root.hc-navbar {
  border: 1px solid rgba(193, 208, 224, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 249, 253, 0.8)),
    radial-gradient(circle at top left, rgba(95, 135, 170, 0.08), transparent 30%);
  box-shadow: var(--hc-shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .navbar-brand,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .hc-brand-title {
  color: var(--hc-ocean-900);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link:not(.hc-nav-cta) {
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(39, 66, 93, 0.86);
  transition:
    border-color var(--hc-duration-normal) var(--hc-ease-standard),
    background var(--hc-duration-normal) var(--hc-ease-standard),
    box-shadow var(--hc-duration-normal) var(--hc-ease-standard),
    color var(--hc-duration-normal) var(--hc-ease-standard);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link:not(.hc-nav-cta):hover,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link.active,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link[aria-current="page"],
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-public-nav-root .nav-link.is-active {
  border-color: rgba(95, 135, 170, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 243, 249, 0.92));
  box-shadow: 0 10px 20px rgba(23, 50, 79, 0.06);
  color: var(--hc-ocean-900);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.hc-nav-cta, .btn-primary, .hc-btn-primary, .hc-btn--primary, .hc-btnPrimary, .hc-home__btn--primary, .hc-offre__btn--primary) {
  border-color: rgba(23, 50, 79, 0.14);
  background: linear-gradient(135deg, #17385f 0%, #245785 54%, #4f7ea4 100%);
  box-shadow: 0 16px 32px rgba(23, 50, 79, 0.18);
  color: #f8fbff;
  text-decoration: none;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.hc-nav-cta, .btn-primary, .hc-btn-primary, .hc-btn--primary, .hc-btnPrimary, .hc-home__btn--primary, .hc-offre__btn--primary):hover,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.hc-nav-cta, .btn-primary, .hc-btn-primary, .hc-btn--primary, .hc-btnPrimary, .hc-home__btn--primary, .hc-offre__btn--primary):focus-visible {
  border-color: rgba(23, 50, 79, 0.24);
  box-shadow:
    0 18px 36px rgba(23, 50, 79, 0.22),
    0 0 0 3px rgba(248, 251, 255, 0.32);
  color: #ffffff;
  text-decoration: none;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.btn-outline-secondary, .btn-secondary, .hc-btn--ghost, .hc-home__btn--secondary, .hc-offre__btn--secondary) {
  border-color: var(--hc-border-soft);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 20px rgba(23, 50, 79, 0.04);
  color: var(--hc-ocean-900);
}

body.hc-page-trust .hc-trust-page__hero-copy,
body.hc-page-trust .hc-trust-page__panel-card,
body.hc-page-trust .hc-trust-page__card,
body.hc-page-trust .hc-trust-page__timeline-step,
body.hc-page-trust .hc-trust-page__reassurance,
body.hc-page-trust .hc-trust-page__cta-card,
body.hc-page-trust .hc-reality-proof__chip {
  border-color: var(--hc-border-soft);
  background: #ffffff;
  box-shadow: var(--hc-shadow-card);
}

body.hc-page-trust .hc-trust-page__section--soft,
body.hc-page-trust .hc-trust-page__section--cta-strong {
  background: transparent;
}

body.hc-page-trust .hc-trust-page__eyebrow,
body.hc-page-trust .hc-trust-page__section-head > p:first-child,
body.hc-page-trust .hc-trust-page__cta-card > div:first-child > p:first-child {
  border: 1px solid rgba(95, 135, 170, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--hc-ocean-700);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer.hc-footer-institutional {
  background:
    linear-gradient(180deg, rgba(22, 39, 60, 0.98), rgba(16, 31, 49, 1)),
    radial-gradient(circle at top left, rgba(95, 135, 170, 0.22), transparent 28%);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.public-page-hero, .public-card, .public-card-soft, .public-card-elevated, .public-card-trust, .public-page-shell > section.card .card-body),
body.hc-page-trust :is(.hc-trust-page__card, .hc-trust-page__panel-card, .hc-trust-page__timeline-step, .hc-trust-page__reassurance, .hc-trust-page__cta-card) {
  position: relative;
  overflow: hidden;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-hero {
  border-color: rgba(161, 184, 208, 0.86);
  background: transparent;
  box-shadow: none;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.public-card, .public-card-soft, .public-card-elevated, .public-card-trust, .public-page-shell > section.card .card-body) {
  border-color: rgba(171, 191, 213, 0.78);
  background: #ffffff;
  box-shadow: var(--hc-shadow-card);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card:nth-of-type(odd):not(.public-cta-card) .card-body,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-card-soft,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-card-trust {
  background: #ffffff;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .public-page-shell > section.card .card-body:hover,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) :is(.public-card, .public-card-soft, .public-card-elevated, .public-card-trust):hover {
  border-color: rgba(118, 149, 179, 0.68);
  box-shadow: var(--hc-shadow-card-hover);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer.hc-footer-institutional {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(235, 243, 249, 0.98), rgba(228, 238, 246, 0.98)),
    radial-gradient(circle at top left, rgba(95, 135, 170, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(45, 88, 125, 0.08), transparent 24%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer.hc-footer-institutional::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at bottom left, rgba(95, 135, 170, 0.08), transparent 28%);
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__copyright {
  color: #17324f;
}

body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__trust,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__link,
body:not([data-hc-page^="/admin"]):not(.hc-admin-page):not(.hc-page-admin) .hc-footer__meta-nav {
  color: #4f6780;
}

/* === Layout contract: one navigation offset per page ===
   Bootstrap fixed-top navbars must not be converted to sticky by the
   generic nav polish above. Flow/sticky navs reserve their own space;
   workspace pages reserve space for the shell bar separately. */
.navbar.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

body.hc-page-home {
  padding-top: 0;
}

body.hc-page-admin .hc-admin-workspace__content,
body[data-hc-page^="/ops"] .hc-admin-workspace__content {
  padding-top: 24px;
}

@media (max-width: 992px) {
  body.hc-page-admin .hc-admin-workspace__content,
  body[data-hc-page^="/ops"] .hc-admin-workspace__content {
    padding-top: 20px;
  }
}

@media (max-width: 576px) {
  body.hc-page-admin .hc-admin-workspace__content,
  body[data-hc-page^="/ops"] .hc-admin-workspace__content {
    padding-top: 16px;
  }
}

/* === Global visual refinement: restrained HelpChain palette === */
:root {
  --hc-bg: #f6f9fc;
  --hc-surface: #ffffff;
  --hc-surface-soft: #eaf1f8;
  --hc-border: #d4e0ec;
  --hc-text: #243b53;
  --hc-text-muted: #526780;
  --hc-accent: #1d4e89;
  --hc-accent-hover: #163d6b;
  --hc-primary: #1d4e89;
  --hc-primary-soft: #eaf1f8;
  --hc-focus: #3273c5;
}

body {
  background: var(--hc-bg);
  color: var(--hc-text);
}

body :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--hc-focus);
  outline-offset: 2px;
}

body :is(a, button, .hc-card, .card, .hc-story, .impact-card) {
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

body :is(.hc-navbar, .main-nav, .navbar, .hc-nav) {
  background: #ffffff;
  border-bottom: 1px solid var(--hc-border);
  backdrop-filter: none;
}

body :is(.hc-navbar, .main-nav, .navbar, .hc-nav) :is(a, .nav-link) {
  color: var(--hc-text);
}

body :is(.hc-navbar, .main-nav, .navbar, .hc-nav) :is(a, .nav-link):hover,
body :is(.hc-navbar, .main-nav, .navbar, .hc-nav) :is(a, .nav-link).active,
body :is(.hc-navbar, .main-nav, .navbar, .hc-nav) :is(a, .nav-link)[aria-current="page"] {
  background: var(--hc-primary-soft);
  color: var(--hc-accent);
}

body :is(.dropdown-menu, .dropdown-menu-modern, .hc-nav-dd__menu) {
  background: #ffffff;
  border: 1px solid var(--hc-border);
  opacity: 1;
}

body :is(.dropdown-menu, .dropdown-menu-modern, .hc-nav-dd__menu) :is(a, .dropdown-item):hover,
body :is(.dropdown-menu, .dropdown-menu-modern, .hc-nav-dd__menu) :is(a, .dropdown-item):focus-visible {
  background: #f1f6fc;
  color: var(--hc-accent);
}

body :is(.hc-card, .card, .hc-story, .impact-card) {
  background: #ffffff;
  border-color: var(--hc-border);
}

body :is(.hc-card, .card, .hc-story, .impact-card):hover {
  background: #f1f6fc;
  border-color: var(--hc-focus);
}

body :is(a, .hc-linkbtn) {
  color: #3273c5;
}

body :is(a, .hc-linkbtn):hover {
  color: var(--hc-accent);
}

body :is(.btn-primary, .hc-btn--primary, .hc-btn-primary) {
  background: var(--hc-accent);
  border-color: var(--hc-accent);
  color: #ffffff;
}

body :is(.btn-primary, .hc-btn--primary, .hc-btn-primary):hover {
  background: var(--hc-accent-hover);
  border-color: var(--hc-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

body :is(.btn-secondary, .hc-btn--ghost, .hc-btn-secondary) {
  background: #ffffff;
  border-color: var(--hc-border);
  color: var(--hc-accent);
}

body :is(.btn-secondary, .hc-btn--ghost, .hc-btn-secondary):hover {
  background: var(--hc-primary-soft);
  border-color: var(--hc-focus);
  color: var(--hc-accent);
}

@media (prefers-reduced-motion: reduce) {
  body :is(a, button, input, select, textarea, .hc-card, .card, .hc-story, .impact-card) {
    transition: none;
  }
}

