:root {
  --ink: #15201B;
  --text: #3A4640;
  --muted: #4F5B55;
  --paper: #F4F4EF;
  --white: #FFFFFF;
  --line: #D9DBD3;
  --spruce: #1E4D3F;
  --spruce-dark: #143429;
  --mint: #E3EBE6;
  --amber: #E0A33A;
  --on-dark: #D6E0DA;
  --on-dark-muted: #B9C7C0;
  --head: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--spruce); }
a:hover { color: var(--spruce-dark); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 10px 14px; z-index: 10; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 16px; padding-bottom: 16px; }
.brand img { display: block; width: 176px; height: 52px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a[aria-current="page"] { color: var(--spruce); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.nav a.nav-cta { background: var(--spruce); color: var(--white); padding: 11px 18px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.nav a.nav-cta:hover { background: var(--spruce-dark); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; padding: 15px 24px; border-radius: 6px; font-weight: 700; font-size: 17px; text-align: center; border: 0; font-family: inherit; cursor: pointer; line-height: 1.3; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #D3962C; color: var(--ink); }
.btn-outline { border: 2px solid var(--spruce); color: var(--spruce); padding: 13px 22px; font-weight: 600; background: transparent; }
.btn-outline-light { border: 2px solid var(--white); color: var(--white); padding: 13px 22px; font-weight: 600; }
.btn-outline-light:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.btn-spruce { background: var(--spruce); color: var(--white); font-weight: 600; }
.btn-spruce:hover { background: var(--spruce-dark); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
.section { padding: 88px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--spruce-dark); color: var(--paper); }
.section-spruce { background: var(--spruce); color: var(--white); }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; color: var(--spruce); margin: 0 0 14px; text-transform: uppercase; }
.section-dark .kicker { color: var(--amber); }
.h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.06; margin: 0 0 22px; }
.h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; margin: 0 0 16px; }
.lead { font-size: 20px; color: var(--text); max-width: 720px; }
.sub { font-size: 18px; color: var(--text); max-width: 720px; }
.section-dark .sub, .section-dark .lead { color: var(--on-dark-muted); }
.hero { padding: 80px 0 72px; }
.split { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.split > .side { flex: 1 1 340px; min-width: 0; }
.split > .main { flex: 999 1 560px; min-width: 0; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.card h3 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.card p { font-size: 16px; color: var(--text); }
.card-link { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.card-link:hover { border-color: var(--spruce); color: var(--ink); }
.card-link .more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--spruce); font-size: 15px; }
.card-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.rule-list > div { border-top: 3px solid var(--spruce); padding-top: 16px; }
.section-dark .rule-list > div { border-top-color: var(--amber); }
.rule-list h3 { font-size: 20px; margin: 0 0 6px; }
.rule-list p { font-size: 15px; color: var(--text); }
.section-dark .rule-list p { color: var(--on-dark); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.checks li { display: flex; gap: 12px; font-size: 16px; }
.checks svg { flex: none; margin-top: 3px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { display: flex; gap: 16px; }
.steps .n { flex: none; width: 40px; height: 40px; border-radius: 20px; background: var(--mint); color: var(--spruce); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 800; }
.section-dark .steps .n { background: var(--amber); color: var(--ink); }
.steps strong { display: block; font-family: var(--head); font-size: 19px; margin-bottom: 4px; }
.steps span.d { font-size: 15px; color: var(--text); }
.section-dark .steps span.d { color: var(--on-dark); }
.note { font-size: 13px; color: var(--muted); margin-top: 32px; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.cta-band h2 { flex: 999 1 520px; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; }
.cta-band .btn-col { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }

/* Home specifics */
.readout { flex: 1 1 380px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.bar-row { margin-bottom: 16px; }
.bar-row .lbl { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.bar { height: 10px; background: #ECEDE7; border-radius: 5px; }
.bar > span { display: block; height: 10px; border-radius: 5px; background: var(--spruce); }
.stat { font-family: var(--head); font-weight: 800; font-size: 56px; line-height: 1; color: var(--amber); flex: 1 1 300px; }
.team-card { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.headshot { width: 150px; height: 150px; flex: none; border-radius: 50%; overflow: hidden; background: #DDE3DE; }
.headshot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.headshot.jacob img { object-position: 50% 16%; }
.headshot.lg { width: 220px; height: 220px; }
.team-card h3 { font-size: 24px; margin: 0 0 2px; }
.role { font-size: 15px; font-weight: 600; color: var(--spruce); margin: 0 0 12px !important; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px; border: 1px solid #8E9A94; border-radius: 6px; background: var(--white); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus, .score-btn:focus-visible, .btn:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.form-msg { font-size: 15px; padding: 12px 14px; border-radius: 6px; display: none; }
.form-msg.ok { display: block; background: var(--mint); color: var(--spruce-dark); }
.form-msg.err { display: block; background: #FBE3E0; color: #7A1F17; }
.fine { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Scorecard */
fieldset.factor { margin: 0 0 20px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
fieldset.factor legend { padding: 0 8px; margin-left: -8px; font-family: var(--head); font-weight: 700; font-size: 22px; }
.score-row { display: flex; flex-wrap: wrap; gap: 10px; }
.score-btn { width: 56px; height: 52px; border-radius: 6px; font: inherit; font-weight: 700; font-size: 18px; cursor: pointer; background: var(--white); color: var(--ink); border: 2px solid #8E9A94; }
.score-btn[aria-pressed="true"] { background: var(--spruce); color: var(--white); border-color: var(--spruce); }
.anchors { display: flex; justify-content: space-between; gap: 24px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.anchors span:last-child { text-align: right; }
.band { padding: 18px 20px; border-radius: 8px; }
.band-green { background: #2E7D4F; color: var(--white); }
.band-yellow { background: #F3D58C; color: var(--ink); }
.band-red { background: #9E2A20; color: var(--white); }
.band b { display: block; font-family: var(--head); font-size: 26px; margin-bottom: 4px; }

/* Articles */
.article { padding: 64px 0 80px; }
.article h1 { font-size: clamp(34px, 5vw, 46px); line-height: 1.1; margin: 28px 0 24px; }
.article h2 { font-size: 28px; line-height: 1.2; margin: 44px 0 14px; }
.article p { font-size: 18px; line-height: 1.7; margin: 0 0 22px; }
.byline { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; font-size: 15px; color: var(--muted); line-height: 1.4; }
.byline .headshot { width: 48px; height: 48px; }
.sources { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.sources p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 6px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p { margin: 0 0 16px; line-height: 1.7; }

/* Footer */
.site-footer { background: var(--ink); color: #C9D2CD; font-size: 15px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 36px 64px; padding-top: 56px; padding-bottom: 40px; }
.site-footer .cols > div { flex: 1 1 200px; min-width: 0; }
.site-footer .cols > div:first-child { flex: 2 1 300px; }
.site-footer a { color: #C9D2CD; }
.site-footer .h { font-weight: 600; color: var(--white); margin-bottom: 8px; }
.site-footer .legal-line { border-top: 1px solid #2E3B35; padding-top: 20px; padding-bottom: 36px; font-size: 13px; color: #A9B5AF; }
.site-footer .legal-line a { color: #C9D2CD; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0; }
  .nav { gap: 0 16px; }
  fieldset.factor { padding: 22px 18px; }
  .score-btn { width: 48px; }
}
.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; }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px 56px; }
.faq-item h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; }
.faq-item p { font-size: 17px; color: var(--text); }
.zr-card #jobs-widget, .zr-card #jobs-widget * { font-family: var(--body) !important; }
.zr-card #jobs-widget table { width: 100%; border-collapse: collapse; }
.zr-card #jobs-widget th, .zr-card #jobs-widget td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 16px; }
.zr-card #jobs-widget a { color: var(--spruce); font-weight: 600; }
.zr-card #jobs_widget_company_link { display: block; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.zr-card #jobs_widget_link_split { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.zr-card #jobs-widget { overflow-x: auto; }
.zr-empty { font-size: 17px; color: var(--text); }
.site-footer a { overflow-wrap: anywhere; }
.zr-card #jobsTable { width: 100% !important; }
