:root {
  font-family: "DM Sans", sans-serif;
  color: #191816;
  background: #f5f3ee;
  --ink: #191816;
  --paper: #f5f3ee;
  --cream: #e9e5da;
  --lime: #d8ff48;
  --muted: #716e66;
  --body: #504e48;
  --line: #d8d4ca;
  --teal: #173238;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
.skip-link { position: absolute; left: -9999px; top: 0; padding: 10px 14px; background: var(--lime); color: var(--ink); z-index: 10; }
.skip-link:focus { left: 12px; top: 12px; }

.site-header {
  min-height: 68px;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #f8f6ef;
  background: var(--ink);
}
.brand { font: 700 1.05rem "Manrope", sans-serif; text-decoration: none; }
.brand span { color: var(--lime); font-size: .55rem; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.site-nav a { color: #b8b5ac; font-size: .8rem; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav .sign-in { padding: 9px 14px; color: var(--ink); background: var(--lime); font-weight: 600; }

.hero, .page-hero { padding: clamp(68px, 10vw, 130px) clamp(20px, 7vw, 112px); }
.hero { color: #f8f6ef; background: var(--ink); }
.hero-inner, .page-inner, .explorer, .editorial, .site-footer-inner, .section-inner { max-width: 1180px; margin: 0 auto; }
.eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime); }
.hero h1, .page-hero h1 { max-width: 920px; margin-bottom: 24px; font-size: clamp(3rem, 7vw, 6.3rem); font-weight: 500; line-height: .98; letter-spacing: -.05em; }
.hero p, .page-hero p { max-width: 720px; color: #aaa79d; font-size: 1.05rem; line-height: 1.7; }
.page-hero { padding-bottom: 60px; }
.page-hero p { color: var(--muted); }
.page-hero.compact { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 40px; }
.page-hero.compact h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
.lede { font-size: 1.12rem; }
.updated { font-size: .85rem; }

.breadcrumbs { margin-bottom: 22px; color: var(--muted); font-size: .78rem; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); }

.home-hero h1 { max-width: 980px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button-primary, .button-secondary { display: inline-block; padding: 13px 18px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.button-primary { color: var(--ink); background: var(--lime); }
.button-primary span { margin-left: 18px; }
.button-secondary { color: #f8f6ef; border: 1px solid #4a4843; }
.button-dark, .button-outline { display: inline-block; padding: 13px 18px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark span { margin-left: 18px; color: var(--lime); }
.button-outline { color: var(--ink); border: 1px solid var(--ink); }
.guide-callout .button-primary { color: #fff; background: var(--ink); }
.guide-callout .button-primary span { color: var(--lime); }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; max-width: 900px; margin: 56px 0 0; background: #34322e; border: 1px solid #34322e; }
.hero-stats div { padding: 18px 20px; background: var(--ink); }
.hero-stats dt { color: #aaa79d; font-size: .72rem; }
.hero-stats dd { margin: 8px 0 0; font: 500 2rem "Manrope", sans-serif; color: #fff; }

.home-section { padding: clamp(56px, 8vw, 96px) 20px; }
.home-section.alt { background: var(--cream); }
.section-inner.narrow { max-width: 860px; }
.section-heading { max-width: 820px; margin-bottom: 30px; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
.section-heading p:not(.eyebrow) { color: var(--body); line-height: 1.75; }
.section-link { margin: 26px 0 0; }
.section-link a, .text-link { font-weight: 600; }

.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.role-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); background: #fff; }
.role-card h3 { margin-bottom: 4px; font-size: 1.15rem; }
.role-card h3 a { text-decoration: none; }
.role-card h3 a:hover { text-decoration: underline; }
.role-card p { color: var(--body); font-size: .86rem; line-height: 1.6; }
.role-card .role-count { color: var(--muted); font-size: .76rem; }
.role-card > a { margin-top: auto; font-size: .82rem; font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table thead th { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:nth-child(2) { font-variant-numeric: tabular-nums; }

.snapshot { padding: clamp(40px, 6vw, 72px) 20px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.snapshot.thin { padding: 28px 20px; background: var(--cream); }
.snapshot.thin p { margin: 0; color: var(--body); line-height: 1.7; }
.snapshot-intro { max-width: 860px; }
.snapshot-intro h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 500; line-height: 1.1; }
.snapshot-intro p:not(.eyebrow) { color: var(--body); line-height: 1.75; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 26px 0; background: var(--line); border: 1px solid var(--line); }
.stat-row div { padding: 16px 18px; background: var(--paper); }
.stat-row dt { color: var(--muted); font-size: .72rem; }
.stat-row dd { margin: 6px 0 0; font: 500 1.7rem "Manrope", sans-serif; }
.snapshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.snapshot-grid h3 { margin-bottom: 14px; font-size: 1rem; }
.bars, .ranked { margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: minmax(90px, 1.2fr) 1.5fr 42px; align-items: center; gap: 10px; padding: 5px 0; font-size: .84rem; }
.bar { height: 8px; background: var(--cream); }
.bar i { display: block; height: 100%; background: var(--ink); }
.bar-value { color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.ranked li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.ranked li span:last-child { color: var(--muted); white-space: nowrap; }
.footnote { margin: 12px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.snapshot.embedded { margin: 40px 0; padding: 26px; border: 1px solid var(--line); }
.snapshot ol { padding-left: 0; }
.snapshot li + li { margin-top: 0; }
.snapshot.embedded .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.snapshot.embedded .snapshot-intro h2 { margin-top: 0; font-size: 1.5rem; }

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process li { padding: 26px 24px 10px 0; }
.process li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.process span { color: var(--muted); font-size: .72rem; font-weight: 600; }
.process h3 { margin: 24px 0 10px; font-size: 1.15rem; }
.process p { color: var(--body); font-size: .9rem; line-height: 1.7; }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.guide-card { padding: 24px; border: 1px solid var(--line); background: #fff; }
.guide-card .eyebrow { color: var(--muted); font-size: .64rem; }
.guide-card h3 { margin: 12px 0 10px; font-size: 1.15rem; line-height: 1.3; }
.guide-card h3 a { text-decoration: none; }
.guide-card h3 a:hover { text-decoration: underline; }
.guide-card p:not(.eyebrow) { margin-bottom: 0; color: var(--body); font-size: .88rem; line-height: 1.65; }
.guide-group { margin: 40px 0; }
.guide-group h2 { margin-bottom: 16px; font-size: 1.4rem; font-weight: 600; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 0; cursor: pointer; font: 600 1.05rem "Manrope", sans-serif; }
.faq details p { margin-bottom: 22px; color: var(--body); line-height: 1.75; }

.explorer { padding: clamp(48px, 8vw, 94px) 20px; }
.explorer-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 7vw, 92px); margin-bottom: 34px; }
.explorer-intro h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 4rem); font-weight: 500; line-height: 1.05; }
.explorer-intro p { color: var(--muted); line-height: 1.7; }
.match-form { padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tools-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; align-items: start; }
label { display: block; margin-bottom: 8px; font-size: .75rem; font-weight: 600; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; outline: none; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.resume-field { grid-column: 1 / -1; }
.field-note { margin: 7px 0 0; color: var(--muted); font-size: .72rem; }
.match-button { margin-top: 18px; padding: 13px 18px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; }
.match-button span { margin-left: 24px; color: var(--lime); }
.match-button:disabled { opacity: .45; cursor: not-allowed; }
.match-form + .match-form { margin-top: 16px; }

.results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 52px 0 16px; }
.results-heading h2 { margin-bottom: 0; font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 500; }
.results-heading p { margin-bottom: 5px; color: var(--muted); font-size: .75rem; }
.job-list { display: grid; gap: 12px; }
.in-feed-ad { min-width: 0; overflow: hidden; }
.in-feed-ad .adsbygoogle { width: 100%; }
.job-card { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); background: #fff; }
.job-list.scored .job-card { grid-template-columns: 88px 1fr; }
.score { display: none; padding: 24px 8px; border-right: 1px solid var(--line); text-align: center; }
.job-list.scored .score { display: block; }
.score strong { display: block; font: 500 2rem "Manrope", sans-serif; }
.score small { color: var(--muted); font-size: .58rem; letter-spacing: .12em; }
.job-main { min-width: 0; padding: 22px 26px 25px; }
.job-top { display: flex; justify-content: space-between; gap: 20px; }
.job-top p { margin-bottom: 5px; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.job-top h2, .job-top h3 { margin-bottom: 0; font-size: 1.28rem; }
.job-age { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.job-meta, .job-explanation { color: var(--muted); font-size: .86rem; line-height: 1.55; }
.job-meta { margin: 9px 0 12px; }
.job-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font-size: .82rem; }
.job-facts div { display: flex; gap: 6px; }
.job-facts dt { color: var(--muted); }
.job-facts dd { margin: 0; font-weight: 600; }
.job-explanation { max-width: 800px; margin: 12px 0 0; color: var(--body); }
.job-explanation:empty { display: none; }
.keywords { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.keywords span, .keywords li { padding: 5px 8px; background: #eeece5; color: #56544e; font-size: .68rem; }
.keywords-empty { margin: 14px 0 0; color: var(--muted); font-size: .76rem; }
.apply-link { display: inline-block; margin-top: 19px; padding: 11px 15px; color: #fff; background: var(--ink); font-size: .82rem; font-weight: 600; text-decoration: none; }
.apply-link span { margin-left: 16px; color: var(--lime); }
.empty { padding: 54px 20px; border: 1px solid var(--line); color: var(--muted); background: #fff; text-align: center; }
.pagination { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.pagination[hidden] { display: none; }

.guide-callout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-top: 48px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-left: 4px solid var(--lime); background: #fff; }
.guide-callout h2 { font-size: 1.5rem; font-weight: 600; }
.guide-callout p:not(.eyebrow) { color: var(--body); line-height: 1.7; }
.guide-callout .eyebrow { color: var(--muted); }
.link-list { margin: 0; padding-left: 18px; }
.link-list li { margin: 8px 0; line-height: 1.5; }

.related-searches { max-width: 1180px; margin: 0 auto 70px; padding: 0 20px; }
.related-searches h2 { margin: 28px 0 12px; font-size: 1rem; font-weight: 600; }
.related-searches div, .chip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.related-searches a, .chip-links a { padding: 8px 11px; border: 1px solid var(--line); background: #fff; font-size: .8rem; text-decoration: none; }
.related-searches a span, .chip-links a span { margin-left: 4px; color: var(--muted); font-size: .72rem; }
.related-searches a:hover, .chip-links a:hover { border-color: var(--ink); }
.searches { padding: 10px 20px 80px; }
.search-group { padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.search-group h2 { margin-bottom: 12px; font-size: 1.2rem; font-weight: 600; }
.search-group .text-link { font-size: .82rem; }

.editorial { padding: 22px 20px 90px; }
.editorial-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: #fff; }
.editorial-grid article { padding: 28px; }
.editorial-grid article + article { border-left: 1px solid var(--line); }
.editorial-grid h2 { margin: 32px 0 12px; font-size: 1.25rem; }
.editorial-grid p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }

.content { max-width: 780px; }
.content h2 { margin: 48px 0 12px; font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 500; line-height: 1.15; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin: 30px 0 10px; font-size: 1.2rem; }
.content p, .content li { color: var(--body); line-height: 1.75; }
.content li + li { margin-top: 8px; }
.content ul, .content ol { padding-left: 22px; }
.content strong { color: var(--ink); }
.content table { width: 100%; margin: 24px 0; border-collapse: collapse; background: #fff; font-size: .9rem; }
.content th, .content td { padding: 11px 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.content th { background: var(--cream); font-weight: 600; }
.content blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ink); }
.content code { padding: 2px 5px; background: var(--cream); font-size: .88em; }
.calculation { display: grid; gap: 1px; margin: 24px 0; background: var(--line); border: 1px solid var(--line); }
.calculation div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 15px; background: #fff; }
.callout { margin: 30px 0; padding: 22px; border-left: 4px solid var(--lime); background: #fff; }
.callout p:last-child { margin-bottom: 0; }

.article-header { padding: clamp(40px, 6vw, 80px) 20px 36px; border-bottom: 1px solid var(--line); }
.article-header-inner { max-width: 1180px; margin: 0 auto; }
.article-header h1 { max-width: 900px; margin-bottom: 18px; font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 500; line-height: 1.04; letter-spacing: -.03em; }
.article-header .lede { max-width: 760px; color: var(--body); line-height: 1.7; }
.byline { margin-bottom: 0; color: var(--muted); font-size: .8rem; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); max-width: 1180px; margin: 0 auto; padding: 48px 20px 60px; }
.toc { position: sticky; top: 20px; align-self: start; font-size: .82rem; }
.toc .eyebrow { color: var(--muted); }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin: 9px 0; color: var(--muted); line-height: 1.4; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.author-box { margin-top: 48px; padding: 22px; border: 1px solid var(--line); background: #fff; }
.author-box .eyebrow { color: var(--muted); }
.author-box p:last-child { margin-bottom: 0; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.person { padding: 22px; border: 1px solid var(--line); background: #fff; }
.person h3 { margin: 0 0 4px; }
.person .person-title { margin-bottom: 10px; color: var(--muted); font-size: .85rem; }
.person p:last-child { margin-bottom: 0; }
.related-docs { padding: 0 20px 80px; }
.related-docs h2 { margin-bottom: 18px; font-size: 1.5rem; font-weight: 600; }
.article .related-searches { margin-bottom: 40px; }

.site-footer { padding: 48px clamp(20px, 5vw, 72px) 36px; color: #d8d6cf; background: var(--teal); }
.site-footer-inner { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 32px 60px; align-items: start; }
.footer-brand p { margin: 14px 0 0; color: #b9c3c4; font-size: .82rem; line-height: 1.65; }
.footer-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-columns h2 { margin-bottom: 12px; color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-columns a { display: block; margin: 0 0 9px; color: #fff; font-size: .8rem; }
.footer-note { grid-column: 1 / -1; margin-bottom: 0; padding-top: 22px; border-top: 1px solid #2c4a50; color: #aab4b5; font-size: .74rem; line-height: 1.6; }

@media (max-width: 960px) {
  .process, .hero-stats, .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; padding: 18px; border: 1px solid var(--line); background: #fff; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; padding-top: 16px; padding-bottom: 14px; gap: 12px; }
  .site-nav { flex-wrap: wrap; gap: 10px 16px; }
  .site-nav .sign-in { padding: 7px 11px; }
  .explorer-intro, .form-grid, .editorial-grid, .tools-grid, .guide-callout { grid-template-columns: 1fr; }
  .resume-field { grid-column: auto; }
  .editorial-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .job-list.scored .job-card { grid-template-columns: 64px 1fr; }
  .job-main { padding: 18px 16px 21px; }
  .job-top { display: block; }
  .job-age { display: block; margin-top: 8px; }
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .bars li { grid-template-columns: minmax(80px, 1fr) 1fr 38px; }
  .results-heading { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
