/* Fairgrade Partners website v5 (2026-10-16). DRAFT.
   Parth's rules: white background on every section, no dark or coloured sections, no eyebrow headers,
   no long dashes, capital after a colon. Brand kit D-024 A: teal + navy, Plus Jakarta Sans + Inter.
   v5 (W2-9, W2-13, W2-18): wider container, one 8px spacing scale, one grid and one left edge,
   paragraph line length capped at about 68ch, matched card heights. */
/* Self-hosted fonts (12.31, 2026-11-17): Inter and Plus Jakarta Sans, SIL Open Font License, from Google Fonts. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #ffffff;
  --ink: #0f1f2e;
  --text: #2f3b48;
  --muted: #5a6573;
  --line: #e1e5ea;
  --line-strong: #cfd6dd;
  --soft: #f7f9fa;          /* only inside cards, inputs and mock-ups, never a section background */
  --accent: #0b5d57;
  --accent-dark: #084843;
  --accent-soft: #e7f2f0;
  --amber: #8f5600;
  --amber-soft: #fff3df;
  --red: #b3261e;
  --red-soft: #fde9e7;
  --ok: #1d6b3a;
  --ok-soft: #e4f4e9;
  --draft: #8a5a00;
  --draft-soft: #fff8e6;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", Arial, sans-serif;

  /* Spacing scale, 8px base. Use only these. */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
  --s6: 48px; --s7: 56px; --s8: 64px; --s10: 80px; --s12: 96px;

  /* Type scale */
  --fs-xs: .8125rem;   /* 13px */
  --fs-sm: .9375rem;   /* 15px */
  --fs-md: 1.0625rem;  /* 17px, body */
  --fs-lg: 1.1875rem;  /* 19px, lede and h3 */
  --fs-h2: clamp(1.625rem, 3vw, 2.25rem);
  --fs-h1: clamp(2.125rem, 4.6vw, 3.25rem);
  --fs-h1-page: clamp(2rem, 4vw, 2.75rem);

  --wrap: 1240px;
  --gutter: 16px;
  --measure: 68ch;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(15,31,46,.05), 0 10px 28px rgba(15,31,46,.08);
}
@media (min-width: 700px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (max-width: 759px) { html { scroll-padding-top: var(--s2); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs-md); line-height: 1.6; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 var(--s2); font-family: var(--font-head); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -0.03em; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-lg); line-height: 1.3; margin-bottom: var(--s1); }
h4 { font-size: var(--fs-md); line-height: 1.4; margin-bottom: var(--s1); }
p { margin: 0 0 var(--s2); }
main p, main li { max-width: var(--measure); }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
a:focus-visible, .btn:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
ul, ol { margin: 0 0 var(--s2); padding-left: 1.25em; }
li { margin-bottom: var(--s1); }
li:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.note { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s3); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.draft-bar { border-bottom: 1px solid #f0dfb5; color: var(--draft); background: var(--draft-soft); font-size: var(--fs-xs); text-align: center; padding: 8px var(--s2); }
[hidden] { display: none !important; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s1) var(--s3); padding-top: var(--s2); padding-bottom: var(--s2); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) 12px; } /* W4-6, D-114: 12px (4px grid) so eleven items fit one row at 1280 */
.nav li { margin: 0; }
.nav a { color: var(--text); text-decoration: none; font-size: .875rem; padding: 4px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.nav a[aria-current] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.nav .nav-cta { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; padding: var(--s1) var(--s2); border-radius: 999px; }
.nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }
@media (max-width: 1099px) { .nav ul { gap: var(--s1) var(--s2); } }
@media (max-width: 759px) {
  .site-header { position: static; }
  .site-header .wrap { gap: var(--s1); padding-top: 12px; padding-bottom: 12px; }
  .nav { width: 100%; }
  .nav ul { gap: 2px var(--s2); }
  .nav li:last-child { width: 100%; margin-top: var(--s1); }
  .nav .nav-cta { display: block; text-align: center; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s4); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px var(--s3); border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s ease; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--accent); color: var(--accent); background: #fff; }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* Home hero */
.hero { padding: var(--s8) 0 var(--s10); }
.hero-grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--s8); } }
.lede { font-size: var(--fs-lg); color: var(--text); }
.meta { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 var(--s2); }
.meta b { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: var(--s1); }
.ticks li, .checks li { padding-left: 32px; position: relative; margin: 0; }
.ticks li::before, .checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b5d57' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.checks { list-style: none; padding: 0; margin: 0 0 var(--s2); display: grid; gap: 12px; }
@media (min-width: 900px) { .checks.cols-2 { grid-template-columns: repeat(2, 1fr); gap: var(--s3) var(--s5); } }

/* Inner-page header (W2-9): same left edge as the body, tight space below, no breadcrumb */
.page-hero { padding: var(--s8) 0 var(--s5); }
.page-hero h1 { font-size: var(--fs-h1-page); margin-bottom: var(--s2); }
.page-hero .lede { margin-bottom: 0; }
.page-hero .meta { margin: 0 0 var(--s2); }
.page-hero .actions { margin-top: var(--s3); }
.page-hero + .sec { padding-top: var(--s5); }
@media (max-width: 759px) { .page-hero { padding: var(--s5) 0 var(--s4); } .page-hero + .sec { padding-top: var(--s4); } }

/* Jump menu (Services, Pricing) */
.jump { display: flex; flex-wrap: wrap; gap: var(--s1); margin: var(--s3) 0 0; padding: 0; list-style: none; }
.jump li { margin: 0; max-width: none; }
.jump a { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-size: var(--fs-sm); color: var(--ink); text-decoration: none; }
.jump a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* Product mock (sample report, white card) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); color: var(--text); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px var(--s2); background: var(--soft); border-bottom: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.mock-bar span { margin-left: 8px; }
.mock-body { padding: var(--s3) var(--s3) var(--s1); }
.mock-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: var(--s2); }
.mock-title strong { font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; }
.mock-title small { color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s1); margin-bottom: var(--s2); }
.kpi { border-radius: var(--r-sm); padding: 12px var(--s1); text-align: center; }
.kpi b { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; }
.kpi span { font-size: .74rem; }
.kpi.red { background: var(--red-soft); color: var(--red); }
.kpi.amber { background: var(--amber-soft); color: var(--amber); }
.kpi.ok { background: var(--ok-soft); color: var(--ok); }
.rows { list-style: none; padding: 0; margin: 0; }
.rows li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .88rem; margin: 0; max-width: none; }
.rows .role { color: var(--ink); font-weight: 600; }
.rows .where { color: var(--muted); font-size: .8rem; grid-column: 1; }
.pill { font-size: .74rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; display: inline-block; }
.rows .pill { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.amber { background: var(--amber-soft); color: var(--amber); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.mock-note { font-size: .74rem; color: var(--muted); padding: var(--s1) var(--s3) 12px; border-top: 1px solid var(--line); }

/* Sections: all white, separated by a hairline */
.sec { padding: var(--s10) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
@media (max-width: 759px) { .sec { padding: var(--s7) 0; } }
.sec-head { max-width: 760px; margin-bottom: var(--s5); }
.sec-head p { color: var(--muted); font-size: var(--fs-lg); margin-bottom: 0; }
.sec-head h2:last-child { margin-bottom: 0; }

/* Two-column split: heading left, content right */
.split { display: grid; gap: var(--s3) var(--s8); }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 4fr 7fr; } }
.split > :first-child h2, .split > :first-child h3 { margin-bottom: var(--s1); }

/* Cards and grids (equal heights; pointer sits at the bottom) */
.grid { display: grid; gap: var(--s3); }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); display: flex; flex-direction: column; }
.card > :last-child { margin-bottom: 0; }
.card p { font-size: var(--fs-sm); }
.card h3 + p { color: var(--text); }
.card .fix { font-size: var(--fs-sm); color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; }
.card .pointer { margin-top: auto; padding-top: var(--s2); font-size: var(--fs-sm); }
.card .checks { margin: var(--s1) 0 var(--s2); font-size: var(--fs-sm); gap: var(--s1); }

/* Problem statements */
.problems { display: grid; gap: var(--s3); }
@media (min-width: 760px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .problems { grid-template-columns: repeat(3, 1fr); } }
/* A last card left alone in its row spans the row, problem left and fix right (QC: even rhythm) */
@media (min-width: 760px) and (max-width: 1059px) { .problems > .problem:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s4); align-content: start; } .problems > .problem:last-child:nth-child(odd) .fix { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; padding: 0 0 0 var(--s4); border-top: 0; border-left: 1px solid var(--line); } }
@media (min-width: 1060px) { .problems > .problem:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s4); align-content: start; } .problems > .problem:last-child:nth-child(3n+1) .fix { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; padding: 0 0 0 var(--s4); border-top: 0; border-left: 1px solid var(--line); } }
.problem { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: var(--s3); display: flex; flex-direction: column; }
.problem h3 { margin-bottom: var(--s1); }
.problem p { margin: 0; font-size: var(--fs-sm); }
.problem .fix { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.problem .fix strong { color: var(--ink); }
.problem .fix .offer { display: block; margin-top: 4px; }
.problem .fix .offer a { font-weight: 600; }

/* Beliefs */
.beliefs { display: grid; gap: var(--s5); counter-reset: b; }
@media (min-width: 900px) { .beliefs { grid-template-columns: repeat(3, 1fr); } }
.belief h3 { font-size: 1.3rem; }
.belief h3::before { counter-increment: b; content: counter(b); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font-size: .95rem; margin-right: 8px; vertical-align: 3px; }

/* Samples (show the work) */
.samples { display: grid; gap: var(--s3); }
@media (min-width: 980px) { .samples { grid-template-columns: repeat(3, 1fr); } }
.sample { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.sample-viz { padding: var(--s3); border-bottom: 1px solid var(--line); min-height: 256px; display: flex; flex-direction: column; justify-content: center; }
.sample-txt { padding: var(--s3); }
.sample-txt .meta { margin: 0 0 var(--s1); }
.sample-txt p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 0; }
.mini-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.mini-table th, .mini-table td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); }
.mini-table th { color: var(--muted); font-weight: 600; font-family: var(--font); }
.mini-table td.lvl { font-weight: 700; color: var(--accent); white-space: nowrap; }
.mini-table tr:last-child td { border-bottom: 0; }
.chart text { font-family: var(--font); }

/* Steps (how it works) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { border-top: 2px solid var(--accent); padding-top: var(--s2); margin: 0; }
.steps li::before { counter-increment: s; content: counter(s); font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 1.4rem; display: block; margin-bottom: 4px; }
.steps strong { color: var(--ink); display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: var(--fs-sm); }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.article table + p { margin-top: var(--s3); } /* 12.26.7 JE-02: space after an article table */
th, td { text-align: left; padding: 12px var(--s2); border-bottom: 1px solid var(--line); vertical-align: top; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
thead th { color: var(--ink); font-family: var(--font-head); border-bottom: 2px solid var(--line-strong); }
tbody th { color: var(--ink); }
td.num, th.num { text-align: right; white-space: nowrap; }
td.us { color: var(--ink); font-weight: 600; }
td p, th p { margin: 0; }

/* Price tables (Pricing): same columns on every table, stacked on phones */
.price-group { padding-top: var(--s6); }
.price-group:first-child { padding-top: 0; }
.price-group + .price-group { border-top: 1px solid var(--line); margin-top: var(--s6); }
.price-group h2 { font-size: 1.5rem; margin-bottom: var(--s1); }
.price-group > p { color: var(--muted); }
.ptable { table-layout: fixed; margin-top: var(--s2); }
.ptable col.c-offer { width: 25%; } .ptable col.c-get { width: 43%; } .ptable col.c-time { width: 14%; } .ptable col.c-price { width: 18%; }
.ptable td:first-child { color: var(--ink); font-weight: 600; }
.ptable td.price { color: var(--ink); font-family: var(--font-head); font-weight: 700; }
.ptable td.price span { display: block; font-family: var(--font); font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }
.ptable td.price span + b { margin-top: 8px; }
.ptable td.price b { display: block; }
@media (max-width: 759px) {
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable colgroup, .ptable thead { display: none; }
  .ptable tr { border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--s2); margin-bottom: var(--s2); }
  .ptable td { border: 0; padding: 4px 0; }
  .ptable td[data-label]::before { content: attr(data-label); display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 400; font-family: var(--font); }
  .ptable td:first-child { font-size: var(--fs-md); padding-bottom: var(--s1); }
}

/* Key facts row */
.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-sm); margin: var(--s3) 0; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { padding: 12px var(--s2); border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .facts div { border-bottom: 0; border-left: 1px solid var(--line); } .facts div:first-child { border-left: 0; } }
.facts div:last-child { border-bottom: 0; }
.facts span { display: block; color: var(--muted); font-size: var(--fs-xs); }
.facts b { color: var(--ink); font-family: var(--font-head); }

/* Service areas (Services) */
.area { padding: var(--s6) 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.area:first-child { border-top: 0; padding-top: 0; }
.area:last-child { padding-bottom: 0; }
.area h2 { font-size: 1.5rem; }
.area .one-line { color: var(--muted); font-size: var(--fs-lg); margin-bottom: 0; }
.area .checks { margin-bottom: var(--s2); }
.area .links { margin: 0; font-size: var(--fs-sm); }
.area .links a { font-weight: 600; }
/* W3-4: Job evaluation method inside its Services block */
.method { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); margin-top: var(--s6); padding-top: var(--s6); border-top: 1px solid var(--line); }
.method h3 { font-size: 1.25rem; }
.method .grid, .method .split, .method .table-wrap, .method .steps { margin-top: 0; }

/* Price estimator (Pricing) */
.estimator { border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4); display: grid; gap: var(--s3); box-shadow: var(--shadow); }
@media (min-width: 900px) { .estimator { grid-template-columns: 1fr 1fr 1fr; align-items: end; } }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-bottom: var(--s1); }
.field select, .field input[type="search"] { width: 100%; font: inherit; font-size: var(--fs-sm); color: var(--ink); background: var(--soft); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 12px 16px; }
.est-out { border-left: 4px solid var(--accent); padding: 4px 0 4px var(--s2); }
.est-out b { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.6rem; line-height: 1.2; }
.est-out span { display: block; color: var(--muted); font-size: var(--fs-sm); }
.estimator .note { grid-column: 1 / -1; margin: 0; }

/* FAQ (interactive, W2-14) */
.faq-tools { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.faq-tools .field { max-width: 560px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.chip { font: inherit; font-size: var(--fs-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-group { margin-bottom: var(--s5); }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h2 { font-size: 1.3rem; margin-bottom: var(--s2); }
.faq-list { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: var(--fs-md); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s2) 0; transition: color .15s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10M12 7v10' stroke='%230b5d57' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.faq details[open] > summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10' stroke='%230b5d57' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); border-color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq summary:hover::after { border-color: var(--accent); background-color: var(--accent-soft); }
.faq .faq-a { overflow: hidden; }
.faq .faq-a > :first-child { margin-top: 0; }
.faq .faq-a > * { padding: 0; }
.faq .faq-a > :last-child { padding-bottom: var(--s2); margin-bottom: 0; }
.faq-empty { color: var(--muted); }

/* Data promise */
.promise details { border-top: 1px solid var(--line); margin-top: var(--s4); padding-top: var(--s2); }
.promise summary { cursor: pointer; color: var(--ink); font-weight: 600; }

/* Resources */
.res-group { margin-bottom: var(--s6); }
.res-group:last-child { margin-bottom: 0; }
.res-group h2 { font-size: 1.5rem; margin-bottom: var(--s3); }
.res-card h3 a { color: var(--ink); text-decoration: none; }
.res-card h3 a:hover { color: var(--accent); text-decoration: underline; }
.res-card .meta { margin: 0 0 var(--s1); font-size: var(--fs-xs); }
.res-card p { color: var(--muted); }
.res-card { display: flex; flex-direction: column; }
.res-card .meta:last-child { margin: auto 0 0; padding-top: var(--s1); }
.res-labels { font-size: var(--fs-xs); color: var(--muted); margin: 0 0 var(--s1); }
.res-type { color: var(--accent); font-weight: 600; }
/* 12.26.6 library */
.res-sec-h { font-size: 1.5rem; margin-bottom: var(--s3); }
.res-feature { display: grid; gap: var(--s4); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: var(--s4); background: var(--bg); }
@media (min-width: 900px) { .res-feature { grid-template-columns: 7fr 5fr; align-items: start; } }
.res-feature h3 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 var(--s2); }
.res-feature h3 a { color: var(--ink); text-decoration: none; }
.res-feature h3 a:hover { color: var(--accent); text-decoration: underline; }
.res-feature p { color: var(--muted); max-width: 64ch; }
@media (max-width: 599px) { .res-feature { padding: var(--s3); } }
.res-feature-side { background: var(--soft); border-radius: 8px; padding: var(--s3); }
.res-feature-side p { margin: 0 0 var(--s1); }
.res-feature-side p:last-child { margin: 0; }
.res-feature-side b { color: var(--ink); }
.res-filters { display: grid; gap: var(--s2); margin-bottom: var(--s3); }
.res-filter-row { display: grid; gap: var(--s1); }
@media (min-width: 760px) { .res-filter-row { grid-template-columns: 130px 1fr; align-items: center; } }
.res-filter-label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.res-count { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 var(--s4); }
.res-bucket { margin-bottom: var(--s6); }
.res-bucket:last-child { margin-bottom: 0; }
.res-bucket-head { margin-bottom: var(--s3); }
.res-bucket-head h3 { font-size: 1.3rem; margin: 0 0 var(--s1); }
.res-bucket-head p { color: var(--muted); margin: 0; max-width: 72ch; }
.res-bucket-head .res-pointer, .res-bucket-head .res-more { margin-top: var(--s2); }
@media (min-width: 1000px) { .res-bucket { display: grid; grid-template-columns: 340px 1fr; gap: var(--s5); align-items: start; } .res-bucket-head { margin: 0; } }
.res-card h3 { margin-top: 0; }
.res-byline { max-width: none; }
.link-btn { font: inherit; font-size: var(--fs-sm); background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--accent-dark); }
.res-pointer { margin: var(--s2) 0 0; font-size: var(--fs-sm); color: var(--muted); }
#res-buckets .is-featured { display: none; }

/* Self-check (Resources) */
.quiz { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .quiz { grid-template-columns: 7fr 5fr; align-items: start; } }
.quiz ol { list-style: none; padding: 0; margin: 0; counter-reset: q; display: grid; gap: 0; }
.quiz ol li { counter-increment: q; display: grid; grid-template-columns: 1fr auto; gap: var(--s1) var(--s3); align-items: center; padding: var(--s2) 0; border-bottom: 1px solid var(--line); margin: 0; max-width: none; }
.quiz ol li:first-child { border-top: 1px solid var(--line); }
.quiz ol li > span:first-child::before { content: counter(q) ". "; color: var(--accent); font-weight: 700; }
.yn { display: inline-flex; gap: var(--s1); }
.yn label { cursor: pointer; }
.yn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.yn span { display: inline-block; min-width: 56px; text-align: center; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 12px; font-size: var(--fs-sm); color: var(--ink); }
.yn label:hover span { border-color: var(--accent); }
.yn input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.yn input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 599px) { .quiz ol li { grid-template-columns: 1fr; } }
.quiz-result { border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4); box-shadow: var(--shadow); }
@media (min-width: 1000px) { .quiz-result { position: sticky; top: 112px; } }
.quiz-result .score { font-family: var(--font-head); color: var(--accent); font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: var(--s1); }
.quiz-result ul { padding-left: 1.1em; }

/* Article (Resources guides) */
.article { max-width: 760px; }
.article h2 { font-size: 1.5rem; margin-top: var(--s6); }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: var(--s4); }
.article .table-wrap { margin: var(--s3) 0; }
.article blockquote { margin: var(--s3) 0; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: var(--s2) var(--s3); background: var(--soft); font-size: var(--fs-sm); }
.article blockquote p { margin: 0 0 4px; }
.article blockquote p:last-child { margin: 0; }
.article .sources { font-size: var(--fs-sm); color: var(--muted); }
.article .offer-link { border-top: 1px solid var(--line); padding-top: var(--s3); margin-top: var(--s5); }
/* 12.26.7 article standard: short answer, byline, legal line, numbered sources */
.short-answer { max-width: 760px; margin: var(--s3) 0; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: var(--s2) var(--s3); background: var(--soft); }
.short-answer p { margin: 0; }
.byline { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.article .legal-note { font-size: var(--fs-sm); color: var(--muted); }
.article ol.sources { padding-left: 1.4em; }
.article ol.sources li { margin-bottom: 4px; overflow-wrap: break-word; }
.article ol.sources .ck { white-space: nowrap; }
.nobr { white-space: nowrap; } /* 12.26.7 PT-03: keeps hyphenated words like "good-faith" whole in headings */
.page-hero .byline { max-width: none; }
.article .offer-link h2 { margin-top: 0; }
.related { margin-top: var(--s6); }
.related h2 { font-size: 1.3rem; }

/* Placeholder (internal marker, removed before publishing) */
.placeholder { border: 2px dashed #c9a74a; background: var(--draft-soft); color: var(--draft); border-radius: var(--r); padding: var(--s3); }
.placeholder p:last-child { margin-bottom: 0; }

/* Closing call to action (white, framed) */
.cta-box { border: 1px solid var(--line); border-radius: 20px; padding: var(--s6) var(--s3); text-align: center; box-shadow: var(--shadow); }
.cta-box h2 { margin-bottom: var(--s2); }
.cta-box .actions { justify-content: center; margin-top: var(--s3); }
.cta-box p { color: var(--muted); margin-left: auto; margin-right: auto; max-width: 620px; }

/* Pointer: one plain link at the end of a section */
.pointer { margin: var(--s4) 0 0; color: var(--muted); }
.pointer a { font-weight: 600; }

/* Legal page */
.legal h2 { font-size: 1.3rem; margin-top: var(--s5); }
.legal .table-wrap { margin-bottom: var(--s2); }

/* Footer (white) */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding: var(--s5) 0 var(--s6); font-size: var(--fs-sm); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s4); }
.site-footer p { margin: 0 0 4px; }
.site-footer strong { color: var(--ink); }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.foot-links li { margin: 0; }
.foot-links a { color: var(--text); }
.foot-links a[aria-current] { color: var(--accent); font-weight: 600; }
.h3 { font-size: var(--fs-lg); line-height: 1.3; letter-spacing: 0; margin-bottom: var(--s2); }
main p + h3, main ul + h3, main .table-wrap + h3 { margin-top: var(--s4); }
.ptable td.price b + span { margin-top: var(--s1); }

/* A price table that ends its group drops its last rule, so the group divider is the only line (QC: even rhythm) */
.price-group > .table-wrap:last-child .ptable tbody tr:last-child td { border-bottom: 0; }
/* Comp Desk tiers: equal tier columns */
.tiers { table-layout: fixed; min-width: 640px; }
.tiers col.c-row { width: 19%; }
.tiers col.c-tier { width: 27%; }
/* W4-6: Job Evaluation tab. The method block as a page: no top rule, a rule between parts. */
.method.page-method { margin-top: 0; padding-top: 0; border-top: 0; }
.method.page-method > * + *:not(.grid):not(.note) { border-top: 1px solid var(--line); padding-top: var(--s6); }
.area .links + .links { margin-top: var(--s1); }
.method td:first-child { white-space: nowrap; }
/* W4-15: Pricing offer cards, every part in short bullets. */
.offers { display: grid; gap: var(--s3); margin-top: var(--s3); }
.offer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4); }
.oc-head { display: grid; gap: var(--s2); padding-bottom: var(--s3); margin-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.oc-head h3 { margin: 0; font-size: 1.25rem; }
.oc-head h3 .pill { margin-left: var(--s1); vertical-align: middle; }
.oc-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--s3); }
.oc-price span { font-size: var(--fs-xs); color: var(--muted); }
.oc-price b { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: var(--fs-lg); margin-right: var(--s2); }
.oc-price span + b { margin-left: -16px; }
.oc-body { display: grid; gap: var(--s3) var(--s4); }
.oc-body h4 { font-size: var(--fs-sm); margin: 0 0 var(--s1); color: var(--ink); }
.oc-body ul { margin: 0; padding-left: 1.1em; font-size: var(--fs-sm); color: var(--text); }
.oc-body li { margin: 0 0 4px; max-width: none; }
.oc-body-plain { margin-top: var(--s4); }
.oc-foot { margin: var(--s3) 0 0; font-size: var(--fs-xs); color: var(--muted); max-width: none; }
@media (min-width: 760px) { .oc-body { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .oc-head { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } .oc-price { justify-content: flex-end; max-width: 640px; } .oc-body { grid-template-columns: repeat(3, 1fr); } .oc-body-plain { grid-template-columns: repeat(4, 1fr); } }
.quote-line { margin-top: var(--s6); }
.card .checks + .checks { margin-top: var(--s1); }
@media (max-width: 1059px) { .oc-price { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px var(--s2); } .oc-price span + b { margin-left: 0; } .oc-price b { margin-right: 0; } }
@media (max-width: 759px) { .offer-card { padding: var(--s3); } }
/* W4-10: six steps sit 3 by 2 on wide screens. W4-12: lead line in the outcome card. */
@media (min-width: 1000px) { .steps.steps-6 { grid-template-columns: repeat(3, 1fr); } }
.lead-line { font-size: var(--fs-md); color: var(--ink); font-weight: 600; }
.grid-2 > .card-wide { grid-column: 1 / -1; }
.card-lead { border-color: var(--accent); padding: var(--s5); }
.card-lead h2 { font-size: var(--fs-h2); margin-bottom: var(--s2); }
.card-lead .lead-line { font-size: var(--fs-lg); font-weight: 400; max-width: 60ch; }
@media (min-width: 900px) { .card-lead .checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }
@media (max-width: 759px) { .card-lead { padding: var(--s3); } }
@media (min-width: 900px) { .card-wide:not(.card-lead) .checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s1) var(--s4); } }

/* Who we serve (12.29, 12.30) */
.who-card h3 { margin-bottom: var(--s1); }
.who-card h4 { margin: var(--s3) 0 var(--s1); font-size: var(--fs-sm); }
.who-list { margin: 0; padding-left: 1.1em; font-size: var(--fs-sm); display: grid; gap: var(--s1); }
.who-list li { margin: 0; }
.who-card .who-offers { margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.who-card h4 + .who-list + h4 { margin-top: var(--s3); }
.who-card .who-list:last-of-type { margin-bottom: var(--s3); }
.who-sources { font-size: var(--fs-sm); color: var(--muted); padding-left: 1.1em; display: grid; gap: var(--s1); }
.who-src-h { font-size: var(--fs-lg); }

/* Article law tables (12.26.7): stacked as labeled cards on phones, like the price tables */
@media (max-width: 759px) {
  .article table.stack, .article table.stack tbody, .article table.stack tr, .article table.stack td { display: block; width: 100%; }
  .article table.stack thead { display: none; }
  .article table.stack tr { border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--s2); margin-bottom: var(--s2); }
  .article table.stack td { border: 0; padding: 4px 0; }
  .article table.stack td[data-label]::before { content: attr(data-label); display: block; font-size: var(--fs-xs); color: var(--muted); font-weight: 400; font-family: var(--font); }
  .article table.stack td:first-child { color: var(--ink); font-weight: 600; font-size: var(--fs-md); padding-bottom: var(--s1); }
  .article table.stack td:first-child::before { display: none; }
}

/* W5 (2026-10-26): How it works as a section on Home and Pricing; Who we serve sources on Home. */
.how-cards { margin-top: var(--s3); }
.who-grid + .data-note + .who-src-h, .who-grid + .who-src-h { margin-top: var(--s5); }
.je-jump { margin-bottom: var(--s5); }
