/* ─────────────────────────────────────────────────────────────────────────
   ui-article.css: the Silo 3/4 articles (what-is, how-to-get-certified,
   exam-day, cost-and-exam-fees, epa-608-certification-online,
   difference-between-epa-608-and-609).

   Loads after /ui.css. Page shell:
     main.a-page
       section.u-hero.a-hero > .u-wrap      breadcrumb, eyebrow, H1, byline, lede
       .u-wrap.a-body                       TL;DR card, data callout, layout
         .layout | .article-grid            article column + sidebar
           .article-body.u-prose            760px prose column
           aside                            side TOC
   Colors come from ui.css tokens only. Contrast rules (LAUNCH-SPEC §4):
   small labels in --ink2 / --nt2, orange text only at >=24px and in --or2,
   orange buttons carry --nv text, links are ink with an orange underline.
   Breakpoints: 960 / 640, plus 480 for the key-fact tiles.
   ───────────────────────────────────────────────────────────────────────── */

/* ── Hero ── */
.a-hero { padding-bottom: clamp(76px, 8vw, 112px); }
.a-hero .breadcrumb { margin-bottom: 26px; }
.a-hero .hero-eyebrow { display: flex; width: fit-content; }
.a-hero h1 { margin-bottom: 18px; }
.a-hero h1 em { font-style: normal; color: var(--or2); }
.a-hero .byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  font-family: var(--f-mono); font-size: 14px; font-weight: 500; letter-spacing: 0;
  color: var(--nt2); margin: 0 0 22px; line-height: 1.6;
}
.a-hero .byline > span:first-child { color: var(--ntext); font-weight: 600; }
.a-hero .byline a { color: var(--ntext); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 3px; }
.a-hero .lead { max-width: var(--prose); }
.a-hero .lead a { color: var(--ntext); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 3px; }

/* ── Shared small-label look: mono, 14px, --ink2 ── */
.tldr-label, .qf-label, .appdata-label, .toc-label, .callout-label,
.a-page .callout h3, .a-page .callout h4, .a-page .warn h3, .rel-label strong {
  font-family: var(--f-mono); font-size: 14px; font-weight: 600; line-height: 1.5;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink2);
}

/* ── Intro block under the hero: TL;DR card, data callout ── */
.a-body { padding-bottom: clamp(56px, 7vw, 96px); }
.a-body > .tldr, .a-body > .quick-facts {
  position: relative; margin-top: clamp(-80px, -6vw, -48px);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r3);
  box-shadow: 0 18px 50px rgba(15,31,61,.10); padding: 28px 32px 24px;
}
.tldr-label, .qf-label { display: block; margin-bottom: 16px; }
.tldr ul, .quick-facts ul { columns: 2; column-gap: 48px; padding-left: 18px; }
.tldr li, .quick-facts li {
  break-inside: avoid; font-size: 15px; line-height: 1.6; color: #24385c; margin-bottom: 10px;
}
.tldr li::marker, .quick-facts li::marker { color: var(--or); }
.tldr li strong, .quick-facts li strong { color: var(--ink); }
.quick-facts a, .tldr a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.quick-facts > p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--ink); }
/* key facts as tiles: the bold label over its value, 2 columns (1 under 480px) */
.quick-facts ul, .tldr ul.tiles {
  columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0; list-style: none;
}
.quick-facts li, .tldr ul.tiles li {
  margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg2); font-size: 15px; line-height: 1.5;
}
.quick-facts li strong, .tldr ul.tiles li strong {
  display: block; margin-bottom: 3px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink2);
}

/* first-party data box ("measured in our app") */
.appdata {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 32px; row-gap: 0;
  margin-top: 20px; padding: 22px 26px;
  background: var(--gdim); border: 1px solid rgba(22,163,74,.22); border-left: 4px solid var(--green);
  border-radius: 0 var(--r2) var(--r2) 0;
}
.appdata-label { grid-column: 1; grid-row: 1 / span 6; letter-spacing: .06em; }
.appdata > p { grid-column: 2; margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink); }
.appdata > p + p { margin-top: 10px; }
.appdata-note { font-size: 14px !important; color: var(--ink2) !important; margin: 0; }
/* inside the article column the label sits on top, so the text keeps the full width */
.article-body .appdata { grid-template-columns: minmax(0, 1fr); margin: 24px 0; }
.article-body .appdata-label, .article-body .appdata > p { grid-column: 1; grid-row: auto; }
.article-body .appdata-label { margin-bottom: 10px; }

/* page-level callout right under the TL;DR */
.a-body > .callout { margin-top: 20px; }

/* ── Two-column layout: article + sidebar (sticky TOC) ── */
.layout, .article-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 64px;
  align-items: start; margin-top: clamp(40px, 5vw, 64px);
}
.layout > aside, .article-grid > aside {
  grid-column: 2; grid-row: 1; align-self: stretch;
  display: flex; flex-direction: column; gap: 16px;
}
.layout > :not(aside), .article-grid > :not(aside) { grid-column: 1; grid-row: 1; min-width: 0; }
.main-col, .article-main { min-width: 0; }
/* the side TOC stays in view */
.layout > aside > .toc, .article-grid > aside > .toc {
  order: 2; position: sticky; top: 92px;
  max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain;
}


/* table of contents: side card (desktop) and inline card (tablet/phone),
   numbered rows like the study guides, each row a 44 px target */
.toc, .toc-inline, .toc-mobile {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r2); padding: 16px 18px 8px;
}
.toc-label { display: block; margin-bottom: 4px; }
.toc ul, .toc-inline ul, .toc-mobile ul { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li, .toc-inline li, .toc-mobile li { margin: 0; }
.a-page .u-prose .toc li + li, .toc li + li, .toc-inline li + li, .toc-mobile li + li { margin-top: 0; }
.toc li a, .toc-inline li a, .toc-mobile li a {
  counter-increment: toc; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0;
  border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; line-height: 1.35;
  color: var(--ink2); text-decoration: none;
}
.toc li:first-child a { border-top: 0; }
.toc li a::before, .toc-inline li a::before, .toc-mobile li a::before {
  content: counter(toc, decimal-leading-zero); flex: none; min-width: 22px;
  font-family: var(--f-mono); font-size: 14px; font-weight: 600; color: var(--ink2);
}
.toc li a:hover, .toc-inline li a:hover, .toc-mobile li a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 3px; }

.toc-inline, .toc-mobile { display: none; }

/* ── Prose column ── */
.a-page .u-prose > p, .a-page .u-prose > ul > li, .a-page .u-prose > ol > li { font-size: 17px; line-height: 1.6; }
/* text keeps a ~68ch measure; tables, cards and boxes use the full column */
.a-page .u-prose > :is(p, ul, ol, h2, h3, h4) { max-width: 68ch; }
.a-page .u-prose li + li { margin-top: 4px; }
/* outbound citations: thin underline, no bold, so the sentence reads first */
.a-page .u-prose a[rel~="nofollow"]:not(.u-btn) {
  color: inherit; font-size: .93em; font-weight: inherit; text-decoration-thickness: 1px; text-decoration-color: var(--ink3); text-underline-offset: 3px;
}
.a-page .u-prose a[rel~="nofollow"]:not(.u-btn):hover { color: var(--ink); text-decoration-color: var(--or); }
.a-page .u-prose > :first-child { margin-top: 0; }
.a-page .u-prose > h2:first-child,
.a-page .u-prose > script:first-child + h2 { margin-top: 0; padding-top: 0; border-top: 0; } /* script = Ezoic spot */
.a-page .u-prose p strong, .a-page .u-prose li strong { color: var(--ink); }
.a-page .u-prose h4 { font-size: 1.15rem; }

/* tables: horizontal scroll on narrow screens, fit tables stay fluid */
.a-page .table-wrap { width: 0; min-width: 100%; }
.a-page .table-wrap table { min-width: 640px; }
.a-page .table-wrap.fit table { min-width: 0; }
.a-page .u-prose tbody tr:hover td { background: rgba(15,31,61,.015); }
/* highlighted cells: green tint or a green tick, ink text (green text fails contrast) */
td.highlight-col { color: var(--ink); font-weight: 700; background: var(--gdim); }
.a-page .u-prose tbody tr:hover td.highlight-col { background: var(--gdim); }
span.highlight-col, td.yes { color: var(--ink); font-weight: 700; }
span.highlight-col::before, td.yes::before { content: "\2713\00a0"; color: var(--green); }
td.no, .cert-no { color: var(--red); font-weight: 700; }

/* callouts */
.a-page .callout {
  border-left: 4px solid var(--or); background: var(--ordim); border-radius: 0 var(--r2) var(--r2) 0;
  padding: 18px 22px; color: var(--ink);
}
.a-page .callout > * + * { margin-top: 8px; }
.a-page .callout h3, .a-page .callout h4, .a-page .warn h3 { margin: 0; }
.a-page .callout p, .a-page .warn p { font-size: 16px; line-height: 1.65; color: #24385c; margin: 0; }
.a-page .callout p + p { margin-top: 8px; }
.a-page .callout a, .a-page .warn a, .related-tool a {
  color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--or);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.a-page .callout a:hover, .a-page .warn a:hover, .related-tool a:hover { color: var(--ink); text-decoration-thickness: 3px; }
.a-page .warn {
  border: 1px solid rgba(245,184,64,.45); border-left: 4px solid var(--gold);
  background: rgba(245,184,64,.10); border-radius: 0 var(--r2) var(--r2) 0; padding: 18px 22px;
}
.a-page .warn h3 { color: var(--ink); }
.a-page .warn h3 + p { margin-top: 8px; }
.a-page .warn strong { color: var(--ink); }

/* "part of the guide" related-links box: a card, not a callout */
.a-page .callout.a-related {
  border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg2); padding: 22px 24px;
}
.related-tool {
  border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg2);
  padding: 16px 20px; font-size: 15.5px; line-height: 1.6; color: #24385c;
}
.related-tool p { margin: 0; }
.related-tool strong { color: var(--ink); }

/* link lists rendered as cards; the link stretches over the whole card */
.a-page .u-prose ul.a-links {
  list-style: none; padding-left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.a-page .u-prose ul.a-links > li {
  position: relative; margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r2);
  background: var(--bg); font-size: 15px; line-height: 1.55; color: var(--ink2);
  transition: border-color .15s, box-shadow .15s;
}
.a-page .u-prose ul.a-links > li:hover { border-color: var(--orline); box-shadow: 0 10px 30px rgba(15,31,61,.06); }
.a-page .u-prose ul.a-links a { color: var(--ink); text-decoration-color: var(--or); }
.a-page .u-prose ul.a-links a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.a-page .u-prose ul.a-links a:focus-visible { outline: 0; }
.a-page .u-prose ul.a-links a:focus-visible::after { outline: 3px solid var(--or); outline-offset: 2px; }

/* numbered steps (how-to) */
.a-page .u-prose ol.step-list { list-style: none; padding-left: 0; counter-reset: step; margin-top: 28px; }
.step-list > li { counter-increment: step; position: relative; padding: 0 0 12px 64px; }
.a-page .u-prose .step-list > li + li { margin-top: 28px; }
.step-list > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center; background: var(--nv); color: var(--ntext);
  box-shadow: inset 0 -3px 0 var(--or);
  font-family: var(--f-mono); font-size: 14px; font-weight: 600;
}
.step-list > li::after {
  content: ""; position: absolute; left: 21px; top: 56px; bottom: -16px; width: 2px; background: var(--line);
}
.step-list > li:last-child::after { display: none; }
.step-list > li > * + * { margin-top: 12px; }
.step-title {
  font-family: var(--f-head); font-size: 1.35rem; font-weight: 700; line-height: 1.25;
  color: var(--ink); padding-top: 8px;
}
.a-page .u-prose .step-list h3 { margin-top: 22px; font-size: 1.1rem; }
.step-list ul { padding-left: 1.2em; }

/* ── Layout pass (2026-11-05): cards that shorten the read without new words ── */
/* what-is: the four certification types as a 2x2 grid */
.a-page .u-prose .type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.type-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg); }
.type-card > * + * { margin-top: 10px; }
.a-page .u-prose .type-card h3 { margin-top: 0; font-size: 1.1rem; line-height: 1.3; }
.a-page .u-prose .type-card p { font-size: 15.5px; line-height: 1.55; }
/* how-to: each step as a card under its "Step N" badge */
.step-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg); }
.a-page .u-prose .step-card + .step-card { margin-top: 12px; }
.step-card > * + * { margin-top: 10px; }
.a-page .u-prose .step-card h3 { margin-top: 0; font-size: 1.15rem; line-height: 1.3; }
.a-page .u-prose .step-card p { font-size: 16px; line-height: 1.6; }
.step-n {
  display: block; width: fit-content; margin-bottom: 8px; padding: 3px 10px; border: 1px solid var(--orline); border-radius: 999px;
  background: var(--ordim); font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
}
.u-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* exam-day: the four number families as small cards */
.a-page .u-prose ul.num-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.a-page .u-prose ul.num-cards > li {
  margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--or); border-radius: 0 var(--r) var(--r) 0;
  background: var(--bg2); font-size: 15px; line-height: 1.55;
}
/* online: optional detail sections, closed by default (a link to the H3 opens them) */
.a-more { border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg); }
.a-page .u-prose .a-more + .a-more, .a-page .u-prose .a-more + script + * { margin-top: 10px; }
.a-more > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 20px;
  cursor: pointer; list-style: none; border-radius: var(--r2);
}
.a-more > summary::-webkit-details-marker { display: none; }
.a-more > summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-top: -4px; border-right: 2px solid var(--ink2); border-bottom: 2px solid var(--ink2);
  transform: rotate(45deg); transition: transform .15s;
}
.a-more[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.a-more > summary:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.a-page .u-prose .a-more h3 { margin: 0; font-size: 1.1rem; }
.a-more > :not(summary) { margin: 0 20px; }
.a-more > :not(summary) + :not(summary) { margin-top: 12px; }
.a-more > :last-child { margin-bottom: 18px; }
.a-more li, .a-more p { font-size: 16px; line-height: 1.6; }

/* ── App comparison: a designed navy section, wider than the text measure ──
   message left (eyebrow, the gap as a big number, title, CTA), chart right, note across the foot.
   The pass marker's position lives here only; the page never prints it. */
.article-body .appdata.cmp {
  --pass: 72%; container-type: inline-size; display: block; margin: 44px 0; padding: 0; border: 1px solid var(--nline);
  border-radius: 20px; color: var(--ntext);
  background: radial-gradient(640px 280px at 100% 0%, rgba(249,115,22,.16), transparent 62%), var(--nv);
}
.cmp-in {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "msg chart" "cta chart" "note note";
  column-gap: 40px; padding: 40px;
}
.cmp-msg { grid-area: msg; }
.cmp-chart { grid-area: chart; align-self: center; position: relative; padding-top: 38px; }
.cmp-cta { grid-area: cta; align-self: end; margin-top: 26px; }
.article-body .cmp .appdata-note { grid-area: note; }
.article-body .cmp .appdata-label { margin: 0; font-size: 12.5px; color: var(--nt2); }
.cmp-gap { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.cmp-gap-n { font-family: var(--f-head); font-size: clamp(48px, 12cqi, 56px); font-weight: 800; line-height: 1; letter-spacing: -.01em; color: var(--or); }
.cmp-gap-u { font-size: 15px; font-weight: 600; color: var(--nt2); }
.article-body .cmp .cmp-title { margin: 12px 0 0; font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--ntext); }
.cmp-sub { display: block; margin-top: 10px; font-size: 13px; color: var(--nt2); }
/* chart: a pill over a dashed line that crosses both bars at the pass mark */
.cmp-pass {
  position: absolute; top: 0; left: var(--pass); z-index: 1; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px;
  border: 1px solid rgba(237,241,249,.28); background: var(--nv3); font-family: var(--f-mono); font-size: 12px; font-weight: 600;
  line-height: 1.4; white-space: nowrap; color: var(--ntext);
}
.cmp-chart::before { content: ""; position: absolute; left: var(--pass); top: 26px; bottom: 0; border-left: 2px dashed rgba(237,241,249,.55); margin-left: -1px; }
.cmp-row { position: relative; }
.cmp-row + .cmp-row { margin-top: 22px; }
.cmp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cmp-who { font-size: 15px; font-weight: 600; color: var(--ntext); }
.cmp-pct { font-family: var(--f-head); font-size: 24px; font-weight: 700; line-height: 1.2; color: #fff; }
.cmp-track { height: 16px; margin-top: 8px; border-radius: 8px; background: rgba(237,241,249,.10); }
.cmp-bar { display: block; height: 100%; border-radius: inherit; background: #7f8ca3; }
.cmp-account .cmp-bar { background: var(--or); }
.cmp-n { max-width: calc(var(--pass) - 14px); margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--nt2); }
.article-body .cmp .appdata-note {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--nline2);
  font-size: 13px !important; line-height: 1.5; color: var(--nt2) !important;
}
.cmp-i { flex: none; margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .cmp-bar { animation: cmp-grow linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  }
}
@keyframes cmp-grow { from { clip-path: inset(0 100% 0 0 round 8px); } to { clip-path: inset(0 0 0 0 round 8px); } }
@container (max-width: 640px) {
  .cmp-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "msg" "chart" "cta" "note"; padding: 24px; }
  .cmp-chart { margin-top: 26px; }
  .cmp-pct { font-size: 21px; }
}

/* ── Body rhythm: answer lines, numbered sections, checklists, callouts, chips ── */
.a-page .u-prose > p.ans { font-size: 19px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.a-page .article-body { counter-reset: sec; }
.a-page .article-body > h2:not(.end) { margin-top: 64px; }
.a-page .article-body > h2:not(.end)::before {
  counter-increment: sec; content: counter(sec, decimal-leading-zero); content: counter(sec, decimal-leading-zero) / "";
  display: block; width: fit-content; margin-bottom: 10px; padding-left: 26px;
  background: linear-gradient(var(--or), var(--or)) left center / 18px 3px no-repeat;
  font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 1.2; color: var(--ink2);
}
.a-page .article-body > h2:first-child:not(.end), .a-page .article-body > script:first-child + h2 { margin-top: 0; }
/* lists as icon checklists */
.a-page .article-body ul:not([class]), .a-page .article-body ul.ticks, .a-page .article-body ul.crosses { list-style: none; padding-left: 0; }
.a-page .article-body ul:not([class]) > li, .a-page .article-body ul.ticks > li, .a-page .article-body ul.crosses > li { position: relative; padding-left: 30px; }
.a-page .article-body ul:not([class]) > li::before, .a-page .article-body ul.ticks > li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--gdim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2316a34a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.a-page .article-body ul.crosses > li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--bg3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7m0-7l-7 7' fill='none' stroke='%238aa0c0' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
/* what counts vs what does not, side by side */
.a-page .u-prose .count-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.count-card { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg); }
.count-card.is-yes { border-color: rgba(22,163,74,.28); background: linear-gradient(var(--gdim), var(--bg) 70%); }
.count-card.is-no { background: var(--bg2); }
.count-h { margin-bottom: 10px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.a-page .u-prose .count-card ul { margin: 0; }
.a-page .u-prose .count-card li { font-size: 15.5px; line-height: 1.5; }
/* rules with a hard number */
.a-callout { position: relative; padding: 14px 18px 14px 50px; border-radius: var(--r2); border: 1px solid var(--line); }
.a-callout::before { content: ""; position: absolute; left: 18px; top: 16px; width: 20px; height: 20px; background: center / contain no-repeat; }
.a-callout.is-warn { border-color: rgba(245,184,64,.55); background: rgba(245,184,64,.12); }
.a-callout.is-warn::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2.5l8 14.5H2z' fill='%23f5b840'/%3E%3Cpath d='M10 8v4.2M10 14.6v.1' stroke='%230f1f3d' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.a-callout.is-info { border-color: rgba(74,102,144,.25); background: var(--bg2); }
.a-callout.is-info::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8.5' fill='%234a6690'/%3E%3Cpath d='M10 9v5M10 6.2v.1' stroke='%23fff' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E"); }
.a-page .u-prose .a-callout p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
/* stat chips inside the fact tiles */
.chip {
  padding: 1px 6px; border: 1px solid var(--orline); border-radius: 6px; background: var(--ordim); -webkit-box-decoration-break: clone; box-decoration-break: clone;
  font-weight: 700; color: var(--ink); line-height: 1.45; white-space: nowrap; font-variant-numeric: tabular-nums;
}
/* tables: zebra rows; scrolling tables keep the first column in view on phones */
.a-page .u-prose tbody tr:nth-child(even) > * { background: var(--bg2); }

/* cost points (cost page): cards with a mono price tag */
.a-page .point {
  border: 1px solid var(--line); border-radius: var(--r2); padding: 20px 22px; background: var(--bg);
}
.a-page .u-prose .point h3 {
  margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px;
  font-size: 1.15rem;
}
.amt {
  font-family: var(--f-mono); font-size: 14px; font-weight: 600; letter-spacing: 0;
  color: var(--ink); background: var(--gdim); border: 1px solid rgba(22,163,74,.35);
  padding: 3px 9px; border-radius: 6px; white-space: nowrap;
}
.point p { font-size: 16px; line-height: 1.65; }
.point p + p { margin-top: 8px; }

/* checklist (online page) */
.a-page .u-prose ul.checklist { list-style: none; padding-left: 0; border-top: 1px solid var(--line); }
.a-page .u-prose ul.checklist > li {
  position: relative; margin: 0; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line);
  font-size: 16px; line-height: 1.6;
}
.checklist > li::before {
  content: "\2713"; position: absolute; left: 4px; top: 12px; color: var(--green); font-weight: 700;
}

/* FAQ rows, same look as .u-faq */
.a-page .u-prose > .faq-item + .faq-item { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
:not(.faq-item) + .faq-item { border-top: 1px solid var(--line); }
.faq-q { font-family: var(--f-body); font-weight: 700; font-size: 17px; line-height: 1.4; color: var(--ink); }
.faq-a { margin-top: 8px; font-size: 16px; line-height: 1.7; color: #24385c; }
.faq-a p { margin: 0; }
.faq-a strong { color: var(--ink); }

/* CTA: navy card with real buttons */
.a-page .cta {
  background: radial-gradient(700px 300px at 90% -20%, rgba(249,115,22,.16), transparent 60%), var(--nv);
  border: 1px solid var(--nline); border-radius: var(--r3); padding: clamp(28px, 4vw, 44px);
  color: var(--ntext); margin-top: 48px;
}
.a-page .u-prose .cta h2 {
  margin: 0 0 12px; padding: 0; border: 0; color: #fff;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
}
.a-page .cta p { color: var(--nt2); font-size: 16px; line-height: 1.65; max-width: 620px; }
.a-page .cta p strong { color: var(--ntext); }
.a-page .u-prose .cta p a { color: var(--ntext); text-decoration-color: var(--or); }
.tool-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.a-page .u-prose a.u-btn { text-decoration: none; }
.a-page .u-prose a.u-btn--pri, .a-page .u-prose a.u-btn--pri:hover { color: var(--nv); }
.a-page .cta .u-btn--sec { background: transparent; color: var(--ntext); border-color: var(--nline2); }
.a-page .cta .u-btn--sec:hover { color: #fff; border-color: var(--nt2); }

/* ── Quick check: 3 practice questions after the data section, the practice pages' option look ──
   tap to answer; the answer and explanation show at once; a result card follows the third answer.
   Logged-in visitors (head script, before paint) keep the check; their result button opens the dashboard. */
html.is-authed .cmp-sub { display: none; }
.a-page .u-prose .qc { margin-top: 40px; }
.qc-k { margin: 0 0 12px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.a-page .u-prose .qc-list { list-style: none; margin: 0; padding: 0; }
.a-page .u-prose .qc .pq-item {
  margin: 0; padding: clamp(18px, 3vw, 26px); border: 1px solid var(--line); border-radius: var(--r3); background: var(--bg);
  box-shadow: 0 1px 2px rgba(15,31,61,.04), 0 12px 32px rgba(15,31,61,.05); font-size: inherit; line-height: inherit;
}
.a-page .u-prose .qc .pq-item + .pq-item { margin-top: 12px; }
.a-page .u-prose .qc .pq-q { margin: 0 0 16px; font-size: 17.5px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.qc .pq-opts { display: flex; flex-direction: column; gap: 10px; margin: 0; counter-reset: pq-opt; }
.qc .pq-opt {
  counter-increment: pq-opt; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; margin: 0;
  padding: 10px 16px 10px 12px; text-align: left; background: var(--bg); color: var(--ink); border: 1.5px solid var(--line2);
  border-radius: var(--r2); font-family: var(--f-body); font-size: 16px; font-weight: 500; line-height: 1.45; cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.qc .pq-opt::before {
  content: counter(pq-opt, upper-alpha); flex: 0 0 30px; width: 30px; height: 30px; border-radius: var(--r);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 14px; font-weight: 600;
  color: var(--ink2); background: var(--bg2) center / 14px 14px no-repeat; border: 1.5px solid var(--line2);
}
.qc .pq-opt:hover:not(.pq-locked) { border-color: var(--or); box-shadow: 0 4px 14px rgba(15,31,61,.06); }
.qc .pq-opt:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.qc .pq-opt.pq-locked { cursor: default; }
.qc .pq-opt.pq-locked:not(.pq-correct):not(.pq-wrong) { color: var(--ink2); }
.qc .pq-opt.pq-correct { border-color: var(--green); background: var(--gdim); color: var(--ink); }
.qc .pq-opt.pq-correct::before {
  content: ""; border-color: var(--green); background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.qc .pq-opt.pq-wrong { border-color: var(--red); background: var(--rdim); color: var(--ink); }
.qc .pq-opt.pq-wrong::before {
  content: ""; border-color: var(--red); background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.qc .pq-answer { margin-top: 16px; padding: 14px 16px; background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 0 var(--r2) var(--r2) 0; }
.a-page .u-prose .qc .pq-a { margin: 0 0 6px; font-size: 16px; font-weight: 600; line-height: 1.55; color: var(--ink); }
.qc .pq-a span { margin-right: 4px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.a-page .u-prose .qc .pq-e { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.a-page .u-prose .qc .pq-a { margin-bottom: 0; }
/* the explanation waits behind "Why?" so an answered check stays short */
.qc .pq-why { margin-top: 6px; }
.qc .pq-why > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; list-style: none;
  font-size: 14.5px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 3px;
}
.qc .pq-why > summary::-webkit-details-marker { display: none; }
.qc .pq-why > summary::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid var(--ink2); border-bottom: 2px solid var(--ink2); transform: rotate(45deg);
}
.qc .pq-why[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
.qc .pq-why > summary:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; border-radius: 4px; }
/* result card: the score, then core-result's account card (free-tier list only) */
.qc-result { margin-top: 14px; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--orline); border-radius: var(--r3); background: var(--ordim); }
.a-page .u-prose .qc-score { margin: 0; font-family: var(--f-head); font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.qc-score b { color: var(--or2); font-size: 30px; }
.a-page .u-prose .qc-acct-h { margin: 8px 0 0; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.a-page .u-prose .qc-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 14px 0 0; padding: 0; list-style: none; }
.a-page .u-prose .qc-feats li { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 0; font-size: 14.5px; line-height: 1.45; color: #24385c; }
.a-page .u-prose .qc-feats li::before { content: none; }
.qc-feats svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--or2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qc-feats b { color: var(--ink); }
.qc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; }
.a-page .u-prose .qc-full { font-size: 15px; }

/* ── Tablet and below: one column. The aside dissolves so its TOC can sit
   above the article (LAUNCH-SPEC §5 order). ── */
@media (max-width: 960px) {
  .layout, .article-grid { display: flex; flex-direction: column; align-items: stretch; }
  .layout > aside, .article-grid > aside { display: contents; }
  .layout > :not(aside), .article-grid > :not(aside) { order: 2; }
  .layout > aside > .toc, .article-grid > aside > .toc {
    order: 1; position: static; max-height: none; overflow: visible; margin-bottom: 32px; background: var(--bg2);
  }
  .toc-side-dup { display: none; }
  .toc-inline, .toc-mobile { display: block; background: var(--bg2); margin-bottom: 32px; }
  .toc-inline ul, .toc-mobile ul, .layout > aside > .toc ul, .article-grid > aside > .toc ul {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px;
  }
  .toc li a, .toc li:first-child a, .toc-inline li a, .toc-mobile li a { border-top: 1px solid var(--line); }
  .appdata { grid-template-columns: minmax(0, 1fr); }
  .appdata-label, .appdata > p { grid-column: 1; grid-row: auto; }
  .appdata-label { margin-bottom: 10px; }
}
@media (max-width: 640px) {
  /* byline: one fact per line, so no separator starts a line */
  .a-hero .byline { flex-direction: column; align-items: flex-start; gap: 2px; }
  .a-hero .byline > [aria-hidden] { display: none; }
  .tldr ul, .quick-facts ul { columns: 1; }
  .a-body > .tldr, .a-body > .quick-facts { padding: 22px 20px 16px; }
  .a-page .u-prose ul.a-links { grid-template-columns: minmax(0, 1fr); }
  .toc-inline ul, .toc-mobile ul, .layout > aside > .toc ul, .article-grid > aside > .toc ul { grid-template-columns: minmax(0, 1fr); }
  .a-page .u-prose > p, .a-page .u-prose > ul > li, .a-page .u-prose > ol > li { font-size: 16px; }
  .step-list > li { padding-left: 52px; }
  .step-list > li::before { width: 38px; height: 38px; }
  .step-list > li::after { left: 18px; top: 48px; }
  .a-page .u-prose table { font-size: 14px; }
  .a-page .u-prose th, .a-page .u-prose td { padding: 10px 12px; }
  .tool-grid .u-btn { width: 100%; }
  .appdata { padding: 18px 18px; }
  .a-page .u-prose .type-grid, .a-page .u-prose ul.num-cards, .a-page .u-prose .count-grid { grid-template-columns: minmax(0, 1fr); }
  .a-page .u-prose > p.ans { font-size: 18px; }
  .a-page .u-prose .qc-feats { grid-template-columns: minmax(0, 1fr); }
  /* phones: tighter quick-check options, so three answered questions stay short */
  .a-page .u-prose .qc .pq-item { padding: 16px; }
  .a-page .u-prose .qc .pq-q { margin-bottom: 12px; font-size: 16.5px; }
  .qc .pq-opts { gap: 8px; }
  .qc .pq-opt { min-height: 44px; padding: 8px 12px 8px 10px; gap: 10px; font-size: 15px; line-height: 1.4; }
  .qc .pq-opt::before { flex-basis: 26px; width: 26px; height: 26px; font-size: 13px; }
  .qc .pq-answer { margin-top: 12px; padding: 12px 14px; }
  .qc-acts .u-btn { width: 100%; }
  .a-page .table-wrap:not(.fit):not(.prov) :is(th, td):first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); box-shadow: 1px 0 0 var(--line); }
  .a-page .table-wrap:not(.fit):not(.prov) thead :is(th, td):first-child { background: var(--bg2); }
  .a-page .table-wrap:not(.fit):not(.prov) tbody tr:nth-child(even) > :first-child { background: var(--bg2); }
  .step-card { padding: 18px; }
  /* fee tables as provider cards: organization, the fee figure large, then labelled lines */
  .a-page .table-wrap.prov { overflow: visible; border: 0; border-radius: 0; background: none; }
  .a-page .prov table, .prov tbody, .prov tr, .prov td { display: block; min-width: 0; }
  .prov thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prov tr { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg); }
  .prov tr + tr { margin-top: 10px; }
  .a-page .u-prose .prov td { padding: 0; border: 0; background: none; }
  .prov td.prov-org { font-size: 16px; font-weight: 700; color: var(--ink); }
  .prov td.prov-fee { margin-top: 2px; color: var(--ink); }
  .prov .fee-n { display: block; font-family: var(--f-head); font-size: 30px; font-weight: 700; line-height: 1.15; }
  .prov td[data-label] { margin-top: 8px; }
  .prov td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink2); }
}
@media (max-width: 480px) {
  /* one column; the label runs into its value so ten tiles stay short */
  .quick-facts ul, .tldr ul.tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .quick-facts li, .tldr ul.tiles li { padding: 10px 12px; }
  .quick-facts li strong, .tldr ul.tiles li strong { display: inline; margin: 0 4px 0 0; }
}
