/* ======================================================
   HumanSafe™ v1.0 — Unified Stylesheet
   Comprehensive styles for all HumanSafe pages
   ====================================================== */

/* ======================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ====================================================== */

:root {
  /* PRIMARY BRAND COLORS */
  --primary-blue: #2F5FB3;
  --secondary-blue: #8FB9F3;
  --scientific-blue: #3D5A80;
  --trust-blue: #7BAFD4;
  --trust-green: #4A7C59;
  --evidence-teal: #2FA4A9;
  --insight-amber: #D4A574;
  --caution-amber: #D6A73C;
  --alert-coral: #C67B5C;
  --concern-coral: #E76F51;

  /* NEUTRALS */
  --white: #FFFFFF;
  --cream: #F8F9FA;
  --paper-bg: #F7F8FA;
  --light-gray: #E5E7EB;
  --soft-ash: #E9ECF1;
  --medium-gray: #6B7280;
  --graphite-meta: #6E7684;
  --dark-charcoal: #1F2937;
  --text-ink: #2B2F36;

  /* SEMANTIC COLORS */
  --text-primary: var(--dark-charcoal);
  --text-muted: var(--medium-gray);
  --border-soft: var(--light-gray);
  --bg: var(--paper-bg);
  --card: var(--white);
  --border: rgba(43, 47, 54, 0.12);

  /* LEGACY ALIASES (DO NOT REMOVE - for backward compatibility) */
  --ink: var(--dark-charcoal);
  --ash: var(--medium-gray);

  /* TYPOGRAPHY */
  --font-main: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-serif: "Source Serif 4", serif;
  --font-heading: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* LAYOUT */
  --container-max: 1200px;
  --container: 1100px;
  --section-padding: 0;

  /* BORDER RADIUS */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-2xl: 20px;

  /* SHADOWS */
  --shadow: 0 10px 26px rgba(43, 47, 54, 0.10);
  --shadow-soft: 0 8px 18px rgba(43, 47, 54, 0.08);
  --shadow-sm: 0 2px 8px rgba(43, 47, 54, 0.08);
  --shadow-md: 0 4px 12px rgba(43, 47, 54, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ======================================================
   GLOBAL RESET & BASE STYLES
   ====================================================== */

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-serif);
  color: var(--text-ink);
  background: var(--paper-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  min-height: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ======================================================
   TYPOGRAPHY
   ====================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(30px, 6vw, 60px);
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.08;
}

h2 {
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.18;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 600;
  color: var(--text-ink);
  line-height: 1.22;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

h5 {
  font-size: 18px;
  font-weight: 600;
  color: var(--graphite-meta);
  margin-bottom: 8px;
}

p {
  margin: 0 0 1rem 0;
  font-size: 18px;
  line-height: 1.8;
}

.kicker {
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  color: var(--graphite-meta);
  margin-bottom: 12px;
  display: block;
  line-height: 1.3;
}

/* ======================================================
   LAYOUT CONTAINERS
   ====================================================== */

.container {
  width: min(var(--container-max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
  background: var(--white);
  border-radius: var(--radius-2xl);
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-charcoal);
}

.section-intro {
  text-align: center;
  font-size: 1.125rem;
  color: var(--medium-gray);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.section-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 60px 0;
  border: none;
}

/* ======================================================
   HEADER & NAVIGATION
   ====================================================== */

.hs-header {
  background: var(--cream);
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.hs-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hs-logo img {
  height: 40px;
}

.hs-nav-list {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-nav-link {
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.hs-nav-link:hover,
.hs-nav-link:focus,
.hs-nav-link.active {
  color: var(--scientific-blue);
  text-decoration: underline;
}

.hs-cta {
  color: var(--white);
  background: var(--scientific-blue);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
}

/* Mega Menu */
.has-mega {
  position: relative;
}

.hs-mega {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 220px);
  gap: 28px;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(31, 41, 55, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  border: 1px solid var(--ash);
  min-width: 260px;
}

.has-mega:hover .hs-mega,
.has-mega.open .hs-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: grid;
}

.hs-mega-col h4 {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--scientific-blue);
  letter-spacing: 0.02em;
}

.hs-mega-col a {
  display: block;
  font-size: 14px;
  color: var(--dark-charcoal);
  text-decoration: none;
  margin-bottom: 8px;
  padding: 6px 0;
}

.hs-mega-col a:hover {
  color: var(--trust-blue);
}

/* Mobile Menu */
.hs-menu-toggle {
  display: none;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hs-menu-toggle {
    display: block;
  }

  .hs-nav {
    display: none;
    width: 100%;
  }

  .hs-nav.open {
    display: block;
  }

  .hs-nav-list {
    flex-direction: column;
    gap: 0;
  }

  .hs-mega {
    position: static;
    border: none;
    padding: 12px 0;
  }
}

/* Breadcrumb */
.hs-breadcrumb {
  background: var(--paper-bg);
  border-bottom: 1px solid var(--ash);
  font-family: var(--font-main);
}

.hs-breadcrumb ol {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}

.hs-breadcrumb li::after {
  content: "›";
  margin-left: 8px;
  color: var(--medium-gray);
}

.hs-breadcrumb li:last-child::after {
  content: "";
}

.hs-breadcrumb a {
  color: var(--scientific-blue);
  text-decoration: none;
}

/* Header spacer for pages without breadcrumb */
.header-spacer {
  height: 56px;
  background: var(--paper-bg);
  border-bottom: 1px solid var(--ash);
}

/* Mobile */
@media (max-width: 768px) {
  .header-spacer {
    height: 32px;
  }
}

/* ======================================================
   HERO SECTIONS
   ====================================================== */

.hero {
  padding: 56px 0 60px;
  background: linear-gradient(135deg, #EEF3FB 0%, #E8F6F7 100%);
  text-align: center;
}

.hero h1 {
  margin-bottom: 24px;
  
}

.hero-title {
  color: var(--primary-blue);
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  max-width: 850px;
  margin: 0 auto 32px;
  color: rgba(43, 47, 54, 0.85);
  line-height: 1.6;
}

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

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-quote {
  font-size: 24px;
  font-style: italic;
  color: var(--text-ink);
  margin: 32px auto;
  max-width: 800px;
  line-height: 1.6;
}

.hero-box {
  background: var(--cream);
  padding: 40px;
  border-radius: 8px;
  margin-top: 40px;
  border-left: 4px solid var(--scientific-blue);
}

.hero-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

/* ======================================================
   BUTTONS & CALLS TO ACTION
   ====================================================== */

.btn,
.btn-primary,
.btn-secondary,
.btn-tertiary,
.btn-white,
.btn-outline,
.btn-primary-small {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background: var(--scientific-blue);
  border-color: var(--scientific-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(47, 95, 179, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--white);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.cta-section {
  background: linear-gradient(135deg, #EEF3FB 0%, #E8F6F7 100%);
  padding: 60px 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 16px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ======================================================
   CARDS & GRIDS
   ====================================================== */

.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Comparison Cards */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.comparison-card {
  background: var(--paper-bg);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}

.comparison-card h3 {
  font-size: 18px;
  color: var(--scientific-blue);
  margin-bottom: 12px;
}

.comparison-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Difference Grid (Why Different Section) */
.difference-grid,
.hs-difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 40px auto 0;
}

@media (max-width: 1024px) {
  .difference-grid,
  .hs-difference-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .difference-grid,
  .hs-difference-grid {
    grid-template-columns: 1fr;
  }
}

.difference-card,
.hs-difference-card {
  background: var(--paper-bg);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}

.difference-card h3,
.hs-difference-card h3 {
  font-size: 18px;
  color: var(--scientific-blue);
  margin-bottom: 12px;
}

.difference-card p,
.hs-difference-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Moment Cards */
.moment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 50px 0;
}

.moment-card {
  background: var(--white);
  border: 2px solid var(--soft-ash);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all 0.3s ease;
}

.moment-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 20px rgba(47, 95, 179, 0.15);
  transform: translateY(-4px);
}

.moment-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.moment-card h4 {
  margin-bottom: 12px;
  color: var(--primary-blue);
}

.moment-card p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Brand Cards */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.brand-card {
  background: var(--white);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.brand-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.brand-header {
  margin-bottom: 20px;
}

.brand-header h3 {
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.brand-tagline {
  color: var(--scientific-blue);
  font-style: italic;
    margin-bottom: 1.5rem;
  
}

/* Pillar Cards */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* Value Cards */
.values-section {
  background: linear-gradient(135deg, #EEF3FB 0%, #E8F6F7 100%);
  border-radius: var(--radius-2xl);
  padding: 60px;
  margin: 60px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.value-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
}

.value-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--evidence-teal);
  line-height: 1;
  margin-bottom: 16px;
}

.value-card h4 {
  margin-bottom: 12px;
  font-size: 20px;
}

.value-card p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Promise Cards */
.promise-section {
  padding: 60px 0;
  background: var(--white);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.promise-card {
  background: var(--paper-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.promise-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.promise-icon {
  font-size: 32px;
  margin-right: 12px;
}

.promise-card h4 {
  display: flex;
  align-items: center;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.promise-card p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Mechanism Cards */
.mechanism-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.mechanism-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ============================================
   SCORE STEPS (How-It-Works style)
   ============================================ */

.scores-steps {
  margin-top: 40px;
}

.score-step {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.score-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Icon styling */
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

/* Color variants */
.step-icon.hss { background: var(--scientific-blue); }
.step-icon.ess { background: var(--trust-green); }
.step-icon.cts { background: var(--trust-blue); }
.step-icon.crs { background: #c9a36a; }

/* Score range */
.score-range {
  font-weight: 600;
  color: var(--scientific-blue);
  margin: 8px 0 12px;
}

/* Bullet alignment fix */
.score-factors {
  margin-top: 12px;
  padding-left: 0;
}

.score-factors li {
  list-style: none;
  padding-left: 20px;
  position: relative;
}

.score-factors li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--trust-blue);
  font-weight: bold;
}
/* ======================================================
   SCORE DISPLAYS & BADGES
   ====================================================== */

.humansafe-badge {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  background: var(--paper-bg);
  border: 1px solid var(--soft-ash);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.humansafe-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(43, 47, 54, 0.12);
}

.badge-header {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--graphite-meta);
  margin-bottom: 16px;
}

.badge-score {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  margin-bottom: 12px;
}

.badge-divider {
  width: 40px;
  height: 2px;
  margin-bottom: 12px;
}

.badge-classification {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
}

.badge-context {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-ink);
}

/* Badge Color Variants */
.badge-exceptional,
.badge-very-safe {
  background: rgba(74, 124, 89, 0.1);
}

.badge-exceptional .badge-score,
.badge-very-safe .badge-score {
  color: var(--trust-green);
}

.badge-exceptional .badge-divider,
.badge-very-safe .badge-divider {
  background: var(--trust-green);
}

.badge-generally-safe {
  background: rgba(123, 175, 212, 0.1);
}

.badge-generally-safe .badge-score {
  color: var(--trust-blue);
}

.badge-generally-safe .badge-divider {
  background: var(--trust-blue);
}

.badge-caution {
  background: rgba(212, 165, 116, 0.1);
}

.badge-caution .badge-score {
  color: var(--insight-amber);
}

.badge-caution .badge-divider {
  background: var(--insight-amber);
}

.badge-concern {
  background: rgba(231, 111, 81, 0.1);
}

.badge-concern .badge-score {
  color: var(--concern-coral);
}

.badge-concern .badge-divider {
  background: var(--concern-coral);
}

/* ============================================
   SCORES SECTION
   ============================================ */

.scores-section {
    background: var(--cream);
}

.scores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.score-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.score-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.score-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.score-icon.hss {
    background: var(--scientific-blue);
    color: var(--white);
}

.score-icon.ess {
    background: var(--trust-green);
    color: var(--white);
}

.score-icon.cts {
    background: var(--scientific-blue);
    color: var(--white);
}

.score-icon.crs {
    background: var(--trust-blue);
    color: var(--white);
}

.score-card h3 {
    color: var(--dark-charcoal);
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.score-card h4 {
    color: var(--medium-gray);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.score-range {
    color: var(--scientific-blue);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.score-factors {
    list-style: none;
    color: var(--medium-gray);
    margin-top: 1rem;
}

.score-factors li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.score-factors li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--trust-blue);
    font-weight: bold;
}

/* ======================================================
   PROCESS & TIMELINE
   ====================================================== */

.how-it-works {
  background: var(--paper-bg);
  padding: 60px 0;
}

/* FIXED 3x2 PROCESS GRID (Phase 1-6) */
#process div.process-steps.process-grid-fixed {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 3rem !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 50px auto 0 auto !important;
}

#process .process-grid-fixed .step {
  min-width: 0 !important;
  width: auto !important;
}

@media screen and (max-width: 1024px) {
  #process div.process-steps.process-grid-fixed {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (max-width: 700px) {
  #process div.process-steps.process-grid-fixed {
    grid-template-columns: 1fr !important;
  }
}

.step {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.step h3 {
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.step p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Impact Timeline */
.impact-section {
  padding: 60px 0;
  background: var(--paper-bg);
}

.impact-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.impact-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-soft);
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-year {
  flex-shrink: 0;
  width: 80px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-blue);
  position: relative;
  z-index: 1;
}

.timeline-year::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--primary-blue);
  border-radius: 50%;
  border: 3px solid var(--white);
}

.timeline-content {
  flex: 1;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.timeline-content p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Phase Timeline */
.phase-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin: 40px 0;
}

.phase {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.phase h4 {
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.phase p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* ======================================================
   STORY & CONTENT SECTIONS
   ====================================================== */

.story-section {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 60px;
  margin: 60px 0;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.story-intro {
  font-size: 24px;
  line-height: 1.6;
  color: var(--text-ink);
  font-weight: 500;
  margin-bottom: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.story-text {
  max-width: 750px;
  margin: 0 auto;
}

.story-text p {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.story-text p:first-of-type::first-letter {
  font-size: 72px;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin: 8px 12px 0 0;
  color: var(--primary-blue);
  font-family: var(--font-heading);
}

/* Pull Quote */
.pull-quote {
  background: linear-gradient(135deg, rgba(47, 164, 169, 0.08) 0%, rgba(143, 185, 243, 0.08) 100%);
  border-left: 4px solid var(--evidence-teal);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin: 40px 0;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 500;
  font-style: italic;
  color: var(--text-ink);
}

/* Humanity Section */
.humanity-section {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 60px;
  margin: 60px 0;
  box-shadow: var(--shadow);
  text-align: center;
}

.humanity-text {
  max-width: 800px;
  margin: 32px auto;
}

.humanity-text p {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.stakeholder-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: var(--paper-bg);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  justify-content: center;
  border: 2px solid var(--border-soft);
  transition: all 0.3s ease;
}

.circle:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.circle-icon {
  font-size: 32px;
}

.balance-symbol {
  font-size: 64px;
  margin: 40px 0;
}

/* Vision Quotes */
.vision-quotes {
  display: grid;
  gap: 32px;
  margin: 40px 0;
}

.vision-quote {
  background: var(--paper-bg);
  border-left: 4px solid var(--evidence-teal);
  border-radius: var(--radius-lg);
  padding: 32px;
  font-size: 20px;
  line-height: 1.7;
  font-style: italic;
}

/* ======================================================
   CALLOUTS & ALERTS
   ====================================================== */

.callout {
  background: var(--paper-bg);
  border-left: 4px solid var(--primary-blue);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
  font-size: 16px;
  line-height: 1.7;
}

.callout-info {
  background: rgba(47, 164, 169, 0.1);
  border-left-color: var(--evidence-teal);
}

.callout-success {
  background: rgba(74, 124, 89, 0.1);
  border-left-color: var(--trust-green);
}

.callout-warning {
  background: rgba(212, 165, 116, 0.1);
  border-left-color: var(--caution-amber);
}

.example-box {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 24px 0;
}

.example-box h4 {
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.important-note {
  background: var(--cream);
  padding: 32px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--scientific-blue);
  margin: 32px 0;
}

/* ======================================================
   LISTS & CONTENT ELEMENTS
   ====================================================== */

.check-list,
.commitments-list,
.advisory-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.check-list li,
.commitments-list li,
.advisory-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.7;
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--trust-green);
  font-weight: 700;
  font-size: 20px;
}

.commitments-list li:before,
.advisory-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}

.stakeholder-box {
  background: var(--white);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 24px 0;
}

.stakeholder-box h4 {
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.rights-responsibilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}

.rights,
.responsibilities {
  background: var(--paper-bg);
  padding: 24px;
  border-radius: var(--radius-lg);
}

.rights h5,
.responsibilities h5 {
  color: var(--primary-blue);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .rights-responsibilities {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   TABLE OF CONTENTS & NAVIGATION
   ====================================================== */

.toc {
  background: var(--paper-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
}

.toc h3 {
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li {
  margin-bottom: 12px;
}

.toc a {
  color: var(--text-ink);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
}

.toc a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.quick-nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0;
}

.quick-nav a {
  padding: 10px 20px;
  background: var(--white);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--primary-blue);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.quick-nav a:hover {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: var(--white);
}

/* ======================================================
   UTILITY CLASSES
   ====================================================== */

.inline-link,
.inline-cta {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.inline-link:hover,
.inline-cta:hover {
  color: var(--scientific-blue);
}

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

.block {
  display: block;
}

.mini {
  font-size: 14px;
}

/* Color Utilities */
.color-blue { color: var(--primary-blue); }
.color-teal { color: var(--evidence-teal); }
.color-amber { color: var(--caution-amber); }
.color-coral { color: var(--concern-coral); }
.color-gray { color: var(--graphite-meta); }

/* Score Color Classes */
.teal { color: var(--evidence-teal); }
.amber { color: var(--caution-amber); }
.coral { color: var(--concern-coral); }

/* HSS, ESS, CTS, CRS Score Indicators */
.hss { color: var(--trust-green); }
.ess { color: var(--trust-blue); }
.cts { color: var(--evidence-teal); }
.crs { color: var(--insight-amber); }

/* Chips & Pills */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.chip,
.pill {
  display: inline-block;
  padding: 6px 12px;
  background: var(--paper-bg);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-ink);
  font-family: var(--font-main);
}

/* ======================================================
   COLOR GUIDE
   ====================================================== */

.color-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.color-card {
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}

.color-card .dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 12px;
}

/* ======================================================
   INDICATORS & DIAGRAMS
   ====================================================== */

.indicators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.indicator-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.diagram-box {
  background: var(--paper-bg);
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}

/* ======================================================
   METADATA & PAGE INFO
   ====================================================== */

.page-meta {
  background: var(--paper-bg);
  padding: 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.page-purpose {
  background: var(--cream);
  padding: 24px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--evidence-teal);
  margin: 32px 0;
}

.meta-info {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.executive-summary {
  background: linear-gradient(135deg, rgba(47, 164, 169, 0.08) 0%, rgba(143, 185, 243, 0.08) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}

/* ======================================================
   FOOTER ISOLATION PATCH
   Prevent global styles from breaking injected components
   ====================================================== */

.hs-header-wrapper .hs-container,
.hs-footer .hs-container {
  display: block;
  align-items: initial;
  justify-content: initial;
  padding: 0 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.hs-footer .hs-container {
  display: block;
}

.hs-footer .footer-bottom {
  border-top: 0 !important;
  padding-top: 0 !important;
  text-align: center;
}

.hs-footer .footer-disclaimer {
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 0;
}

/* ======================================================
   RESPONSIVE BREAKPOINTS
   ====================================================== */

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 40px;
  }

  .section {
    padding: 40px 20px;
  }

  .story-section,
  .values-section,
  .humanity-section {
    padding: 40px 20px;
  }

  .comparison-grid,
  .brands-grid,
  .values-grid,
  .promise-grid,
  .scores-grid {
    grid-template-columns: 1fr;
  }

  .stakeholder-circles {
    flex-direction: column;
  }

  .circle {
    width: 100px;
    height: 100px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  p {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-white,
  .btn-outline {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
  }

  .hs-container {
    padding: 14px 16px;
  }
}

/* ======================================================
   PRINT STYLES
   ====================================================== */

@media print {
  .hs-header,
  .hs-breadcrumb,
  .hs-menu-toggle,
  .cta-section,
  .hero-cta,
  .cta-buttons {
    display: none;
  }

  body {
    background: white;
  }

  .section,
  .card,
  .story-section {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}

/* ============================================
   HERO VERTICAL RHYTHM
   ============================================ */

.hero {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}
