/* SkillReceipt v5 — clean job-board palette: white base, flat blue actions, near-black text, wolf gray secondary. Noto Sans (SIL OFL). */
:root {
  --blue: #004FCB;        /* primary actions, links */
  --blue-dark: #003A9B;   /* hover / pressed */
  --blue-deep: #002970;
  --blue-50: #ECF2FF;     /* tint */
  --blue-100: #BFD3FF;
  --sky: #5592FD;         /* focus ring */
  --white: #FFFFFF;
  --gray-50: #F3F2F1;     /* page tint */
  --gray-25: #F7F6F5;
  --gray-100: #E4E2E0;    /* borders */
  --gray-200: #D4D2D0;
  --gray-400: #8C9196;    /* wolf gray */
  --gray-600: #606468;    /* wolf gray, dark */
  --gray-700: #424242;
  --wolf: #8C9196;
  --wolf-dark: #606468;
  --wolf-tint: #EEF0F1;
  --black: #2D2D2D;
  --charcoal: #2D2D2D;
  --charcoal-2: #424242;
  --accent: #8C9196;

  --ink: #2D2D2D;
  --muted: #595959;
  --faint: #767676;
  --line: #E4E2E0;
  --line-strong: #D4D2D0;
  --mist: #F3F2F1;
  --grad: #004FCB;        /* flat: no gradients in v5 */
  --navy-grad: #606468;
  --soft: #FFFFFF;

  --radius: 12px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(45,45,45,.06);
  --shadow: 0 1px 3px rgba(45,45,45,.08), 0 4px 12px rgba(45,45,45,.06);
  --shadow-lg: 0 2px 4px rgba(45,45,45,.06), 0 12px 32px rgba(45,45,45,.10);
  --max: 1200px;
  --header-h: 64px;
  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../assets/fonts/NotoSans-Variable-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.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;
}
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--blue); color: #fff; padding: .6rem 1rem; z-index: 1000; font-weight: 600;
}
.skip:focus { left: .75rem; top: .75rem; }

.preview-banner {
  background: var(--black);
  color: #C5C9CD;
  font-size: .78rem;
  padding: .5rem 1rem;
  text-align: center;
  line-height: 1.45;
  border-bottom: 1px solid #23272C;
}
.preview-banner strong { color: #fff; font-weight: 600; }

/* Header */
.site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner, .footer-inner, .wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--black);
  font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand:hover { color: var(--black); }
.brand svg { width: 26px; height: 26px; color: var(--blue); }
.nav-toggle {
  margin-left: auto; display: none;
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: .5rem .6rem; cursor: pointer;
  color: var(--ink); min-width: 44px; min-height: 44px;
}
.nav-toggle svg { display: block; width: 22px; height: 22px; }
.site-nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--gray-700);
  font-weight: 500; font-size: .9rem;
  padding: .5rem .75rem; border-radius: var(--radius-sm);
  position: relative;
}
.site-nav a:hover { color: var(--black); background: var(--gray-50); }
.site-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: -12px; height: 2px; background: var(--blue);
}
.site-nav a.btn-nav {
  order: 99; margin-left: .6rem;
  background: var(--blue); color: #fff; font-weight: 600;
  padding: .55rem 1rem;
}
.site-nav a.btn-nav:hover { background: var(--blue-dark); color: #fff; }
.site-nav a.btn-nav[aria-current="page"]::after { display: none; }

/* Type */
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -0.022em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 1rem; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); margin: 0 0 .75rem; }
h3 { font-size: 1.08rem; margin: 0 0 .4rem; letter-spacing: -0.01em; font-weight: 650; }
.lede { font-size: 1.1rem; color: var(--muted); margin: 0 0 1.5rem; max-width: 44rem; line-height: 1.6; }
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue);
  margin: 0 0 .75rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }

/* Hero */
.hero {
  position: relative;
  padding: 3.25rem 0 3rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; } }

.hero-home {
  background: var(--black);
  color: #E6E8EA;
  border-bottom: 0;
  padding: 4.5rem 0 4.5rem;
}
.hero-home h1 { color: #fff; }
.hero-home .lede { color: #B4B9BE; }
.hero-home .eyebrow { color: #8FB4EC; }
.hero-home .cite, .hero-home .photo-caption { color: var(--gray-400); }
.hero-home .photo-caption a { color: #C5C9CD; }

/* Hero photo / mosaic */
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.hero-home .hero-photo img { border-color: #23272C; }
.hero-mosaic {
  margin: 0;
  display: grid; gap: 10px;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.hero-mosaic .m { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid #23272C; background: var(--charcoal-2); }
.hero-mosaic .m img { width: 100%; height: 100%; object-fit: cover; }
.hero-mosaic .m-main { grid-row: 1 / span 2; min-height: 380px; }
.hero-mosaic .m-label {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(11,13,16,.82); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  padding: .3rem .55rem; border-radius: 4px; border: 1px solid rgba(255,255,255,.12);
}
.hero-mosaic figcaption { grid-column: 1 / -1; }
@media (max-width: 599px) {
  .hero-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hero-mosaic .m-main { grid-column: 1 / -1; grid-row: auto; min-height: 220px; }
  .hero-mosaic .m:not(.m-main) { aspect-ratio: 4 / 3; }
}
.photo-caption { font-size: .78rem; color: var(--muted); margin-top: .6rem; line-height: 1.45; }
.photo-caption a { color: inherit; }

/* Search */
.search-card, .command-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.search-form, .command-row { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 720px) {
  .search-form, .command-row { grid-template-columns: 1.3fr 1fr auto; align-items: end; }
}
.search-form label, .command-row label.visible-label {
  display: grid; gap: .35rem; font-size: .78rem; font-weight: 600; color: var(--gray-700);
}
.search-form input, .search-form select, textarea, .field, .command-row input {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: .7rem .8rem; min-height: 46px;
}
.search-form input::placeholder, .command-row input::placeholder { color: var(--gray-400); }
.search-form input:focus, .search-form select:focus, textarea:focus, .command-row input:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100);
}
.hero-home .search-note { color: var(--gray-600); }
.search-card .search-note { color: var(--gray-600); }
.search-note { font-size: .8rem; color: var(--muted); margin: .7rem 0 0; }
.search-note a { font-weight: 600; }

/* Buttons */
.btn, button.btn, a.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: inherit; font-weight: 600; font-size: .92rem;
  background: var(--blue); color: #fff;
  border: 1px solid var(--blue); border-radius: var(--radius-sm);
  padding: .65rem 1.1rem; min-height: 44px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-lg { min-height: 46px; padding: .7rem 1.35rem; }
.btn-accent { background: var(--blue); border-color: var(--blue); }
.section-navy .btn-accent { background: #fff; color: var(--black); border-color: #fff; }
.section-navy .btn-accent:hover { background: var(--gray-100); border-color: var(--gray-100); color: var(--black); }
.btn-ghost, a.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--gray-50); color: var(--ink); border-color: var(--gray-400); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; }
.chip {
  display: inline-flex; align-items: center;
  font: inherit; font-size: .82rem; font-weight: 500;
  color: var(--gray-700); background: #fff;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: .32rem .8rem; text-decoration: none; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-on { background: var(--black); border-color: var(--black); color: #fff; }

/* Sections */
main { flex: 1; }
.section { padding: 4.5rem 0; }
.section-mist { background: var(--gray-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--charcoal); color: #C5C9CD; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lede, .section-navy p { color: #B4B9BE; }
.section-navy .kicker { color: #8FB4EC; }
.section-navy a:not(.btn) { color: #A9C6F0; }
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head .lede { margin-bottom: 0; }

/* Cards */
.step, .card, .job-card, .price-card, .feature, .score-panel, .resume-preview, .li-preview {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.steps { display: grid; grid-template-columns: 1fr; gap: 1rem; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.step { padding: 1.5rem; }
.step-num {
  width: 32px; height: 32px; border-radius: 6px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue);
  font-weight: 700; font-size: .9rem; margin-bottom: 1rem;
  border: 1px solid var(--blue-100);
}
.feature p, .step p { color: var(--muted); margin: 0; font-size: .94rem; }

.feature-grid, .card-grid, .job-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 680px) { .feature-grid, .card-grid, .job-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid, .card-grid, .job-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 1.5rem; transition: border-color .15s ease, box-shadow .15s ease; }
.feature:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }

.feature-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--black); color: #fff;
}
.feature-icon svg { width: 20px; height: 20px; }

.job-card {
  display: flex; flex-direction: column; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
a.job-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-2px); color: inherit; }
.job-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-100); border-bottom: 1px solid var(--line); }
.job-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.job-card:hover .thumb img { transform: scale(1.03); }
.thumb-plain { display: grid; place-items: center; color: var(--gray-400); background: linear-gradient(180deg, var(--gray-50), var(--gray-100)); }
.thumb-plain svg { width: 56px; height: 56px; }
.thumb-plain span { display:block; font-size: .72rem; color: var(--gray-600); margin-top: .5rem; text-align: center; }
.job-card .body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .2rem; }
.job-card h3 { margin-top: .5rem; }
.job-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.section-navy .job-card { background: var(--charcoal-2); border-color: #2A2F35; box-shadow: none; }
.section-navy .job-card .thumb { border-color: #2A2F35; background: #000; }
.section-navy .job-card p { color: #A7ADB3; }
.card-link { margin-top: .8rem; font-weight: 600; font-size: .88rem; color: var(--blue); }

/* Tags */
.meta { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  display: inline-flex; align-items: center;
  font-size: .72rem; font-weight: 600; line-height: 1;
  padding: .36rem .55rem; border-radius: 4px;
  background: var(--gray-50); color: var(--gray-700); border: 1px solid var(--line);
  white-space: nowrap;
}
.tag-pay { background: #fff; color: var(--black); border-color: var(--line-strong); font-variant-numeric: tabular-nums; }
.tag-growth { background: var(--blue-50); color: var(--blue-dark); border-color: var(--blue-100); }
.tag-gate { background: var(--black); color: #fff; border-color: var(--black); }
.tag-wide { background: var(--blue); color: #fff; border-color: var(--blue); }
.tag-open { background: var(--blue-50); color: var(--blue-dark); border-color: var(--blue-100); }
.tag-narrow { background: var(--gray-700); color: #fff; border-color: var(--gray-700); }
.tag-uncertain { background: #fff; color: var(--gray-600); border: 1px dashed var(--gray-400); }
.section-navy .tag { background: #23282E; color: #D3D6D9; border-color: #2F353B; }
.section-navy .tag-wide { background: var(--blue); color: #fff; border-color: var(--blue); }
.section-navy .tag-open { background: #17325A; color: #CFE0F7; border-color: #234A80; }
.section-navy .tag-uncertain { background: transparent; color: #B4B9BE; border: 1px dashed #5F656B; }
.hero .meta .tag { background: #fff; }
.hero .meta .tag-gate { background: var(--black); }
.hero .meta .tag-growth { background: var(--blue-50); }

/* Field tiles (photo strip) */
.field-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 2rem; }
@media (min-width: 720px) { .field-tiles { grid-template-columns: repeat(4, 1fr); } }
.field-tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--black);
  text-decoration: none; color: #fff; cursor: pointer; padding: 0; font: inherit; text-align: left; width: 100%;
}
.field-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.field-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,16,0) 45%, rgba(11,13,16,.82) 100%); }
.field-tile span {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1;
  font-weight: 600; font-size: .9rem; letter-spacing: -0.005em; color: #fff;
}
.field-tile small { display: block; font-weight: 500; font-size: .72rem; color: #C5C9CD; margin-top: 2px; }
.field-tile:hover img { transform: scale(1.04); }
.field-tile:hover, .field-tile.is-on { border-color: var(--blue); }
.field-tile.is-on { box-shadow: 0 0 0 2px var(--blue); }
.section-navy .field-tile { border-color: #2A2F35; }

/* Future jobs catalog */
.filters {
  display: grid; grid-template-columns: 1fr; gap: .75rem;
  margin: 1.5rem 0 1rem; padding: 1rem;
  background: var(--gray-50); border: 1px solid var(--line); border-radius: var(--radius);
}
@media (min-width: 800px) { .filters { grid-template-columns: 1.4fr 1fr; align-items: center; } .filters .chips { grid-column: 1 / -1; margin-top: 0; } }
.filters input[type="search"], .filters select {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: .65rem .8rem; min-height: 44px;
}
.filters input:focus, .filters select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
#job-count { font-size: .85rem; color: var(--muted); font-weight: 500; margin: 0 0 1rem; }
.fj-card { display: flex; }
.fj-card .body { padding: 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .3rem; width: 100%; }
.fj-card h3 { margin: .55rem 0 .2rem; font-size: 1.02rem; }
.fj-card p { color: var(--muted); font-size: .9rem; margin: 0 0 .3rem; }
.fj-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.fj-title-row { display: flex; align-items: flex-start; gap: .6rem; }
.fj-title-row h3 { margin-top: .55rem; }
.fj-icon {
  flex: none; width: 32px; height: 32px; margin-top: .4rem; border-radius: 6px;
  display: grid; place-items: center; background: var(--blue-50); color: var(--blue); border: 1px solid var(--blue-100);
}
.fj-icon svg { width: 17px; height: 17px; }
details.fj-more { margin-top: auto; border-top: 1px solid var(--line); padding-top: .7rem; }
details.fj-more summary { cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--blue); }
details.fj-more p { font-size: .86rem; margin: .55rem 0 0; }

.cite { font-size: .78rem; color: var(--gray-600); line-height: 1.5; }
.source-list { font-size: .85rem; }

/* Roadmap */
.roadmap-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .roadmap-layout { grid-template-columns: 1.45fr 1fr; } }
.roadmap-layout h2 { font-size: 1.3rem; margin-top: 2rem; }
.score-panel { padding: 1.6rem; position: sticky; top: calc(var(--header-h) + 1rem); box-shadow: var(--shadow); }
.score-panel h2 { font-size: 1.3rem; margin-top: 0; }
.score-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
.ring-wrap { position: relative; aspect-ratio: 1; max-width: 160px; width: 100%; margin-inline: auto; }
.ring-wrap svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--gray-100); stroke-width: 9; }
.ring-fg { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset .5s ease; }
.ring-elig { stroke: var(--blue); }
.ring-stand { stroke: var(--black); }
.ring-wrap.is-gated .ring-bg { stroke: var(--gray-200); stroke-dasharray: 4 5; }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-label .num, .score-box .num { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--black); }
.ring-label .num.gated, .score-box .num.gated { font-size: 1.1rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: .06em; }
.ring-label .lbl, .score-box .lbl { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.score-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; text-align: center; }

.milestones { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; counter-reset: m; }
.milestones li {
  counter-increment: m;
  font-size: .72rem; font-weight: 600; color: var(--gray-600);
  padding: .55rem .4rem .45rem; text-align: center;
  border-top: 3px solid var(--gray-100);
}
.milestones li::before { content: counter(m); display: block; font-size: .68rem; color: var(--gray-400); margin-bottom: 2px; }
.milestones li.is-on { border-top-color: var(--blue); color: var(--black); }
.milestones li.ms-gate { border-top-style: dashed; border-top-color: var(--gray-400); }
.milestones li.ms-gate.is-on { border-top-style: solid; border-top-color: var(--black); }
.gate-msg {
  font-size: .84rem; background: var(--gray-50); border: 1px solid var(--line);
  border-left: 3px solid var(--black); border-radius: var(--radius-sm);
  padding: .75rem .9rem; margin-bottom: 1rem; color: var(--gray-700);
}
.next-card {
  background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius);
  padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.next-card .kicker { margin-bottom: .35rem; color: var(--blue-dark); }
.next-card p { margin: 0; font-size: .92rem; color: var(--ink); }
.next-card p.cite { color: var(--gray-600); }

.step-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.step-item {
  display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; transition: border-color .15s ease, background-color .15s ease;
}
.step-item:hover { border-color: var(--line-strong); }
.step-item.done { border-color: var(--blue-100); background: var(--blue-50); }
.step-item.hard { border-left: 3px solid var(--black); }
.step-item label { font-weight: 600; cursor: pointer; display: block; }
.step-item p { margin: .25rem 0 0; font-size: .88rem; color: var(--muted); }
.step-item input[type="checkbox"] { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--blue); cursor: pointer; }

/* Notices */
.callout, .notice, .draft-banner {
  background: var(--gray-50); border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm); padding: .95rem 1.1rem; font-size: .92rem; color: var(--gray-700);
}
.notice p { margin: 0 0 .5rem; } .notice p:last-child { margin-bottom: 0; }
.notice-warn { border-left-color: var(--black); }
.notice-draft { border-left-color: var(--gray-400); background: #fff; }
.notice-danger { border-left-color: var(--black); background: var(--gray-100); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 860px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { padding: 1.6rem; display: flex; flex-direction: column; }
.price-card.featured { border: 1px solid var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.price { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; margin: .4rem 0 .2rem; color: var(--black); font-variant-numeric: tabular-nums; }
.price span { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card ul { padding-left: 1.1rem; color: var(--gray-700); font-size: .92rem; }
.price-card ul li { margin: .3rem 0; }
.proposed { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-600); border: 1px solid var(--line-strong); padding: .2rem .45rem; border-radius: 4px; }

/* Prose (articles, legal) */
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--gray-700); }
.prose .meta-line { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--black); color: var(--gray-400); padding: 3.5rem 0 2rem; margin-top: 0; font-size: .9rem; border-top: 1px solid #23272C; }
.site-footer .brand, .site-footer .brand:hover { color: #fff !important; }
.site-footer .brand svg { color: #8FB4EC; }
.site-footer p { color: #A7ADB3; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer a { color: #D3D6D9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-legal { border-top: 1px solid #23272C; margin-top: 2.5rem; padding-top: 1.5rem; font-size: .76rem; color: var(--gray-400); display: grid; gap: .5rem; }
.footer-legal p { color: var(--gray-400); margin: 0; }
.footer-legal a { color: #C5C9CD; text-decoration: underline; }

table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .7rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-600); background: var(--gray-50); font-weight: 600; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.checklist li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem .95rem; display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start;
}
.checklist input { width: 1.15rem; height: 1.15rem; accent-color: var(--blue); margin-top: .2rem; }

.split { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } }
.li-preview, .resume-preview { padding: 1.4rem; font-size: .92rem; }
.copy-row { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
pre { background: var(--gray-50) !important; border-color: var(--line) !important; }

/* Restrained reveal */
[data-reveal] { opacity: 1; transform: none; }
.js-reveal [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: .5rem 1rem 1rem;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .site-nav a[aria-current="page"]::after { display: none; }
  .site-nav a[aria-current="page"] { background: var(--blue-50); }
  .site-nav a.btn-nav { margin: .4rem 0 0; justify-content: center; order: 99; }
  .header-inner { position: relative; }
  .score-panel { position: static; }
}
@media (max-width: 599px) {
  .header-inner, .footer-inner, .wrap { width: calc(100% - 2rem); }
  .section { padding: 3.25rem 0; }
  .hero-home { padding: 3rem 0; }
  .milestones { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}

/* Planned data-source strip under the home hero */
.source-strip { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #23272C; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.source-strip .lbl { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); margin-right: .25rem; }
.source-strip span:not(.lbl) { font-size: .85rem; font-weight: 600; color: #D3D6D9; }
td img { min-width: 140px; max-width: 160px; }


/* ===================== v4 theme layer ===================== */
.preview-banner { background: var(--blue-50); color: var(--blue-dark); border-bottom: 1px solid var(--line); }
.preview-banner strong { color: var(--blue-dark); font-weight: 700; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { color: var(--blue-dark); font-weight: 800; letter-spacing: -.01em; }
.brand:hover { color: var(--blue-dark); }
.site-nav a { font-weight: 600; color: #595959; font-size: .86rem; }
.site-nav a:hover { color: var(--blue); background: var(--blue-50); }
.site-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-50); }
.site-nav a[aria-current="page"]::after { display: none; }
.site-nav a.btn-nav { background: var(--grad); border-radius: var(--radius-sm); font-weight: 700; }
.site-nav a.btn-nav:hover { background: var(--blue-dark); }

h1, h2 { font-weight: 800; letter-spacing: -.01em; color: var(--charcoal); }
h1 { line-height: 1.08; }
h3, h4 { font-weight: 700; letter-spacing: -.005em; }
.lede { color: #595959; }
.eyebrow, .kicker { color: var(--gray-600); font-weight: 700; font-size: .72rem; letter-spacing: .24em; gap: .65rem; }
.eyebrow::before, .kicker::before { content: ""; width: 22px; height: 2px; background: var(--blue); flex: none; }

.btn, button.btn, a.btn { background: var(--grad); border: 0; border-radius: var(--radius-sm); font-weight: 700; }
.btn:hover { background: var(--blue-dark); }
.btn-ghost, a.btn-ghost, button.btn-ghost { background: #fff; color: var(--blue-dark); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--blue-50); color: var(--blue-dark); border-color: var(--sky); }
.btn-sm, a.btn-sm { min-height: 38px; padding: .5rem .9rem; font-size: .84rem; }
.chip:hover { border-color: var(--sky); color: var(--blue); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
:focus-visible { outline-color: var(--sky); }
.search-form input:focus, .search-form select:focus, textarea:focus, .command-row input:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(88,152,192,.25); }

/* Heroes: soft sky gradient with a faint radial glow */
.hero, .hero-home, .hero-soft { background: var(--soft); color: var(--ink); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::after, .hero-soft::after { content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, #5898C033, transparent 65%); pointer-events: none; }
.hero > .wrap, .hero-soft > .wrap { position: relative; z-index: 1; }
.hero-home h1 { color: var(--charcoal); }
.hero-home .lede { color: #595959; }
.hero-home .eyebrow { color: var(--gray-600); }
.hero-home .cite, .hero-home .photo-caption { color: var(--gray-600); }
.hero-home .photo-caption a { color: var(--blue); }
.hero-home .hero-photo img, .hero-mosaic .m { border-color: var(--line); }
.hero-mosaic .m { background: var(--gray-100); box-shadow: var(--shadow); }
.hero-mosaic .m-label { background: rgba(8,67,109,.9); border-color: rgba(255,255,255,.18); }
.source-strip { border-top-color: var(--line); }
.source-strip .lbl { color: var(--gray-600); }
.source-strip span:not(.lbl) { color: var(--gray-700); }
.hero-soft { padding: 3.5rem 0 2.75rem; }

/* Dark sections become navy gradient */
.section-navy { background: var(--navy-grad); color: #D6E6F7; }
.section-navy .lede, .section-navy p { color: #D6E6F7; }
.section-navy .kicker { color: var(--blue-100); }
.section-navy .kicker::before { background: var(--blue-100); }
.section-navy a:not(.btn) { color: #fff; }
.section-navy .btn-accent { background: #fff; color: var(--blue-dark); }
.section-navy .btn-accent:hover { background: var(--blue-50); color: var(--blue-dark); }
.section-navy .job-card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.section-navy .job-card .thumb { border-color: rgba(255,255,255,.16); background: #08436D; }
.section-navy .job-card p { color: #D6E6F7; }
.section-navy .card-link { color: var(--blue-100); }
.section-navy .tag { background: rgba(255,255,255,.1); color: #E8F2FA; border-color: rgba(255,255,255,.2); }
.section-navy .tag-uncertain { background: transparent; color: #D6E6F7; border: 1px dashed rgba(255,255,255,.4); }
.section-navy .field-tile { border-color: rgba(255,255,255,.16); }
.feature-icon { background: var(--grad); }
.step-num { background: var(--blue-50); color: var(--blue); border-color: var(--blue-100); }
.tag-gate, .hero .meta .tag-gate { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.ring-stand { stroke: var(--sky); }
.milestones li.ms-gate.is-on { border-top-color: var(--blue-dark); }
.notice-warn, .step-item.hard, .notice-danger { border-left-color: var(--blue-dark); }
.callout, .notice, .draft-banner { background: var(--blue-50); border-color: #D7E7F3; border-left-color: var(--blue); }
.notice-draft { background: #fff; }
.price-card.featured { border-color: var(--blue); }
.field-tile { background: var(--blue-dark); }
th { background: var(--gray-50); color: var(--gray-700); }

/* Footer: light mist, as on the site */
.site-footer { background: var(--mist); color: #595959; border-top: 1px solid var(--line); }
.site-footer .brand, .site-footer .brand:hover { color: var(--blue-dark) !important; }
.site-footer .brand svg { color: var(--blue); }
.site-footer p { color: #595959; }
.site-footer a { color: #595959; }
.site-footer a:hover { color: var(--blue); }
.site-footer h2 { color: var(--blue-dark); font-weight: 800; letter-spacing: .14em; }
.footer-legal { border-top-color: var(--line); color: var(--gray-600); }
.footer-legal p { color: var(--gray-600); }
.footer-legal a { color: var(--blue); }

/* ===================== All jobs directory ===================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.aj-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 1.75rem; max-width: 52rem; }
.aj-stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); }
.aj-stats strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--blue); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.aj-stats span { font-size: .82rem; color: var(--gray-600); line-height: 1.35; display: block; }
.aj-filters { display: grid; grid-template-columns: 2fr repeat(4, minmax(0,1fr)); gap: .6rem; margin: 1.5rem 0 .5rem; align-items: center; }
.aj-filters input[type=search], .aj-filters select { width: 100%; font: inherit; font-size: .88rem; min-height: 46px; padding: .6rem .75rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.aj-filters input[type=search] { font-size: .95rem; }
.aj-filters input:focus, .aj-filters select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(88,152,192,.25); }
.aj-search { grid-column: 1 / -1; }
.aj-check { display: inline-flex; gap: .5rem; align-items: center; font-size: .86rem; font-weight: 600; color: var(--gray-700); grid-column: 1 / -1; }
.aj-check input { width: 1.1rem; height: 1.1rem; accent-color: var(--blue); }
@media (min-width: 1000px) { .aj-search { grid-column: auto; } .aj-check { grid-column: auto / span 5; } }
.aj-count { font-size: .85rem; color: var(--gray-600); font-weight: 600; margin: .75rem 0; }
.aj-list { display: grid; gap: .6rem; }
.aj-row { display: grid; grid-template-columns: 1fr; gap: .75rem; padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.aj-row:hover { border-color: var(--sky); box-shadow: var(--shadow); color: inherit; }
@media (min-width: 860px) { .aj-row { grid-template-columns: 1fr 470px; align-items: center; } }
.aj-row h3 { margin: 0; font-size: 1.02rem; color: var(--blue-dark); }
.aj-meta { margin: .15rem 0 .45rem; font-size: .78rem; color: var(--gray-600); }
.aj-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.aj-figs { display: grid; grid-template-columns: 110px 90px 1fr; gap: .75rem; margin: 0; }
.aj-figs dt { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-600); font-weight: 700; }
.aj-figs dd { margin: .1rem 0 0; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.aj-figs .aj-edu dd { font-weight: 600; font-size: .84rem; line-height: 1.3; }
.aj-more { margin: 1.25rem auto 0; display: flex; }
.aj-empty { padding: 2rem; text-align: center; color: var(--gray-600); background: var(--mist); border-radius: var(--radius); }
.tag-muted { background: var(--mist); color: var(--gray-600); border-color: var(--line); }
.notice-aff { border-left-color: var(--accent); background: #FFFBEA; border-color: #F3E3A6; }
.home-hits ul { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .3rem; }
.home-hits li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; border-bottom: 1px dashed var(--line); padding: .3rem 0; }
.home-hits li a { font-weight: 600; }
.home-hits li span { color: var(--gray-600); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .aj-stats { grid-template-columns: 1fr; } .aj-figs { grid-template-columns: 1fr 1fr; } .aj-figs .aj-edu { grid-column: 1 / -1; } }

/* ===================== Per-job roadmap ===================== */
.job-hero { background: var(--soft); border-bottom: 1px solid var(--line); padding: 2.5rem 0 2.25rem; position: relative; overflow: hidden; }
.job-hero::after { content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, #5898C033, transparent 65%); pointer-events: none; }
.job-hero .wrap { position: relative; z-index: 1; }
.job-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.job-hero .lede { font-size: 1.02rem; max-width: 52rem; }
.crumbs { display: flex; gap: .5rem; font-size: .82rem; color: var(--gray-600); margin-bottom: 1.25rem; flex-wrap: wrap; }
.crumbs a { font-weight: 600; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .8rem; margin-top: 1.5rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .95rem 1rem; box-shadow: var(--shadow-sm); }
.stat span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--gray-600); }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--blue-dark); letter-spacing: -.02em; margin: .2rem 0; font-variant-numeric: tabular-nums; }
.stat strong.stat-text { font-size: 1rem; line-height: 1.3; }
.stat small { font-size: .72rem; color: var(--gray-400); }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.job-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 980px) { .job-layout { grid-template-columns: minmax(0,1fr) 320px; } }
.h-sec { font-size: 1.5rem; }
.road { list-style: none; margin: 1rem 0 0; padding: 0; position: relative; }
.road::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--blue), var(--blue-100)); }
.road > li { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 1rem; padding: 0 0 1.75rem; position: relative; }
.road-n { width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; box-shadow: 0 0 0 4px #fff; }
.road-gate .road-n { background: var(--blue-dark); }
.road h3 { margin: .35rem 0 .5rem; font-size: 1.12rem; }
.road p { margin: 0 0 .6rem; color: #595959; font-size: .95rem; }
.course-grid { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: .9rem; }
@media (min-width: 700px) { .course-grid { grid-template-columns: 1fr 1fr; } }
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.05rem; display: flex; flex-direction: column; gap: .3rem; box-shadow: var(--shadow-sm); }
.course-card h4 { margin: 0; font-size: .98rem; line-height: 1.3; color: var(--ink); }
.course-kind { margin: 0; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--blue); }
.aff-pending { color: #8A6A00; }
.course-by { margin: 0 !important; font-size: .82rem !important; color: var(--gray-600) !important; }
.course-actions { margin-top: auto; padding-top: .55rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.job-side { display: grid; gap: 1rem; align-content: start; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; }
.side-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-dark); margin-bottom: .6rem; }
.cite-list { margin: 0; padding-left: 1rem; font-size: .8rem; color: var(--gray-600); display: grid; gap: .4rem; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .88rem; }
.side-links a { font-weight: 600; text-decoration: none; }
.side-cta { background: var(--blue-50); border-color: #D7E7F3; }
.side-cta p { font-size: .86rem; color: #595959; }

/* v4 filter row polish */
#aj-reset { justify-self: start; width: auto; }
@media (min-width: 1000px) { .aj-check { grid-column: 1 / span 4; } #aj-reset { grid-column: 5; justify-self: end; } }

/* ===================== v5 flat theme layer ===================== */
body { color: var(--ink); }
h1, h2 { font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
h3, h4 { font-weight: 700; color: var(--ink); }
.lede { color: var(--muted); }
.preview-banner { background: var(--gray-50); color: var(--muted); border-bottom: 1px solid var(--line); }
.preview-banner strong { color: var(--ink); }
.brand { color: var(--ink); font-weight: 700; }
.brand:hover { color: var(--ink); }
.brand svg { color: var(--blue); }
.site-nav a { color: var(--ink); font-weight: 500; font-size: .88rem; background: none; }
.site-nav a:hover { color: var(--blue); background: var(--gray-25); }
.site-nav a[aria-current="page"] { color: var(--blue); background: none; font-weight: 600; }
.site-nav a[aria-current="page"]::after { display: block; content: ""; position: absolute; left: .75rem; right: .75rem; bottom: -11px; height: 2px; background: var(--blue); }
.site-nav a.btn-nav { background: var(--blue); color: #fff; border-radius: var(--radius-sm); font-weight: 700; }
.site-nav a.btn-nav:hover { background: var(--blue-dark); color: #fff; }
.eyebrow, .kicker { color: var(--wolf-dark); font-weight: 600; letter-spacing: .14em; font-size: .72rem; }
.eyebrow::before, .kicker::before { background: var(--wolf); width: 18px; }

.btn, button.btn, a.btn { background: var(--blue); color: #fff; border: 1px solid var(--blue); border-radius: var(--radius-sm); font-weight: 700; box-shadow: none; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-ghost, a.btn-ghost, button.btn-ghost { background: #fff; color: var(--blue); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--blue-50); color: var(--blue-dark); border-color: var(--blue-100); }
.chip { border-radius: 999px; }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); }

/* Heroes: plain white, thin divider */
.hero, .hero-home, .hero-soft, .job-hero { background: #fff; }
.hero::after, .hero-soft::after, .job-hero::after { display: none; }
.hero-home .lede { color: var(--muted); }
.hero-mosaic .m { background: var(--gray-50); box-shadow: none; border-color: var(--line); }
.hero-mosaic .m-label { background: rgba(45,45,45,.82); border-color: rgba(255,255,255,.15); border-radius: 8px; }
.search-card { box-shadow: var(--shadow); }
.search-form { box-shadow: none; }
.source-strip .lbl { color: var(--wolf-dark); }

/* Wolf gray sections (replace dark/navy bands) */
.section-navy { background: var(--wolf-dark); color: #F1F2F3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lede, .section-navy p { color: #E9EBEC; }
.section-navy .kicker { color: #E9EBEC; }
.section-navy .kicker::before { background: #fff; }
.section-navy .job-card { background: #fff; border-color: transparent; }
.section-navy .job-card h3 { color: var(--ink); }
.section-navy .job-card p { color: var(--muted); }
.section-navy .job-card .thumb { background: var(--gray-50); border-color: var(--line); }
.section-navy .card-link, .section-navy .job-card a:not(.btn) { color: var(--blue); }
.section-navy a:not(.btn) { color: #fff; }
.section-navy .job-card a:not(.btn) { color: var(--blue); }
.section-navy .tag { background: var(--gray-25); color: var(--ink); border-color: var(--line); }
.section-navy .tag-wide { background: var(--blue); color: #fff; border-color: var(--blue); }
.section-navy .tag-uncertain { background: #fff; color: var(--wolf-dark); border: 1px dashed var(--wolf); }
.section-navy .btn-accent { background: #fff; color: var(--blue); border-color: #fff; }
.section-navy .btn-accent:hover { background: var(--blue-50); color: var(--blue-dark); }
.section-mist { background: var(--wolf-tint); }

.feature-icon { background: var(--blue-50); color: var(--blue); }
.step-num { background: var(--blue-50); color: var(--blue); border-color: var(--blue-100); }
.tag-gate, .hero .meta .tag-gate { background: var(--ink); border-color: var(--ink); color: #fff; }
.tag-narrow { background: var(--wolf-dark); border-color: var(--wolf-dark); color: #fff; }
.tag-growth, .tag-open { background: var(--blue-50); color: var(--blue-dark); border-color: var(--blue-100); }
.tag-muted { background: var(--gray-25); color: var(--wolf-dark); border-color: var(--line); }
.ring-elig { stroke: var(--blue); }
.ring-stand { stroke: var(--wolf); }
.callout, .notice, .draft-banner { background: var(--gray-25); border-color: var(--line); border-left-color: var(--wolf); }
.notice-aff { background: var(--wolf-tint); border-color: #DDE0E2; border-left: 4px solid var(--wolf-dark); }
.price-card.featured { border-color: var(--blue); }
.field-tile { background: var(--ink); }
th { background: var(--gray-50); color: var(--ink); }

/* Footer: light, divided */
.site-footer { background: var(--gray-25); color: var(--muted); border-top: 1px solid var(--line); }
.site-footer .brand, .site-footer .brand:hover { color: var(--ink) !important; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--blue); }
.site-footer h2 { color: var(--wolf-dark); font-weight: 700; letter-spacing: .1em; }
.footer-legal, .footer-legal p { color: var(--faint); border-top-color: var(--line); }
.footer-legal a { color: var(--blue); }

/* Directory + roadmap */
.aj-stats div, .stat, .side-card, .course-card, .aj-row { box-shadow: none; }
.aj-stats strong { color: var(--ink); font-weight: 700; }
.aj-row h3 { color: var(--blue); }
.aj-row:hover { border-color: var(--wolf); box-shadow: var(--shadow); }
.aj-row:hover h3 { text-decoration: underline; }
.aj-figs dt, .stat span, .aj-meta, .aj-count { color: var(--wolf-dark); }
.stat strong { color: var(--ink); font-weight: 700; }
.road::before { background: var(--line-strong); }
.road-n { background: var(--blue); font-weight: 700; }
.road-gate .road-n { background: var(--ink); }
.course-kind { color: var(--wolf-dark); }
.aff-pending { color: var(--wolf-dark); }
.side-card h3 { color: var(--wolf-dark); }
.side-cta { background: var(--blue-50); border-color: var(--blue-100); }
.crumbs { color: var(--wolf-dark); }

/* v5 logo */
.brand-logo { display: block; height: 46px; width: auto; }
.site-footer .brand-logo { height: 42px; }
@media (max-width: 640px) { .brand-logo { height: 40px; } }

/* ============================================================
   v6 layer: bold hero, type-ahead, modals, illustrations, motion
   ============================================================ */
:root { --shadow-lg: 0 24px 60px -24px rgba(0, 41, 112, .35); --shadow-md: 0 10px 30px -12px rgba(45, 45, 45, .25); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--blue-dark); }
.preview-banner { font-size: .8rem; padding: .4rem 1rem; text-align: center; }
.preview-banner .link-btn { font-size: inherit; }
.center { text-align: center; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.center-head { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.center-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.center-head .sub { color: var(--muted); margin: 0; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--blue); }

/* ---- Hero ---- */
.hero6 { position: relative; overflow-x: clip; background: #fff; padding: 3.2rem 0 0; isolation: isolate; }
.hero6-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero6-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 3rem; align-items: center; position: relative; z-index: 5; padding-bottom: 3rem; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob.b1 { width: 560px; height: 560px; background: radial-gradient(circle at 30% 30%, #5592FD, #004FCB 60%, transparent 70%); right: -140px; top: -160px; animation: blob 16s ease-in-out infinite alternate; }
.blob.b2 { width: 380px; height: 380px; background: radial-gradient(circle, #BFD3FF, transparent 70%); left: -120px; bottom: -80px; animation: blob 20s ease-in-out infinite alternate-reverse; opacity: .7; }
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } 100% { transform: translate(30px, -20px) scale(.95); } }
.hero6-pill { display: inline-flex; align-items: center; gap: .5rem; background: var(--blue-50); color: var(--blue-dark); border: 1px solid var(--blue-100); border-radius: 999px; padding: .35rem .85rem; font-size: .85rem; font-weight: 700; margin: 0 0 1.1rem; }
.hero6-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(0, 79, 203, .5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 79, 203, .5); } 70% { box-shadow: 0 0 0 10px rgba(0, 79, 203, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 79, 203, 0); } }
.hero6 h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; color: var(--ink); margin: 0 0 1.6rem; }
.hero6 h1 .hl { color: var(--blue); background: linear-gradient(transparent 72%, var(--blue-100) 72%); }

.mega-search { position: relative; display: flex; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: .45rem .45rem .45rem 1.1rem; box-shadow: 0 6px 0 var(--ink), var(--shadow-lg); transition: box-shadow .2s, transform .2s, border-color .2s; }
.mega-search:focus-within { border-color: var(--blue); box-shadow: 0 6px 0 var(--blue), var(--shadow-lg); transform: translateY(-2px); }
.mega-search .ms-icon { width: 28px; height: 28px; color: var(--gray-600); flex: none; }
.mega-search .ms-icon svg { width: 100%; height: 100%; }
.mega-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1.3rem; font-weight: 600; padding: 1rem .8rem; background: transparent; color: var(--ink); }
.mega-search input::-webkit-search-cancel-button { display: none; }
.mega-search .ms-typing { position: absolute; left: 3.9rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--faint); font-size: 1.3rem; font-weight: 600; white-space: nowrap; display: none; }
.mega-search .ms-typing span::after { content: "|"; color: var(--blue); animation: caret 1s steps(1) infinite; margin-left: 1px; }
@keyframes caret { 50% { opacity: 0; } }
.mega-search input:placeholder-shown:not(:focus) ~ .ms-typing { display: block; }
.mega-search input:placeholder-shown:not(:focus)::placeholder { color: transparent; }
.ms-btn { font-size: 1.08rem; padding: 1rem 1.5rem; border-radius: 13px; white-space: nowrap; }
.ms-btn:hover { background: var(--blue-dark); }

/* type-ahead dropdown */
.ta-list { position: absolute; left: -2px; right: -2px; top: calc(100% + 12px); z-index: 40; list-style: none; margin: 0; padding: .4rem; background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); max-height: 430px; overflow: auto; text-align: left; animation: taIn .16s ease-out; }
@keyframes taIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ta-opt { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .62rem .8rem; border-radius: 10px; cursor: pointer; }
.ta-opt.is-active { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue); }
.ta-main { display: grid; min-width: 0; }
.ta-main strong { font-size: 1rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-main small { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-opt mark { background: var(--blue-100); color: inherit; border-radius: 3px; padding: 0 1px; }
.ta-side { display: flex; align-items: center; gap: .5rem; flex: none; }
.ta-lic { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--wolf-tint); color: var(--gray-700); border: 1px solid var(--line-strong); border-radius: 999px; padding: .12rem .5rem; }
.ta-pay { font-weight: 800; color: var(--blue-dark); font-size: .98rem; }
.ta-pay small { font-weight: 600; color: var(--faint); font-size: .72rem; }
.ta-all { border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: .25rem; color: var(--blue); }
.ta-all strong { color: var(--blue); font-size: .92rem; }

.benefit-chips { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.benefit-chips li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: .45rem .95rem; }
.benefit-chips li span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .72rem; }
.hero6-more { margin: 1.1rem 0 0; color: var(--muted); font-size: .95rem; }
.hero6-more a { color: var(--blue); font-weight: 700; }

/* hero art: animated receipt + floating chips */
.hero6-art { position: relative; min-height: 470px; display: grid; place-items: center; }
.receipt-card { position: relative; width: min(330px, 100%); background: #fff; border: 2px solid var(--ink); border-radius: 18px 18px 6px 6px; padding: 1.3rem 1.3rem 1.6rem; box-shadow: 10px 10px 0 var(--blue), var(--shadow-lg); transform: rotate(-2.5deg); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: rotate(-2.5deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-12px); } }
.rc-head { display: flex; gap: .75rem; align-items: center; padding-bottom: .9rem; border-bottom: 2px dashed var(--line-strong); }
.rc-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); display: grid; place-items: center; flex: none; } .rc-logo img { width: 32px; height: 32px; }
.rc-head small { display: block; color: var(--faint); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.rc-head strong { font-size: 1.15rem; }
.rc-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.rc-list li { display: flex; align-items: center; gap: .6rem; font-size: .93rem; font-weight: 600; }
.ck { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--gray-400); flex: none; position: relative; }
.ck::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); }
.rc-list li .ck { animation: ckbox 8s infinite; }
.rc-list li .ck::after { animation: cktick 8s infinite; }
.rc-list li:nth-child(2) .ck, .rc-list li:nth-child(2) .ck::after { animation-delay: .6s; }
.rc-list li:nth-child(3) .ck, .rc-list li:nth-child(3) .ck::after { animation-delay: 1.2s; }
.rc-list li:nth-child(4) .ck, .rc-list li:nth-child(4) .ck::after { animation-delay: 1.8s; }
@keyframes ckbox { 0%, 8% { background: #fff; border-color: var(--gray-400); } 12%, 88% { background: var(--blue); border-color: var(--blue); } 96%, 100% { background: #fff; border-color: var(--gray-400); } }
@keyframes cktick { 0%, 9% { transform: rotate(45deg) scale(0); } 14%, 88% { transform: rotate(45deg) scale(1); } 96%, 100% { transform: rotate(45deg) scale(0); } }
.rc-scores { display: flex; gap: 1rem; justify-content: center; }
.rc-ring { position: relative; width: 96px; height: 96px; }
.rc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rr-bg, .rr-fg { fill: none; stroke-width: 8; }
.rr-bg { stroke: var(--gray-100); }
.rr-fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; }
.rr-a { animation: ringA 8s infinite; }
.rr-b { stroke: var(--gray-600); animation: ringB 8s infinite; }
@keyframes ringA { 0%, 25% { stroke-dashoffset: 201; } 45%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 201; } }
@keyframes ringB { 0%, 30% { stroke-dashoffset: 201; } 52%, 88% { stroke-dashoffset: 56; } 100% { stroke-dashoffset: 201; } }
.rc-ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.rc-ring b { font-size: 1.45rem; font-weight: 800; }
.rc-ring small { font-size: .62rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; }
.rc-tear { position: absolute; left: 0; right: 0; bottom: -2px; height: 10px; background: radial-gradient(circle at 8px -2px, transparent 7px, var(--ink) 7.5px, var(--ink) 9px, transparent 9.5px) 0 0/16px 10px repeat-x; }
.rc-note { position: absolute; bottom: .2rem; right: 1rem; margin: 0; font-size: .72rem; color: var(--faint); font-weight: 600; }
.float-chip { position: absolute; z-index: 3; background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; padding: .38rem .85rem; font-weight: 800; font-size: .84rem; box-shadow: 3px 3px 0 var(--ink); animation: chip 6s ease-in-out infinite; white-space: nowrap; }
.float-chip:nth-of-type(odd) { background: var(--blue); color: #fff; border-color: var(--blue-deep); box-shadow: 3px 3px 0 var(--blue-deep); }
.fc1 { top: 4%; left: 2%; } .fc2 { top: 2%; right: 8%; animation-delay: -1s; } .fc3 { top: 30%; right: -2%; animation-delay: -2s; }
.fc4 { top: 44%; left: -4%; animation-delay: -3s; } .fc5 { bottom: 14%; left: 4%; animation-delay: -4s; } .fc6 { bottom: 6%; right: 6%; animation-delay: -1.5s; }
.fc7 { top: 18%; left: 22%; animation-delay: -2.5s; display: none; } .fc8 { bottom: 30%; right: 0; animation-delay: -3.5s; display: none; }
@keyframes chip { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

/* marquee */
.marquee { position: relative; z-index: 2; background: var(--ink); color: #fff; overflow: hidden; padding: .95rem 0; border-top: 2px solid var(--ink); }
.marquee-track { display: flex; gap: 2.4rem; width: max-content; animation: marq 45s linear infinite; }
.marquee-track span { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.4rem; }
.marquee-track span::after { content: "✦"; color: var(--sky); font-size: .85rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---- How it works ---- */
.how6 { background: var(--gray-25); }
.how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: how; }
.how-card { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 1.2rem 1.2rem 1.4rem; text-align: center; box-shadow: 6px 6px 0 var(--ink); transition: transform .25s, box-shadow .25s; }
.how-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--blue); }
.how-num { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.15rem; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ink); }
.how-ill { background: var(--blue-50); border-radius: 14px; margin: .9rem 0 1rem; padding: .5rem; }
.how-ill svg { width: 100%; height: auto; display: block; }
.how-card h3 { font-size: 1.18rem; font-weight: 800; margin: 0 0 .3rem; }
.how-card p { color: var(--muted); margin: 0 0 .6rem; font-size: .98rem; }
.how-card .link-btn { font-size: .88rem; }
/* illustration motion */
.ill-caret { animation: caret 1s steps(1) infinite; }
.ill-drop { transform-origin: 105px 70px; animation: drop 4.5s ease-in-out infinite; }
@keyframes drop { 0%, 15% { transform: scaleY(0); opacity: 0; } 28%, 85% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(0); opacity: 0; } }
.ill-hand { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.ill-rows g { animation: rowin 5s ease-in-out infinite; }
.ill-rows g:nth-child(2) { animation-delay: .3s; } .ill-rows g:nth-child(3) { animation-delay: .6s; } .ill-rows g:nth-child(4) { animation-delay: .9s; }
@keyframes rowin { 0%, 5% { opacity: .15; } 15%, 90% { opacity: 1; } 100% { opacity: .15; } }
.ill-glass { animation: scan 5s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translate(0, -30px); } 50% { transform: translate(-30px, 30px); } }
.ill-dash { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -14; } }
.ill-walker { offset-path: path("M20 150 C 70 150, 60 100, 110 100 S 160 50, 220 40"); animation: walk 5s ease-in-out infinite; }
@keyframes walk { 0% { offset-distance: 0%; } 85%, 100% { offset-distance: 100%; } }
.ill-ring { animation: ring4 5s ease-out infinite; }
@keyframes ring4 { 0% { stroke-dashoffset: 163.4; } 50%, 100% { stroke-dashoffset: 13; } }
.ill-plane { animation: fly 5s ease-in-out infinite; }
@keyframes fly { 0%, 45% { transform: translate(-30px, 25px); opacity: 0; } 60% { opacity: 1; } 90% { transform: translate(8px, -12px); opacity: 1; } 100% { transform: translate(20px, -20px); opacity: 0; } }

/* ---- Counter band ---- */
.stats6 { background: var(--blue); color: #fff; padding: 3rem 0 1.6rem; }
.stats6-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stats6-grid strong { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats6-grid span { font-weight: 600; color: var(--blue-100); }
.stats6-src { text-align: center; margin: 1.4rem auto 0; }
.stats6 .link-btn { color: #fff; font-size: .88rem; }

/* ---- Fields ---- */
.field-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: -1rem 0 1.8rem; }
.ftab { font: inherit; font-weight: 700; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.ftab:hover { border-color: var(--ink); }
.ftab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.field-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.field-grid:not(.show-all) .is-extra { display: none; }
.field-card[hidden] { display: none !important; }
.field-card { position: relative; display: block; aspect-ratio: 4 / 3.2; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); box-shadow: var(--shadow-md); transition: transform .25s ease, box-shadow .25s ease; animation: cardIn .45s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.field-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.field-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 20, 60, 0) 35%, rgba(0, 20, 60, .88)); }
.field-card:hover { box-shadow: var(--shadow-lg); }
.field-card:hover img { transform: scale(1.07); }
.field-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: .9rem 1rem; display: grid; gap: .1rem; }
.field-info strong { font-size: 1.12rem; font-weight: 800; line-height: 1.2; }
.field-info small { font-size: .78rem; color: #D9E4FF; font-weight: 600; }
.field-badge { position: absolute; top: .7rem; left: .7rem; z-index: 2; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .22rem .6rem; border-radius: 999px; }
.fb-hot { background: var(--blue); color: #fff; }
.fb-learn { background: #fff; color: var(--ink); }
.fields-foot { text-align: center; margin-top: 1.8rem; display: grid; gap: .8rem; justify-items: center; }
.learn-note { margin: 0; font-size: .85rem; }
.learn-note .link-btn { color: var(--gray-600); font-weight: 600; }

/* ---- Demo loops ---- */
.demo6 { background: var(--gray-25); }
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.demo-card { margin: 0; background: #fff; border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); }
.demo-stage { height: 220px; display: grid; place-items: center; background: var(--blue-50); border-bottom: 2px solid var(--ink); position: relative; }
.demo-card figcaption { padding: 1rem 1.2rem 1.2rem; color: var(--muted); }
.demo-card figcaption strong { display: block; color: var(--ink); font-size: 1.12rem; font-weight: 800; }
.demo-score svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.ds-bg, .ds-fg { fill: none; stroke-width: 12; }
.ds-bg { stroke: #fff; } .ds-fg { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 301.6; stroke-dashoffset: 301.6; animation: dsfill 4s ease-in-out infinite; }
@keyframes dsfill { 0% { stroke-dashoffset: 301.6; } 55%, 85% { stroke-dashoffset: 42; } 100% { stroke-dashoffset: 301.6; } }
.ds-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.ds-num b { font-size: 2.4rem; font-weight: 800; } .ds-num small { font-weight: 700; color: var(--muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; margin-top: 4px; }
.demo-road ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; width: 78%; }
.demo-road li { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: .45rem .7rem; font-weight: 700; font-size: .9rem; animation: roadli 6s infinite; }
.demo-road li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gray-400); color: transparent; font-size: .75rem; flex: none; animation: roadck 6s infinite; animation-delay: inherit; }
.demo-road li:nth-child(2) { animation-delay: .8s; } .demo-road li:nth-child(3) { animation-delay: 1.6s; } .demo-road li:nth-child(4) { animation-delay: 2.4s; }
@keyframes roadli { 0%, 10% { border-color: var(--line-strong); } 16%, 85% { border-color: var(--blue); } 100% { border-color: var(--line-strong); } }
@keyframes roadck { 0%, 10% { background: #fff; color: transparent; border-color: var(--gray-400); } 16%, 85% { background: var(--blue); color: #fff; border-color: var(--blue); } 100% { background: #fff; color: transparent; } }
.dr-page { position: relative; width: 150px; height: 186px; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 6px; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-md); }
.dr-page > span { display: block; height: 7px; border-radius: 4px; background: var(--gray-200); transform-origin: left; animation: drl 6s infinite; }
.dr-page .dr-name { height: 12px; width: 70%; background: var(--ink); }
.dr-page .dr-sec { height: 8px; width: 45%; background: var(--blue); margin-top: 6px; }
.w1 { width: 90%; } .w2 { width: 75%; } .w3 { width: 95%; } .w4 { width: 82%; } .w2b { width: 60%; }
.dr-page > span:nth-child(2) { animation-delay: .4s; } .dr-page > span:nth-child(3) { animation-delay: .8s; } .dr-page > span:nth-child(4) { animation-delay: 1.2s; }
.dr-page > span:nth-child(5) { animation-delay: 1.6s; } .dr-page > span:nth-child(6) { animation-delay: 2s; } .dr-page > span:nth-child(7) { animation-delay: 2.4s; }
@keyframes drl { 0%, 5% { transform: scaleX(0); } 15%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.dr-page .dr-badge { position: absolute; right: -14px; bottom: -14px; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; transform: scale(0); animation: drb 6s infinite; border: 3px solid #fff; }
@keyframes drb { 0%, 50% { transform: scale(0); } 58% { transform: scale(1.2); } 63%, 88% { transform: scale(1); } 100% { transform: scale(0); } }
.anim-on-view:not(.in-view) *, .how-ill:not(.in-view) * { animation-play-state: paused !important; }

/* ---- Popular roadmaps ---- */
.pop-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.pop-card { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line-strong); border-radius: 18px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; }
.pop-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.pop-thumb { aspect-ratio: 16 / 10; background: var(--blue-50); display: grid; place-items: center; overflow: hidden; }
.pop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pop-icon { width: 64px; height: 64px; color: var(--blue); } .pop-icon svg { width: 100%; height: 100%; }
.pop-body { padding: .8rem 1rem 1rem; display: grid; gap: .2rem; }
.pop-body strong { font-size: 1.02rem; font-weight: 800; }
.pop-meta { color: var(--muted); font-size: .85rem; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.pop-meta b { color: var(--blue-dark); font-size: 1.05rem; }
.pop-go { position: absolute; top: .6rem; right: .6rem; width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; color: var(--blue); box-shadow: var(--shadow-md); transition: transform .25s; }
.pop-card:hover .pop-go { transform: translateX(3px); }

/* ---- CTA ---- */
.cta6 { background: var(--blue); color: #fff; padding: 4.5rem 0; position: relative; overflow: hidden; }
.cta6::before, .cta6::after { content: ""; position: absolute; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.cta6::before { width: 420px; height: 420px; right: -120px; top: -180px; } .cta6::after { width: 260px; height: 260px; left: -80px; bottom: -140px; }
.cta6-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta6 h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.btn-white, a.btn-white { background: #fff; color: var(--blue); border: 2px solid #fff; font-size: 1.15rem; padding: 1rem 2rem; box-shadow: 0 6px 0 var(--blue-deep); }
.btn-white:hover { background: var(--blue-50); color: var(--blue-dark); transform: translateY(-2px); }

/* ---- Modals ---- */
dialog.sr-modal { width: min(560px, calc(100% - 2rem)); max-height: min(80vh, 720px); padding: 0; border: 2px solid var(--ink); border-radius: 20px; box-shadow: 10px 10px 0 var(--blue), var(--shadow-lg); color: var(--ink); overflow: auto; }
dialog.sr-modal[open] { animation: modalIn .22s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
dialog.sr-modal::backdrop { background: rgba(28, 33, 40, .55); backdrop-filter: blur(3px); }
.sr-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.sr-modal-head h2 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.sr-x { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); flex: none; }
.sr-x:hover { background: var(--gray-50); border-color: var(--ink); }
.sr-modal-body { padding: 1.1rem 1.3rem 1.4rem; font-size: .97rem; line-height: 1.6; }
.sr-modal-body p:first-child { margin-top: 0; } .sr-modal-body ul { padding-left: 1.1rem; display: grid; gap: .5rem; }
.sr-modal-body a { color: var(--blue); font-weight: 700; }
html.modal-open { overflow: hidden; }

/* short affiliate line + footer */
.aff-line { display: block; font-size: .86rem; color: var(--gray-700); background: var(--wolf-tint); border: 1px solid var(--line-strong); border-radius: 10px; padding: .55rem .8rem; margin: 0 0 1rem; }
.aff-ico { vertical-align: -4px; margin-right: .2rem; width: 20px; height: 20px; border-radius: 50%; background: var(--gray-600); color: #fff; display: inline-grid; place-items: center; font-size: .7rem; font-weight: 800; }
.footer-legal-short p { font-size: .8rem; }
.footer-legal-short .link-btn { font-size: inherit; }

/* ---- Responsive ---- */
@media (max-width: 1080px) { .field-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; } }
@media (max-width: 900px) {
  .hero6-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero6-art { min-height: 360px; }
  .demo-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .stats6-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
}
@media (max-width: 640px) {
  .hero6 { padding-top: 1.6rem; }
  .hero6 h1 { font-size: 2.15rem; margin-bottom: 1.1rem; }
  .mega-search { flex-wrap: wrap; padding: .35rem .35rem .35rem .8rem; border-radius: 16px; }
  .mega-search input { font-size: 1.1rem; padding: .85rem .5rem; }
  .mega-search .ms-typing { font-size: 1.1rem; left: 3.2rem; top: 1.9rem; }
  .ms-btn { width: 100%; padding: .85rem; }
  .benefit-chips li { font-size: .85rem; }
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .field-info strong { font-size: .95rem; } .field-info small { font-size: .7rem; }
  .pop-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .hero6-art { min-height: 330px; }
  .receipt-card { width: 270px; }
  .float-chip { font-size: .74rem; }
  .ta-pay small { display: none; }
}

/* ---- Reduced motion: everything static, final states shown ---- */
@media (prefers-reduced-motion: reduce) {
  .blob, .receipt-card, .float-chip, .marquee-track, .hero6-pill .dot, .ill-caret, .ill-drop, .ill-hand, .ill-rows g, .ill-glass, .ill-dash, .ill-walker, .ill-plane, .field-card, dialog.sr-modal[open], .ta-list { animation: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .rc-list li .ck, .demo-road li, .demo-road li::before { animation: none !important; background: var(--blue); border-color: var(--blue); color: #fff; }
  .demo-road li { background: #fff; }
  .rc-list li .ck::after { animation: none !important; transform: rotate(45deg) scale(1); }
  .rr-a { animation: none; stroke-dashoffset: 0; } .rr-b { animation: none; stroke-dashoffset: 56; }
  .ill-ring { animation: none; stroke-dashoffset: 13; } .ill-walker { offset-distance: 100%; }
  .ds-fg { animation: none; stroke-dashoffset: 42; }
  .dr-page > span, .dr-page .dr-badge { animation: none !important; transform: none; }
  .how-card, .field-card, .field-card img, .pop-card, .mega-search { transition: none; }
}

/* ---- v7: embedded resume / LinkedIn builder ---- */
.srb-shell { background: #F3F2F1; border-bottom: 1px solid var(--line); }
.srb-frame { display: block; width: 100%; height: calc(100vh - 70px); height: calc(100dvh - 70px); min-height: 620px; border: 0; background: #F3F2F1; }
.srb-legal { font-size: .78rem; color: var(--muted); padding: 1rem 0 0; margin: 0 auto; }
.srb-legal a { color: var(--blue); font-weight: 600; }
.add-resume { display: inline-flex; align-items: center; gap: .35rem; margin-top: .45rem; font-size: .85rem; font-weight: 700; color: var(--blue); background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 999px; padding: .22rem .75rem; text-decoration: none; }
.add-resume span { font-weight: 800; }
.add-resume:hover { background: #fff; border-color: var(--blue); }
.add-resume[hidden] { display: none; }

/* ================= v8 ================= */
/* Header is fully opaque so nothing ghosts through it when the page scrolls under it */
.site-header { background: #fff; }
/* Search + its suggestion list always paint above the hero art (receipt card and floating chips) */
.hero6-copy { position: relative; z-index: 10; }
.hero6-art { z-index: 1; }
.mega-search { z-index: 30; }
.mega-search.ta-open { z-index: 60; }
.ta-list { z-index: 70; }
.hero6 h1, .hero6-copy { scroll-margin-top: calc(var(--header-h) + 12px); }
.ta-opt.ta-alt strong { font-weight: 700; }
.ta-part { color: var(--blue); font-weight: 700; }
@media (max-width: 900px) {
  .hero6-art { margin-top: 1.25rem; }
}
@media (max-width: 640px) {
  /* phones: no floating chips; the receipt card sits below the search, never beside or over it */
  .float-chip { display: none !important; }
  .hero6-art { min-height: 0; padding: 1rem 0 .5rem; margin-top: 1.5rem; }
  .receipt-card { transform: none; animation: none; }
  .ta-list { max-height: min(60vh, 430px); top: calc(100% + 8px); }
  .hero6 h1 { line-height: 1.1; }
}

/* ---- All jobs: which alternate title matched ---- */
.aj-alt { margin: .15rem 0 .25rem; font-size: .88rem; color: var(--blue-dark); font-weight: 600; }
.tag-cert { background: var(--blue-50); color: var(--blue-dark); border-color: var(--blue-100); text-decoration: none; }
.variant-note { margin: -.3rem 0 .7rem; font-size: .95rem; color: var(--gray-600); }
.variant-note a { font-weight: 700; }

/* ---- Your steps v8: bold numbered cards, progress line, check-off ---- */
.steps8-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .8rem 1.5rem; margin-bottom: 1.1rem; }
.steps8-head .h-sec { margin: 0; }
.steps8-prog { display: flex; align-items: center; gap: .8rem; font-size: .92rem; color: var(--gray-600); }
.steps8-prog strong { color: var(--ink); font-size: 1.05rem; }
.steps8-bar { width: 160px; height: 10px; border-radius: 999px; background: #E6E8EA; overflow: hidden; border: 1.5px solid var(--ink); }
.steps8-bar i { display: block; height: 100%; background: var(--blue); border-radius: inherit; transition: width .45s cubic-bezier(.2,.8,.2,1); }
.steps8-prog.all-done .steps8-bar i { background: #1F8A4C; }
.steps8 { list-style: none; margin: 0 0 2.6rem; padding: 0; counter-reset: st; position: relative; }
.steps8::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 4px; border-radius: 4px; background: repeating-linear-gradient(180deg, var(--blue) 0 14px, transparent 14px 22px); opacity: .35; }
.st8 { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 1rem; padding-bottom: 1.1rem; animation: st8In .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes st8In { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.st8-n { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 18px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 1.6rem; font-weight: 900; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); transition: background .25s, transform .25s; }
.st8-n b { transition: opacity .2s, transform .25s; }
.st8-tick { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .4s .1s ease-out; }
.st8-gate .st8-n { background: var(--ink); }
.st8-card { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 1rem; align-items: start; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 1.05rem 1.1rem; box-shadow: 6px 6px 0 #D7DADD; transition: transform .2s, box-shadow .2s, border-color .2s, background .25s; }
.st8-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--blue-100); }
.st8-gate .st8-card { border-left: 8px solid var(--ink); }
.st8-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.st8-ico svg { width: 34px; height: 34px; }
.st8-gate .st8-ico { background: #EEF0F2; color: var(--ink); }
.st8-kicker { margin: 0 0 .15rem; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-600); }
.st8-kicker em { font-style: normal; color: #fff; background: var(--ink); border-radius: 6px; padding: .05rem .4rem; }
.st8-body h3 { margin: 0 0 .35rem; font-size: 1.22rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.st8-body p { margin: 0; color: #4A4F55; font-size: .96rem; }
.st8-done { display: inline-flex; align-items: center; gap: .45rem; font: inherit; font-size: .85rem; font-weight: 800; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: .42rem .8rem .42rem .5rem; cursor: pointer; white-space: nowrap; box-shadow: 2px 2px 0 var(--ink); transition: background .2s, color .2s, transform .1s; }
.st8-done:hover { background: var(--blue-50); }
.st8-done:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.st8-done:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.st8-box { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--ink); background: #fff; position: relative; }
.st8.is-done .st8-n { background: #1F8A4C; }
.st8.is-done .st8-n b { opacity: 0; transform: scale(.4); }
.st8.is-done .st8-tick { stroke-dashoffset: 0; }
.st8.is-done .st8-card { background: #F4FAF6; border-color: #1F8A4C; box-shadow: 6px 6px 0 #CBE8D6; }
.st8.is-done .st8-body h3 { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(31,138,76,.6); }
.st8.is-done .st8-done { background: #1F8A4C; color: #fff; border-color: #14643A; }
.st8.is-done .st8-box { background: #fff; border-color: #fff; }
.st8.is-done .st8-box::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid #1F8A4C; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.st8.pop .st8-n { animation: st8Pop .5s cubic-bezier(.2,1.6,.4,1); }
.st8.pop .st8-card { animation: st8Glow .7s ease-out; }
@keyframes st8Pop { 0% { transform: scale(1); } 40% { transform: scale(1.22) rotate(-6deg); } 100% { transform: scale(1); } }
@keyframes st8Glow { 0% { box-shadow: 0 0 0 0 rgba(31,138,76,.45), 6px 6px 0 #CBE8D6; } 100% { box-shadow: 0 0 0 16px rgba(31,138,76,0), 6px 6px 0 #CBE8D6; } }
@media (max-width: 640px) {
  .steps8::before { left: 21px; }
  .st8 { grid-template-columns: 44px minmax(0, 1fr); gap: .65rem; }
  .st8-n { width: 44px; height: 44px; border-radius: 14px; font-size: 1.25rem; box-shadow: 3px 3px 0 var(--ink); }
  .st8-card { grid-template-columns: 40px minmax(0, 1fr); padding: .9rem; gap: .7rem; }
  .st8-ico { width: 40px; height: 40px; border-radius: 11px; } .st8-ico svg { width: 26px; height: 26px; }
  .st8-done { grid-column: 1 / -1; justify-self: start; }
  .steps8-bar { width: 110px; }
}

/* ---- Certifications ---- */
.cert-legend { font-size: .86rem; color: var(--gray-600); margin: -.2rem 0 1rem; line-height: 2; }
.cert-lvl { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border-radius: 6px; padding: .12rem .5rem; border: 1.5px solid currentColor; vertical-align: middle; }
.lvl-req .cert-lvl, .cert-lvl.lvl-req { background: var(--ink); color: #fff; border-color: var(--ink); }
.lvl-rec .cert-lvl, .cert-lvl.lvl-rec { background: var(--blue); color: #fff; border-color: var(--blue); }
.lvl-help .cert-lvl, .cert-lvl.lvl-help { background: #fff; color: #5C6166; border-color: var(--gray-400, #B5B9BD); }
.cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-bottom: 1rem; }
.cert-card { background: #fff; border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 1rem 1.05rem; display: flex; flex-direction: column; gap: .35rem; }
.cert-card.lvl-req { border: 2px solid var(--ink); box-shadow: 4px 4px 0 #D7DADD; }
.cert-card.lvl-rec { border: 2px solid var(--blue); }
.cert-top { display: flex; gap: .4rem; align-items: center; }
.cert-flag { font-size: .7rem; font-weight: 700; color: var(--blue-dark); background: var(--blue-50); border-radius: 6px; padding: .1rem .45rem; }
.cert-card h4 { margin: .15rem 0 0; font-size: 1.02rem; line-height: 1.3; color: var(--ink); }
.cert-acr { color: var(--gray-600); font-weight: 600; }
.cert-org, .cert-cost, .cert-why, .cert-src { margin: 0; font-size: .87rem; color: #4A4F55; }
.cert-org span, .cert-cost span { display: inline-block; min-width: 4.6em; font-weight: 700; color: var(--gray-600); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.cert-src { font-size: .8rem; }
.cert-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: auto; padding-top: .45rem; }
.cert-cite { margin: 0 0 2.4rem; }
@media (max-width: 760px) { .cert-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .st8, .st8.pop .st8-n, .st8.pop .st8-card { animation: none !important; }
  .st8-n, .st8-n b, .st8-tick, .st8-card, .steps8-bar i { transition: none !important; }
}

/* ---- Popular roadmaps v8 ---- */
.pop-tabs { margin-bottom: 1.3rem; }
.ftab small { font-size: .72rem; opacity: .65; margin-left: .15rem; }
.pop-grid8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pop-grid8:not(.show-all) .is-extra { display: none; }
.pop8 .pop-thumb { position: relative; aspect-ratio: 3 / 2; }
.pop8 .pop-thumb img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.pop8:hover .pop-thumb img { transform: scale(1.06); }
.pop-cat { position: absolute; left: .55rem; top: .55rem; background: rgba(255,255,255,.95); color: var(--ink); font-size: .7rem; font-weight: 800; border-radius: 999px; padding: .18rem .6rem; border: 1.5px solid var(--ink); }
.pop8[hidden] { display: none !important; }
@media (max-width: 1080px) { .pop-grid8 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pop-grid8 { grid-template-columns: 1fr 1fr; gap: .65rem; } .pop8 .pop-body strong { font-size: .92rem; } .pop-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .4rem; scrollbar-width: thin; } .pop-tabs .ftab { flex: none; } }

/* ---- Make money (members) ---- */
.money8 { background: linear-gradient(180deg, #F3F4F5, #fff); }
.m8-lock-ico svg { width: 15px; height: 15px; vertical-align: -2px; }
.money-tabs { margin-bottom: 1.3rem; }
.money-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.money-card { font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: .45rem; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 1rem; color: var(--ink); box-shadow: 5px 5px 0 #D7DADD; transition: transform .2s, box-shadow .2s; position: relative; }
.money-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--blue-100); }
.money-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mc-art { position: relative; height: 86px; border-radius: 12px; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--blue-50) 0 10px, #fff 10px 20px); color: var(--blue); overflow: hidden; }
.mc-art > svg { width: 50px; height: 50px; }
.money-card.is-locked .mc-art > svg { filter: blur(1.5px); opacity: .55; }
.mc-lock { position: absolute; right: .5rem; top: .5rem; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.mc-lock svg { width: 18px; height: 18px; }
.money-card:hover .mc-lock { animation: lockWiggle .5s ease; }
@keyframes lockWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(10deg); } }
.mc-top { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.mc-badge { display: inline-block; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border-radius: 6px; padding: .12rem .45rem; }
.mc-cat { font-size: .74rem; color: var(--gray-600); font-weight: 700; }
.money-card strong { font-size: 1.05rem; line-height: 1.25; }
.mc-teaser { font-size: .86rem; color: #4A4F55; }
.mc-foot { margin-top: auto; font-size: .8rem; font-weight: 800; color: var(--blue); }
.money-note { margin: 1.3rem auto 0; max-width: 760px; text-align: center; font-size: .85rem; color: var(--gray-600); }
.mm-cat { margin: 0 0 .5rem; font-size: .85rem; color: var(--gray-600); font-weight: 700; }
.mm-teaser { font-size: 1rem; }
.mm-steps { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.mm-steps li { display: grid; grid-template-columns: 34px 1fr; gap: .7rem; align-items: start; }
.mm-n { width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 900; }
.mm-steps p { margin: .15rem 0 0; font-size: .9rem; color: #4A4F55; }
.mm-blur { filter: blur(4px); user-select: none; }
.mm-soon { background: var(--blue-50); border-radius: 12px; padding: .8rem 1rem; }
.mm-cta { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; border: 2px solid var(--ink); border-radius: 14px; padding: .8rem 1rem; margin: 1rem 0 .6rem; }
.mm-cta div { flex: 1; min-width: 160px; } .mm-cta small { display: block; color: var(--gray-600); }
.mm-lock { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; } .mm-lock svg { width: 20px; height: 20px; }
@media (max-width: 1080px) { .money-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .money-grid { grid-template-columns: 1fr 1fr; gap: .65rem; } .mc-art { height: 64px; } .money-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .4rem; } .money-tabs .ftab { flex: none; } }
@media (max-width: 420px) { .money-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .money-card, .pop8 .pop-thumb img { transition: none; } .money-card:hover .mc-lock { animation: none; } }
.cert-lvl.lvl-state, .lvl-state .cert-lvl { background: #fff; color: var(--ink); border-color: var(--ink); }
.cert-card.lvl-state { border: 2px dashed var(--ink); box-shadow: none; }
.cert-actions .btn-ghost { white-space: normal; text-align: left; }
.mm-cta .btn, .mm-cta .btn:hover { color: #fff; text-decoration: none; }
.ta-cert { color: var(--blue-dark); font-weight: 700; }

/* ---- v8b: guide cards with art, catalog, guide modal ---- */
.mc-art-img { height: auto; aspect-ratio: 3 / 2; background: #E8F0FC; }
.mc-art-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 1rem; }
.mm-facts div { background: #F3F4F5; border-radius: 10px; padding: .35rem .7rem; }
.mm-facts dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-600); font-weight: 800; }
.mm-facts dd { margin: 0; font-weight: 700; font-size: .9rem; }
.mm-steps8 { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.mm-steps8 li { border: 1.5px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: #fff; }
.mm-steps8 li.is-open { grid-column: 1 / -1; border: 2px solid var(--blue); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.mm-art { margin: 0; position: relative; background: #E8F0FC; aspect-ratio: 3 / 2; }
.mm-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-steps8 li.is-locked .mm-art img { filter: blur(5px) saturate(.6); opacity: .7; transform: scale(1.05); }
.mm-art-lock { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.mm-art-lock svg { width: 20px; height: 20px; }
.mm-txt { padding: .7rem .85rem; }
.mm-txt .mm-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 900; font-size: .85rem; margin-right: .45rem; vertical-align: 1px; }
.mm-txt strong { font-size: .95rem; }
.mm-txt p { margin: .4rem 0 0; font-size: .9rem; color: #4A4F55; }
.mm-locked-line { display: flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--gray-600) !important; font-size: .78rem !important; }
.mm-locked-line svg { width: 14px; height: 14px; }
.mm-art-one { border-radius: 14px; overflow: hidden; max-width: 320px; margin-bottom: .8rem; }
.mm-lic { font-size: .9rem; }
.m-money { width: min(860px, calc(100vw - 2rem)); }
@media (max-width: 640px) { .mm-steps8 { grid-template-columns: 1fr 1fr; } .mm-steps8 li.is-open { grid-template-columns: 1fr; } }
.catalog8 { margin-top: 3rem; }
.catalog-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; }
.catalog-head h3 { margin: 0; font-size: 1.5rem; }
.catalog-tabs { margin-bottom: 1rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.cat-card { font: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: 46px minmax(0, 1fr) 26px; gap: .7rem; align-items: start; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 14px; padding: .8rem; color: var(--ink); transition: border-color .2s, transform .2s; }
.cat-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.cat-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cc-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.cc-ico svg { width: 28px; height: 28px; }
.cc-body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.cc-top { display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; }
.cc-cat { font-size: .7rem; font-weight: 800; color: var(--gray-600); text-transform: uppercase; letter-spacing: .04em; }
.cc-guide { font-size: .66rem; font-weight: 800; background: var(--blue); color: #fff; border-radius: 5px; padding: .05rem .4rem; }
.cat-card strong { font-size: .95rem; line-height: 1.25; }
.cc-sum { font-size: .82rem; color: #4A4F55; }
.cc-meta { font-size: .74rem; color: var(--gray-600); font-weight: 700; }
.cc-lock { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.cc-lock svg { width: 14px; height: 14px; }
.catalog-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .4rem; }
.catalog-tabs .ftab { flex: none; }
.side-guide .btn { margin-top: .4rem; }
@media (max-width: 1080px) { .catalog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .catalog-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cat-card { transition: none; } }

/* Static legal links shown before JS (or if JS fails) replaces the footer */
.footer-legal-static { padding: 1rem 0; font-size: .85rem; }
.footer-legal-static a { color: inherit; }
