/* ==========================================================================
   ForgePath marketing site: design system  (growth/site/styles.css)
   Brand: D-08, growth/brand/brand-architecture.md. Draft brand pack colors.
   Forge Navy #022C60 (primary, headings, text) / Forge Red #E31A25 (accent:
   stripe, rules, button fills; never small text on white) / Mist #EEF1F5 / White.
   Fonts: Montserrat 500/700 (headings), Lato 400/700 (body), self-hosted.
   Motif: the P mark's diagonal stripe, 70% navy / 30% red, slanted 30 degrees.
   Layout patterns adapted from the Unity Caregiving v6 site (read only).
   ==========================================================================

   SHARED HEAD, HEADER AND FOOTER
   Pages carry <!-- @head -->, <!-- @header --> and <!-- @footer --> markers. Their contents are
   generated by growth/site-tools/stamp.py; edit that script, not the pages, then rerun it.
   ==========================================================================
*/

/* ---------- Fonts ---------- */
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/Lato-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/fonts/Lato-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --navy: #022C60;
  --navy-2: #0b4a94;
  --navy-deep: #011c3e;
  --red: #E31A25;
  --red-dark: #b8121c;
  --red-soft: #fdecec;
  --mist: #EEF1F5;
  --white: #ffffff;
  /* text and lines */
  --ink: #0b1f3a;
  --muted: #4a5b70;
  --line: #dde3ea;
  --line-strong: #b9c4d2;
  --on-dark: #e3eaf4;
  --on-dark-muted: #b4c3d6;
  --focus: #0b4a94;
  /* status */
  --ok: #1d6b3a;
  --ok-soft: #e7f4ec;
  --err: #a3141c;
  /* type */
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Lato", "Segoe UI", Arial, sans-serif;
  /* shape */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --pill: 999px;
  /* elevation (navy-tinted) */
  --shadow-sm: 0 1px 2px rgb(2 44 96 / .06), 0 2px 8px -2px rgb(2 44 96 / .08);
  --shadow: 0 12px 32px -16px rgb(2 44 96 / .32);
  --shadow-lg: 0 28px 64px -28px rgb(2 44 96 / .5);
  /* spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --section: clamp(56px, 8vw, 96px);
  --wrap: 1200px;
  --gutter: 16px;
  --hh: 68px; /* header height */
  /* motif */
  --stripe: linear-gradient(90deg, var(--navy) 0 70%, var(--red) 70% 100%);
  --stripe-slant: linear-gradient(120deg, var(--navy) 0 70%, var(--red) 70% 100%);
  --hero-bg: linear-gradient(180deg, var(--mist) 0%, #f6f8fb 60%, var(--white) 100%);
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 24px; --hh: 76px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.005em; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }
a { color: var(--navy-2); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .band-navy :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
::selection { background: var(--navy); color: var(--white); }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.lead, .lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 40em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Motif: eyebrow, stripe divider, accent underline ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-2); }
.eyebrow::before { content: ""; flex: none; width: 34px; height: 6px; background: var(--stripe); transform: skewX(-30deg); border-radius: 1px; }
.eyebrow.center { justify-content: center; }
.stripe { display: block; width: 96px; height: 8px; margin: 0 0 var(--s5); border: 0; background: var(--stripe); transform: skewX(-30deg); transform-origin: left bottom; }
.stripe.center { margin-left: auto; margin-right: auto; transform-origin: center; }
.stripe.wide { width: 100%; height: 4px; transform: none; background: var(--stripe-slant); border-radius: 2px; }
.hl { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: .09em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.pname { font-family: var(--font-head); font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.pname span { font-weight: 500; color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgb(255 255 255 / .9); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s4); min-height: var(--hh); }
.site-header .brand { margin-right: auto; display: inline-flex; align-items: center; min-height: 44px; }
.site-header .brand img { display: block; height: 34px; width: auto; }
@media (min-width: 640px) { .site-header .brand img { height: 40px; } }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--r-sm); font-weight: 700; font-size: .98rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--navy); background: var(--mist); }
.site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--red); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.site-nav .login { margin-left: 8px; color: var(--navy); }
.site-nav .btn { margin-left: 8px; padding-left: 20px; padding-right: 20px; color: var(--white); }
.site-nav .btn:hover { color: var(--white); background: var(--red-dark); }

.nav-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); cursor: pointer; place-items: center; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .js .nav-toggle { display: grid; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - var(--hh)); overflow-y: auto; }
  .js .site-header.open .site-nav { display: flex; }
  .js .site-nav a { min-height: 48px; padding: 10px 12px; font-size: 1.05rem; }
  .js .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--mist); }
  .js .site-nav .login { margin-left: 0; }
  .js .site-nav .btn { margin: 10px 0 0; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; padding-bottom: 8px; }
  html:not(.js) .site-nav { flex-wrap: wrap; width: 100%; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--pill); border: 2px solid var(--red); background: var(--red); color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; box-shadow: 0 6px 16px -8px rgb(227 26 37 / .6); }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.navy { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 6px 16px -8px rgb(2 44 96 / .6); }
.btn.navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn.line, .btn.alt { background: transparent; border-color: var(--navy); color: var(--navy); box-shadow: none; }
.btn.line:hover, .btn.alt:hover { background: var(--navy); color: var(--white); }
.btn.white { background: var(--white); border-color: var(--white); color: var(--navy); box-shadow: none; }
.btn.white:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }
.btn.line-light, .on-dark .btn.line, .band-navy .btn.line, .cta-band .btn.line { background: transparent; border-color: rgb(255 255 255 / .75); color: var(--white); box-shadow: none; }
.btn.line-light:hover, .on-dark .btn.line:hover, .band-navy .btn.line:hover, .cta-band .btn.line:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn.sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn.lg { min-height: 56px; padding: 14px 30px; font-size: 1.08rem; }
.btn.block { display: flex; width: 100%; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.row, .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: var(--s5) 0 0; align-items: center; }
.row:first-child, .ctas:first-child { margin-top: 0; }
.textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--navy); text-decoration: none; }
.textlink::after { content: "\2192"; transition: transform .15s; }
.textlink:hover { color: var(--navy-2); text-decoration: underline; }
.textlink:hover::after { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { padding: var(--section) 0; scroll-margin-top: calc(var(--hh) + 16px); }
.band { background: var(--mist); }
.band-white { background: var(--white); }
.band-navy { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); }
.band-navy h2, .band-navy h3, .band-navy h4 { color: var(--white); }
.band-navy .eyebrow { color: var(--on-dark); }
.band-navy .lead, .band-navy .lede, .band-navy .muted { color: var(--on-dark-muted); }
.band-navy a:not(.btn) { color: var(--white); }
.band-navy::after { content: ""; position: absolute; top: -20%; bottom: -20%; right: 3%; width: clamp(48px, 10vw, 150px); background: linear-gradient(90deg, rgb(255 255 255 / .05) 0 70%, rgb(227 26 37 / .85) 70%); transform: skewX(-30deg); pointer-events: none; }
.band-navy > .wrap { position: relative; z-index: 1; }
.head { max-width: 46em; margin-bottom: var(--s7); }
.head h2 { margin-bottom: .35em; }
.head p:last-child { margin-bottom: 0; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }
.section-foot { margin-top: var(--s6); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background: var(--hero-bg); }
.hero::before { content: ""; position: absolute; top: -10%; bottom: -10%; right: -6%; width: clamp(160px, 30vw, 420px); background: linear-gradient(90deg, rgb(2 44 96 / .045) 0 70%, rgb(227 26 37 / .08) 70%); transform: skewX(-30deg); pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { margin-bottom: .4em; }
.hero .lead { margin-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-meta { margin: var(--s4) 0 0; font-size: .95rem; color: var(--muted); }
.hero-banner { position: relative; margin: clamp(32px, 5vw, 56px) 0 0; }
.hero-banner .ph { box-shadow: var(--shadow-lg); }
.hero-banner::before { content: ""; position: absolute; z-index: 3; left: clamp(20px, 4vw, 44px); bottom: -10px; width: 120px; height: 20px; background: var(--stripe); transform: skewX(-30deg); }
/* page variant: eyebrow + h1 + lead, then a .hero-banner image slot (or .hero-grid for a side image) */
.hero.page { padding-bottom: clamp(32px, 5vw, 56px); }
.hero.page .hero-text { max-width: 48em; }

/* quickstart card (sits in the hero's side column) */
.quickstart { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); overflow: hidden; }
.quickstart::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--stripe-slant); }
.quickstart .qs-kicker { margin: 0 0 4px; font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-2); }
.quickstart h2 { font-size: 1.4rem; margin: 0 0 var(--s4); }
.quickstart .qs-hint { margin: var(--s3) 0 0; font-size: .95rem; color: var(--muted); }
.quickstart:has(.panel.on) .qs-hint { display: none; }
.quickstart .panel { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.quickstart .panel h3 { margin: var(--s3) 0 .35em; }
.quickstart .panel p { font-size: 1rem; color: var(--muted); margin: 0; }
.quickstart .row { margin-top: var(--s4); }

/* ---------- Tabs ([data-tabs], behaviour in site.js) ---------- */
[role="tablist"] { display: grid; gap: 10px; }
[role="tab"] { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 16px; text-align: left; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--navy); background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--r); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
[role="tab"] small { display: block; margin-top: 2px; font-weight: 400; font-size: .88rem; color: var(--muted); }
[role="tab"]::after { content: "\203A"; margin-left: auto; font-size: 1.5rem; line-height: 1; color: var(--navy-2); transition: transform .15s; }
[role="tab"]:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
[role="tab"]:hover::after { transform: translateX(3px); }
[role="tab"][aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: var(--shadow); }
[role="tab"][aria-selected="true"] small { color: var(--on-dark-muted); }
[role="tab"][aria-selected="true"]::after { color: var(--white); transform: rotate(90deg); }
[role="tab"] .t-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--navy); }
[role="tab"][aria-selected="true"] .t-ico { background: rgb(255 255 255 / .14); color: var(--white); }
[role="tab"] .t-ico svg { width: 20px; height: 20px; }
.js .panel { display: none; }
.js .panel.on { display: block; animation: rise .25s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* chips (short benefit labels) */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; padding: 6px 12px; border-radius: var(--pill); background: var(--mist); color: var(--navy); font-weight: 700; font-size: .86rem; line-height: 1.3; }
.band .chips li { background: var(--white); }
.chips.on-dark li, .band-navy .chips li { background: rgb(255 255 255 / .12); color: var(--white); }

/* ---------- Image slots (.ph) ---------- */
.ph { position: relative; isolation: isolate; display: grid; place-items: center; margin: 0; width: 100%; aspect-ratio: var(--ratio, 16 / 9); overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); }
.ph::before { content: ""; position: absolute; z-index: 0; top: -20%; bottom: -20%; right: 10%; width: 26%; background: linear-gradient(90deg, rgb(255 255 255 / .07) 0 70%, rgb(227 26 37 / .75) 70%); transform: skewX(-30deg); }
.ph::after { content: ""; position: absolute; z-index: 0; inset: 0; background: radial-gradient(120% 90% at 0% 100%, rgb(1 28 62 / .55), transparent 60%); }
.ph-label { position: relative; z-index: 1; max-width: calc(100% - 32px); display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--pill); background: rgb(1 28 62 / .6); border: 1px solid rgb(255 255 255 / .22); color: var(--white); font-size: .82rem; font-weight: 700; line-height: 1.35; text-align: center; }
.ph-label::before { content: ""; flex: none; width: 16px; height: 12px; border: 2px solid currentColor; border-radius: 3px; opacity: .85; }
.ph > img, .ph > picture, .ph > picture img, .ph > video { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:has(> img, > picture, > video) .ph-label { display: none; }
/* Unsplash photo credit (API terms: credit photographer and Unsplash, linked) */
.ph-credit { position: absolute; z-index: 3; right: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 9px; border-radius: var(--pill); background: rgb(1 28 62 / .72); color: var(--white); font-size: .68rem; line-height: 1.35; text-align: right; }
.ph-credit a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.ph:not(:has(> img)) .ph-credit { display: none; }
.ph.light { background: var(--mist); color: var(--navy); border: 1px solid var(--line); }
.ph.light::before { background: linear-gradient(90deg, rgb(2 44 96 / .08) 0 70%, rgb(227 26 37 / .35) 70%); }
.ph.light::after { display: none; }
.ph.light .ph-label { background: var(--white); color: var(--navy); border-color: var(--line); }
.ph.bleed { border-radius: 0; }
.ph.sq { border-radius: var(--r); }
@media (max-width: 639px) { .ph { aspect-ratio: var(--ratio-sm, var(--ratio, 16 / 9)); } }

/* photo strip / grid with captions: <ul class="photos"><li><figure class="ph">..</figure><p class="cap">Title<span>sub</span></p></li></ul> */
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.photos.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photos > * { margin: 0; min-width: 0; display: grid; gap: 12px; align-content: start; }
.photos .ph { border-radius: var(--r); }
.cap { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy); line-height: 1.3; }
.cap span { display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--muted); }

/* ---------- Grids ---------- */
.grid2, .grid3, .grid4 { display: grid; gap: 24px; }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.two-col.top { align-items: start; }
.two-col > * { min-width: 0; }

/* ---------- Cards ---------- */
.card { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; padding: clamp(20px, 2.5vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); color: var(--ink); }
.card h3, .card p { margin: 0; }
.card p { color: var(--muted); }
.card.accent { overflow: hidden; }
.card.accent::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--stripe-slant); }
a.card { text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); color: var(--ink); }
.tag { justify-self: start; display: inline-block; padding: 4px 10px; border-radius: var(--pill); background: var(--mist); color: var(--navy); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.band .tag { background: var(--white); }
.band .card .tag { background: var(--mist); }
.tag.red { background: var(--red-soft); color: var(--red-dark); }
.tag.placeholder, .placeholder-flag { background: #fff6dd; color: #6b4a00; border: 1px dashed #c99a1a; }
.ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--navy); }
.ico svg { width: 24px; height: 24px; }
.ico.navy { background: var(--navy); color: var(--white); }
.ico.red { background: var(--red-soft); color: var(--red); }
.item { display: grid; gap: 10px; align-content: start; min-width: 0; }
.item h3, .item p { margin: 0; }
.item p { color: var(--muted); }

/* link-row cards: <ul class="cards"><li><a class="card" href=""><span class="dot">S</span><span>Title<small>sub</small></span><span class="go" aria-hidden="true">&rsaquo;</span></a></li></ul> */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cards li { margin: 0; display: flex; }
.cards .card { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 84px; padding: 18px 20px; font-family: var(--font-head); font-weight: 700; color: var(--navy); line-height: 1.3; }
.cards .card small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: var(--muted); }
.cards .dot { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--white); font-size: 1.05rem; }
.cards .dot svg { width: 24px; height: 24px; }
.cards li:nth-child(4n+2) .dot { background: var(--navy-2); }
.cards li:nth-child(4n+3) .dot { background: var(--mist); color: var(--navy); }
.cards li:nth-child(4n+4) .dot { background: var(--red); }
.cards .go { margin-left: auto; padding-left: 8px; font-size: 1.6rem; color: var(--navy-2); transition: transform .15s; }
.cards .card:hover .go { transform: translateX(4px); }

/* product cards: SkillNetwork / TalentFoundry / Enterprise Partners
   <article class="product skill|talent|partners"><div class="p-head"><span class="p-ico">svg</span><h3><span class="fp">ForgePath</span>SkillNetwork</h3></div>...</article>
   Two products side by side with the P mark between: <div class="products">card<div class="bridge">..</div>card</div> */
.products { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: stretch; }
.product { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.product::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--stripe-slant); }
.product .p-head { display: flex; align-items: center; gap: 14px; }
.product .p-ico { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }
.product .p-ico svg { width: 28px; height: 28px; }
.product h3 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.55rem); }
.product h3 .fp { display: block; margin-bottom: 2px; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.product p { margin: 0; color: var(--muted); }
.product .row { margin-top: 4px; }
.product.skill .p-ico { background: var(--mist); color: var(--navy); }
.product.talent .p-ico { background: var(--navy); color: var(--white); }
.product.partners .p-ico { background: var(--red-soft); color: var(--red); }
.product.talent::before { background: linear-gradient(120deg, var(--red) 0 30%, var(--navy) 30% 100%); }
.product.partners::before { background: var(--red); }
.bridge { display: grid; place-items: center; align-content: center; gap: 10px; width: 112px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-2); }
.bridge img { width: 64px; height: auto; }
.bridge .line { width: 2px; height: 48px; background: linear-gradient(var(--line-strong), var(--navy)); }
.bridge .line:last-child { background: linear-gradient(var(--navy), var(--line-strong)); }
.hook { margin: var(--s6) auto 0; max-width: 52em; padding: 20px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-align: center; color: var(--ink); font-size: 1.08rem; }

/* ticks */
.tick { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tick li { position: relative; margin: 0; padding-left: 28px; }
.tick li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 3px solid var(--navy-2); border-bottom: 3px solid var(--navy-2); transform: rotate(-45deg); }
.band-navy .tick li::before { border-color: var(--white); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; margin: 0; display: grid; gap: 8px; align-content: start; padding-top: 22px; background: linear-gradient(90deg, var(--red) 0 56px, var(--line) 56px) top left / 100% 3px no-repeat; }
.steps li::before { content: "Step " counter(s); font-family: var(--font-head); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-2); }
.steps h3, .steps p { margin: 0; }
.steps p { color: var(--muted); }
.steps strong:first-child { color: var(--navy); font-family: var(--font-head); }
.band-navy .steps li { background-image: linear-gradient(90deg, var(--red) 0 56px, rgb(255 255 255 / .2) 56px); color: var(--on-dark); }
.band-navy .steps li::before { color: var(--on-dark); }
.band-navy .steps p { color: var(--on-dark-muted); }
.band-navy .steps strong:first-child { color: var(--white); }
/* balance the grid so no step sits alone on a row: 4 steps as 2x2, 6 steps as 3x2 */
@media (min-width: 560px) { .steps:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .steps:has(> li:nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Scope: what we do / what we don't ----------
   <div class="scope"><div class="card yes"><h3>What we do</h3><ul><li><span class="mk" aria-hidden="true">&#10003;</span>..</li></ul></div>
   <div class="card no"><h3>What we don't do</h3><ul><li><span class="mk" aria-hidden="true">&#10005;</span>..</li></ul></div></div> */
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.scope > * { min-width: 0; }
.scope ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.scope li { margin: 0; display: flex; gap: 12px; align-items: flex-start; }
.mk { flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .8rem; font-weight: 700; line-height: 1; }
.yes .mk { background: var(--navy); color: var(--white); }
.no .mk { background: var(--red-soft); color: var(--red-dark); }
.scope .yes { border-top: 4px solid var(--navy); }
.scope .no { border-top: 4px solid var(--red); }

/* ---------- Notice ---------- */
.notice, .note { margin: var(--s5) 0 0; padding: 16px 20px; border-left: 4px solid var(--red); border-radius: 0 var(--r) var(--r) 0; background: var(--mist); color: var(--ink); font-size: .98rem; }
.notice:first-child, .note:first-child { margin-top: 0; }
.band .notice, .band .note { background: var(--white); }
.notice.info { border-left-color: var(--navy-2); }
.notice strong:first-child { color: var(--navy); }
.band-navy .notice { background: rgb(255 255 255 / .08); color: var(--on-dark); }
.band-navy .notice strong:first-child { color: var(--white); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq > details:first-of-type { border-top: 1px solid var(--line); }
details summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--navy); font-size: 1.3rem; line-height: 1; }
.band details summary::after { background: var(--white); }
details[open] summary::after { content: "\2013"; background: var(--navy); color: var(--white); }
details > :not(summary) { margin: 0 0 16px; color: var(--muted); max-width: 52em; }

/* ---------- Framework nodes (.fw, highlight in site.js) ---------- */
.fw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.node { position: relative; overflow: hidden; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); cursor: pointer; transition: opacity .2s, border-color .2s, box-shadow .2s; }
.node::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--line); }
.node h3 { margin: 0; font-size: 1.15rem; }
.node .detail { display: none; margin: 14px 0 0; }
.node dt { margin-top: 10px; font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-2); }
.node dt:first-child { margin-top: 0; }
.node dd { margin: 2px 0 0; color: var(--muted); }
.node::after { content: "Hover, focus or tap for details"; display: block; margin-top: 8px; font-size: .88rem; color: var(--muted); }
.node:hover, .node:focus-within, .node:focus-visible { border-color: var(--navy); box-shadow: var(--shadow); }
.node:hover::before, .node:focus-within::before, .node:focus-visible::before { background: var(--stripe-slant); }
.node:hover::after, .node:focus-within::after, .node:focus-visible::after { display: none; }
.node:hover .detail, .node:focus-within .detail, .node:focus-visible .detail { display: block; }
.fw:has(.node:hover, .node:focus-visible) .node:not(:hover, :focus-visible) { opacity: .55; }
@media (hover: none) {
  .node.on { border-color: var(--navy); box-shadow: var(--shadow); }
  .node.on::before { background: var(--stripe-slant); }
  .node.on::after { display: none; }
  .node.on .detail { display: block; }
  .fw:has(.node.on) .node:not(.on) { opacity: .55; }
}
.attrib { margin: var(--s5) 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- Section nav (.secnav, highlight in site.js) ----------
   <div class="wrap page"><nav class="secnav" aria-label="On this page"><a href="#x">..</a></nav><main id="main">..</main></div> */
.page:not(.hero) { display: block; }
.secnav { position: sticky; top: var(--hh); z-index: 20; display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter); background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.secnav::-webkit-scrollbar { display: none; }
.secnav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-weight: 700; font-size: .92rem; text-decoration: none; }
.secnav a:hover { border-color: var(--navy); }
.secnav a.on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.page section { scroll-margin-top: calc(var(--hh) + 80px); }
@media (min-width: 1024px) {
  .page:not(.hero) { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: 48px; align-items: start; }
  .secnav { top: calc(var(--hh) + 24px); flex-direction: column; gap: 2px; overflow: visible; margin: var(--s8) 0 0; padding: 0; background: none; border: 0; }
  .secnav a { min-height: 40px; padding: 0 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0; border: 0; border-left: 3px solid var(--line); background: none; color: var(--muted); }
  .secnav a:hover { color: var(--navy); background: var(--mist); }
  .secnav a.on { background: var(--mist); color: var(--navy); border-left-color: var(--red); }
  .page section { scroll-margin-top: calc(var(--hh) + 24px); }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, var(--navy-2) 0%, var(--navy) 45%, var(--navy-deep) 100%); color: var(--on-dark); text-align: center; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; top: -30%; bottom: -30%; width: clamp(48px, 9vw, 140px); transform: skewX(-30deg); pointer-events: none; }
.cta-band::before { left: 5%; background: rgb(255 255 255 / .04); }
.cta-band::after { right: 5%; background: linear-gradient(90deg, rgb(255 255 255 / .06) 0 70%, var(--red) 70%); }
.cta-band > .wrap { position: relative; z-index: 1; max-width: 880px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--on-dark); font-size: 1.12rem; }
.cta-band .eyebrow { justify-content: center; color: var(--on-dark); }
.cta-band .row { justify-content: center; }
.cta-band .fine { margin: var(--s5) 0 0; font-size: .92rem; color: var(--on-dark-muted); }
.cta-band a:not(.btn) { color: var(--white); }

/* ---------- Placeholders (testimonials, logos): must stay labeled as placeholders ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.logo-slot { margin: 0; min-height: 88px; display: grid; place-items: center; padding: 12px; border: 1.5px dashed var(--line-strong); border-radius: var(--r); background: var(--white); color: var(--muted); font-size: .85rem; font-weight: 700; text-align: center; }
.quote { margin: 0; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.quote.placeholder { border: 1.5px dashed var(--line-strong); }
.quote blockquote { margin: 0 0 12px; font-family: var(--font-head); font-weight: 500; color: var(--navy); font-size: 1.1rem; line-height: 1.45; }
.quote figcaption { font-size: .9rem; color: var(--muted); }

/* ---------- Forms (login and simple forms) ---------- */
.form-card { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--stripe-slant); }
.form-card h1, .form-card h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.field { display: grid; gap: 6px; margin: 0 0 18px; }
.field label, label.q, legend { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--navy); padding: 0; }
.help { margin: 0; font-size: .9rem; color: var(--muted); }
fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=search], input[type=date], input[type=number], select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #8796a8; border-radius: 10px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy); }
.opt { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
.opt input { flex: none; width: 20px; height: 20px; margin-top: 4px; accent-color: var(--navy); }
.divider { display: flex; align-items: center; gap: 12px; margin: var(--s5) 0; color: var(--muted); font-size: .9rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.msg { margin: 12px 0; padding: 14px 18px; border-radius: var(--r); font-size: 1rem; border-left: 5px solid var(--navy-2); background: var(--mist); }
.msg.ok { border-left-color: var(--ok); background: var(--ok-soft); }
.msg.err { border-left-color: var(--err); background: var(--red-soft); color: var(--err); }
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.auth > * { min-width: 0; }

/* ---------- Demo hub helpers ---------- */
.demo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.demo-list li { margin: 0; display: flex; }
.demo-list li > a { flex: 1; }
.pill-label { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--pill); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--mist); color: var(--navy); }
.pill-label.app { background: var(--navy); color: var(--white); }

/* ---------- Blog (blog.html, blog-topic.html, blog-post.html; plan: growth/blog-build-plan.md) ----------
   Post card: <article class="post-card" data-aud="employers jobseekers"><a class="pc-link" href=""><figure class="ph">..</figure>
     <div class="pc-body"><span class="tag">Pillar</span><h3>Title</h3><p>Excerpt</p><p class="pc-meta">Date · 6 min read</p></div></a></article> */
.aud-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--s6); }
.aud-filter button { min-height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1.5px solid var(--line-strong); background: var(--white); color: var(--navy); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; }
.aud-filter button:hover { border-color: var(--navy); }
.aud-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { min-width: 0; display: flex; }
.post-card .pc-link { flex: 1; display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
.post-card .pc-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.post-card .ph { border-radius: 0; }
.pc-body { display: grid; gap: 10px; align-content: start; padding: 20px 22px 22px; }
.pc-body h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.pc-link:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .18em; }
.pc-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .86rem !important; }
.tag.data { background: var(--navy); color: var(--white); }
.post-card.featured { grid-column: 1 / -1; }
.post-card.featured .pc-link { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: none; }
.post-card.featured .ph { height: 100%; }
.post-card.featured .pc-body { align-content: center; padding: clamp(24px, 3vw, 40px); gap: 14px; }
.post-card.featured h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.post-card[hidden] { display: none; }
/* topic hubs: compact numbered tiles */
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: t; }
.topics li { margin: 0; display: flex; counter-increment: t; }
.topics a { flex: 1; position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); color: var(--navy); text-decoration: none; font-family: var(--font-head); font-weight: 700; line-height: 1.3; transition: border-color .15s, box-shadow .15s; }
.topics a::before { content: counter(t, decimal-leading-zero); font-size: .76rem; letter-spacing: .14em; color: var(--red-dark); }
.topics a small { font-family: var(--font-body); font-weight: 400; font-size: .88rem; color: var(--muted); }
.topics a:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.topics .data-flag { position: absolute; top: 14px; right: 14px; padding: 2px 8px; border-radius: var(--pill); background: var(--navy); color: var(--white); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
/* article */
.crumbs { margin: 0 0 var(--s4); font-size: .9rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: var(--s5) 0 0; font-size: .95rem; color: var(--muted); }
.byline .who { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.avatar.lg { width: 72px; height: 72px; font-size: 1.3rem; }
.byline .who a { font-weight: 700; color: var(--navy); }
.byline time { white-space: nowrap; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-layout > * { min-width: 0; }
.prose { max-width: 720px; font-size: 1.08rem; }
.prose h2 { margin: 1.8em 0 .5em; font-size: clamp(1.4rem, 2.6vw, 1.8rem); scroll-margin-top: calc(var(--hh) + 16px); }
.prose h3 { margin: 1.4em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.answer { position: relative; overflow: hidden; margin: 0 0 var(--s5); padding: 22px 24px; border-radius: var(--r); background: var(--mist); border: 1px solid var(--line); }
.answer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--navy) 0 70%, var(--red) 70%); }
.answer .k { margin: 0 0 6px; font-family: var(--font-head); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-2); }
.answer p:last-child { margin: 0; }
.takeaways { margin: 0 0 var(--s6); padding: 22px 24px; border: 1.5px solid var(--navy); border-radius: var(--r); }
.takeaways h2 { margin: 0 0 10px !important; font-size: 1.05rem !important; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: var(--s5) 0; }
.stat { padding: 18px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.stat:nth-child(3) { border-top-color: var(--red); }
.stat b { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1.1; color: var(--navy); }
.stat span { font-size: .92rem; color: var(--muted); }
.table-wrap { margin: var(--s5) 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .96rem; }
.table-wrap caption { padding: 12px 16px; text-align: left; font-size: .88rem; color: var(--muted); caption-side: bottom; border-top: 1px solid var(--line); }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--navy); color: var(--white); font-family: var(--font-head); font-size: .86rem; }
.table-wrap tbody tr:nth-child(even) { background: #f7f9fb; }
.inline-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; margin: var(--s6) 0; padding: 20px 22px; border-radius: var(--r); background: var(--navy); color: var(--on-dark); }
.inline-cta h3 { margin: 0 0 2px; color: var(--white); font-size: 1.08rem; }
.inline-cta p { margin: 0; font-size: .96rem; color: var(--on-dark-muted); }
.sources { margin: var(--s7) 0 0; padding-top: var(--s5); border-top: 1px solid var(--line); font-size: .95rem; }
.sources h2 { margin-top: 0 !important; font-size: 1.15rem !important; }
.sources ol { padding-left: 1.2em; color: var(--muted); }
.author-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; margin: var(--s6) 0 0; padding: 24px; border-radius: var(--r); background: var(--mist); }
.author-box h2 { margin: 0 0 4px !important; font-size: 1.1rem !important; }
.author-box p { margin: 0 0 .5em; font-size: .98rem; color: var(--muted); }
.toc { position: sticky; top: calc(var(--hh) + 24px); display: grid; gap: var(--s5); }
.toc nav { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); }
.toc h2 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-2); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc li { margin: 0; }
.toc nav a { display: block; padding: 6px 10px; border-left: 3px solid var(--line); color: var(--muted); font-size: .92rem; line-height: 1.35; text-decoration: none; }
.toc nav a:hover, .toc nav a.on { color: var(--navy); border-left-color: var(--red); background: var(--mist); }
.toc .card { padding: 20px; }
.toc .card .btn { justify-self: start; }
.demo-flag { margin: 0 0 var(--s5); padding: 10px 14px; border-radius: var(--r-sm); background: #fff6dd; color: #6b4a00; border: 1px dashed #c99a1a; font-size: .9rem; }
@media (max-width: 1023px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; order: -1; }
  .toc .card { display: none; }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .post-grid, .post-card.featured .pc-link { grid-template-columns: minmax(0, 1fr); }
  .stat-row { grid-template-columns: minmax(0, 1fr); }
  .inline-cta { grid-template-columns: minmax(0, 1fr); }
  .author-box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) { .topics { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: var(--s8) 0 calc(var(--s7) + 40px); background: var(--navy); color: var(--on-dark); font-size: .98rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--stripe-slant); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.site-footer .f-brand img { display: block; height: 44px; width: auto; margin-bottom: 18px; }
.site-footer p { margin: 0 0 .75em; max-width: 34em; }
.site-footer .disclaimer { color: var(--on-dark-muted); font-size: .92rem; }
.site-footer .f-h { margin: 0 0 14px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer li { margin: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .fine { grid-column: 1 / -1; max-width: none; margin: 0; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .16); font-size: .86rem; color: var(--on-dark-muted); }

/* fixed demo pill, bottom-left on every page (site.js adds it if a page forgets) */
.demo-pill { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: var(--pill); background: var(--navy-deep); color: var(--white); border: 1.5px solid rgb(255 255 255 / .3); box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.demo-pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgb(227 26 37 / .3); }
.demo-pill:hover { background: var(--navy-2); color: var(--white); }
.demo-pill:focus-visible { outline-color: var(--red); }

/* ---------- Responsive (1280 / 820 / 390) ---------- */
@media (max-width: 1023px) {
  .products { grid-template-columns: minmax(0, 1fr); }
  .bridge { width: auto; grid-auto-flow: column; justify-content: center; }
  .bridge .line { width: 48px; height: 2px; background: linear-gradient(90deg, var(--line-strong), var(--navy)); }
  .bridge .line:last-child { background: linear-gradient(90deg, var(--navy), var(--line-strong)); }
  .bridge img { width: 48px; }
  .grid4, .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .hero-grid, .two-col, .auth, .scope, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .grid3, .fw, .photos.three { grid-template-columns: minmax(0, 1fr); }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .row .btn, .ctas .btn { flex: 1 1 100%; }
  .hero-banner::before { width: 72px; height: 14px; bottom: -7px; }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .head { margin-bottom: var(--s6); }
}
@media (max-width: 479px) {
  .grid4, .photos { grid-template-columns: minmax(0, 1fr); }
  .photos.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, a.card:hover { transform: none; }
}
@media print {
  .site-header, .demo-pill, .secnav, .nav-toggle { display: none !important; }
  .js .panel { display: block; }
}

/* ==========================================================================
   Production additions 2026-10-28: job board, legal pages, consent banner
   ========================================================================== */
.linklike { display: inline-flex; align-items: center; min-height: 36px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.site-footer .linklike { color: var(--on-dark); text-decoration: none; }
.site-footer .linklike:hover { color: var(--white); text-decoration: underline; }
.site-footer .fine a { display: inline; min-height: 0; color: var(--on-dark); }

/* Home: quick search in the hero card */
.job-search { display: grid; gap: 4px; margin-top: var(--s3); }
.job-search .field { margin-bottom: 8px; }
.industry-chips { margin-top: var(--s5); }

/* Job cards (home "latest" and /jobs) */
.job-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--s4); }
.job-grid li { margin: 0; }
.job-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.job-card:hover { border-color: var(--navy-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.job-card .jc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.job-card .jc-field { font-size: .84rem; color: var(--muted); }
.job-card .jc-title { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.3; color: var(--navy); }
.job-card .jc-emp { font-weight: 700; }
.job-card .jc-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 6px; font-size: .9rem; color: var(--muted); }
.job-empty { padding: clamp(24px, 4vw, 40px); background: var(--mist); border-radius: var(--r-lg); }
.band .job-empty { background: var(--white); }
.job-empty h3 { margin-top: 0; }
.job-loading, .job-none { color: var(--muted); }

/* /jobs filters */
.board { padding-top: var(--s6); }
.job-filters { display: grid; grid-template-columns: 1fr; gap: 0 var(--s4); padding: 20px; background: var(--mist); border-radius: var(--r-lg); }
.job-filters .field { margin-bottom: 8px; }
@media (min-width: 760px) { .job-filters { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.job-count { margin: var(--s4) 0 var(--s3); font-weight: 700; color: var(--navy); }
.job-note { margin-top: var(--s6); }

/* Job detail dialog */
.job-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: clamp(24px, 4vw, 40px); border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); color: var(--ink); background: var(--white); }
.job-dialog::backdrop { background: rgb(1 28 62 / .55); }
.job-dialog h2 { margin: 0 0 var(--s4); padding-right: 40px; }
.job-dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: var(--pill); background: var(--mist); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.job-dialog-close:hover { background: var(--line); }
.job-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 var(--s5); padding: 16px; background: var(--mist); border-radius: var(--r); }
.job-facts div { margin: 0; }
.job-facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.job-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }
.job-desc { margin-bottom: var(--s5); }
.apply-form { margin-top: var(--s5); box-shadow: none; }

/* Legal pages */
.legal { padding-top: var(--s6); }
.legal .prose ul { padding-left: 1.2em; }
.legal .table-wrap { max-width: none; }
.legal code { font-size: .9em; }
.ts-slot { margin: 12px 0; }
.ts-slot:empty { display: none; }

/* Consent banner (vendor/cookieconsent) in brand colors */
#cc-main {
  --cc-font-family: var(--font-body);
  --cc-modal-border-radius: var(--r);
  --cc-btn-border-radius: var(--pill);
  --cc-primary-color: var(--ink);
  --cc-secondary-color: var(--muted);
  --cc-btn-primary-bg: var(--navy);
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-border-color: var(--navy);
  --cc-btn-primary-hover-bg: var(--navy-deep);
  --cc-btn-primary-hover-border-color: var(--navy-deep);
  --cc-btn-secondary-bg: var(--navy);
  --cc-btn-secondary-color: #fff;
  --cc-btn-secondary-border-color: var(--navy);
  --cc-btn-secondary-hover-bg: var(--navy-deep);
  --cc-btn-secondary-hover-color: #fff;
  --cc-btn-secondary-hover-border-color: var(--navy-deep);
  --cc-toggle-on-bg: var(--navy);
  --cc-link-color: var(--navy-2);
}
#cc-main .cm__title, #cc-main .pm__title { font-family: var(--font-head); color: var(--navy); }

/* ==========================================================================
   Accounts and the "may qualify" check (D-11, 2026-10-28)
   ========================================================================== */
.site-nav .nav-account { font-weight: 700; }

/* Site-wide reminder for signed-in people who haven't finished the check */
.nudge-bar { background: var(--navy); color: var(--white); border-bottom: 3px solid var(--red); }
.nudge-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.nudge-bar p { margin: 0; }
.nudge-bar .row { margin: 0; }
.nudge-bar .btn.line { color: var(--white); border-color: rgb(255 255 255 / .6); background: transparent; }

/* Dashboard and after-apply nudge card */
.nudge-card { margin: var(--s5) 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--mist); border-left: 6px solid var(--red); }
.nudge-card h2, .nudge-card h3 { margin-top: 0; }
.after-apply { margin-top: var(--s4); }

/* Screener */
.screener h2 { margin: var(--s4) 0 var(--s2); }
.screener h2:focus { outline: none; }
.sc-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sc-bar { height: 10px; margin-top: 8px; border-radius: var(--pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.nudge-card .sc-bar { margin: 12px 0 4px; }
.sc-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy), var(--navy-2)); transition: width .3s; }
.choices { display: grid; gap: 10px; margin: var(--s4) 0 0; padding: 0; border: 0; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 52px; width: 100%; padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); font: inherit; font-size: 1.02rem; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--navy-2); }
.choice[aria-checked="true"], .choice.check:has(input:checked) { border-color: var(--navy); background: var(--mist); font-weight: 700; color: var(--navy); }
.choice.check input { width: 20px; height: 20px; flex: none; accent-color: var(--navy); }
.consent-sensitive { margin-top: var(--s4); padding: 12px 14px; border-radius: var(--r); background: var(--red-soft); }
.sc-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
.choice-row { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.check-foot { margin-top: var(--s5); }

/* Results */
.result-list { list-style: none; margin: var(--s5) 0; padding: 0; display: grid; gap: var(--s4); }
.result-list li { margin: 0; }
.result-card h3 { margin-top: 0; }
.qualify-chips li { font-size: .95rem; padding: 8px 14px; }

/* My ForgePath */
.account-page { padding-top: var(--s7); }
.account-page section { padding: 0; margin: var(--s6) 0; }
.acct-hello { margin: 0 0 var(--s4); }
.app-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.app-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); }
.app-list li:first-child { border-top: 0; }
details.danger { margin-top: var(--s5); }
details.danger summary { color: var(--err); }
details.danger form { align-items: center; }
details.danger input { max-width: 200px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.hero h1.mission { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; }
.results { margin-top: var(--s5); }
.results h2:focus, .acct-hello:focus { outline: none; }
