/* Self-hosted Google Fonts (SIL Open Font License 1.1): Krona One, DM Sans, DM Mono */
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/dm-mono-400-latin-ext.a52e19ebe0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/dm-mono-400-latin.e1896b13b2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/dm-mono-500-latin-ext.8711f938c3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/dm-mono-500-latin.9964608a84.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-400-700-latin-ext.5d18d31d23.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-400-700-latin.ca72d2bcea.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Krona One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/krona-one-400-latin-ext.d18071ad5c.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Krona One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/krona-one-400-latin.e9d1d62518.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --section-pad: 120px; /* space above and below every section, hero included */
  --gutter: 64px; /* section side gutter at <=1000px (header, back bar and footer stay at 32px) */
  --blue: #045184;
  --blue-dark: #033A60;
  --blue-deep: #022540;
  --blue-pale: #E8F0F7;
  --red: #A50C10;
  --red-dark: #850A0D;
  --ink: #0F1216;
  --ink-soft: #4A5360;
  --muted: #8B939F;
  --white: #FFFFFF;
  --cream: #F5F1E8;
  --line: #E8E9EC;
  --line-blue: rgba(255,255,255,0.15);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}


/* === BLUE NAV BAR === */
nav {
  background: var(--blue);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--white);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 64px;
  display: flex; justify-content: space-between; align-items: center;
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--white); flex-shrink: 0; }
.brand-mark {
  display: flex; align-items: center; justify-content: center;
}
.brand-mark img { height: 44px; display: block; }
.brand > img { height: 56px; display: block; }
.brand-text {
  font-family: 'Krona One', sans-serif;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.175em; color: var(--white);
  line-height: 1.2; text-transform: uppercase;
  white-space: nowrap; /* always exactly two lines (explicit <br>) */
}
/* Wordmark initials (L, N, C) set slightly larger — header and footer */
.brand-text .wm-i, .footer-brand-block .name .wm-i { font-size: 1.15em; line-height: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Main nav: category headings (buttons, not links) each open a list of sub-links */
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-group { position: relative; }
.nav-group-label {
  display: flex; align-items: center; gap: 6px;
  font: inherit; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.85); background: none; border: 0;
  padding: 10px 14px; border-radius: 6px; cursor: default; white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-chev { transition: transform 0.15s; }
.nav-group:hover .nav-group-label, .nav-group.open .nav-group-label, .nav-group.current .nav-group-label {
  color: var(--white); background: rgba(255,255,255,0.1);
}
.nav-group:hover .nav-chev, .nav-group.open .nav-chev { transform: rotate(180deg); }
.nav-group::after { /* hover bridge between heading and panel */
  content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px;
}
.nav-sub {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: var(--white); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(2, 37, 64, 0.18), 0 2px 6px rgba(2, 37, 64, 0.08);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0s linear 0.15s;
  z-index: 101;
}
.nav-group:nth-last-child(-n+2) .nav-sub { left: auto; right: 0; } /* keep the right-hand panels on screen */
.nav-group:hover .nav-sub, .nav-group.open .nav-sub, .no-js .nav-group:focus-within .nav-sub {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.15s, transform 0.15s, visibility 0s;
}
.nav-sub a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 6px; white-space: nowrap;
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-sub a:hover, .nav-sub a:focus-visible { background: var(--blue-pale); color: var(--blue); }
.nav-sub a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav-ext { font-size: 12px; opacity: 0.6; }
@media (prefers-reduced-motion: reduce) { .nav-sub, .nav-chev { transition: none; } }
.nav-cta {
  color: var(--blue) !important; background: var(--white);
  padding: 10px 20px;
}
.nav-cta:hover { background: var(--cream) !important; }

/* === HERO ON WHITE === */
.hero {
  max-width: 1400px; margin: 0 auto;
  padding: var(--section-pad) 64px;
  position: relative;
}
/* Hero text without buttons (e.g. State Map, Sitemap): no trailing margin, so the space below matches the space above */
.hero .hero-inner > :last-child { margin-bottom: 0; }
@keyframes watermarkBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.hero-watermark {
  position: absolute;
  top: 60px; right: 40px;
  width: 360px; opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  animation: watermarkBreathe 8s ease-in-out infinite;
  transform-origin: center center;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 920px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600;
  color: var(--blue); letter-spacing: 0.04em;
  margin-bottom: 36px;
}
.hero-eyebrow::before {
  content: ""; width: 24px; height: 2px;
  background: var(--red);
}
.hero h1 {
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 600; line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 36px;
  color: var(--ink);
}
.hero h1 .accent { color: var(--blue); }
@keyframes heroDotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.6); }
}
.hero h1 .dot {
  display: inline-block; width: 14px; height: 14px;
  background: var(--red); border-radius: 50%;
  vertical-align: middle; margin-left: 20px;
  margin-bottom: 0.12em;
  animation: heroDotPulse 2s ease-in-out infinite;
}
.hero p.lede {
  font-size: 19px; line-height: 1.55; color: var(--ink-soft);
  max-width: 620px; margin-bottom: 44px;
  font-weight: 400;
}
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-blue {
  background: var(--blue); color: var(--white);
  padding: 16px 28px; border-radius: 8px;
  text-decoration: none; font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.15s;
}
.btn-blue:hover { background: var(--blue-dark); }
.btn-red {
  background: var(--red); color: var(--white);
  padding: 16px 28px; border-radius: 8px;
  text-decoration: none; font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.15s;
}
.btn-red:hover { background: var(--red-dark); }
.btn-text {
  color: var(--ink); text-decoration: none;
  font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 4px;
  transition: color 0.15s;
}
.btn-text:hover { color: var(--blue); }
.btn-text .arrow {
  display: inline-block; width: 20px; height: 1px;
  background: currentColor; position: relative;
  transition: width 0.15s;
}
.btn-text:hover .arrow { width: 28px; }
.btn-text .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
/* Secondary button: blue outline + blue text (visible on white and light-blue bands); fills blue on hover */
.btn-ghost-blue {
  color: var(--blue);
  background: transparent;
  border: 1.5px solid var(--blue);
  padding: 14.5px 26px; border-radius: 8px;
  text-decoration: none; font-size: 15px; font-weight: 600;
  transition: all 0.15s;
}
.btn-ghost-blue:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* Hero foot */
.hero-foot {
  margin-top: 64px; padding-top: 36px;
  border-top: 1px solid var(--line);
  display: flex; gap: 64px; align-items: center;
  flex-wrap: wrap;
}
.hero-foot-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted);
}
.hero-foot-items {
  display: flex; gap: 40px; flex-wrap: wrap;
}
.hero-foot-item {
  font-size: 15px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.hero-foot-item::before {
  content: ""; width: 6px; height: 6px;
  background: var(--red);
}

/* === VALUE - BLUE (home page only) ===*/
[data-route="home"] .value {
  background: var(--blue-pale);
  color: var(--ink);
  max-width: 100%;
  padding: var(--section-pad) 0 var(--section-pad);
}
[data-route="home"] .value > * {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 64px;
  padding-right: 64px;
}
[data-route="home"] .value-watermark {
  display: none;
}
[data-route="home"] .value .section-head h2 {
  color: var(--ink);
}
[data-route="home"] .value .section-head h2 em {
  color: var(--blue);
}
[data-route="home"] .value-item,
[data-route="home"] .value-item.red-accent,
[data-route="home"] .value-item.white-accent {
  background: var(--white);
  border-color: transparent;
}
[data-route="home"] .value-item h3 {
  color: var(--blue);
}
[data-route="home"] .value-item p {
  color: var(--ink-soft);
}
[data-route="home"] .value-item .num {
  color: var(--red);
}
/* === VALUE ON WHITE (state pages) === */
.value {
  max-width: 1400px; margin: 0 auto;
  padding: var(--section-pad) 64px;
  position: relative;
}
.value-watermark {
  position: absolute;
  bottom: 60px; left: -40px;
  width: 240px; opacity: 0.05;
  pointer-events: none;
}
.section-head {
  max-width: 720px; margin-bottom: 80px;
  position: relative; z-index: 1;
}
.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--white);
  background: var(--red);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.section-label::before {
  content: none;
}
.value .section-label,
.process-band .section-label,
.final-cta .section-label,
footer .section-label {
  background: var(--red);
  color: var(--white);
}
.process-band .section-label {
  background: #C8962A;
  color: var(--white);
}
.section-head h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600; line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
/* Italic correction: the slanted accent words lean into the next word, so give them a little room on the right */
:is(h1, h2, h3) em { padding-right: 0.1em; }
.section-head h2 em {
  font-style: italic; color: var(--blue);
  font-weight: 500;
}
.value-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative; z-index: 1;
}
.value-item {
  padding: 32px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.value-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(4,81,132,0.15);
}
[data-route="home"] .value-item:hover {
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.3);
}
[data-route="home"] .value-item:hover .num {
  background: var(--red);
}
.value-item.red-accent {
  border-color: var(--line);
}
/* Reusable "strip" cards (same look as Home's How LNC Works): blue label strip that turns red on hover */
.value-grid.strip .value-item { background: var(--white); border-color: transparent; }
.value-grid.strip .value-item h3 { color: var(--blue); }
.value-grid.strip .value-item p { color: #4A5360; }
.value-grid.strip .value-item .num { color: var(--white); background: var(--blue); margin: 0 -32px 24px -32px; padding: 10px 32px; transition: background 0.3s; }
.value-grid.strip .value-item:hover { box-shadow: 0 20px 40px -20px rgba(0,0,0,0.3); }
.value-grid.strip .value-item:hover .num { background: var(--red); }
.value-item .num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 24px;
}
[data-route="home"] .value-item .num {
  color: var(--white);
  background: var(--blue);
  margin: 0 -32px 24px -32px;
  padding: 10px 32px;
  transition: background 0.3s;
}
.value-item h3 {
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.015em; line-height: 1.2;
  margin-bottom: 14px;
}
.value-item p {
  font-size: 15px; line-height: 1.65;
  color: var(--ink-soft);
}

/* === BLUE PROCESS BAND (contrast section) === */
.process-band {
  background: var(--blue);
  color: var(--white);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.process-band::before {
  content: none;
}
.process-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 64px;
  position: relative; z-index: 1;
}
.process-head {
  max-width: 900px; margin-bottom: 80px;
}
.process-head 
.process-head h2 { color: var(--white); font-size: clamp(48px, 6.5vw, 84px) !important; }
.process-head h2 em { color: #C8962A; }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 48px; position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  right: 1%;
  height: 4px;
  background: var(--blue-pale);
  z-index: 0;
}

.steps::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--blue-pale);
  border-radius: 3px;
  z-index: 2;
}

.step .dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  border: 4px solid var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  margin-top: 6px;
  margin-bottom: 28px;
  position: relative;
  box-sizing: border-box;
  z-index: 1;
}
.step .dot::after {
  content: "";
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #C8962A;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -6.5px;
  margin-left: -6.5px;
}

.step:nth-child(1) .dot::after { background: #C8962A !important; }
.step:nth-child(2) .dot::after { background: #C8962A !important; }
.step:nth-child(3) .dot::after { background: #C8962A !important; }
.step:nth-child(4) .dot::after { background: #C8962A !important; }

.step { display: flex; flex-direction: column; align-items: flex-start; transition: all 0.2s; }
.step .dot { transition: all 0.2s; }
/* Steps that wrap onto two rows (e.g. RFP vs. Co-Op "Why It Matters"): no connector line/arrow */
.steps.no-line::before, .steps.no-line::after { display: none; }
.step:hover .dot { border-color: var(--white); background: var(--white); }
.step:hover .dot::after { background: var(--blue) !important; }
.step:hover .num { font-weight: 700; }
.step:hover p { color: rgba(255,255,255,1); }


.step .num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #C8962A;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.step h4 {
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.2;
  margin-bottom: 12px;
  color: var(--white);
}
.step p {
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

/* === STATS - WHITE === */
.stats {
  color: var(--ink);
  max-width: 1400px; margin: 0 auto;
  padding: var(--section-pad) 64px;
  position: relative;
  overflow: hidden;
}
[data-route="home"] .stats {
  max-width: 100%;
  background: var(--white);
  padding: var(--section-pad) 0;
}
[data-route="home"] .stats > * {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 64px;
  padding-right: 64px;
}
.stats-watermark {
  position: absolute;
  top: 40px; left: -180px;
  width: 420px; opacity: 0.05;
  pointer-events: none;
}
.stats-head {
  max-width: 600px; margin-bottom: 56px;
  position: relative; z-index: 1;
}
.stats-head h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.1;
}
.stats-head h2 em { font-style: italic; color: var(--blue); font-weight: 500; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative; z-index: 1;
}
.stat {
  padding-top: 24px;
  border-top: 2px solid var(--blue);
}
.stat:nth-child(1), .stat:nth-child(3) { border-top-color: var(--blue); }
.stat .num {
  font-size: 60px; font-weight: 600;
  letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 14px;
  color: var(--ink);
}
.stat .num em {
  font-style: italic; color: var(--blue);
  font-weight: 500; font-size: 32px;
  margin-left: 100px;
}
/* Range figure (e.g. 10–20%): never wrap; suffix gap shrinks to fit narrow columns */
.stat .num-range { white-space: nowrap; }
.stat .num-range em { margin-left: max(8px, min(100px, calc(100% - 190px))); }
.stat:nth-child(1) .num em, .stat:nth-child(3) .num em { color: var(--blue); }
.stat .lbl {
  font-size: 13px; color: var(--ink-soft);
  line-height: 1.5; max-width: 200px;
}

/* === AUDIENCES ON WHITE === */
.audiences {
  max-width: 100%;
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
[data-route="home"] .audiences {
  background: var(--blue-pale);
}
.audiences .audiences-head { margin-bottom: 8px; }
/* State pages: closing section uses the same 1400px / 64px content column as every other section */
[data-route^="state-"] > .audiences { max-width: 1400px; margin: 0 auto; padding: var(--section-pad) 64px; }
[data-route="home"] .audiences > * {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 64px;
  padding-right: 64px;
}
.audience-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  position: relative; z-index: 1;
}
.audience {
  border: 2px solid var(--white);
  padding: 48px;
  position: relative;
  transition: all 0.3s;
  background: var(--blue);
  border-radius: 12px;
}
.audience:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.3);
  border-color: var(--white);
}
.audience h3 {
  font-size: 30px; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 16px; max-width: 320px;
  color: var(--white);
}
.audience p {
  font-size: 15px; line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px; max-width: 420px;
}
.audience-mark {
  position: absolute;
  top: 32px; right: 32px;
  width: 56px; opacity: 1;
}
.audience-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}
.audience-tag::before {
  content: ""; width: 6px; height: 6px;
  background: #C8962A; border-radius: 50%;
}
.audience h3 {
  font-size: 30px; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 16px; max-width: 320px;
  color: var(--white);
}
.audience p {
  font-size: 15px; line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px; max-width: 420px;
}
.audience-cta {
  display: inline-block;
  color: var(--white); text-decoration: none;
  font-size: 14px; font-weight: 600;
}

/* === FINAL CTA - blue band === */
.final-cta {
  background: var(--blue);
  color: var(--white);
  padding: var(--section-pad) 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-inner {
  max-width: 800px; margin: 0 auto;
  position: relative; z-index: 1;
}
.final-cta .section-label {
  justify-content: center;
}
.final-cta h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600; line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--white);
}
.final-cta h2 em { font-style: italic; color: rgba(255,255,255,0.6); font-weight: 500; }
.final-cta p {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}
.final-ctas {
  display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.btn-white {
  display: inline-block;
  background: var(--white); color: var(--blue);
  padding: 16px 28px; border-radius: 8px;
  text-decoration: none; font-size: 15px; font-weight: 600;
}
.btn-white:hover { background: var(--cream); }

/* === FOOTER - blue === */
footer {
  background: var(--white);
  color: var(--ink);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 64px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 56px; margin-bottom: 48px;
}
/* Logo + name centred on each other (as in the header); tagline sits under the name */
.footer-brand-block { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; align-content: start; }
.footer-brand-block .tagline { grid-column: 2; }
.footer-brand-block .brand-mark {
  display: flex; align-items: center; justify-content: center;
}
.footer-brand-block .brand-mark img { height: 44px; display: block; }
.footer-brand-block .name {
  font-family: 'Krona One', sans-serif;
  font-size: 12px; letter-spacing: 0.175em;
  text-transform: uppercase; line-height: 1.3;
  white-space: nowrap;
  color: var(--ink);
}
.footer-brand-block .tagline {
  margin-top: 10px;
  font-size: 13px; color: var(--ink-soft); line-height: 1.55;
  max-width: 320px;
}
.footer-col h5 {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--ink); text-decoration: none;
  font-size: 13px; opacity: 0.85;
  transition: opacity 0.15s, color 0.15s;
}
.footer-col a:hover { opacity: 1; color: var(--red); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted);
  flex-wrap: wrap; gap: 16px;
}


.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  transition: background 0.15s, border-color 0.15s;
}
.hamburger:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* Nav needs to be relative for absolute-positioned mobile menu */
nav { position: sticky; }
.nav-inner { position: relative; }

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
/* Collapsed (hamburger) nav: below the width where the wordmark and all five headings fit on one row.
   Same structure as desktop: each heading (not clickable) with its sub-links listed under it. */
@media (max-width: 1119px) {
  nav { position: sticky; border-bottom-width: 1px; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-dup { display: none; } /* desktop-only duplicates: each page listed once in the hamburger menu */
  .nav-links.open, .no-js .nav-links {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    column-gap: 40px; align-items: start;
    background: var(--blue);
    padding: 8px 64px 24px;
  }
  .nav-links.open {
    position: fixed; left: 0; right: 0;
    overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 99;
  }
  .nav-group::after { display: none; }
  .nav-group-label, .nav-group:hover .nav-group-label, .nav-group.open .nav-group-label, .nav-group.current .nav-group-label {
    padding: 20px 0 6px; background: none; border-radius: 0;
    font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6);
  }
  .nav-chev { display: none; }
  .nav-sub, .nav-group:hover .nav-sub, .nav-group.open .nav-sub {
    position: static; min-width: 0; padding: 0; margin: 0;
    background: none; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav-sub a {
    padding: 12px 0; border-radius: 0; white-space: normal;
    color: rgba(255,255,255,0.88); border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-sub li:last-child a { border-bottom: none; }
  .nav-sub a:hover, .nav-sub a:focus-visible { background: none; color: var(--white); }
  .nav-sub a[aria-current="page"] { color: var(--white); font-weight: 600; }
}
@media (max-width: 1000px) {
  :root { --section-pad: 96px; }
  .nav-inner { padding: 0 32px; }
  .nav-links.open, .no-js .nav-links { padding: 8px 32px 24px; }
  .hero { padding: var(--section-pad) var(--gutter); }
  .hero-watermark { top: 28px; right: 20px; width: min(300px, 58vw); }
  .value { padding: var(--section-pad) var(--gutter); }
  .value-watermark { display: none; }
  .value-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-band { padding: var(--section-pad) var(--gutter); }
  .process-inner { padding: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps::before { display: none; }
  .steps::after { display: none; }
  .stats { padding: var(--section-pad) var(--gutter); }
  .stats-watermark { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .audiences { padding: var(--section-pad) var(--gutter); }
  /* Global gutter (<=1000px): every section's content sits var(--gutter) from the edge, like the header and hero */
  [data-route="home"] :is(.value, .stats, .audiences) > * { padding-left: var(--gutter); padding-right: var(--gutter); }
  [data-route="home"] .audiences { padding-left: 0; padding-right: 0; }
  [data-route="home"] :is(.value, .stats) { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
  [data-route^="state-"] > .audiences { padding: var(--section-pad) var(--gutter); }
  .stat .num em { margin-left: max(8px, min(100px, calc(100% - 200px))); }
  .audience-grid { grid-template-columns: 1fr; }
  .audience { padding: 32px; }
  .final-cta { padding: var(--section-pad) var(--gutter); }
  .footer-inner { padding: 0 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 0 24px; }
}

/* "Your Next Step" closing sections: heading sits on a short paragraph, not a card grid, so use the closing-CTA gap (24px) instead of 80px */
[data-bands] > section.audiences > .section-head { margin-bottom: 24px; }
/* Pill-only section head (no h2), e.g. State Map "Browse by Tier" */
.section-head:not(:has(h2)) { margin-bottom: 8px; }
/* Final CTA without a paragraph: keep the same 40px gap between heading and buttons */
.final-cta h2 + .cta-buttons { margin-top: 40px; }

/* === FLYERS & MARKETING (download cards) === */
.flyer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.flyer-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: start; background: var(--white); border: 1px solid #e3e8ee; border-radius: 16px; padding: 22px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.flyer-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(2,37,64,0.12); border-color: #cfdbe6; }
.flyer-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 480 / 622; background: #F4F6F9; border: 1px solid #e3e8ee; border-radius: 8px; overflow: hidden; }
.flyer-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Flyer preview: larger first page pops up beside the thumbnail on hover (mouse devices only; placed by site.js) */
.flyer-pop { position: fixed; z-index: 60; pointer-events: none; background: var(--white); border: 1px solid #cfdbe6; border-radius: 10px; padding: 8px; box-shadow: 0 24px 60px rgba(2,37,64,0.28); opacity: 0; transform: scale(0.97); transition: opacity 0.15s, transform 0.15s; }
.flyer-pop.show { opacity: 1; transform: none; }
.flyer-pop img { display: block; width: 100%; height: auto; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .flyer-thumb { cursor: zoom-in; } }
.flyer-body h3 { font-size: 17px; font-weight: 600; line-height: 1.3; margin: 2px 0 8px; color: #0F1216; }
.flyer-body p { font-size: 14.5px; line-height: 1.55; color: #4A5360; margin: 0 0 12px; }
.flyer-meta { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7682; margin-bottom: 14px; }
.flyer-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.flyer-actions a { font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: none; }
/* Text links (sitewide): no underline at rest, underline on hover/focus, arrow stays still */
.flyer-actions a:hover, .flyer-actions a:focus-visible,
a.aff-web:hover, a.aff-web:focus-visible,
.audience-cta:hover, .audience-cta:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .flyer-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .flyer-card { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px; } }

/* === BENEFITS CHECKLIST (Become an Affiliate) === */
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 22px 56px; max-width: 1080px; } /* reads down each column, in list order */
.benefit-list li { display: flex; align-items: flex-start; gap: 16px; font-size: 18px; line-height: 1.45; color: var(--ink); }
.benefit-list li em { font-style: italic; }
.benefit-check { flex-shrink: 0; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%; background: var(--blue); position: relative; }
.benefit-check::after { content: ''; position: absolute; left: 9px; top: 5px; width: 6px; height: 11px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
/* On a dark blue band: solid white disc, blue tick */
[data-bands] > section:nth-of-type(3n) .benefit-check { background: var(--white); }
[data-bands] > section:nth-of-type(3n) .benefit-check::after { border-color: var(--blue); }
.benefit-list.one { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; gap: 16px; }
.benefit-list.rows-4 { grid-template-rows: repeat(4, auto); }
/* "Not eligible" marker: grey disc with an x */
.benefit-check.no { background: #E3E8EE; }
.benefit-check.no::after { left: 12px; top: 6px; width: 0; height: 14px; border: 0; border-left: 2.5px solid #6B7682; transform: rotate(45deg); }
.benefit-check.no::before { content: ''; position: absolute; left: 12px; top: 6px; height: 14px; border-left: 2.5px solid #6B7682; transform: rotate(-45deg); }
[data-bands] > section:nth-of-type(3n) .benefit-check.no { background: rgba(255,255,255,0.16); }
[data-bands] > section:nth-of-type(3n) .benefit-check.no::after, [data-bands] > section:nth-of-type(3n) .benefit-check.no::before { border-color: transparent; border-left-color: var(--white); }

/* === WHAT IS A CO-OP? page parts === */
.coop-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; max-width: 1080px; }
.coop-who-title { font-size: 20px; font-weight: 600; color: var(--ink); margin: 0 0 20px; }
.coop-note { margin-top: 24px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.coop-note-wide { margin-top: 40px; }
.coop-note a { color: var(--blue); font-weight: 600; text-decoration: none; }
.coop-note a:hover { text-decoration: underline; }
.coop-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1080px; }
.coop-col { background: var(--white); border: 1px solid #d5dee8; border-radius: 16px; padding: 32px; }
.coop-col.is-coop { border: 1.5px solid var(--blue); }
.coop-kicker { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.coop-col.is-coop .coop-kicker { color: var(--blue); }
.coop-col ul { list-style: none; margin: 0; padding: 0; }
.coop-col li { padding: 14px 0; border-top: 1px solid #e3e8ee; font-size: 15.5px; line-height: 1.5; color: #4A5360; }
.coop-col li:first-child { border-top: 0; }
.coop-col li strong { display: block; color: #0F1216; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
@media (max-width: 700px) { .coop-who, .coop-compare { grid-template-columns: minmax(0, 1fr); gap: 32px; } .coop-col { padding: 24px; } }
@media (max-width: 700px) { .benefit-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; gap: 16px; } .benefit-list li { font-size: 16.5px; } }

/* === MAP === */
.map-container {
  position: relative;
  margin: 32px 0;
}
/* Map hover/focus: an enlarged copy of the state is drawn on top (site.js), keeping its tier colour.
   Small states get a larger scale (--s) so every state visibly pops. */
.state-pop {
  transform-box: fill-box; transform-origin: center;
  transition: transform 0.18s ease;
  filter: brightness(1.18) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}
.state-pop.on { transform: scale(var(--s, 1.15)); }
#usMap { overflow: visible; } /* let popped edge states (Alaska, Hawaii) and their shadow draw past the map box */
@media (prefers-reduced-motion: reduce) { .state-pop { transition: none; } }
.state-path:focus { outline: none; }
.state-path:focus {
  stroke: var(--ink);
  stroke-width: 2.5;
}
.map-tooltip {
  position: absolute;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 100;
  white-space: nowrap;
}
.map-tooltip.visible { opacity: 1; }
.map-tooltip .tooltip-status {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
}

/* === STATE LIST (three tier panels, alphabetical top-down) === */
.state-list { display: grid; grid-template-columns: 2fr 2.5fr 1fr; gap: 20px; align-items: start; }
.tier-col { background: #fff; border: 3px solid #fff; border-radius: 14px; overflow: hidden; } /* white frame keeps the header bar visible on any band */
.tier-head { padding: 14px 21px 12px; border-radius: 11px 11px 0 0; }
.tier-head h3 { margin: 0 0 2px; font-size: 15px; font-weight: 700; letter-spacing: 0; color: inherit; }
.tier-count { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }
.tier-col ul { list-style: none; margin: 0; padding: 16px 21px 18px; columns: 2; column-gap: 20px; }
.tier-col.tier-strict ul { columns: 1; }
.tier-col li { break-inside: avoid; padding: 5px 0; }
.tier-col a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: #0F1216; }
.tier-col a:hover, .tier-col a:focus-visible { color: var(--blue); text-decoration: underline; }
.tier-col.tier-open .tier-head { background: #1E7B4F; color: #fff; }
.tier-col.tier-restricted .tier-head { background: #045184; color: #fff; }
.tier-col.tier-strict .tier-head { background: #E3B23C; color: #3D2E00; }
@media (max-width: 1100px) { .state-list { grid-template-columns: 1fr 1fr; } .tier-col.tier-restricted { grid-row: span 2; } }
@media (max-width: 700px) { .state-list { grid-template-columns: 1fr; } .tier-col.tier-restricted { grid-row: auto; } }
/* State page tier badge (colour follows the map tier) */
.state-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; margin-bottom: 24px; font-size: 12px; font-family: 'DM Mono', monospace; }
.state-badge svg { flex-shrink: 0; }
.state-badge.tier-open { background: rgba(30,123,79,0.1); border: 1px solid rgba(30,123,79,0.35); color: #1A6B45; }
.state-badge.tier-restricted { background: rgba(4,81,132,0.08); border: 1px solid rgba(4,81,132,0.3); color: var(--blue); }
.state-badge.tier-strict { background: rgba(227,178,60,0.16); border: 1px solid rgba(227,178,60,0.55); color: #6E5200; }

@media (max-width: 768px) {
  .comparison-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-cards { grid-template-columns: 1fr 1fr; gap: 16px; }
  .steps-cards::before { display: none; }
  .steps-cards::after { display: none; }
  .steps-cards .step {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 24px;
  }
  .steps-cards .dot { display: none; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .steps-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .map-container svg { font-size: 12px; }
}


/* =====================================================================
   Static-site additions (migration from the single-file SPA, 2026-09-30)
   ===================================================================== */

/* Skip link (keyboard / screen-reader users) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--white); color: var(--blue);
  padding: 10px 16px; border-radius: 0 0 6px 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Without JavaScript the hamburger can't open, so the full menu is shown under the header instead. */
@media (max-width: 1119px) {
  .no-js .hamburger { display: none; }
  .no-js .nav-inner { flex-wrap: wrap; }
  .no-js .nav-links { width: 100%; margin: 0 -64px; width: calc(100% + 128px); }
}
@media (max-width: 1000px) {
  .no-js .nav-links { margin: 0 -32px; width: calc(100% + 64px); }
}

/* State map: each state is a real link (works without JS) */
#usMap a { cursor: pointer; }
#usMap a:focus { outline: none; }
#usMap a:focus-visible .state-path { stroke: var(--ink); stroke-width: 2.5; }


/* === BANDED LAYOUT (revised pages, opt-in via "bands": true in page meta) ===
   Same rhythm as the home page: sections after the hero cycle light blue -> blue -> white,
   120px top/bottom (final CTA 100px), content inside the home page's 1400px / 64px container.
   Scoped to [data-bands] so nothing else changes. */
[data-bands] > section:is(.value, .stats, .audiences) {
  max-width: 100%; margin: 0;
  padding: var(--section-pad) max(64px, calc((100% - 1400px) / 2 + 64px));
}
[data-bands] > section.process-band { padding: var(--section-pad) 0; }
[data-bands] > section.final-cta { padding: var(--section-pad) 64px; }
[data-bands] > section:nth-of-type(3n+1):not(.hero) { background: var(--white); }

/* light blue band */
[data-bands] > section:nth-of-type(3n+2) { background: var(--blue-pale); color: var(--ink); }
[data-bands] > section:nth-of-type(3n+2) .value-watermark,
[data-bands] > section:nth-of-type(3n+2) .stats-watermark { display: none; }
[data-bands] > section:nth-of-type(3n+2) .value-item { background: var(--white); border-color: transparent; }
[data-bands] > section.final-cta:nth-of-type(3n+2) h2 { color: var(--ink); }
[data-bands] > section.final-cta:nth-of-type(3n+2) h2 em { color: var(--blue); }
[data-bands] > section.final-cta:nth-of-type(3n+2) p { color: var(--ink-soft); }
[data-bands] > section:nth-of-type(3n+2) .btn-white { background: var(--blue); color: var(--white); }
[data-bands] > section:nth-of-type(3n+2) .btn-white:hover { background: var(--blue-dark); }

/* blue band */
[data-bands] > section:nth-of-type(3n) {
  background: var(--blue); color: var(--white);
  --ink: var(--white); --ink-soft: rgba(255,255,255,0.85);
}
[data-bands] > section:nth-of-type(3n) .value-watermark,
[data-bands] > section:nth-of-type(3n) .stats-watermark { display: none; }
[data-bands] > section:nth-of-type(3n) .section-head h2 em,
[data-bands] > section:nth-of-type(3n) .stats-head h2 em { color: #C8962A; }
[data-bands] > section:nth-of-type(3n) .btn-blue { background: var(--white); color: var(--blue); }
[data-bands] > section:nth-of-type(3n) .btn-blue:hover { background: var(--cream); }
[data-bands] > section:nth-of-type(3n) .btn-ghost-blue { color: var(--white); border-color: rgba(255,255,255,0.5); }
[data-bands] > section:nth-of-type(3n) .btn-ghost-blue:hover { background: var(--white); color: var(--blue); border-color: var(--white); }

@media (max-width: 1000px) {
  [data-bands] > section:is(.value, .stats, .audiences),
  [data-bands] > section.process-band,
  [data-bands] > section.final-cta { padding: var(--section-pad) var(--gutter); }
}
/* banded: exact home-page spacing - no stray first/last-child margins inside a band */
[data-bands] > section > .section-head { margin-top: 0 !important; }
[data-bands] > section:is(.value, .stats, .audiences) > :last-child { margin-bottom: 0 !important; }
/* banded: white cards keep dark text when they sit on a blue band */
[data-bands] > section:nth-of-type(3n) .comparison-grid > div {
  --ink: #0F1216; --ink-soft: #4A5360; background: var(--white) !important;
}
/* banded: process band (natively blue) when it lands on a white or light blue band */
[data-bands] > section.process-band:not(:nth-of-type(3n)) { color: var(--ink); }
[data-bands] > section.process-band:not(:nth-of-type(3n)) .process-head h2 { color: var(--ink); }
[data-bands] > section.process-band:not(:nth-of-type(3n)) .process-head h2 em { color: var(--blue); }
[data-bands] > section.process-band:not(:nth-of-type(3n)) .steps::before { background: var(--blue); }
[data-bands] > section.process-band:not(:nth-of-type(3n)) .steps::after { border-left-color: var(--blue); }
[data-bands] > section.process-band:not(:nth-of-type(3n)) .step h4 { color: var(--ink); }
[data-bands] > section.process-band:not(:nth-of-type(3n)) .step p { color: var(--ink-soft); }
[data-bands] > section.process-band:not(:nth-of-type(3n)) .step:hover p { color: var(--ink); }
[data-bands] > section.process-band:not(:nth-of-type(3n)) .step:hover .dot { background: var(--blue-dark); border-color: var(--blue); }
[data-bands] > section.process-band:not(:nth-of-type(3n)) .step:hover .dot::after { background: #C8962A !important; }
/* banded: borderless value cards on white - cancel their inner padding at the band's bottom edge */
[data-bands] > section.value:nth-of-type(3n+1) > .value-grid:last-child { margin-bottom: -32px !important; }
/* banded: "Modern Method" comparison card keeps a light blue fill on a blue band */
[data-bands] > section:nth-of-type(3n) .comparison-grid > div:nth-child(2) { background: var(--blue-pale) !important; }

/* Our History page */
.history-grid { grid-template-columns: repeat(2, 1fr); }
.section-head.history-head { margin-bottom: 32px; }
/* Contract cards: v1/v2 icon on the left; 74px puts the badge's centre on the first line of the card title */
.history-grid .value-item { display: grid; grid-template-columns: 74px 1fr; column-gap: 24px; align-content: start; align-items: start; }
.history-grid .value-item .history-icon { grid-row: 1 / span 3; line-height: 0; }
.history-grid .value-item > :not(.history-icon) { grid-column: 2; }
@media (max-width: 600px) {
  .history-grid .value-item { grid-template-columns: 1fr; }
  .history-grid .value-item .history-icon { grid-row: auto; margin-bottom: 20px; }
  .history-grid .value-item > :not(.history-icon) { grid-column: 1; }
}
.history-mission { font-size: clamp(20px, 2vw, 26px); line-height: 1.45; font-weight: 500; color: inherit; margin: 0; }
.stats-head:has(.history-mission) { max-width: 820px; }
@media (max-width: 1000px) { .history-grid { grid-template-columns: 1fr; } }
/* Our History: founding / contract-term figures under the hero paragraph; remaining figures side by side in the Today band */
.history-hero-stats { grid-template-columns: repeat(2, max-content); column-gap: 72px; margin-top: 8px; }
.history-hero-stats .stat .num { color: var(--blue); }
/* Single firework from the 2026 card title */
[data-firework] { position: relative; }
.fw1 i { position: absolute; display: block; opacity: 0; border-radius: 2px; }
.fw1 .rk { width: 3px; height: 16px; margin: -8px 0 0 -1.5px; box-shadow: 0 0 6px currentColor; }
.fw1 .em { width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%; box-shadow: 0 0 4px currentColor; }
.fw1 .sp { width: 2px; height: 10px; margin: -5px 0 0 -1px; box-shadow: 0 0 4px currentColor; }
.fw1 .fl { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; filter: blur(8px); }
.hero p.lede.history-lede { margin-bottom: 18px; }
/* Our History hero years: calendar icon (red badge echoes the v2 contract badge); the year pulses once on load, 2015 then 2033 */
.history-hero-stats .num { display: flex; align-items: center; gap: 16px; }
.history-hero-stats .num .cal { width: 46px; height: 46px; flex: none; }
.history-hero-stats .num span { display: inline-block; transform-origin: left center; }
@keyframes yearPulse { 0% { transform: scale(1); } 35% { transform: scale(1.14); } 100% { transform: scale(1); } }
.history-hero-stats .stat:nth-child(1) .num span { animation: yearPulse 1250ms cubic-bezier(.3,.7,.4,1) 500ms 1 both; }
.history-hero-stats .stat:nth-child(2) .num span { animation: yearPulse 1250ms cubic-bezier(.3,.7,.4,1) 1540ms 1 both; }
@media (prefers-reduced-motion: reduce) { .history-hero-stats .num span { animation: none; } }
@media (max-width: 600px) { .history-hero-stats .num { gap: 12px; } .history-hero-stats .num .cal { width: 34px; height: 34px; } }
.history-stats { grid-template-columns: repeat(3, max-content); column-gap: 72px; }
[data-countup] { font-variant-numeric: tabular-nums; }
.history-stats .stat .lbl, .history-hero-stats .stat .lbl { max-width: none; white-space: nowrap; }
@media (max-width: 600px) {
  .history-stats .stat .num, .history-hero-stats .stat .num { font-size: 40px; }
  .history-stats, .history-hero-stats { grid-template-columns: 1fr; row-gap: 28px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .history-stats { grid-template-columns: repeat(2, max-content); row-gap: 28px; }
  .history-stats .stat .lbl, .history-hero-stats .stat .lbl { white-space: normal; }
}

/* === AFFILIATE DIRECTORY (/affiliate-vendors/) === */
.aff-section { max-width: 1400px; margin: 0 auto; padding: 0 64px var(--section-pad); }
.no-js .aff-filters, .no-js .aff-sort { display: none; }
.aff-filters {
  position: sticky; top: 90px; z-index: 20;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid #e3e8ee; border-radius: 16px; padding: 16px;
  box-shadow: 0 8px 24px rgba(2,37,64,0.06); margin-bottom: 20px;
}
.aff-row1 { display: flex; gap: 10px; }
.aff-search, .aff-state { display: flex; align-items: center; gap: 10px; border: 1.5px solid #d5dee8; border-radius: 12px; padding: 0 14px; color: var(--ink-soft); background: var(--white); }
.aff-search { flex: 1; }
.aff-search:focus-within, .aff-state:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(4,81,132,0.12); }
.aff-search input, .aff-state select { border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); padding: 12px 0; width: 100%; }
.aff-state { width: 270px; } .aff-state select { cursor: pointer; }
/* State combobox (multi-select + type-ahead; built by site.js from the hidden <select>) */
.aff-combo { position: relative; cursor: text; }
.aff-combo-input { border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); padding: 12px 0; width: 100%; min-width: 0; }
.aff-combo-input::placeholder { color: var(--ink-soft); opacity: 1; }
.aff-combo.has-picks .aff-combo-input::placeholder { color: var(--blue); font-weight: 600; }
.aff-combo-chev { width: 10px; height: 10px; flex-shrink: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); cursor: pointer; transition: transform 0.15s; }
.aff-combo.open .aff-combo-chev { transform: translateY(2px) rotate(-135deg); }
.aff-combo-list { position: absolute; top: calc(100% + 6px); left: -1.5px; right: -1.5px; z-index: 30; max-height: 320px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid #d5dee8; border-radius: 12px; box-shadow: 0 16px 36px rgba(2,37,64,0.14); }
.aff-combo-list[hidden] { display: none; }
.aff-combo-opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.aff-combo-opt.active { background: var(--blue-pale); }
.aff-combo-box { width: 16px; height: 16px; flex-shrink: 0; border: 1.5px solid #b9c6d3; border-radius: 4px; background: var(--white); position: relative; }
.aff-combo-opt[aria-selected="true"] .aff-combo-box { background: var(--blue); border-color: var(--blue); }
.aff-combo-opt[aria-selected="true"] .aff-combo-box::after { content: ''; position: absolute; left: 4.5px; top: 1px; width: 4px; height: 8px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.aff-combo-opt[aria-selected="true"] .aff-combo-name { font-weight: 600; }
.aff-combo-name { flex: 1; }
.aff-combo-code { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--ink-soft); }
.aff-combo-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 10px 8px; margin-bottom: 4px; border-bottom: 1px solid #edf1f5; font-size: 12.5px; color: var(--ink-soft); }
.aff-combo-none { padding: 10px; font-size: 14px; color: var(--ink-soft); }
.aff-row2 { display: flex; margin-top: 14px; }
.aff-label { font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); width: 96px; flex-shrink: 0; padding-top: 9px; }
.aff-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.aff-chip { font: inherit; font-size: 13.5px; font-weight: 500; padding: 7px 14px; border-radius: 100px; border: 1.5px solid #d5dee8; background: var(--white); color: var(--ink); cursor: pointer; white-space: nowrap; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.aff-chip:hover { border-color: var(--blue); }
.aff-chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.aff-chip-cert[aria-pressed="true"] { background: #1E7B4F; border-color: #1E7B4F; }
.aff-chip:focus-visible, .aff-clear:focus-visible, .aff-web:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.aff-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 2px 22px; font-size: 14px; color: var(--ink-soft); }
.aff-status strong { color: var(--ink); font-size: 15px; }
.aff-active { display: inline-flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.aff-tag { display: inline-flex; align-items: center; gap: 7px; background: var(--blue-pale); color: var(--blue); font: inherit; font-weight: 600; font-size: 13px; padding: 5px 10px 5px 12px; border-radius: 100px; border: 0; cursor: pointer; }
.aff-clear { background: none; border: 0; font: inherit; color: var(--red); font-weight: 600; font-size: 13px; cursor: pointer; padding: 4px; }
.aff-sort { margin-left: auto; font-size: 13.5px; } .aff-sort select { font: inherit; font-weight: 600; color: var(--ink); border: 0; background: none; cursor: pointer; }
.aff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aff-card { border: 1px solid #e3e8ee; border-radius: 16px; padding: 22px; background: var(--white); display: flex; flex-direction: column; gap: 16px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; animation: affIn 0.25s ease both; }
.aff-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(2,37,64,0.12); border-color: #cfdbe6; }
.aff-card[hidden] { display: none; }
@keyframes affIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.aff-card h3 { font-size: 18px; font-weight: 600; margin: 0; line-height: 1.25; color: var(--ink); }
.aff-body { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: stretch; flex: 1; }
.aff-left { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.aff-left .aff-web { margin-top: auto; text-align: center; } /* centered under the logo, pinned to the card bottom */
.aff-logo { width: 112px; height: 64px; border-radius: 10px; border: 1px solid #e3e8ee; background: var(--white); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 6px; box-sizing: border-box; }
.aff-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.aff-initials { background: linear-gradient(135deg, #E8F0F7, #d6e4f0); border: 0; color: var(--blue); font-weight: 700; font-size: 20px; }
.aff-web { font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; }
.aff-none { color: #8a939d; font-weight: 500; }
.aff-right { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.aff-parent { font-size: 12.5px; color: var(--ink-soft); }
.aff-spec { font-size: 14px; color: var(--ink); line-height: 1.4; }
.aff-cov { display: inline-flex; align-items: flex-start; gap: 6px; font-size: 14px; color: var(--ink); line-height: 1.35; }
.aff-cov svg { flex-shrink: 0; margin-top: 2px; }
.aff-pills, .aff-certs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.aff-pill { display: inline-block; font-family: 'DM Mono', monospace; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 100px; white-space: nowrap; }
.aff-cat { background: rgba(4,81,132,0.08); color: var(--blue); text-transform: uppercase; }
button.aff-pill { border: 0; margin: 0; cursor: pointer; line-height: inherit; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.aff-cat:hover { background: rgba(4,81,132,0.16); }
.aff-cat.hit { background: var(--blue); color: var(--white); }
.aff-certs-icon { color: #1E7B4F; display: inline-flex; }
.aff-cert { background: rgba(30,123,79,0.09); color: #1A6B45; border: 1px solid rgba(30,123,79,0.28); }
.aff-cert:hover { background: rgba(30,123,79,0.18); }
.aff-cert.hit { background: #1E7B4F; border-color: #1E7B4F; color: var(--white); }
button.aff-pill:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.aff-empty { text-align: center; color: var(--ink-soft); padding: 48px 0; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .aff-card { animation: none; transition: none; } .aff-card:hover { transform: none; } }
@media (max-width: 1200px) { .aff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) { .aff-section { padding: 0 var(--gutter) var(--section-pad); } .aff-filters { position: static; } }
@media (max-width: 700px) {
  .aff-row1 { flex-direction: column; } .aff-state { width: auto; }
  .aff-row2 { flex-direction: column; } .aff-label { padding: 0 0 8px; }
  .aff-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
  .aff-chips::-webkit-scrollbar { display: none; }
  .aff-grid { grid-template-columns: 1fr; }
  .aff-body { grid-template-columns: 96px 1fr; gap: 16px; } .aff-logo { width: 96px; height: 56px; }
  .aff-sort { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
  .aff-grid { grid-template-columns: minmax(0, 1fr); }
  .aff-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .aff-left { flex-direction: row; align-items: center; gap: 16px; } .aff-left .aff-web { margin-top: 0; text-align: left; }
}

/* Phones: gutter 48px; stat figures scale down so two columns fit */
@media (max-width: 600px) {
  :root { --gutter: 48px; --section-pad: 80px; }
  .stat .num { font-size: 44px; }
  .stat .num em { font-size: 24px; }
}

/* === CONTACT FORM (/contact/) === */
.contact-form, .cf-done { max-width: 820px; background: var(--white); border: 1px solid #e3e8ee; border-radius: 16px; padding: 40px; box-shadow: 0 16px 36px rgba(2,37,64,0.06); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.cf-full { grid-column: 1 / -1; }
.cf-field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.cf-req { color: var(--red); }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--ink); background: var(--white); border: 1.5px solid #d5dee8; border-radius: 10px; padding: 12px 14px; transition: border-color 0.15s, box-shadow 0.15s; }
.cf-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.cf-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23045184' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(4,81,132,0.12); }
.cf-field.invalid input, .cf-field.invalid select, .cf-field.invalid textarea { border-color: var(--red); }
.cf-field .cf-err { display: block; font-size: 13px; color: var(--red); margin-top: 6px; }
.cf-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.cf-actions button { border: 0; cursor: pointer; font: inherit; }
.cf-actions button[disabled] { opacity: 0.6; cursor: wait; }
.cf-note { font-size: 13px; color: var(--muted); margin: 0; }
.cf-status { margin: 20px 0 0; font-size: 15px; color: var(--ink-soft); }
.cf-status.cf-error { color: var(--red); }
.cf-done h2 { margin: 0 0 12px; }
.cf-done p { margin: 0; font-size: 17px; color: var(--ink-soft); }
.cf-done:focus { outline: 0; }
@media (max-width: 600px) {
  .contact-form, .cf-done { padding: 24px; }
  .cf-grid { grid-template-columns: minmax(0, 1fr); }
}
