/* =====================================================
   Authority Directory — Global Stylesheet Template
   ADM Build System · Perfect Little Business™

   INSTRUCTIONS:
   1. Replace all values in the :root block with the
      client's brand spec (client-brand-spec.md)
   2. Update the Google Fonts @import or <link> tag
      to match the client's fonts
   3. All structural classes below are ready to use —
      do not modify unless evolving the ADM architecture
   ===================================================== */

/* --- CSS CUSTOM PROPERTIES --- */
:root {
  /* === BRAND COLORS — Replace with client values === */

  /* Primary accent — CTAs, labels, emphasis, hover. Never large fill. */
  --color-primary:        #1D4F91;   /* {{CLIENT_ACCENT}} */
  --color-primary-hover:  #17407A;   /* {{CLIENT_ACCENT_HOVER}} */
  /* RGB triplet of primary, used in rgba() overlays. Auto-computed from accent hex. */
  --color-primary-rgb:    29, 79, 145;  /* {{CLIENT_ACCENT_RGB}} */

  /* Dark surface system */
  --color-charcoal:       #0E2340;   /* {{CLIENT_DARK}} */
  --color-charcoal-deep:  #0A1A30;   /* {{CLIENT_DARK_DEEP}} */
  --color-charcoal-mid:   #1A2E4A;   /* {{CLIENT_DARK_MID}} */

  /* Light surface system */
  --color-parchment:      #FAFAFA;   /* {{CLIENT_LIGHT}} */
  --color-parchment-dark: #F0F2F5;   /* {{CLIENT_LIGHT_DARK}} */
  --color-cream:          #FFFFFF;   /* {{CLIENT_CALLOUT}} */
  --color-white:          #ffffff;   /* Card surfaces */

  /* Secondary accent */
  --color-amber:          #F25C05;   /* {{CLIENT_SECONDARY}} */

  /* Extended palette — mixed use across the site (promoted from homepage scope) */
  --color-teal:           #17BEBB;   /* Empowerment / clarity */
  --color-teal-soft:      rgba(23, 190, 187, 0.12);
  --color-gold:           #C9A46B;   /* Asset / monetization */
  --color-gold-soft:      rgba(201, 164, 107, 0.14);

  /* Per-page pillar accent — overridden inline on pillar-scoped pages via
     style="--pillar-accent: ..." on <html> or <body>. Defaults to primary so
     non-scoped pages still have a color. */
  --pillar-accent:        var(--color-primary);
  --pillar-accent-soft:   rgba(var(--color-primary-rgb), 0.10);

  /* Text colors */
  --color-text-primary:   #0E2340;   /* {{CLIENT_TEXT}} */
  --color-text-muted:     #5A6B82;   /* {{CLIENT_TEXT_MUTED}} */
  --color-text-on-dark:   #FFFFFF;   /* {{CLIENT_TEXT_ON_DARK}} */
  --color-text-on-dark-muted: rgba(245, 240, 234, 0.75);
  --color-text-on-primary: #ffffff;

  /* Legacy aliases — MUST reference the client-replaced tokens above,
     never hardcode hex values, or client sites inherit PLB palette. */
  --color-bg-white:       var(--color-white);
  --color-bg-warm:        var(--color-parchment);
  --color-bg-charcoal:    var(--color-charcoal);
  --color-bg-blush:       var(--color-cream);

  /* === TYPOGRAPHY — Replace with client fonts === */
  --font-headline:        'Montserrat', sans-serif;         /* {{CLIENT_HEADLINE_FONT}} */
  --font-headline-weight: 800;                           /* {{CLIENT_HEADLINE_WEIGHT}} */
  --font-body:            'Open Sans', sans-serif; /* {{CLIENT_BODY_FONT}} */
  --font-mono:            'DM Mono', monospace; /* {{CLIENT_MONO_FONT}} */

  /* === SPACING — Structural constants === */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   48px;
  --space-xl:   80px;
  --space-2xl:  120px;
  --page-pad:   48px;

  /* === LAYOUT — Structural constants === */
  --border-radius:     12px;   /* {{CLIENT_RADIUS}} */
  --border-radius-sm:  6px;
  --border-radius-btn: 8px;    /* {{CLIENT_BTN_RADIUS}} */
}


/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text-primary);
  background: var(--color-parchment);
  line-height: 1.75;
  font-size: 17px;
}

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

a {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary);
}


/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: var(--font-headline-weight);
  color: var(--color-text-primary);
  line-height: 1.2;
}

h1 { font-size: 54px; margin-bottom: var(--space-md); }
h2 { font-size: 44px; margin-bottom: var(--space-md); }
h3 { font-size: 32px; margin-bottom: var(--space-sm); }
h4 { font-size: 22px; margin-bottom: var(--space-xs); }

p {
  margin-bottom: var(--space-sm);
  font-size: 17px;
  line-height: 1.8;
}


/* --- SECTION LABEL / EYEBROW --- */
.section-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-label--on-dark {
  color: var(--color-primary);
  opacity: 0.85;
}


/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}


/* --- SECTIONS --- */
.section {
  padding: var(--space-xl) 0;
}

.section--white {
  background: var(--color-white);
}

.section--white .card {
  background: var(--color-parchment);
  border-color: var(--color-parchment-dark);
}

.section--warm {
  background: var(--color-parchment);
}

.section--warm .card {
  background: var(--color-white);
  border-color: var(--color-parchment-dark);
}

/* Charcoal — floating rounded container */
.section--charcoal {
  background: transparent;
  color: var(--color-text-on-dark);
  padding: var(--space-xl) 0;
}

.section--charcoal > .cta-block,
.section--charcoal > .container {
  background: var(--color-charcoal);
  border-radius: var(--border-radius);
  padding: var(--space-xl) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.section--charcoal > .cta-block::after,
.section--charcoal > .container::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-primary-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  border-radius: var(--border-radius);
}

.section--charcoal h1, .section--charcoal h2,
.section--charcoal h3, .section--charcoal h4 { color: var(--color-text-on-dark); }
.section--charcoal p { color: var(--color-text-on-dark); }
.section--charcoal a { color: var(--color-text-on-dark); text-decoration-color: var(--color-primary); }
.section--charcoal .section-label { color: var(--color-primary); opacity: 0.85; }

/* Dark section — full-bleed */
.section--dark {
  background: var(--color-charcoal);
  color: var(--color-text-on-dark);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-primary-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.section--dark > .container { position: relative; z-index: 1; }
.section--dark h1, .section--dark h2,
.section--dark h3, .section--dark h4 { color: var(--color-text-on-dark); }
.section--dark p { color: var(--color-text-on-dark); }
.section--dark a { color: var(--color-text-on-dark); text-decoration-color: var(--color-primary); }
.section--dark .section-label { color: var(--color-primary); opacity: 0.85; }


/* --- HERO --- */
.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--color-charcoal);
  color: var(--color-text-on-dark);
}

.hero h1, .hero h2, .hero h3, .hero h4 { color: var(--color-text-on-dark); }
.hero p { color: var(--color-text-on-dark-muted); }

.hero--video {
  position: relative;
  overflow: hidden;
  background: var(--color-charcoal);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero--video::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-primary-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 2;
  pointer-events: none;
}

.hero__video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(36, 36, 36, 0.65) 0%,
    rgba(36, 36, 36, 0.78) 50%,
    rgba(36, 36, 36, 0.90) 100%);
  z-index: 1;
}

.hero__content { position: relative; z-index: 3; }

.hero__label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.hero__headline {
  font-size: 56px;
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--color-text-on-dark);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero__sub {
  font-size: 22px;
  color: var(--color-text-on-dark-muted);
  margin: 0 0 var(--space-lg);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}


/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 11px 22px;
  border-radius: var(--border-radius-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: none;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-on-primary);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text-on-dark);
  border: 0.5px solid rgba(245, 240, 234, 0.25);
  font-weight: 500;
}

.btn--secondary:hover {
  background: rgba(245, 240, 234, 0.08);
  color: var(--color-text-on-dark);
  border-color: rgba(245, 240, 234, 0.45);
}

.btn--secondary-light {
  background: var(--color-white);
  color: var(--color-primary);
  border: 0.5px solid var(--color-primary);
  font-weight: 500;
}

.btn--secondary-light:hover {
  background: var(--color-cream);
  color: var(--color-primary);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-on-dark);
  border: 0.5px solid rgba(245, 240, 234, 0.25);
  font-weight: 500;
}

.btn--ghost:hover {
  background: rgba(245, 240, 234, 0.08);
  color: var(--color-text-on-dark);
}


/* --- NAVIGATION --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-charcoal);
  border-bottom: 1px solid rgba(245, 240, 234, 0.08);
  padding: var(--space-sm) 0;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.site-nav__logo {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text-on-dark);
  text-decoration: none;
}

.site-nav__logo:hover { color: var(--color-primary); }

.site-nav__panel {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links a {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: rgba(245, 240, 234, 0.75);
  transition: color 0.2s ease;
}

.site-nav__links a:hover { color: var(--color-text-on-dark); }
.site-nav__links .btn { font-size: 13px; padding: 9px 20px; color: var(--color-text-on-primary); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text-on-dark);
  margin: 5px 0;
  transition: transform 0.3s ease;
}


/* --- BREADCRUMB --- */
.breadcrumb {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-parchment-dark);
  padding: 10px 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }

.breadcrumb__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '\203A';
  margin: 0 8px;
  color: var(--color-text-muted);
}

.breadcrumb__item a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb__item a:hover { color: var(--color-primary); }
.breadcrumb__item--current { color: var(--color-text-primary); }


/* --- CARDS --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-parchment-dark);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-md);
  box-shadow: 0 2px 12px rgba(50, 50, 50, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(50, 50, 50, 0.13);
  transform: translateY(-2px);
}

.card--on-charcoal {
  background: rgba(245, 240, 234, 0.06);
  border: 0.5px solid rgba(245, 240, 234, 0.12);
  color: var(--color-text-on-dark);
}

.card__label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  display: block;
}

.card__title {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.card__title a { text-decoration: none; color: inherit; }
.card__title a:hover { color: var(--color-primary); }

.card__text {
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.7;
}

.structural-number {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 140px;
  line-height: 1;
  color: rgba(var(--color-primary-rgb), 0.07);
  position: absolute;
  top: -10px;
  left: -10px;
  pointer-events: none;
  z-index: 0;
}


/* --- TL;DR / NODE OPENING ANSWER --- */
.node-tldr {
  background: var(--color-bg-blush);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-md) 0 var(--space-lg);
}

.node-tldr__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 10px;
}

.node-tldr p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--color-text-primary);
  margin: 0;
}

.hero .tldr p, .hero .tldr { color: var(--color-text-primary); }


/* --- AUTHOR BLOCK (top of node) --- */
.author-block {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--color-parchment-dark);
  border-bottom: 1px solid var(--color-parchment-dark);
  margin-bottom: var(--space-lg);
}

.author-block__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-parchment-dark);
  flex-shrink: 0;
  overflow: hidden;
}

.author-block__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-block__info { flex: 1; }

.author-block__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-primary);
  margin: 0 0 2px;
}

.author-block__title { font-size: 13px; color: var(--color-text-muted); margin: 0; }

.author-block__links { display: flex; gap: 14px; margin-top: 6px; }
.author-block__links a {
  font-size: 12px;
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-mono);
}

.author-block__date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  white-space: nowrap;
  margin-left: auto;
}


/* --- INSHORT CARD --- */
.inshort {
  background: var(--color-charcoal);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
}

.inshort__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245, 240, 234, 0.08);
}

.inshort__text {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(245, 240, 234, 0.88);
  margin: 0;
}


/* --- KEY TAKEAWAYS --- */
.takeaways {
  list-style: none;
  margin-top: var(--space-md);
  border-top: 1px solid var(--color-parchment-dark);
}

.takeaways li {
  font-size: 17px;
  line-height: 1.65;
  padding: 14px 0 14px 40px;
  border-bottom: 1px solid var(--color-parchment-dark);
  position: relative;
}

.takeaways li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 14px;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
}


/* --- TWO-COLUMN NODE LAYOUT --- */
.node-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  align-items: start;
}

.node-sidebar {
  position: sticky;
  top: 88px;
}


/* --- SIDEBAR CTA --- */
.sidebar-cta {
  background: var(--color-charcoal);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  color: var(--color-text-on-dark);
}

.sidebar-cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 10px;
}

.sidebar-cta__heading {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-text-on-dark);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.sidebar-cta__text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(245, 240, 234, 0.75);
  margin-bottom: var(--space-sm);
}

.sidebar-cta__divider {
  border: none;
  border-top: 1px solid rgba(245, 240, 234, 0.10);
  margin: var(--space-sm) 0;
}

.sidebar-cta .btn { width: 100%; text-align: center; margin-bottom: 10px; }
.sidebar-cta .btn:last-child { margin-bottom: 0; }


/* --- NODE BODY TYPOGRAPHY --- */
.node-main h2 {
  font-size: 28px;
  font-weight: 700;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-parchment-dark);
  line-height: 1.25;
}

.node-main h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.node-main h3 { font-size: 20px; font-weight: 700; margin-top: var(--space-md); margin-bottom: 10px; }
.node-main p { font-size: 18px; line-height: 1.8; }
.node-main ul, .node-main ol { margin: var(--space-sm) 0 var(--space-md) var(--space-md); }
.node-main li { font-size: 17px; line-height: 1.7; margin-bottom: 8px; }
.node-main strong { font-weight: 600; }
.node-main code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--color-parchment-dark);
  padding: 2px 6px;
  border-radius: 4px;
}


/* --- CODE BLOCKS --- */
.node-main pre, .guide-body pre {
  background: #1e1e2e;
  color: #e0ddd8;
  border-radius: var(--border-radius);
  padding: var(--space-md);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  margin: var(--space-md) 0;
  border-left: 3px solid var(--color-primary);
}

.node-main pre code, .guide-body pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}


/* --- PERSPECTIVE BLOCK --- */
.perspective-block {
  background: var(--color-bg-blush);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: var(--space-md) var(--space-lg);
}

.perspective-block__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-sm);
}

.perspective-block p { font-size: 18px; line-height: 1.8; }
.perspective-block p:last-child { margin-bottom: 0; }


/* --- CITATIONS / SOURCES --- */
.citation-ref {
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  vertical-align: super;
  line-height: 0;
  color: var(--color-primary);
  text-decoration: none;
}

.node-sources {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-parchment-dark);
}

.node-sources__label {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  opacity: 0.5;
  margin-bottom: 10px;
}

.node-sources__list { list-style: decimal; padding-left: 20px; }
.node-sources__list li { font-size: 14px; line-height: 1.7; padding: 3px 0; opacity: 0.65; }
.node-sources__list a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.node-sources__list a:hover { color: var(--color-primary); opacity: 1; }


/* --- AUTHOR BIO (bottom of node) --- */
.author-bio {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-parchment-dark);
  margin-top: var(--space-lg);
}

.author-bio__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-parchment-dark);
  flex-shrink: 0;
  overflow: hidden;
}

.author-bio__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-bio__name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.author-bio__text { font-size: 15px; line-height: 1.7; color: var(--color-text-muted); margin-bottom: 8px; }
.author-bio__link { font-size: 13px; font-family: var(--font-mono); color: var(--color-primary); }


/* --- FAQ ACCORDION --- */
.faq-item { border-bottom: 1px solid var(--color-parchment-dark); }

.faq-item summary {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 19px;
  padding: var(--space-sm) 0;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: '+';
  display: inline-block;
  width: 24px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-primary);
}

.faq-item[open] summary::before { content: '\2212'; }

.faq-item__answer {
  padding: 0 0 var(--space-sm) 24px;
  font-size: 15px;
  line-height: 1.75;
}


/* --- RELATED NODES --- */
.related-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}


/* --- NODE LIST (cluster hubs) --- */
.node-list { list-style: none; }
.node-list li { padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-parchment-dark); }
.node-list li:last-child { border-bottom: none; }

.node-list__query {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 4px;
}

.node-list__query a { text-decoration: none; color: var(--color-text-primary); }
.node-list__query a:hover { color: var(--color-primary); }
.node-list__teaser { font-size: 14px; color: var(--color-text-muted); }


/* --- CTA BLOCK --- */
.cta-block { padding: var(--space-xl) var(--space-lg); }
.cta-block h2 { margin-bottom: var(--space-sm); }
.cta-block p { margin: 0 0 var(--space-md); }
.cta-block .btn { margin: 0 var(--space-xs) 0 0; }


/* --- CORAL CALLOUT PILL --- */
.callout--coral {
  background: var(--color-primary);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
}

.callout--coral h2 { color: #ffffff; margin-bottom: var(--space-sm); }
.callout--coral p { color: rgba(255, 255, 255, 0.85); margin-bottom: 0; }


/* --- DIVIDERS --- */
.divider {
  border: none;
  height: 1px;
  background: var(--color-parchment-dark);
  margin: var(--space-lg) 0;
}

.coral-rule {
  display: block;
  width: 3px;
  height: 32px;
  background: var(--color-primary);
  margin-bottom: var(--space-sm);
}


/* --- COMPARISON TABLES --- */
.node-main table, .guide-body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
  font-size: 15px;
}

.node-main th, .guide-body th {
  text-align: left;
  padding: var(--space-sm);
  border-bottom: 2px solid var(--color-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.node-main td, .guide-body td {
  padding: var(--space-sm);
  border-bottom: 1px solid rgba(50, 50, 50, 0.08);
  vertical-align: top;
}


/* --- GUIDE BODY TYPOGRAPHY --- */
.guide-body h2 { font-size: 40px; font-weight: 700; margin-top: var(--space-xl); margin-bottom: var(--space-md); }
.guide-body h2:first-of-type { margin-top: 0; }
.guide-body h3 { font-size: 24px; font-weight: 700; margin-top: var(--space-lg); margin-bottom: var(--space-sm); }
.guide-body p { font-size: 18px; line-height: 1.8; }
.guide-body ul, .guide-body ol { margin: var(--space-sm) 0 var(--space-md) var(--space-md); }
.guide-body li { font-size: 17px; line-height: 1.7; margin-bottom: 8px; }
.guide-body code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: rgba(50, 50, 50, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}


/* --- GUIDE COMPONENTS --- */

/* Stat banner */
.stat-banner {
  background: var(--color-primary);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.stat-banner__item { text-align: center; }
.stat-banner__value {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 32px;
  color: #ffffff;
  display: block;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-banner__label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.75);
}

/* Concept cards */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.concept-card {
  background: var(--color-white);
  border: 1px solid var(--color-parchment-dark);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--border-radius);
  padding: var(--space-md);
}

.concept-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(var(--color-primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-size: 18px;
}

.concept-card__title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}

.concept-card__text { font-size: 15px; line-height: 1.7; margin: 0; }

/* Step list */
.step-list { margin: var(--space-lg) 0; padding: 0; list-style: none; }

.step-list__item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  align-items: flex-start;
}

.step-list__number {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.step-list__content {
  flex: 1;
  background: var(--color-white);
  border: 1px solid var(--color-parchment-dark);
  border-radius: var(--border-radius);
  padding: var(--space-md) var(--space-lg);
}

.step-list__title { font-family: var(--font-headline); font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.step-list__text { font-size: 15px; line-height: 1.7; margin: 0; }

/* Highlight box */
.highlight-box {
  background: var(--color-charcoal);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  color: var(--color-text-on-dark);
}

.highlight-box p { color: rgba(245, 240, 234, 0.88); font-size: 18px; line-height: 1.75; }
.highlight-box p:last-child { margin-bottom: 0; }
.highlight-box strong { color: var(--color-text-on-dark); }

/* Bold lead list */
.bold-lead-list { list-style: none; padding: 0; margin: var(--space-md) 0; display: flex; flex-direction: column; gap: var(--space-md); }
.bold-lead-list li { padding-left: var(--space-md); border-left: 2px solid var(--color-primary); line-height: 1.7; }
.bold-lead-list li strong { display: block; font-family: var(--font-headline); font-size: 18px; font-weight: 400; margin-bottom: 4px; }

/* Guide CTA */
.guide-cta {
  background: var(--color-cream);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.guide-cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-xs);
}

.guide-cta__heading { font-family: var(--font-headline); font-weight: 700; font-size: 24px; margin-bottom: var(--space-xs); }
.guide-cta__text { font-size: 16px; line-height: 1.7; margin-bottom: var(--space-sm); }

/* Guide TOC */
.guide-toc {
  margin-top: var(--space-lg);
  border: 1px solid rgba(50, 50, 50, 0.12);
  border-radius: var(--border-radius);
  background: var(--color-white);
}

.guide-toc__toggle {
  cursor: pointer;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  user-select: none;
}

.guide-toc__toggle::-webkit-details-marker { display: none; }
.guide-toc__toggle::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--color-primary); }
.guide-toc[open] .guide-toc__toggle::after { content: '\2212'; }

.guide-toc__nav { padding: 0 var(--space-lg) var(--space-lg); }
.guide-toc__list { list-style: none; padding: 0; margin: 0; counter-reset: toc-counter; }
.guide-toc__list li { counter-increment: toc-counter; border-top: 1px solid rgba(50, 50, 50, 0.06); }

.guide-toc__list li a {
  display: block;
  padding: var(--space-sm) 0;
  color: var(--color-charcoal);
  text-decoration: none;
  font-size: 16px;
}

.guide-toc__list li a::before {
  content: counter(toc-counter, decimal-leading-zero) "  ";
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

.guide-toc__list li a:hover { color: var(--color-primary); }


/* --- FOOTER --- */
.site-footer {
  background: var(--color-charcoal);
  color: var(--color-text-on-dark);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-primary-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.site-footer > .container { position: relative; z-index: 1; }
.site-footer a { color: rgba(245, 240, 234, 0.6); text-decoration: none; }
.site-footer a:hover { color: var(--color-primary); }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 240, 234, 0.45);
  margin-bottom: var(--space-sm);
}

.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: var(--space-xs); }
.footer__col li a { font-size: 14px; }

.footer__bottom {
  border-top: 1px solid rgba(245, 240, 234, 0.08);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(245, 240, 234, 0.35);
}


/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .node-layout { grid-template-columns: 1fr; }
  .node-sidebar { position: static; order: -1; }
  .sidebar-cta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .sidebar-cta .btn { width: auto; }
}

@media (max-width: 900px) {
  :root { --page-pad: 32px; }
  h1, .hero__headline { font-size: 38px; }
  h2 { font-size: 32px; }
  h3 { font-size: 25px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .card-grid { grid-template-columns: 1fr; }
  .inshort { grid-template-columns: 1fr; }
  .related-nodes { grid-template-columns: 1fr; }
  .sidebar-cta { grid-template-columns: 1fr; }
  .stat-banner { grid-template-columns: repeat(2, 1fr); }
  .concept-grid { grid-template-columns: 1fr; }
  .guide-body h2 { font-size: 32px; }
}

@media (max-width: 640px) {
  :root {
    --space-xl: 48px;
    --space-2xl: 64px;
    --page-pad: 24px;
  }
  h1, .hero__headline { font-size: 32px; }
  h2 { font-size: 27px; }

  /* --- Mobile nav: collapse links + CTAs into the hamburger panel --- */
  .site-nav__panel,
  .body--home .site-nav__panel { display: none; }
  .nav-toggle,
  .body--home .nav-toggle { display: block; }

  .site-nav__panel.is-open,
  .body--home .site-nav__panel.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--color-charcoal);
    padding: var(--space-md);
    border-bottom: 1px solid rgba(245, 240, 234, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  }
  .body--home .site-nav__panel.is-open {
    background: #fff;
    border-bottom: 1px solid var(--color-parchment-dark);
    margin: 0;
  }

  .site-nav__panel.is-open .site-nav__links,
  .body--home .site-nav__panel.is-open .site-nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .site-nav__panel.is-open .site-nav__links a {
    color: rgba(245, 240, 234, 0.85);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(245, 240, 234, 0.08);
  }
  .body--home .site-nav__panel.is-open .site-nav__links a {
    color: var(--home-navy);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-parchment-dark);
  }

  /* CTAs stack full-width inside the panel */
  .site-nav__panel.is-open .site-nav__cta,
  .body--home .site-nav__panel.is-open .site-nav__cta {
    width: 100%;
    text-align: center;
    margin-top: var(--space-xs);
  }
  .site-nav__panel.is-open .site-nav__cta--toolkit,
  .body--home .site-nav__panel.is-open .site-nav__cta--toolkit {
    width: 100%;
    text-align: center;
  }

  /* Hamburger active state — transform into X */
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Breadcrumb: horizontal scroll instead of multi-line cell wrap */
  .breadcrumb__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .breadcrumb__list::-webkit-scrollbar { display: none; }
  .breadcrumb__item { white-space: nowrap; flex-shrink: 0; }
  .breadcrumb__item--current { max-width: 60vw; overflow: hidden; text-overflow: ellipsis; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-xs); text-align: center; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .stat-banner__value { font-size: 24px; }
  .step-list__item { flex-direction: column; }
  .step-list__number { width: 32px; height: 32px; font-size: 14px; }
}



/* ════════════════════════════════════════════════════════════════════
   HOMEPAGE — Marketing Landing Page (v2, based on Claude Design mockup)
   Used only on /index.html (body.body--home).
   Tokens map to global CSS variables so colors flow from site.json.
   ════════════════════════════════════════════════════════════════════ */

.body--home {
  --home-teal: #17BEBB;
  --home-teal-soft: rgba(23, 190, 187, 0.18);
  --home-teal-border: rgba(23, 190, 187, 0.35);
  --home-border: #E8EBEF;
  --home-navy: var(--color-charcoal);
  --home-primary: var(--color-primary);
  --home-orange: var(--color-amber);
  --home-muted: var(--color-text-muted);
  --home-surface: var(--color-white);
  --home-bg: var(--color-parchment);
  --font-script: 'Caveat', 'Open Sans', cursive;

  background: var(--home-bg);
  color: var(--color-charcoal);
  overflow-x: hidden;
}
.body--home a { color: inherit; }
.body--home img { max-width: 100%; display: block; }
.body--home .container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

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

.body--home h1, .body--home h2, .body--home h3, .body--home h4 {
  font-family: var(--font-headline); margin: 0; letter-spacing: -0.3px;
}
.body--home p { margin: 0; }
.body--home .eyebrow {
  display: inline-block;
  font-family: var(--font-headline); font-weight: 700;
  font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--home-teal);
  margin-bottom: 18px;
}
.body--home .eyebrow--teal { color: var(--home-teal); }
.body--home .eyebrow--orange { color: var(--home-orange); }

/* Squiggle underline utility */
.body--home .squiggle {
  display: inline-block; position: relative; padding-bottom: 6px;
}
.body--home .squiggle::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px; height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 25 1, 50 6 T 100 6 T 150 6 T 198 6' stroke='%2317BEBB' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
}
.body--home .squiggle--orange::after {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 25 1, 50 6 T 100 6 T 150 6 T 198 6' stroke='%23F25C05' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
}

/* === BUTTONS === */

.body--home .btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-headline); font-weight: 700;
  font-size: 14px; letter-spacing: 0.4px; text-transform: uppercase;
  text-decoration: none;
  padding: 18px 28px; border-radius: 10px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.body--home .btn--primary {
  background: var(--home-orange); color: #fff;
  box-shadow: 0 6px 20px rgba(242, 92, 5, 0.25);
}
.body--home .btn--primary:hover {
  background: #D94D00; transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(242, 92, 5, 0.32);
}
.body--home .btn--primary:active { transform: translateY(0); }
.body--home .btn--primary .icon-arrow { transition: transform .2s ease; }
.body--home .btn--primary:hover .icon-arrow { transform: translateX(4px); }
.body--home .btn--light {
  background: #fff; color: var(--home-navy);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.body--home .btn--light:hover {
  background: var(--home-teal); color: #fff; transform: translateY(-1px);
}
.body--home .btn--ghost {
  background: transparent; color: var(--home-primary);
  padding: 16px 26px; border: 2px solid rgba(29, 79, 145, 0.2);
}
.body--home .btn--ghost:hover { border-color: var(--home-primary); }

/* === NAV (site-wide; v2 for homepage) === */

.body--home .site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(232, 235, 239, 0.8);
}
.body--home .site-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; max-width: 1280px; margin: 0 auto;
}
.body--home .site-nav__brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  color: var(--home-navy);
}
.body--home .site-nav__brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--home-primary), var(--home-teal));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-headline); font-weight: 900; font-size: 15px;
}
.body--home .site-nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.body--home .site-nav__brand-name {
  font-family: var(--font-headline); font-weight: 800; font-size: 15px;
  letter-spacing: -0.2px;
  color: var(--home-navy);
}
.body--home .site-nav__brand-sub {
  font-family: 'Open Sans', sans-serif; font-weight: 400;
  font-size: 11px; color: var(--home-muted); margin-top: 3px;
}
.body--home .site-nav__links {
  display: flex; gap: 20px; list-style: none; padding: 0; margin: 0 auto 0 28px;
}
.body--home .site-nav__links a {
  font-family: var(--font-headline); font-weight: 600; font-size: 14px;
  white-space: nowrap;
  color: var(--home-navy); text-decoration: none;
}
.body--home .site-nav__links a:hover { color: var(--home-primary); }
.body--home .site-nav__cta {
  font-family: var(--font-headline); font-weight: 700; font-size: 13px;
  white-space: nowrap;
  padding: 10px 14px; background: var(--home-orange); color: #fff;
  border-radius: 8px; text-decoration: none;
  transition: background .2s ease;
}
.body--home .site-nav__cta:hover { background: #D94D00; }
@media (max-width: 1180px) {
  .body--home .site-nav__links { gap: 14px; margin-left: 20px; }
  .body--home .site-nav__links a { font-size: 13px; }
  .body--home .site-nav__cta { font-size: 12px; padding: 9px 11px; }
  .site-nav__cta.site-nav__cta--toolkit { padding: 7px 10px; margin-left: 8px; }
}

/* === HERO === */

.body--home .hero {
  position: relative; padding: 32px 0 120px; overflow: hidden;
  background: var(--home-bg);
}
.body--home .hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 80px; align-items: center;
}
.body--home .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  font-family: var(--font-headline); font-weight: 700;
  font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--home-teal);
}
.body--home .hero-eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--home-teal);
  box-shadow: 0 0 0 4px rgba(23, 190, 187, 0.15);
}
.body--home .hero-h1 {
  font-family: var(--font-headline); font-weight: 900;
  font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -1.8px;
  color: var(--home-navy); margin-bottom: 28px;
}
.body--home .hero-h1__asset { color: var(--home-teal); display: inline-block; position: relative; padding-bottom: 6px; }
.body--home .hero-h1__asset::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px; height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 25 1, 50 6 T 100 6 T 150 6 T 198 6' stroke='%2317BEBB' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
}
.body--home .hero-h1__or { color: var(--home-muted); font-weight: 700; }
.body--home .hero-h1__target { color: var(--home-orange); }
.body--home .hero-h1__and {
  display: block; font-size: 0.7em; color: var(--home-navy);
  margin-top: 6px; font-weight: 800;
}
.body--home .hero-lede {
  font-family: 'Open Sans', sans-serif; font-size: 19px; line-height: 1.65;
  color: var(--home-navy); max-width: 520px; margin-bottom: 16px;
}
.body--home .hero-lede strong { color: var(--home-primary); font-weight: 700; }
.body--home .hero-sub {
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.65;
  color: var(--home-muted); max-width: 520px; margin-bottom: 40px;
}
.body--home .hero-cta-row {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.body--home .hero-trust {
  font-family: 'Open Sans', sans-serif; font-size: 13px; color: var(--home-muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.body--home .hero-trust svg { color: var(--home-teal); }

/* === HERO BRAND-CARD VISUAL === */

.body--home .hero-visual {
  position: relative; min-height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.body--home .brand-card {
  position: absolute;
  width: 300px; padding: 28px 26px; border-radius: 18px;
  background: #fff; border: 1px solid var(--home-border);
  box-shadow: 0 20px 60px rgba(14, 35, 64, 0.10);
  font-family: 'Open Sans', sans-serif;
}
.body--home .brand-card__label {
  font-family: var(--font-headline); font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--home-muted);
  margin-bottom: 12px;
}
.body--home .brand-card__name {
  font-family: var(--font-headline); font-size: 28px; font-weight: 800;
  letter-spacing: -0.6px; color: var(--home-navy); margin-bottom: 8px; line-height: 1.1;
}
.body--home .brand-card__tag { font-size: 13px; color: var(--home-muted); line-height: 1.5; }
.body--home .brand-card__line { height: 1px; background: var(--home-border); margin: 18px 0; }
.body--home .brand-card__meta {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--home-muted);
}
.body--home .brand-card--unprotected {
  left: 4%; top: 8%; transform: rotate(-6deg);
  border-color: rgba(242, 92, 5, 0.25);
}
.body--home .brand-card--unprotected .brand-card__badge {
  position: absolute; top: 14px; right: -8px;
  font-family: var(--font-headline); font-weight: 900; font-size: 12px;
  letter-spacing: 1.5px; color: var(--home-orange);
  background: #fff; border: 2px solid var(--home-orange);
  padding: 6px 12px; border-radius: 6px; transform: rotate(6deg);
  box-shadow: 0 4px 12px rgba(242, 92, 5, 0.25);
}
.body--home .brand-card--unprotected .brand-card__copycat {
  position: absolute; left: -48px; top: 50%;
  font-family: var(--font-script);
  font-size: 18px; color: var(--home-orange); font-weight: 600;
  transform: rotate(-8deg);
}
.body--home .brand-card--protected {
  right: 4%; bottom: 6%; transform: rotate(4deg);
  border-color: var(--home-teal-border);
}
.body--home .brand-card--protected .brand-card__badge {
  position: absolute; top: 14px; right: -8px;
  font-family: var(--font-headline); font-weight: 900; font-size: 12px;
  letter-spacing: 1.5px; color: #fff;
  background: var(--home-teal);
  padding: 6px 12px; border-radius: 6px; transform: rotate(-4deg);
  box-shadow: 0 4px 12px rgba(23, 190, 187, 0.35);
}
.body--home .hero-arrow {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 160px; pointer-events: none; z-index: 2;
  color: var(--home-teal);
}

/* === LEAD MAGNET === */

.body--home .leadmag {
  padding: 100px 0; background: var(--home-navy); color: #fff;
  position: relative; overflow: hidden;
}
.body--home .leadmag::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(23,190,187,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.body--home .leadmag-grid {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: 72px; align-items: center;
  position: relative;
}
.body--home .leadmag .eyebrow { color: var(--home-teal); }
.body--home .leadmag-h2 {
  font-family: var(--font-headline); font-weight: 900;
  font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -1px;
  color: #fff;
  margin-bottom: 20px;
}
.body--home .leadmag-lede {
  font-family: 'Open Sans', sans-serif; font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,0.78); margin-bottom: 28px; max-width: 480px;
}
.body--home .leadmag-lede em { color: var(--home-teal); font-style: normal; font-weight: 600; }
.body--home .leadmag-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.body--home .leadmag-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.55;
  color: rgba(255,255,255,0.92);
}
.body--home .leadmag-list li .li-text { flex: 1; min-width: 0; }
.body--home .about-points li .li-text { flex: 1; min-width: 0; }
.body--home .leadmag-check {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(23, 190, 187, 0.2); color: var(--home-teal);
  display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
}
.body--home .leadmag-outcome {
  background: rgba(23, 190, 187, 0.08);
  border-left: 3px solid var(--home-teal);
  padding: 18px 22px; border-radius: 0 10px 10px 0;
  font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
}
.body--home .leadmag-outcome strong { color: #fff; font-weight: 700; }

/* Roadmap visual */
.body--home .roadmap { position: relative; transform: rotate(-2.5deg); }
.body--home .roadmap-doc {
  background: var(--home-bg); color: var(--home-navy);
  border-radius: 14px; padding: 32px 32px 28px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.45), 0 20px 40px rgba(0,0,0,0.25);
  position: relative;
}
.body--home .roadmap-doc::before {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(23,190,187,0.2); border-radius: 8px; pointer-events: none;
}
.body--home .roadmap-doc__head {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px;
}
.body--home .roadmap-doc__brand {
  font-family: var(--font-headline); font-weight: 900; font-size: 14px;
  color: var(--home-primary); letter-spacing: 1px;
}
.body--home .roadmap-doc__pg {
  font-family: var(--font-headline); font-size: 10px; color: var(--home-muted);
  letter-spacing: 2px; font-weight: 700;
}
.body--home .roadmap-doc__kicker {
  font-family: var(--font-headline); font-weight: 700; font-size: 11px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--home-orange); margin-bottom: 10px;
}
.body--home .roadmap-doc__title {
  font-family: var(--font-headline); font-weight: 900; font-size: 28px;
  letter-spacing: -0.8px; line-height: 1.05; color: var(--home-navy); margin-bottom: 22px;
}
.body--home .roadmap-doc__line {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  border-top: 1px dashed var(--home-border);
}
.body--home .roadmap-doc__line:first-of-type { border-top: 0; padding-top: 4px; }
.body--home .roadmap-doc__num {
  font-family: var(--font-headline); font-weight: 900; font-size: 11px;
  color: var(--home-teal); letter-spacing: 1.5px;
}
.body--home .roadmap-doc__text {
  font-family: 'Open Sans', sans-serif; font-size: 13px; color: var(--home-navy);
}
.body--home .roadmap-doc__foot {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--home-border);
  display: flex; justify-content: space-between;
  padding-right: 84px;
  font-family: 'Open Sans', sans-serif; font-size: 11px; color: var(--home-muted);
}
.body--home .roadmap-stamp {
  position: absolute; bottom: -24px; right: -24px;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--home-orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-headline); font-weight: 900; font-size: 12px;
  text-align: center; line-height: 1.1; letter-spacing: 0.5px;
  transform: rotate(12deg); white-space: pre-line;
  box-shadow: 0 12px 30px rgba(242, 92, 5, 0.45);
}

/* === SECTION HEAD (shared) === */

.body--home .sec-pad { padding: 112px 0; }
.body--home .section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.body--home .section-head h2 {
  font-family: var(--font-headline); font-weight: 900;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -1.2px;
  color: var(--home-navy);
}
.body--home .section-head p {
  font-family: 'Open Sans', sans-serif; font-size: 18px; line-height: 1.6;
  color: var(--home-muted); margin-top: 18px;
}

/* === AUDIENCE / PERSONAS === */

.body--home .personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.body--home .persona {
  position: relative; background: #fff; border-radius: 20px;
  padding: 40px 32px 36px; border: 1px solid var(--home-border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.body--home .persona:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(14, 35, 64, 0.10);
}
.body--home .persona-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(23, 190, 187, 0.12); color: var(--home-teal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.body--home .persona:nth-child(2) .persona-icon { background: rgba(242, 92, 5, 0.12); color: var(--home-orange); }
.body--home .persona:nth-child(3) .persona-icon { background: rgba(29, 79, 145, 0.10); color: var(--home-primary); }
.body--home .persona-kicker {
  font-family: var(--font-headline); font-weight: 700;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--home-muted);
  margin-bottom: 8px;
}
.body--home .persona-name {
  font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -0.3px;
  color: var(--home-navy); margin-bottom: 14px;
}
.body--home .persona-desc {
  font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.65;
  color: var(--home-muted); margin-bottom: 24px;
}
.body--home .persona-lines {
  border-top: 1px dashed var(--home-border); padding-top: 20px;
}
.body--home .persona-line {
  margin-bottom: 14px; font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 1.55;
}
.body--home .persona-line:last-child { margin-bottom: 0; }
.body--home .persona-line__label {
  display: block; margin-bottom: 4px;
  font-family: var(--font-headline); font-weight: 700; font-size: 10px;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--home-teal);
}
.body--home .persona:nth-child(2) .persona-line__label { color: var(--home-orange); }
.body--home .persona:nth-child(3) .persona-line__label { color: var(--home-primary); }
.body--home .persona-line__text { color: var(--home-navy); }

/* === ABOUT === */

.body--home .about {
  padding: 112px 0; background: #fff;
  border-top: 1px solid var(--home-border);
  border-bottom: 1px solid var(--home-border);
}
.body--home .about-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center;
}
.body--home .about-portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(23,190,187,0.4) 0%, rgba(29,79,145,0.5) 100%),
    radial-gradient(circle at 30% 30%, var(--home-border), #F0F2F5);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.body--home .about-portrait::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 6px);
  pointer-events: none;
}
.body--home .about-faces {
  display: flex; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.body--home .about-face {
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--home-bg); border: 4px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-headline); font-weight: 900; font-size: 36px;
  color: var(--home-primary); letter-spacing: -1px;
  box-shadow: 0 8px 24px rgba(14,35,64,0.2);
  margin-left: -16px;
}
.body--home .about-face:first-child { margin-left: 0; background: var(--home-teal); color: #fff; }
.body--home .about-face:nth-child(2) { background: var(--home-orange); color: #fff; }
.body--home .about-caption {
  position: relative; z-index: 1;
  font-family: var(--font-script);
  color: #fff; font-size: 24px; font-weight: 600;
  transform: rotate(-2deg);
}
.body--home .about-note {
  position: absolute; bottom: 12px; right: 16px; z-index: 2;
  font-family: 'Open Sans', sans-serif; font-size: 10px;
  color: rgba(255,255,255,0.6); letter-spacing: 1px; text-transform: uppercase;
}

/* About portrait — photo variant (real headshot). Overrides the gradient
   + monogram treatment when a real image is supplied in site.json. */
.body--home .about-portrait--photo {
  background: var(--home-navy);
  padding: 0;
  display: block;
}
.body--home .about-portrait--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 35, 64, 0.75) 100%);
  pointer-events: none;
  z-index: 1;
}
.body--home .about-portrait--photo .about-portrait__img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  position: absolute; inset: 0;
  z-index: 0;
}
.body--home .about-portrait--photo .about-caption {
  position: absolute; left: 28px; bottom: 24px; right: 28px;
  z-index: 2;
  transform: rotate(-2deg);
  transform-origin: left bottom;
}
.body--home .about-h2 {
  font-family: var(--font-headline); font-weight: 900;
  font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -1px;
  margin-bottom: 24px; color: var(--home-navy);
}
.body--home .about-body {
  font-family: 'Open Sans', sans-serif; font-size: 17px; line-height: 1.7;
  color: var(--home-navy); margin-bottom: 28px; max-width: 560px;
}
.body--home .about-body strong { color: var(--home-primary); }
.body--home .about-points {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: flex; flex-direction: column; gap: 12px;
}
.body--home .about-points li {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.55; color: var(--home-navy);
}
.body--home .about-points strong { color: var(--home-primary); }
.body--home .about-dot {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(23,190,187,0.15); color: var(--home-teal);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.body--home .about-mission {
  font-family: var(--font-headline); font-weight: 700; font-size: 18px;
  line-height: 1.4; color: var(--home-navy); margin-bottom: 32px;
  padding-left: 18px; border-left: 3px solid var(--home-teal);
}

/* === PROCESS === */

.body--home .process {
  padding: 112px 0 100px; background: var(--home-bg);
}
.body--home .process-path {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.body--home .process-path::before {
  content: ""; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(to right, var(--home-teal) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.body--home .step {
  position: relative; background: #fff; border-radius: 18px;
  padding: 32px 26px 28px; border: 1px solid var(--home-border); z-index: 1;
}
.body--home .step-num {
  position: absolute; top: -22px; left: 24px;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--home-navy); color: var(--home-teal);
  font-family: var(--font-headline); font-weight: 900; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(14,35,64,0.2);
}
.body--home .step:nth-child(2) .step-num { background: var(--home-primary); color: #fff; }
.body--home .step:nth-child(3) .step-num { background: var(--home-orange); color: #fff; }
.body--home .step:nth-child(4) .step-num { background: var(--home-teal); color: #fff; }
.body--home .step-label {
  margin-top: 18px;
  font-family: var(--font-headline); font-weight: 900; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--home-muted);
}
.body--home .step-heading {
  font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.2px;
  margin: 8px 0 12px; color: var(--home-navy);
}
.body--home .step-desc {
  font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 1.6; color: var(--home-muted);
}

/* === TRAPS === */

.body--home .traps { padding: 112px 0; background: #fff; }
.body--home .trap-list { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
.body--home .trap {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch;
  background: var(--home-bg); border-radius: 20px;
  border: 1px solid var(--home-border); overflow: hidden;
}
.body--home .trap-quote {
  padding: 40px 40px 40px 48px;
  background: #fff; border-right: 1px solid var(--home-border);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.body--home .trap-quote::before {
  content: "\201C";
  position: absolute; top: 12px; left: 24px;
  font-family: var(--font-headline);
  font-size: 100px; line-height: 1; color: rgba(242,92,5,0.18);
  font-weight: 900;
}
.body--home .trap-num {
  font-family: var(--font-headline); font-weight: 900;
  font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--home-orange); margin-bottom: 12px; position: relative;
}
.body--home .trap-title {
  font-family: var(--font-headline); font-weight: 900; font-size: 24px;
  letter-spacing: -0.3px; color: var(--home-navy); margin-bottom: 18px; line-height: 1.2;
  position: relative;
}
.body--home .trap-quoted {
  font-family: 'Open Sans', sans-serif; font-style: italic; font-size: 17px;
  line-height: 1.55; color: var(--home-navy); position: relative;
}
.body--home .trap-fix {
  padding: 40px; display: flex; flex-direction: column; justify-content: center;
}
.body--home .trap-fix__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-headline); font-weight: 800; font-size: 11px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--home-teal);
  margin-bottom: 14px;
}
.body--home .trap-fix__desc {
  font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.65; color: var(--home-navy);
}
.body--home .trap-fix__desc strong { color: var(--home-primary); font-weight: 700; }
.body--home .center-cta { text-align: center; margin-top: 56px; }

/* === CREED === */

.body--home .creed {
  padding: 120px 0; background: var(--home-navy); color: #fff;
  position: relative; overflow: hidden;
}
.body--home .creed::before {
  content: ""; position: absolute; left: -100px; bottom: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(23,190,187,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.body--home .creed-head { text-align: center; margin-bottom: 64px; position: relative; }
.body--home .creed-head h2 {
  font-family: var(--font-headline); font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px); line-height: 1.08; letter-spacing: -1.2px;
  color: #fff;
}
.body--home .creed-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 960px; margin: 0 auto; position: relative;
}
.body--home .creed-item {
  padding: 32px; border-left: 3px solid var(--home-teal);
  background: rgba(255,255,255,0.03); border-radius: 0 14px 14px 0;
}
.body--home .creed-item:nth-child(2) { border-left-color: var(--home-orange); }
.body--home .creed-item:nth-child(3) { border-left-color: var(--home-primary); }
.body--home .creed-item:nth-child(4) { border-left-color: var(--home-teal); }
.body--home .creed-item h3 {
  font-family: var(--font-headline); font-weight: 900; font-size: 22px;
  line-height: 1.2; letter-spacing: -0.3px; margin-bottom: 10px; color: #fff;
}
.body--home .creed-item p {
  font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.65;
  color: rgba(255,255,255,0.75);
}
.body--home .creed-foot {
  text-align: center; margin-top: 56px;
  font-family: var(--font-script); font-size: 24px; color: var(--home-teal); font-weight: 600;
}

/* === META-PROOF === */

.body--home .metaproof {
  padding: 80px 32px; background: var(--home-bg); text-align: center;
  position: relative;
}
.body--home .metaproof-inner { max-width: 820px; margin: 0 auto; position: relative; }
.body--home .metaproof-rule {
  width: 48px; height: 2px; background: var(--home-teal);
  margin: 0 auto 32px; border-radius: 2px;
}
.body--home .metaproof-eyebrow {
  font-family: var(--font-headline); font-weight: 800;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--home-teal); margin-bottom: 20px;
}
.body--home .metaproof-inner p {
  font-family: var(--font-headline); font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; letter-spacing: -0.4px;
  color: var(--home-navy);
}
.body--home .metaproof-inner p em {
  font-style: normal; color: var(--home-primary);
  background: linear-gradient(180deg, transparent 62%, rgba(23,190,187,0.25) 62%, rgba(23,190,187,0.25) 88%, transparent 88%);
}

/* === DIRECTORY / RESOURCE CENTER === */

/* Resource Center section — outer is WHITE (breaks the dark-navy run
   that would otherwise butt up against the Creed section). The inner
   container becomes a contained blue card with its own radial gradients,
   so the Resource Center itself still reads dark-and-premium. */
.body--home .directory {
  padding: clamp(120px, 12vw, 180px) 32px;
  background: #fff;
}
.body--home .directory-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--home-navy);
  color: #fff;
  border-radius: 28px;
  padding: 64px 64px 56px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(14, 35, 64, 0.18);
}
.body--home .directory-inner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(23, 190, 187, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 95%, rgba(29, 79, 145, 0.45) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.body--home .directory-head,
.body--home .rc-chips,
.body--home .rc-attestation,
.body--home .directory-cta-row { position: relative; z-index: 1; }
.body--home .directory-head {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: end;
  margin-bottom: 28px;
}
.body--home .directory-h2 {
  font-family: var(--font-headline); font-weight: 900;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -1.4px;
  color: #fff;
}
.body--home .rc-italic { color: var(--home-teal); font-style: italic; font-weight: 800; }
.body--home .directory-sub {
  font-family: 'Open Sans', sans-serif; font-size: 18px; line-height: 1.65;
  color: rgba(255,255,255,0.72);
}
.body--home .rc-chips {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 8px 0 24px;
}
.body--home .rc-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 28px 26px 26px;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.body--home .rc-chip:hover {
  background: rgba(23,190,187,0.07);
  border-color: var(--home-teal-border);
  transform: translateY(-2px);
}
.body--home .rc-chip__label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-headline); font-weight: 800;
  font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--home-teal); margin-bottom: 14px;
}
.body--home .rc-chip:nth-child(2) .rc-chip__label { color: var(--home-orange); }
.body--home .rc-chip:nth-child(3) .rc-chip__label { color: #fff; }
.body--home .rc-chip__dot {
  width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 4px rgba(23,190,187,0.18);
}
.body--home .rc-chip:nth-child(2) .rc-chip__dot { box-shadow: 0 0 0 4px rgba(242,92,5,0.18); }
.body--home .rc-chip:nth-child(3) .rc-chip__dot { box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
.body--home .rc-chip__body {
  font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.body--home .directory-cta-row {
  display: flex; align-items: center; justify-content: center;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
}

/* Signed attestation inside the dark Resource Center teaser. Replaces
   the old standalone Proof-by-Construction section — the trust signal
   now lives where the CTA is, so it closes the section with weight. */
.body--home .rc-attestation {
  max-width: 820px;
  margin: 0 auto 20px;
  padding: 16px 0 4px;
  text-align: center;
  position: relative;
}
.body--home .rc-attestation__rule {
  display: block;
  width: 48px; height: 2px;
  background: var(--home-accent);
  margin: 0 auto 16px;
  border-radius: 2px;
}
.body--home .rc-attestation__text {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto;
  max-width: 60ch;
}
.body--home .rc-attestation__text em {
  font-style: normal;
  color: #fff;
  background: linear-gradient(180deg, transparent 62%, rgba(23, 190, 187, 0.3) 62%, rgba(23, 190, 187, 0.3) 88%, transparent 88%);
  padding: 0 2px;
}
.body--home .rc-attestation__sig {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 22px;
  color: var(--home-accent);
  margin: 12px 0 0;
  line-height: 1.2;
}

/* === FINAL CTA === */

.body--home .final {
  padding: 140px 32px; text-align: center; position: relative; overflow: hidden;
  background: var(--home-bg);
}
.body--home .final::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(23,190,187,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(242,92,5,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.body--home .final-inner { position: relative; max-width: 780px; margin: 0 auto; }
.body--home .final-h2 {
  font-family: var(--font-headline); font-weight: 900;
  font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -1.5px;
  margin-bottom: 24px; color: var(--home-navy);
}
.body--home .final p {
  font-family: 'Open Sans', sans-serif; font-size: 19px; line-height: 1.6;
  color: var(--home-muted); margin-bottom: 40px;
}
.body--home .final-trust {
  margin-top: 20px; font-size: 13px; color: var(--home-muted);
}

/* === RESPONSIVE === */

@media (max-width: 960px) {
  .body--home .hero-grid,
  .body--home .leadmag-grid,
  .body--home .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .body--home .hero { padding: 24px 0 80px; }
  .body--home .hero-visual { min-height: 380px; }
  .body--home .leadmag { padding: 72px 0; }
  .body--home .personas,
  .body--home .rc-chips { grid-template-columns: 1fr; }
  .body--home .process-path { grid-template-columns: 1fr 1fr; }
  .body--home .process-path::before { display: none; }
  .body--home .trap { grid-template-columns: 1fr; }
  .body--home .trap-quote { border-right: 0; border-bottom: 1px solid var(--home-border); padding: 32px 28px; }
  .body--home .trap-fix { padding: 28px; }
  .body--home .directory-head { grid-template-columns: 1fr; gap: 24px; }
  .body--home .directory { padding: 96px 20px; }
  .body--home .directory-inner { padding: 56px 32px; border-radius: 20px; }
  .body--home .site-nav__links { display: none; }
  .body--home .site-nav__cta { padding: 8px 14px; font-size: 12px; }
}
@media (max-width: 760px) {
  .body--home .creed-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .body--home .process-path { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════════════
   PILLAR-THEMED PAGES — Color variation across pillar hubs, cluster
   hubs, and node pages. Pages set --pillar-accent inline via a style
   attribute on <body>, driven by the active pillar's accentColor in
   pillars.json. Selectors below override specific spots that would
   otherwise be monotone primary.
   ════════════════════════════════════════════════════════════════════ */

/* ─── GLOBAL NAV BRAND (dark bar, light text by default) ───
   Non-home pages keep the dark charcoal nav bar. The new nav partial
   emits .site-nav__brand / __brand-mark / __brand-text / __brand-name /
   __brand-sub; these styles apply everywhere. .body--home later in the
   file overrides to the translucent light-bar treatment. */

.site-nav__brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  color: var(--color-text-on-dark);
}
.site-nav__brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-teal));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-headline); font-weight: 900; font-size: 15px;
}
.site-nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-nav__brand-name {
  font-family: var(--font-headline); font-weight: 800; font-size: 15px;
  letter-spacing: -0.2px;
  color: var(--color-text-on-dark);
}
.site-nav__brand-sub {
  font-family: var(--font-body); font-weight: 400;
  font-size: 11px; color: rgba(245, 240, 234, 0.65); margin-top: 3px;
}
.site-nav__cta {
  font-family: var(--font-headline); font-weight: 700; font-size: 13px;
  white-space: nowrap;
  padding: 10px 16px; background: var(--color-amber); color: #fff;
  border-radius: 8px; text-decoration: none;
  transition: background .2s ease;
}
.site-nav__cta:hover { background: var(--color-primary-hover); }

/* Toolkit pill — paid-offer CTA. White with orange outline so it pairs
   visually with the filled-orange Scorecard pill but reads as a
   distinct, secondary action. Higher-specificity selector
   (.site-nav__cta.site-nav__cta--toolkit) so it beats the
   .body--home .site-nav__cta override on the homepage. */
.site-nav__cta.site-nav__cta--toolkit {
  background: #fff;
  color: var(--color-amber);
  border: 2px solid var(--color-amber);
  /* trim padding by the border thickness so visual size matches the
     filled-orange pill next to it. */
  padding: 8px 14px;
  margin-left: 10px;
  box-shadow: none;
  transition: background .2s ease, color .2s ease;
}
.site-nav__cta.site-nav__cta--toolkit:hover {
  background: var(--color-amber);
  color: #fff;
}

/* ─── GLOBAL SQUIGGLE UTILITY ───
   Available anywhere, not just .body--home. Used to underline key words
   in display headlines — teal by default, orange variant available. */

.squiggle {
  display: inline-block; position: relative; padding-bottom: 6px;
}
.squiggle::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px; height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 25 1, 50 6 T 100 6 T 150 6 T 198 6' stroke='%2317BEBB' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
}
.squiggle--orange::after {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 25 1, 50 6 T 100 6 T 150 6 T 198 6' stroke='%23F25C05' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
}

/* ─── PILLAR-THEMED PAGES ─── */

.pillar-themed .section-label {
  color: var(--pillar-accent);
}
.pillar-themed .structural-number {
  color: var(--pillar-accent);
  opacity: 0.08;
}
.pillar-themed .breadcrumb a:hover,
.pillar-themed .breadcrumb__item a:hover {
  color: var(--pillar-accent);
}
.pillar-themed .card {
  border-top: 3px solid var(--pillar-accent);
}
.pillar-themed .card__title a:hover {
  color: var(--pillar-accent);
}
.pillar-themed .node-tldr {
  border-left-color: var(--pillar-accent);
  background: var(--pillar-accent-soft);
}
.pillar-themed .node-tldr__label {
  color: var(--pillar-accent);
}
.pillar-themed .node-sources__label {
  color: var(--pillar-accent);
}
.pillar-themed .node-sources__list a:hover {
  color: var(--pillar-accent);
}
.pillar-themed .author-bio__link {
  color: var(--pillar-accent);
}
.pillar-themed .node-list__query a:hover {
  color: var(--pillar-accent);
}
.pillar-themed .faq-item > summary::marker,
.pillar-themed .faq-item[open] > summary {
  color: var(--pillar-accent);
}

/* Dark containers on node pages (inShort card + sidebar CTA) —
   swap the default primary-blue accent to teal so it reads against
   the navy background. Middle inShort chip gets orange to mirror the
   homepage 3-chip rotation and add color variety. */
.pillar-themed .inshort__label {
  color: var(--color-teal);
}
.pillar-themed .inshort > div:nth-child(2) .inshort__label {
  color: var(--color-amber);
}
.pillar-themed .inshort > div:first-child .inshort__label::before,
.pillar-themed .inshort > div:nth-child(2) .inshort__label::before,
.pillar-themed .inshort > div:last-child .inshort__label::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 8px;
  vertical-align: middle;
}
.pillar-themed .inshort__text {
  color: rgba(255, 255, 255, 0.88);
}

/* Sidebar CTA — teal eyebrow, orange primary button, ghost button with
   teal border so both sections are legible on the dark navy card. */
.pillar-themed .sidebar-cta__eyebrow {
  color: var(--color-teal);
}
.pillar-themed .sidebar-cta__heading {
  color: #fff;
}
.pillar-themed .sidebar-cta__text {
  color: rgba(255, 255, 255, 0.78);
}
.pillar-themed .sidebar-cta .btn--primary {
  background: var(--color-amber);
  color: #fff;
  border: 0;
  box-shadow: 0 6px 18px rgba(242, 92, 5, 0.28);
}
.pillar-themed .sidebar-cta .btn--primary:hover {
  background: #D94D00;
}
.pillar-themed .sidebar-cta .btn--ghost {
  border: 2px solid rgba(23, 190, 187, 0.45);
  color: var(--color-teal);
  background: transparent;
}
.pillar-themed .sidebar-cta .btn--ghost:hover {
  border-color: var(--color-teal);
  background: rgba(23, 190, 187, 0.08);
  color: var(--color-teal);
}
.pillar-themed .sidebar-cta__divider {
  border-top-color: rgba(23, 190, 187, 0.18);
}

/* The offer section of the sidebar CTA (second eyebrow) — use amber
   to differentiate it from the free-tool section above. */
.pillar-themed .sidebar-cta > .sidebar-cta__eyebrow:nth-of-type(2) {
  color: var(--color-amber);
}

/* Pillar-themed HERO — LIGHT, crisp, matches the homepage palette.
   Off-white bg with a subtle pillar-accent radial in the corner + a
   whisper of teal at the opposite corner so internal pages feel like
   they belong to the same palette as the homepage. Text is DARK. */
.pillar-themed .hero {
  position: relative;
  overflow: hidden;
  background: var(--color-parchment);
  color: var(--color-text-primary);
  padding: var(--space-2xl) 0 var(--space-xl);
  border-bottom: 1px solid rgba(14, 35, 64, 0.05);
}
.pillar-themed .hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, var(--pillar-accent-soft) 0%, transparent 45%),
    radial-gradient(ellipse at 5% 95%, rgba(23, 190, 187, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 110%, rgba(242, 92, 5, 0.04) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.pillar-themed .hero > .container { position: relative; z-index: 1; }
.pillar-themed .hero h1,
.pillar-themed .hero h2,
.pillar-themed .hero h3 { color: var(--color-charcoal); }
.pillar-themed .hero p { color: var(--color-text-primary); }
.pillar-themed .hero__headline {
  color: var(--color-charcoal);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -1.2px;
  max-width: 22ch;
  margin-bottom: var(--space-sm);
}
.pillar-themed .hero__sub {
  color: var(--color-text-muted);
  font-size: 19px;
  max-width: 62ch;
  line-height: 1.65;
}

/* Caveat belief quote — teal script, sits between H1 and description */
.belief-quote {
  display: block;
  font-family: 'Caveat', cursive;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--color-teal);
  margin: var(--space-sm) 0 var(--space-md);
  line-height: 1.3;
  max-width: 40ch;
}

/* Pillar badge — LIGHT bg context, solid white chip with colored number */
.pillar-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 5px 16px 5px 5px;
  background: #fff;
  border: 1px solid rgba(14, 35, 64, 0.08);
  border-radius: 999px;
  margin-bottom: var(--space-md);
  font-family: var(--font-headline);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(14, 35, 64, 0.04);
}
.pillar-badge__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--pillar-accent); color: #fff;
  font-weight: 900; font-size: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* Pillar-themed section labels (eyebrow) — colored, Montserrat small-caps */
.pillar-themed .section-label {
  color: var(--pillar-accent);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: var(--space-xs);
}

/* Pillar-themed CARDS — homepage process-card treatment. White, rounded,
   subtle border, number chip overlapping top-left corner (the chip is
   the color signal — no top border that would clash with it). */
.pillar-themed .card-grid { gap: 28px; margin-top: var(--space-lg); }
.pillar-themed .card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(14, 35, 64, 0.08);
  border-radius: 18px;
  padding: 48px 32px 32px;
  overflow: visible;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 4px 14px rgba(14, 35, 64, 0.04);
}
.pillar-themed .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(14, 35, 64, 0.10);
}

/* Number chip at top-left corner (replaces the old 140px faint number) */
.pillar-themed .structural-number,
.card--pillar-tinted .structural-number {
  position: absolute;
  top: -16px; left: 24px;
  min-width: 46px; height: 40px;
  padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--card-accent, var(--pillar-accent));
  color: #fff;
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1.2px;
  line-height: 1;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  opacity: 1;
  pointer-events: none;
}
.card--pillar-tinted .structural-number { background: var(--card-accent); }

.pillar-themed .card__title,
.card--pillar-tinted .card__title {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.2px;
  color: var(--color-charcoal);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-xs);
}
.pillar-themed .card__title a,
.card--pillar-tinted .card__title a {
  color: var(--color-charcoal); text-decoration: none;
}
.pillar-themed .card__title a:hover {
  color: var(--pillar-accent);
}

.pillar-themed .card__text {
  font-size: 14px;
  line-height: 1.62;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.pillar-themed .card__label,
.card--pillar-tinted .card__label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--card-accent, var(--pillar-accent));
  margin-bottom: var(--space-xs);
  display: block;
}

/* The "Explore cluster →" link at the bottom of each card — colored in pillar
   accent, with a dashed top border that reads like homepage persona-card. */
.pillar-themed .card > div > a:last-child,
.pillar-themed .card > a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: var(--space-sm);
  border-top: 1px dashed rgba(14, 35, 64, 0.12);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 12px !important;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--pillar-accent) !important;
  text-decoration: none;
  width: 100%;
  transition: gap 0.2s ease;
}
.pillar-themed .card > div > a:last-child:hover,
.pillar-themed .card > a:last-child:hover {
  gap: 14px;
}

/* Sections on pillar-themed pages — alternate white + parchment rhythm
   so pages don't read as one monotone blue block. */
.pillar-themed .section--warm { background: var(--color-parchment); }
.pillar-themed .section--white { background: #fff; }

/* Pillar-tinted card stays usable WITHOUT .pillar-themed too (used on
   the Resource Center which isn't pillar-scoped). Keeps the same
   homepage process-card treatment. Chip-only color signal (no top border
   that would clash with the overlapping number chip). */
.card--pillar-tinted {
  position: relative;
  background: #fff;
  border: 1px solid rgba(14, 35, 64, 0.08);
  border-radius: 18px;
  padding: 48px 32px 32px;
  overflow: visible;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 14px rgba(14, 35, 64, 0.04);
}
.card--pillar-tinted:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(14, 35, 64, 0.10);
}
.card--pillar-tinted .card__title a:hover {
  color: var(--card-accent, var(--color-primary));
}
.card--pillar-tinted .card__text {
  font-size: 14px;
  line-height: 1.62;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* Explore link at bottom of pillar-tinted card — colored in its accent */
.card--pillar-tinted > div > a:last-child,
.card--pillar-tinted > a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: var(--space-sm);
  border-top: 1px dashed rgba(14, 35, 64, 0.12);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 12px !important;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--card-accent, var(--color-primary)) !important;
  text-decoration: none;
  width: 100%;
  transition: gap 0.2s ease;
}
.card--pillar-tinted > div > a:last-child:hover,
.card--pillar-tinted > a:last-child:hover { gap: 14px; }

/* Callout link with arrow — used for "Explore pillar →" style CTAs
   embedded in cards on pages that aren't pillar-themed. */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: var(--space-sm);
  border-top: 1px dashed rgba(14, 35, 64, 0.12);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--card-accent, var(--color-primary));
  text-decoration: none;
  width: 100%;
  transition: gap 0.2s ease;
}
.arrow-link:hover { gap: 14px; }

/* Pillar-themed NODE LIST — cluster hub questions read as clickable rows
   with a teal arrow on hover, crisp dividers, generous padding. */
.pillar-themed .node-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-md);
}
.pillar-themed .node-list__item {
  position: relative;
  padding: var(--space-md) 56px var(--space-md) 0;
  border-bottom: 1px dashed rgba(14, 35, 64, 0.12);
  transition: padding 0.2s ease;
}
.pillar-themed .node-list__item::after {
  content: "→";
  position: absolute;
  right: var(--space-sm);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-teal);
  opacity: 0;
  transition: opacity 0.2s ease, right 0.2s ease;
}
.pillar-themed .node-list__item:hover::after {
  opacity: 1;
  right: var(--space-xs);
}
.pillar-themed .node-list__item:last-child { border-bottom: none; }
.pillar-themed .node-list__query {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.2px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.pillar-themed .node-list__query a {
  color: var(--color-charcoal);
  text-decoration: none;
}
.pillar-themed .node-list__query a:hover { color: var(--pillar-accent); }
.pillar-themed .node-list__teaser {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0;
}

/* Pillar-themed H2 — ONLY on light sections (exclude dark sections so
   the CTA block and any dark sections keep their white heading). */
.pillar-themed .section--white h2,
.pillar-themed .section--warm h2 {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--color-charcoal);
  max-width: 28ch;
}

/* Resource Center hero — ensure H1 reads white on the dark navy hero */
.resource-center-hero h1 {
  color: var(--color-text-on-dark);
}
.resource-center-hero .hero__sub {
  color: rgba(255, 255, 255, 0.78);
}

/* CTA block — homepage-style punchy dark section with white headline,
   teal eyebrow, orange primary CTA. Works on every internal page. */
.section--charcoal h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.8px;
  line-height: 1.1;
  color: var(--color-text-on-dark);
  font-weight: 900;
}
.section--charcoal .section-label,
.section--charcoal .section-label--on-dark {
  color: var(--color-teal);
  opacity: 1;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  display: inline-block;
}
.cta-block p { color: rgba(255, 255, 255, 0.78); font-size: 18px; }
.cta-block .btn--primary {
  background: var(--color-amber);
  color: #fff;
  font-family: var(--font-headline);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(242, 92, 5, 0.25);
}
.cta-block .btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.22);
  color: var(--color-text-on-dark);
  padding: 14px 26px;
  border-radius: 10px;
  font-family: var(--font-headline);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 14px;
}
.cta-block .btn--ghost:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: transparent;
}

/* Cluster / step cards — rotate through 4 colors like homepage Process.
   Applied via :nth-child within a .card-grid on .pillar-themed hubs.
   Each card's number chip + top border + card__label + link pick up
   the nth-child color via --card-accent custom property cascade. */
.pillar-themed .card-grid > .card:nth-child(1) { --card-accent: var(--color-charcoal); }
.pillar-themed .card-grid > .card:nth-child(2) { --card-accent: var(--color-primary); }
.pillar-themed .card-grid > .card:nth-child(3) { --card-accent: var(--color-amber); }
.pillar-themed .card-grid > .card:nth-child(4) { --card-accent: var(--color-teal); }
.pillar-themed .card-grid > .card:nth-child(5) { --card-accent: var(--color-gold); }
.pillar-themed .card-grid > .card:nth-child(6) { --card-accent: var(--color-primary); }
.pillar-themed .card-grid > .card:nth-child(7) { --card-accent: var(--color-teal); }

/* Apply the rotated color to each card's accent elements */
.pillar-themed .card-grid > .card .structural-number {
  background: var(--card-accent, var(--pillar-accent));
}
.pillar-themed .card-grid > .card .card__label {
  color: var(--card-accent, var(--pillar-accent));
}
.pillar-themed .card-grid > .card .card__title a:hover {
  color: var(--card-accent, var(--pillar-accent));
}
.pillar-themed .card-grid > .card > div > a:last-child,
.pillar-themed .card-grid > .card > a:last-child {
  color: var(--card-accent, var(--pillar-accent)) !important;
}

/* Pillar-themed H2 squiggle helper — scales up on larger headings */
.pillar-themed .section--white h2 .squiggle,
.pillar-themed .section--warm h2 .squiggle {
  padding-bottom: 8px;
}
.pillar-themed .section--white h2 .squiggle::after,
.pillar-themed .section--warm h2 .squiggle::after {
  height: 14px;
  bottom: -6px;
}

/* === RESOURCE CENTER LANDING — richer treatment === */

.resource-center-hero {
  background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-primary) 100%);
  color: var(--color-text-on-dark);
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}
.resource-center-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(23, 190, 187, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 90%, rgba(242, 92, 5, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.resource-center-hero .container { position: relative; z-index: 1; }
.resource-center-hero .section-label { color: var(--color-teal); }
.resource-center-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02; letter-spacing: -1.4px;
  max-width: 18ch;
  margin: var(--space-sm) 0 var(--space-md);
}
.resource-center-hero .hero__sub {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}
.resource-center-hero .hero__actions { margin-top: var(--space-md); }
