*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: var(--type-body)/1.55 var(--sans); color: var(--ink); background: var(--paper); overflow-x: clip; }
main { flex: 1; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 400; color: var(--ink); }
h1 { font-size: var(--type-title); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
h2 { font-size: var(--type-heading); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.02em; }
p { color: var(--muted); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
strong, b { font-weight: 700; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: 1.25rem; }
summary { cursor: pointer; }

.frame { width: min(var(--frame-width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.content-narrow { max-width: 44rem; }
.section-pad { padding-block: var(--space-section); }
.compact-top { padding-top: 0; }
.lead { max-width: 34rem; font-size: var(--type-lead); line-height: 1.55; color: var(--ink); }
.eyebrow, .micro-label, .field-label { color: var(--muted); font-size: var(--type-label); letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3 { margin-top: .6rem; }
.icon { display: inline-block; width: 1.125rem; height: 1.125rem; flex: none; vertical-align: middle; }
.mono { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tinted-section { border-top: 1px solid var(--line-strong); }
.rule { height: 1px; background: var(--line-strong); border: 0; margin: 0; }

.skip-link { position: fixed; z-index: 100; top: .75rem; left: 1rem; transform: translateY(-180%); padding: .55rem .85rem; background: var(--paper); border: 1px solid var(--ink); }
.skip-link:focus { transform: none; }

/* Header */
.site-header { height: var(--header-height); position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line-strong); }
.header-row { height: 100%; display: flex; align-items: center; gap: 1.875rem; }
.brand-link { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.brand { display: block; height: 1.5rem; width: auto; flex: none; }
.brand-tile { fill: var(--brand-tile); }
.brand-tick { stroke: var(--paper); }
.brand-word, .brand-score { fill: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 1.875rem; margin-right: auto; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.main-nav a, .header-actions > a:not(.button), .mobile-nav nav > a:not(.button) { color: var(--ink); text-decoration: none; font-size: .875rem; padding-block: .25rem; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .18s ease-out; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current], .main-nav a.section-current, .header-actions > a:not(.button):hover { background-size: 100% 1px; }
.header-actions .button { min-height: 2.25rem; padding: .5rem .75rem; }
.mobile-nav { display: none; }

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.button { min-height: 2.75rem; padding: .8rem 1rem; display: inline-flex; justify-content: center; align-items: center; border: 1px solid transparent; border-radius: 0; font: 400 .8125rem/1 var(--sans); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, transform .08s; }
.button:active { transform: translateY(1px); }
.button-primary { color: var(--paper); background: var(--accent); border-color: var(--accent); }
.button-primary:hover { color: var(--paper); background: var(--accent-dark); border-color: var(--accent-dark); }
.button-secondary { color: var(--ink); background: var(--paper); border-color: #252525; }
.button-secondary:hover { color: var(--paper); background: #171717; }
.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.button-light:hover { color: var(--paper); background: transparent; }
.button:disabled { color: var(--subtle); background: var(--panel); border-color: var(--line); cursor: default; }
.button[hidden] { display: none; }
.text-link { display: inline-flex; align-items: center; gap: .375rem; color: var(--accent); font-size: .8125rem; text-decoration: none; }
.text-link:hover { color: var(--accent-dark); }
.text-link:hover { text-decoration: underline; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Homepage */
.home-hero { padding-top: clamp(3.5rem, 9vw, 6rem); }
.home-hero h1 { max-width: 11ch; font-size: var(--type-display); line-height: 1.1; letter-spacing: -.045em; }
.home-hero .lead { margin-top: 1.625rem; font-size: .875rem; line-height: 1.5; }
.home-hero .button-row { margin-top: 1.5rem; }
.specimen { margin-top: 3rem; }
.offset-rule { height: 1px; background: #333; margin: 0 0 0 max(var(--gutter), calc((100% - var(--frame-width)) / 2 + 12.4rem)); }
.home-section { padding-top: clamp(4.5rem, 10vw, 6.75rem); }
.home-section > .frame > h2 + .lead, .home-section h2 + .lead { margin-top: 1rem; color: var(--muted); font-size: .9375rem; line-height: 1.53; }
.home-section .offset-rule + .frame { margin-top: 2rem; }

.steps { margin-top: 3.25rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; list-style: none; padding: 0; }
.steps > li { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.step-num { display: block; margin-bottom: .875rem; color: var(--accent); font-size: .75rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.375rem; line-height: 1.23; letter-spacing: -.02em; }
.steps p { margin-top: .875rem; font-size: .875rem; line-height: 1.57; }
.specs { margin-top: 1.5rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.specs li { padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .75rem; line-height: 1.5; }

.role-tiles { margin-top: 2.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.role-tile { display: flex; flex-direction: column; padding: 1.5rem 1.375rem; border: 1px solid var(--card-border); border-top-color: var(--line-strong); background: var(--paper); transition: border-color .18s, background-color .18s; }
.role-tile:hover { border-color: var(--line-strong); background: var(--pale); }
.role-tile-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.role-tile h3 { font-size: 1.25rem; line-height: 1.25; }
.role-tile h3 a { color: var(--ink); text-decoration: none; }
.role-tile h3 a:hover { text-decoration: underline; }
.tag { flex: none; padding: .1875rem .375rem; border: 1px solid var(--band-line); background: var(--band-fill); color: var(--muted); font-size: var(--type-label); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.role-tile .field-label { margin-top: 1.125rem; }
.role-tile p:not(.field-label) { margin-top: .375rem; color: var(--ink); font-size: .875rem; line-height: 1.5; }
.role-tile-foot { margin-top: auto; padding-top: .875rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; }
.role-tile p:last-of-type { margin-bottom: 1.375rem; }
.role-tiles .role-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }

.price-cards { margin-top: 2.75rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; }
.price-card { display: flex; flex-direction: column; min-height: 20rem; padding: 1.4375rem 1.25rem; border: 1px solid var(--card-border); border-top-color: #ddd; transition: border-color .2s; }
.price-card:hover { border-color: var(--line-strong); }
.price-card h3 { font-size: 1.125rem; }
.price-card ul { margin-top: 1.375rem; padding-left: 1.125rem; color: var(--ink); font-size: .9375rem; line-height: 1.67; }
.price-card .price-foot { margin-top: auto; padding-top: 1.75rem; }
.price { display: block; color: var(--ink); font-size: 1.75rem; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-foot p { margin-top: .375rem; font-size: .75rem; line-height: 1.5; }
.assurances { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.assurances h3 { font-size: .9375rem; font-weight: 700; letter-spacing: 0; }
.assurances p { margin-top: .375rem; font-size: .8125rem; line-height: 1.54; }
.home-section .section-more { margin-top: 1.5rem; font-size: .875rem; }

.employer-band { margin-top: clamp(4.5rem, 10vw, 6rem); padding-block: 4.75rem; border-block: 1px solid var(--line-strong); }
.employer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 25.625rem); gap: 2.5rem; align-items: center; }
.employer-grid > div > p { margin-top: 1.25rem; max-width: 27.5rem; color: var(--ink); font-size: .9375rem; line-height: 1.53; }
.employer-grid .button-row { margin-top: 1.5rem; }
.status-panel { padding: 1.5rem; border: 1px solid var(--line-strong); outline: 5px solid #eee; background: var(--paper); }
.status-panel-head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .875rem; border-bottom: 1px solid var(--line); }
.status-panel-head span:first-child { font-size: var(--type-label); letter-spacing: .08em; text-transform: uppercase; }
.status-panel-head span:last-child { color: var(--muted); font-size: .75rem; }
.status-grid { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
.status-grid > div { padding: .625rem .75rem; border: 1px solid var(--line); background: var(--pale); }
.status-grid > div:first-child { border-color: var(--valid-line); background: var(--valid-fill); }
.status-grid dt { display: flex; align-items: center; gap: .4375rem; font-size: .8125rem; font-weight: 700; }
.status-grid dt::before { content: ""; width: .5rem; height: .5rem; background: var(--subtle); }
.status-grid [data-status="valid"] dt { color: var(--valid-ink); }
.status-grid [data-status="valid"] dt::before { background: var(--valid-ink); }
.status-grid [data-status="expired"] dt { color: var(--expired-ink); }
.status-grid [data-status="expired"] dt::before { background: #b7862b; }
.status-grid [data-status="revoked"] dt { color: var(--error-ink); }
.status-grid [data-status="revoked"] dt::before { background: #b3424c; }
.status-grid dd { margin-top: .1875rem; color: var(--muted); font-size: .6875rem; line-height: 1.45; }

.point-grid { margin-top: 2.75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.75rem; }
.point-grid > div { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.point-grid h3 { font-size: 1.125rem; line-height: 1.33; }
.point-grid p { margin-top: .625rem; font-size: .875rem; line-height: 1.57; }

.closing { margin-top: clamp(4.5rem, 10vw, 6rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4.5vw, 2.75rem); background: var(--panel); border: 1px solid var(--line-strong); }
.closing h2 { font-size: 2rem; line-height: 1.19; letter-spacing: -.03em; }
.closing p { margin-top: .75rem; max-width: 30rem; font-size: .875rem; line-height: 1.5; }

/* Certificate specimen */
.credential-stage.spec-specimen { display: grid; grid-template-columns: minmax(0, 1fr) 7.75rem; gap: 1rem; align-items: start; }
.credential-stage.spec-specimen.no-modules { grid-template-columns: minmax(0, 1fr); }
.spec-frame { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: clamp(1.5rem, 5vw, 3rem) clamp(1.5rem, 5.5vw, 3.5rem); border: 1px solid var(--subtle); background: var(--paper); }
.spec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; }
.spec-head-left { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.spec-head .brand { height: 1.125rem; }
.spec-kind { font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; }
.spec-status { padding: .25rem .5rem; border: 1px solid var(--valid-line); color: var(--valid-ink); background: var(--valid-fill); font-size: .625rem; letter-spacing: .06em; text-transform: uppercase; }
.spec-body { display: grid; grid-template-columns: minmax(0, 1fr) 5rem; gap: 1.5rem; align-items: start; }
.spec-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.spec-fields .wide { grid-column: 1 / -1; }
.spec-fields dt { margin-bottom: .25rem; color: var(--muted); font-size: .5625rem; letter-spacing: .08em; text-transform: uppercase; }
.spec-fields dd { color: var(--ink); font-size: .9375rem; line-height: 1.3; overflow-wrap: anywhere; }
.spec-fields .spec-name { font-size: 1.25rem; letter-spacing: -.03em; }
.spec-fields .spec-small { font-size: .8125rem; }
.spec-fields dd a { text-decoration: none; }
.spec-fields dd a:hover { text-decoration: underline; }
.spec-qr { width: 5rem; height: 5rem; }
.spec-score { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--panel); }
.spec-score > span { padding-top: .375rem; font-size: .5625rem; letter-spacing: .08em; text-transform: uppercase; }
.spec-score-value { display: grid; justify-items: end; }
.spec-score-value p { display: flex; align-items: baseline; gap: .75rem; color: var(--ink); }
.spec-score-value strong { font-size: clamp(3.25rem, 9vw, 5rem); line-height: .9; font-weight: 400; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.spec-score-value small { font-size: .8125rem; }
.spec-score-value .band-chip { margin-top: .75rem; }
.spec-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.spec-foot p { font-size: .6875rem; }
.spec-modules { list-style: none; padding: 0; border-top: 1px solid #444; }
.spec-modules li { padding: .625rem .5rem; border-bottom: 1px solid var(--line-strong); }
.spec-modules span { display: block; color: var(--ink); font-size: .8125rem; line-height: 1.25; }
.spec-modules div { margin-top: .25rem; display: flex; align-items: baseline; justify-content: space-between; }
.spec-modules strong { font-size: .875rem; font-variant-numeric: tabular-nums; }
.spec-modules small { color: var(--muted); font-size: .5625rem; }

/* Inner pages */
.trust-strip { border-block: 1px solid var(--line-strong); }
.trust-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-items a { min-height: 3.75rem; padding: var(--space-3) var(--space-2); display: flex; align-items: center; justify-content: center; gap: .6rem; text-decoration: none; }
.trust-items a + a { border-left: 1px solid var(--line); }
.trust-items a:hover { background: var(--pale); }
.trust-items a:focus-visible { outline-offset: -4px; }
.trust-items a, .fact-items > span, .intro-note { color: var(--ink); font-size: .875rem; }
.trust-items .icon, .fact-items .icon, .intro-note .icon { color: var(--muted); }
.fact-items { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2.25rem; padding-block: 1rem; }
.fact-items > span, .intro-note { display: inline-flex; align-items: center; gap: .6rem; }

.credential-stage { display: block; align-self: start; }
.certificate-qr { width: 3.8rem; height: 3.8rem; flex: none; }

.page-intro { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--line-strong); }
.page-intro h1 { max-width: 18ch; }
.page-intro .lead { margin-top: 1.25rem; }
.page-intro .button-row { margin-top: 1.5rem; }
.breadcrumbs { font-size: .8125rem; color: var(--subtle); margin-bottom: 1.5rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; display: inline-block; padding-inline: .5rem; color: var(--subtle); }
.fact-strip { border-bottom: 1px solid var(--line); }
.fact-items > span { color: var(--muted); }
.fact-items strong { color: var(--ink); font-weight: 400; }
.intro-note { margin-bottom: 1.5rem; color: var(--muted); }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: var(--space-6); }
.section-heading p:not(.eyebrow), .split-section h2 + p, .split-section > div > p + p { margin-top: .875rem; }
.split-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.5rem, 6vw, 4.5rem); }
.split-section h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); }
.split-section h3 + .band-table { margin-top: .75rem; }
.section-link { margin-top: 1.5rem; font-size: .875rem; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; padding: 0; list-style: none; }
.step-grid li { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.step-number, .process-list li::before { display: block; color: var(--accent); font-size: .75rem; letter-spacing: .06em; margin-bottom: .875rem; }
.step-grid p, .module-card p, .role-card > p, .guide-row h2 + p, .info-card h2 + p { margin-top: .625rem; font-size: .875rem; }

.tile-icon { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; color: var(--ink); border: 1px solid var(--line); }
.tile-icon .icon { width: 1.125rem; height: 1.125rem; }
.pill { display: inline-flex; flex: none; align-items: center; gap: .35rem; padding: .1875rem .375rem; background: var(--band-fill); border: 1px solid var(--band-line); color: var(--muted); font-size: var(--type-label); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.pill .icon { width: .875rem; height: .875rem; }
.role-grid, .module-grid, .plan-grid, .workspace-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.role-card, .module-card, .plan-card, .info-card, .task-card, .example-card, .record-card, .auth-card { border: 1px solid var(--card-border); border-top-color: var(--line-strong); background: var(--paper); padding: clamp(1.25rem, 2.6vw, 1.5rem) clamp(1.125rem, 2.4vw, 1.375rem); }
.role-card { display: flex; flex-direction: column; transition: border-color .18s, background-color .18s; }
.role-card:hover { border-color: var(--line-strong); background: var(--pale); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.role-card h2, .guide-row h2 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; text-wrap: initial; }
.role-card h2 a, .guide-row h2 a { color: var(--ink); text-decoration: none; }
.role-card h2 a:hover, .guide-row h2 a:hover { text-decoration: underline; }
.module-tags { display: flex; flex-wrap: wrap; gap: .375rem; list-style: none; padding: 0; margin-block: 1rem; }
.module-tags li { font-size: .75rem; padding: .125rem .375rem; border: 1px solid var(--line); color: var(--muted); }
.role-card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-top: auto; padding-top: .875rem; border-top: 1px solid var(--line); }
.role-card-bottom span, .role-card-bottom strong { display: block; }
.role-card-bottom span { color: var(--muted); font-size: .75rem; }
.role-card-bottom strong { font-size: 1.25rem; font-weight: 400; letter-spacing: -.02em; }
.module-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.weight { display: inline-block; margin-bottom: .75rem; color: var(--ink); font-size: 2rem; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

.task-card h3, .example-card h3, .record-card h3 { font-size: 1.125rem; }
.record-card h3 { margin-top: 1.5rem; }
.record-card h3 + .score-bars, .record-card h3 + p { margin-top: .75rem; }
.task-card h3 + p, .example-card h3 + p { margin-top: .625rem; }
.task-disclosure { margin-top: 1rem; border-top: 1px solid var(--line); }
.task-disclosure summary, .faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; list-style: none; color: var(--ink); }
.task-disclosure summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker, .mobile-nav summary::-webkit-details-marker { display: none; }
.task-disclosure summary { min-height: 2.75rem; padding-top: .375rem; font-size: .9375rem; }
.task-disclosure p { padding-top: .25rem; }
.disclosure-mark { display: inline-grid; place-items: center; position: relative; width: 1.25rem; height: 1.25rem; color: var(--ink); flex: none; transition: transform .2s; }
.disclosure-mark::before, .disclosure-mark::after { content: ""; position: absolute; width: .75rem; height: 1px; background: currentColor; }
.disclosure-mark::after { transform: rotate(90deg); }
details[open] > summary .disclosure-mark { transform: rotate(45deg); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.375rem 0; font-size: 1.0625rem; line-height: 1.4; }
.faq-list summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.faq-list p { max-width: 42.5rem; padding: 0 2.25rem 1.375rem 0; font-size: .875rem; line-height: 1.57; }

.band-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-strong); font-size: .875rem; }
.band-table th, .band-table td { padding: .75rem .75rem .75rem 0; text-align: left; vertical-align: top; font-weight: 400; }
.band-table thead th { color: var(--muted); font-size: var(--type-label); letter-spacing: .08em; text-transform: uppercase; }
.band-table tbody tr > * { border-top: 1px solid var(--line); }
.band-table tr td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.band-table tbody td:last-child { color: var(--muted); }
.calculation { margin-top: .875rem; }
.calculation div { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding-block: .625rem; border-top: 1px solid var(--line); font-size: .875rem; }
.calculation dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-total { border-top-color: var(--line-strong) !important; font-weight: 700; }
.process-list { list-style: none; counter-reset: grade-step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; padding: 0; }
.process-list li { counter-increment: grade-step; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.process-list li::before { content: counter(grade-step, decimal-leading-zero); }
.process-list h3 { font-size: 1.125rem; }
.process-list h3 + p { margin-top: .5rem; font-size: .875rem; }
.short-list { padding-left: 1.25rem; margin-top: .875rem; color: var(--muted); }
.short-list li + li { margin-top: .5rem; }
.prose h3 { font-size: 1.125rem; }
.prose h3 + p { margin-top: .375rem; }
.prose p + p, .prose p + h3 { margin-top: .875rem; }
.prose-section { padding: 1.5rem 0; border-top: 1px solid var(--line-strong); }
.prose-section:first-child { padding-top: 1.5rem; }
.prose-section h2 { font-size: clamp(1.375rem, 3vw, 1.75rem); }
.prose-section h2 + p { margin-top: .625rem; }
.prose-section + .notice { margin-top: 1.5rem; }
.notice + .prose-section { margin-top: .75rem; }
.legal-contents { padding: .25rem 0 1.5rem; }
.legal-inventory { margin-top: 1rem; }
.legal-inventory dt { font-weight: 700; overflow-wrap: anywhere; }
.legal-inventory dd { margin: .25rem 0 0; }
.legal-inventory dd + dt { margin-top: .875rem; }

.pricing-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: center; gap: 1.5rem; padding: clamp(1.5rem, 4.5vw, 3rem) clamp(1.5rem, 4.5vw, 2.75rem); background: var(--panel); border: 1px solid var(--line-strong); }
.pricing-teaser h2 + p { margin-top: .625rem; }
.pricing-teaser-action .button { margin-top: .75rem; }
.price-inline { white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; }
.plan-card { display: flex; flex-direction: column; align-items: flex-start; border-top-color: #ddd; transition: border-color .2s; }
.plan-card:hover { border-color: var(--line-strong); }
.plan-card h2 { font-size: 1.125rem; line-height: 1.3; letter-spacing: 0; }
.plan-card h2 + p { margin-top: .5rem; font-size: .875rem; }
.plan-accent { border-color: var(--line-strong); }
.plan-price { margin-block: 1.25rem; color: var(--ink); font-size: 1.75rem; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--subtle); font-size: .875rem; letter-spacing: 0; }
.check-list { list-style: none; padding: 0; margin-bottom: 1.5rem; border-top: 1px solid var(--line); width: 100%; }
.check-list li { display: flex; align-items: baseline; gap: .5rem; padding-block: .5rem; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .8125rem; }
.check-list .icon { width: .875rem; height: .875rem; color: var(--ink); align-self: center; }
.plan-card .button { margin-top: auto; }

.sample-list, .guide-list { border-top: 1px solid var(--line-strong); }
.sample-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 13rem) auto; align-items: center; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.guide-row { border-bottom: 1px solid var(--line); }
.sample-role, .sample-score { display: flex; align-items: center; gap: .875rem; }
.sample-role h2 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.02em; text-wrap: initial; }
.sample-role p { font-size: .875rem; }
.sample-score b { color: var(--ink); font-size: 1.75rem; font-weight: 400; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sample-score b span { color: var(--muted); font-size: .8125rem; letter-spacing: 0; }
.verify-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 1rem; align-items: start; }
.record-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.record-head h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.record-facts { margin-block: 1rem 0; }
.record-facts div { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: .75rem; padding-block: .5rem; border-top: 1px solid var(--line); font-size: .875rem; }
.record-facts dt, .field-hint { color: var(--muted); }
.score-list { list-style: none; padding: 0; margin-top: .625rem; }
.score-list li + li { margin-top: .625rem; }
.score-list li div { display: flex; gap: .5rem; justify-content: space-between; }
.score-list strong { white-space: nowrap; }
meter { display: block; width: 100%; height: .3125rem; -webkit-appearance: none; appearance: none; background: #eee; border: 0; }
meter::-webkit-meter-bar { height: .3125rem; border: 0; border-radius: 0; background: #eee; }
meter::-webkit-meter-optimum-value, meter::-webkit-meter-suboptimum-value, meter::-webkit-meter-even-less-good-value { border-radius: 0; background: var(--accent); }
meter::-moz-meter-bar { border-radius: 0; background: var(--accent); }
.record-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.5rem; font-size: .875rem; }
.verify-form { margin-top: .875rem; }
.form-row { display: flex; align-items: stretch; gap: .5rem; margin-top: .375rem; }
.form-row > input { flex: 1; min-width: 0; }
input { min-height: 2.75rem; padding: .5rem .75rem; color: var(--ink); background: var(--paper); border: 1px solid var(--control-border); border-radius: 0; }
input:focus-visible { outline-offset: 0; }
input:disabled { background: var(--pale); color: var(--subtle); }
label { font-size: .875rem; font-weight: 700; }
.field-hint, .field-error { margin-top: .5rem; font-size: .8125rem; }
.field-error { color: var(--error-ink); font-weight: 700; }

.guide-row { display: flex; gap: 1rem; padding: 1.25rem 0; align-items: flex-start; }
.guide-row h2 { margin-top: .25rem; }
.article-action { margin-top: 1.5rem; }
.narrow-grid { display: grid; gap: .75rem; max-width: 50rem; }
.info-card h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
.info-card p + p { margin-top: .5rem; }
.notice { padding: .875rem 1rem; border: 1px solid var(--line); border-left: 2px solid var(--line-strong); background: var(--pale); }
.notice strong { color: var(--ink); }
.notice p + p { margin-top: .25rem; }

.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; gap: clamp(1.5rem, 6vw, 4.5rem); }
.auth-layout .eyebrow { margin-top: .5rem; }
.auth-layout h1 + p { margin-top: 1rem; }
.auth-layout .lead + p { margin-top: .75rem; }
.auth-card h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.auth-card h2 + p { margin-top: .5rem; }
.auth-card .notice { margin-block: 1rem; }
.auth-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: .5rem; }
.auth-card > .button { width: 100%; }
.auth-divider { display: flex; align-items: center; gap: .75rem; margin-block: .75rem; text-align: center; color: var(--subtle); font-size: .8125rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.workspace-grid { margin-top: 1rem; }
.access-panel { display: flex; align-items: flex-start; gap: 1rem; padding: clamp(1rem, 2.5vw, 1.5rem); border: 1px solid var(--card-border); border-top-color: var(--line-strong); }
.access-panel > div { flex: 1; min-width: 0; }
.access-panel h2 { font-size: 1.125rem; line-height: 1.4; letter-spacing: -.01em; }
.access-panel h2 + p { margin-top: .375rem; }
.resource-id { margin-top: .375rem; font-size: .8125rem; }
.integration-slot .button-row { margin-top: .875rem; }

/* Footer */
.site-footer { margin-top: clamp(4rem, 9vw, 5.5rem); padding-bottom: 2.5rem; }
.footer-rule { height: 1px; background: var(--line-strong); margin-left: max(var(--gutter), calc((100% - var(--frame-width)) / 2 + 9.625rem)); }
.footer-layout { padding-top: 1.5625rem; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; }
.footer-group h2 { margin-bottom: .8125rem; font-size: .875rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.footer-group a { color: var(--ink); text-decoration: none; font-size: .8125rem; line-height: 1.75rem; }
.footer-group a:hover { text-decoration: underline; }
.footer-legal { margin-top: clamp(3.5rem, 8vw, 5rem); padding-top: 1.25rem; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; font-size: .6875rem; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

@media (max-width: 65rem) {
  .main-nav, .header-actions { display: none; }
  .header-row { justify-content: space-between; }
  .mobile-nav { display: block; }
  .mobile-nav > summary { min-height: 2.75rem; display: flex; gap: .4rem; align-items: center; list-style: none; padding-inline: .75rem; border: 1px solid var(--line-strong); font-size: .875rem; }
  .mobile-nav[open] nav { position: absolute; inset: calc(100% + 1px) 0 auto; background: var(--paper); border-bottom: 1px solid var(--line-strong); padding: .75rem var(--gutter) 1rem; display: grid; gap: .25rem; max-height: calc(100dvh - var(--header-height)); overflow: auto; }
  .mobile-nav nav > a:not(.button) { display: flex; align-items: center; min-height: 2.75rem; padding: .25rem 0; background: none; border-bottom: 1px solid var(--line); }
  .mobile-nav nav > a[aria-current], .mobile-nav nav > a.section-current { font-weight: 700; }
  .mobile-nav nav .button { justify-self: start; margin-top: .5rem; }
  .sample-row { grid-template-columns: minmax(0, 1fr) minmax(0, 11rem) auto; }
}

@media (max-width: 51.25rem) {
  .home-hero h1 { font-size: 3rem; letter-spacing: -.04em; }
  .split-section, .verify-layout, .auth-layout, .employer-grid { grid-template-columns: minmax(0, 1fr); }
  .credential-stage.spec-specimen, .spec-body { grid-template-columns: minmax(0, 1fr); }
  .spec-modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spec-modules li { border-right: 1px solid var(--line-strong); }
  .spec-modules li:last-child { border-right: 0; }
  .steps, .role-tiles, .price-cards, .assurances, .point-grid, .step-grid { grid-template-columns: minmax(0, 1fr); }
  .role-tiles .role-tile:last-child:nth-child(odd) { grid-column: auto; }
  .price-card { min-height: 0; }
  .trust-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-items a:nth-child(odd) { border-left: none; }
  .trust-items a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .role-grid, .module-grid, .plan-grid, .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sample-row { grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 1rem; }
  .sample-score { justify-content: flex-end; flex-wrap: wrap; }
  .sample-row > .button { grid-column: 1 / -1; justify-self: start; }
  .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offset-rule, .footer-rule { margin-left: var(--gutter); }
}

@media (max-width: 36rem) {
  :root { --header-height: 4rem; }
  .home-hero h1 { font-size: 2.5rem; }
  .spec-fields { grid-template-columns: minmax(0, 1fr); }
  .spec-modules, .status-grid { grid-template-columns: minmax(0, 1fr); }
  .spec-modules li { border-right: 0; }
  .spec-score { padding: 1rem; }
  .fact-items { display: grid; gap: .5rem; padding-block: .875rem; }
  .trust-items a { min-height: 3.5rem; justify-content: flex-start; font-size: .8125rem; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .role-grid, .module-grid, .plan-grid, .process-list, .workspace-grid, .pricing-teaser { grid-template-columns: minmax(0, 1fr); }
  .form-row { flex-direction: column; align-items: stretch; }
  .sample-row { grid-template-columns: minmax(0, 1fr); }
  .sample-score { justify-content: flex-start; }
  .access-panel { flex-wrap: wrap; }
  .band-table th, .band-table td { padding: .5rem .5rem .5rem 0; font-size: .8125rem; overflow-wrap: anywhere; }
  .closing h2 { font-size: 1.625rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
