@font-face { font-family: "Montserrat"; src: url("/assets/fonts/Montserrat-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --navy: #0C2240; --navy-2: #13305A; --saffron: #F29B18; --saffron-dark: #D9860A; --cream: #F7F3EA; --cream-2: #FBF8F1; --white: #fff;
  --ink: #0C2240; --ink-soft: #33435E; --line: #E2D9C6; --line-2: #EFE8DA; --ok: #1E6B3A; --ok-bg: #E3F3E8; --bad: #A12A1C; --bad-bg: #FBE9E6; --amber-bg: #FFF1D6; --amber: #7A4D00;
  --radius: 10px; --radius-sm: 6px; --shadow: 0 4px 18px rgb(12 34 64 / 0.08); --wrap: 1160px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: pretty; }
/* balance only centred headings: a balanced left-aligned heading breaks early and reads as misaligned */
.center :is(h1, h2, h3), .result-card :is(h1, h2, h3) { text-wrap: balance; }
/* a heading whose last words are glued together: pretty would pull a word down early to keep them company */
.wrap-plain { text-wrap: wrap; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-weight: 700; }
h3 { font-size: 1.1875rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 1.1rem; height: 1.1rem; }
.icon-lg { width: 2.25rem; height: 2.25rem; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 40rem; }
.block { padding-block: 2.5rem 3.5rem; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
main:focus { outline: none; }
.muted { color: var(--ink-soft); }
.small { font-size: .9375rem; }
.center { text-align: center; }
/* a standalone text link (not in running text) keeps a 24px+ tap target (WCAG 2.2 target size) */
.tap-link { display: inline-block; padding-block: .3rem; }
.stack > * + * { margin-top: 1rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: var(--radius-sm); border: 2px solid transparent; font: 600 1.0625rem/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center; }
.btn-sm { min-height: 44px; padding: .55rem 1rem; font-size: .9375rem; }
.btn-primary { background: var(--saffron); color: var(--navy); border-color: var(--saffron); }
.btn-primary:hover { background: var(--saffron-dark); border-color: var(--saffron-dark); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--cream); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--line-2); position: relative; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; margin-right: auto; }
.brand img { width: 168px; height: auto; display: block; }
@media (min-width: 1000px) { .brand img { width: 196px; } }
.site-nav { display: flex; align-items: center; }
.menu-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .8rem; border: 2px solid var(--navy); border-radius: var(--radius-sm); background: #fff; color: var(--navy); font: 600 .9375rem var(--font); cursor: pointer; }
.site-menu { list-style: none; margin: 0; padding: .5rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; inset: 68px 1rem auto auto; min-width: 15rem; }
.site-menu a, .site-menu .linkish { display: flex; align-items: center; min-height: 44px; padding: .4rem .8rem; color: var(--navy); text-decoration: none; font-weight: 500; border-radius: var(--radius-sm); width: 100%; }
.site-menu a:hover, .site-menu .linkish:hover { background: var(--cream); }
.site-menu a[aria-current="page"] { font-weight: 700; box-shadow: inset 3px 0 0 var(--navy); }
.site-menu form { margin: 0; }
.header-cta { display: none; }
@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .site-menu[popover] { display: flex; position: static; inset: auto; border: 0; box-shadow: none; padding: 0; margin: 0; gap: .25rem; background: transparent; min-width: 0; overflow: visible; }
  .site-menu a, .site-menu .linkish { width: auto; font-size: .9375rem; }
  .site-menu a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--saffron); border-radius: 0; }
  .header-cta { display: inline-flex; margin-left: .5rem; }
}

/* footer */
.site-footer { background: var(--navy); color: rgb(255 255 255 / .88); padding: 3rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-brand img { width: 188px; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; font-size: .9375rem; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: .9375rem; }
.site-footer li { margin-bottom: .2rem; }
.site-footer li a { display: inline-block; padding-block: .3rem; }
.legal .nb { white-space: nowrap; }
.legal { border-top: 1px solid rgb(255 255 255 / .2); margin-top: 2rem; padding-top: 1.25rem; font-size: .8125rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }

/* sections */
.band { padding-block: 3rem; }
.band-cream { background: var(--cream); }
/* two neighbouring sections on the same background share one gap, not two */
.band:not(.band-cream):not(.band-navy) + .band:not(.band-cream):not(.band-navy), .band-cream + .band-cream, .auth-page + .band-cream { padding-top: 0; }
.band-navy { background: var(--navy); color: #fff; }
.band-navy h2 { color: #fff; }
.band-navy .accent { color: var(--saffron); }
.section-head { margin-bottom: 1.75rem; max-width: 44rem; }
.section-head p { color: var(--ink-soft); }

/* hero */
.hero { background: var(--cream); overflow: hidden; }
.hero-grid { display: grid; gap: 1.5rem; padding-block: 2.25rem 2.5rem; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { font-size: 1.1875rem; color: var(--ink-soft); max-width: 34rem; }
.hero-price { margin: 1rem 0 0; font-size: .9375rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: .25rem .6rem; }
.hero-price strong { color: var(--navy); }
.hero-price .sep { color: var(--line); }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 640 / 405; background: #e8e0cf; container-type: inline-size; }
.hero-media.course { aspect-ratio: 330 / 292; max-width: 34rem; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* sits where the photo's own badge was, so it must keep these percentages */
.float-badge { position: absolute; left: 51%; top: 27.5%; width: 44.5%; height: 20.5%; margin: 0; display: flex; align-items: center; justify-content: center; gap: .35rem; background: #fff; border-radius: 8px; box-shadow: var(--shadow); font-weight: 700; font-size: clamp(.75rem, 3.9cqi, 1.2rem); white-space: nowrap; }
.float-badge .icon { color: var(--navy); width: 1.25em; height: 1.25em; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; padding-block: 3.5rem; }
}

/* trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line-2); }
.trust-row { display: grid; grid-template-columns: 1fr; gap: .9rem 1.25rem; padding-block: 1.25rem; padding-inline: 0; list-style: none; margin: 0 auto; }
@media (min-width: 600px) { .trust-row { grid-template-columns: 1fr 1fr; } }
.trust-row li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 500; font-size: .9375rem; line-height: 1.35; }
.trust-row .icon { flex: none; width: 2rem; height: 2rem; color: var(--navy); margin-top: calc((1.35 * .9375rem - 2rem) / 2); }
.trust-link { color: inherit; text-decoration: none; }
.trust-link:hover { text-decoration: underline; }
@media (min-width: 900px) { .trust-row { grid-template-columns: repeat(4, 1fr); } .trust-row li + li { border-left: 1px solid var(--line); padding-left: 1.25rem; } }

/* feature rows */
.features { display: grid; gap: 1.5rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
.features li { display: flex; gap: 1rem; align-items: flex-start; }
.features .icon { width: 2.25rem; height: 2.25rem; color: var(--navy); }
.features .icon-chip { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--saffron); flex: none; }
.features .icon-chip .icon { width: 1.6rem; height: 1.6rem; color: var(--navy); }
.features h3 { margin-bottom: .25rem; font-size: 1.0625rem; }
/* titles in one row share a height, so every description starts on the same line */
@media (min-width: 1000px) { .features.four h3 { min-height: calc(2 * 1.15em); } }
.features p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features.four { grid-template-columns: repeat(4, 1fr); } }

/* course cards */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .cards.two { grid-template-columns: 1fr 1fr; } .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 1.4rem; }
.course-card { display: grid; }
.course-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; display: block; }
.course-card h3 { line-height: 1.3; }
.course-card h3 a { text-decoration: none; display: block; }
.course-card h3 a:hover { text-decoration: underline; }
.course-card .meta { list-style: none; padding: 0; margin: .75rem 0 1rem; display: grid; gap: .35rem; font-size: .9375rem; }
.course-card .meta li { display: flex; gap: .5rem; align-items: center; }
.course-card .meta .icon { width: 1.15rem; height: 1.15rem; }
.price { font-size: 1.625rem; font-weight: 700; margin: 0 0 1rem; }
.price small { font-size: .9375rem; font-weight: 500; color: var(--ink-soft); }
.price .inc { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink-soft); margin-top: .15rem; }
@media (min-width: 560px) { .course-card { grid-template-columns: 1fr 1.1fr; } .course-card img { aspect-ratio: auto; min-height: 100%; } }

/* split */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } .split.reverse > :first-child { order: 2; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .icon { color: var(--navy); margin-top: .15rem; }

/* mock screens built from real UI */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.mock h3 { font-size: 1rem; }
.fake-input { display: flex; align-items: center; border: 2px solid #8792A6; border-radius: 6px; min-height: 48px; padding: 0 .8rem; margin-bottom: .75rem; color: var(--ink); background: #fff; }
.fake-input.is-empty { color: #6B778C; font-weight: 400; }
::placeholder { color: #6B778C; opacity: 1; }
/* partner code card: the example a partner's user actually sees */
.code-card { width: 100%; max-width: 27rem; justify-self: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgb(12 34 64 / .16); overflow: hidden; }
.code-card-head { background: var(--navy); padding: 1.1rem 1.5rem; border-bottom: 4px solid var(--saffron); }
.code-card-head img { width: 168px; display: block; }
.code-card-body { padding: 1.5rem; }
.code-card h3 { font-size: 1.375rem; margin-bottom: .35rem; }
.code-card .label { margin: 1rem 0 .3rem; }
.mock table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.mock th, .mock td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--line-2); }
.mock th { background: var(--cream); font-weight: 600; }
.pill { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-wait { background: var(--amber-bg); color: var(--amber); }
.pill-off { background: var(--line-2); color: var(--ink-soft); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }

/* certificate sample (the real PDF, rendered) */
.cert-sample { margin: 0; justify-self: center; width: 100%; max-width: 36rem; }
.cert-sample img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 14px 40px rgb(12 34 64 / .18); border: 1px solid var(--line); background: #fff; }
.cert-sample figcaption { font-size: .875rem; color: var(--ink-soft); margin-top: .6rem; text-align: center; }
.nb { white-space: nowrap; }
/* certificate preview */
.cert-preview { background: var(--cream-2); border: 3px solid var(--navy); outline: 1px solid var(--saffron); outline-offset: -9px; border-radius: 4px; padding: 1.75rem 1.25rem; text-align: center; box-shadow: var(--shadow); }
.cert-preview img { width: 150px; margin-bottom: .75rem; }
.cert-preview .t { font-weight: 700; font-size: 1.125rem; }
.cert-preview .n { font-weight: 700; font-size: 1.5rem; margin: .25rem 0; }
.cert-preview .c { font-weight: 700; letter-spacing: .04em; }

/* FAQ */
.faq { display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; } }
.faq-item { display: flex; gap: 1rem; }
.faq-item > .icon { flex: none; width: 2rem; height: 2rem; color: var(--navy); margin-top: calc((1.15 * 1.0625rem - 2rem) / 2); }
.faq-item h3 { font-size: 1.0625rem; margin-bottom: .35rem; }
.faq-item p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }

.cta-band { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: .25rem 0 0; color: rgb(255 255 255 / .88); }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label, .label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field .hint { margin: 0 0 .35rem; color: var(--ink-soft); font-size: .9375rem; }
.field .error { display: flex; gap: .35rem; align-items: center; margin: 0 0 .35rem; color: var(--bad); font-weight: 600; font-size: .9375rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=month], select, textarea {
  width: 100%; min-height: 48px; padding: .6rem .8rem; font: 400 1.0625rem var(--font); color: var(--ink); background: #fff; border: 2px solid #8792A6; border-radius: var(--radius-sm); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--navy); outline: 3px solid var(--saffron); outline-offset: 1px; }
.has-error input { border-color: var(--bad); }
.form-foot { margin-top: 1.25rem; display: grid; gap: .75rem; }
.or { display: flex; align-items: center; gap: .75rem; color: var(--ink-soft); margin: 1.25rem 0; font-size: .9375rem; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.notice { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; border: 1px solid; }
.notice p { margin: 0; }
.notice .icon { margin-top: .2rem; }
.notice-ok { background: var(--ok-bg); border-color: #A9D8B8; color: var(--ok); }
.notice-error { background: var(--bad-bg); border-color: #EDB5AC; color: var(--bad); }
.notice-info { background: var(--cream); border-color: var(--line); color: var(--ink); }
.auth-page { background: var(--cream); padding-block: 2rem 4rem; }
.auth-page .form-card { max-width: 30rem; margin-inline: auto; }
.auth-page h1 { font-size: 1.75rem; }
.consent { margin: 1rem 0; }
.consent .error { display: flex; gap: .35rem; align-items: center; margin: 0 0 .5rem; color: var(--bad); font-weight: 600; font-size: .9375rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9375rem; line-height: 1.45; cursor: pointer; padding: .75rem; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--cream-2); }
.consent.has-error .check { border-color: var(--bad); }
.check input { width: 1.35rem; height: 1.35rem; margin: .05rem 0 0; accent-color: var(--navy); flex: none; }
.prose h2 { font-size: 1.25rem; margin-top: 1.75rem; }
.prose h2:first-child { margin-top: 0; }

/* learner */
.app-head { background: var(--cream); padding-block: 1.75rem 1.5rem; border-bottom: 1px solid var(--line-2); }
.app-head h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); margin-bottom: .35rem; }
progress { appearance: none; border: 0 solid; width: 100%; height: .75rem; border-radius: 999px; background: #E6DCC7; overflow: clip; display: block; }
progress::-webkit-progress-bar { background: #E6DCC7; border-radius: 999px; }
progress::-webkit-progress-value { background: var(--navy); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--navy); border-radius: 999px; }
.progress-line { display: flex; justify-content: space-between; font-size: .9375rem; font-weight: 600; margin-bottom: .35rem; }
.course-tile { display: grid; gap: .75rem; }
.units { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.unit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.unit-head { display: flex; gap: .75rem; align-items: baseline; padding: .9rem 1.1rem; background: var(--cream-2); border-bottom: 1px solid var(--line-2); }
.unit-head h2 { font-size: 1.0625rem; margin: 0; }
.unit-num { font-weight: 700; color: var(--ink-soft); font-size: .875rem; white-space: nowrap; }
.steps { list-style: none; margin: 0; padding: .25rem 0; }
.steps a, .steps .locked { display: flex; gap: .7rem; align-items: center; min-height: 48px; padding: .5rem 1.1rem; text-decoration: none; color: var(--navy); }
.steps a:hover { background: var(--cream); }
.steps .num { font-variant-numeric: tabular-nums; color: var(--ink-soft); min-width: 2.6rem; font-size: .9375rem; }
.steps .state { margin-left: auto; }
.state-done { color: var(--ok); }
.locked { color: var(--ink-soft) !important; }
.player { padding-block: 1.5rem 3rem; }
.crumbs { font-size: .9375rem; margin-bottom: .75rem; }
.crumbs a { color: var(--ink-soft); }
.lesson-body { font-size: 1.0625rem; line-height: 1.7; max-width: 44rem; overflow-wrap: break-word; }
.lesson-body a { overflow-wrap: anywhere; }
.lesson-body h2 { font-size: 1.375rem; margin-top: 1.5em; }
.lesson-body h3, .lesson-body h4 { font-size: 1.125rem; margin-top: 1.4em; }
.lesson-body ul, .lesson-body ol { padding-left: 1.3rem; }
.lesson-body li { margin-bottom: .35rem; }
.lesson-body table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .9375rem; display: block; overflow-x: auto; }
.lesson-body td, .lesson-body th { border: 1px solid var(--line); padding: .5rem; vertical-align: top; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; margin: 0 0 1.5rem; max-width: 44rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-foot { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; max-width: 44rem; }
.sticky-progress { position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid var(--line-2); padding-block: .6rem; }

/* quiz */
.quiz { max-width: 44rem; }
.q { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.1rem .6rem; margin: 0 0 1.1rem; background: #fff; }
.q legend { font-weight: 600; padding: 0; margin-bottom: .75rem; float: left; width: 100%; }
.q legend + * { clear: both; }
.q .qn { display: block; font-size: .8125rem; font-weight: 700; color: var(--ink-soft); margin-bottom: .2rem; }
.opt { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem .75rem; border: 2px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .5rem; cursor: pointer; min-height: 48px; }
.opt:hover { border-color: #B9AE96; }
.opt:has(input:checked) { border-color: var(--navy); background: var(--cream-2); }
.opt input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--navy); flex: none; }
.q.right { border-color: #A9D8B8; }
.q.wrong { border-color: #EDB5AC; }
.verdict { display: flex; gap: .5rem; align-items: center; font-weight: 700; margin: .25rem 0 .5rem; }
.verdict.ok { color: var(--ok); }
.verdict.bad { color: var(--bad); }
.explain { background: var(--cream); border-radius: var(--radius-sm); padding: .7rem .85rem; margin-bottom: .6rem; font-size: .9375rem; }
.ans-list { list-style: none; padding: 0; margin: 0 0 .5rem; }
.ans-list li { padding: .45rem .6rem; border-radius: var(--radius-sm); margin-bottom: .3rem; display: flex; gap: .5rem; align-items: flex-start; }
.ans-list li > .icon, .ans-list li > .slot { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .2rem; }
.ans-list .tagline { display: inline-block; margin-left: .35rem; padding: 0 .45rem; border-radius: 999px; font-size: .8125rem; font-weight: 700; background: #fff; border: 1px solid currentColor; white-space: nowrap; }
.ans-list .is-right { background: var(--ok-bg); color: var(--ok); font-weight: 600; }
.ans-list .is-picked-wrong { background: var(--bad-bg); color: var(--bad); }
.result-card { max-width: 44rem; text-align: center; padding: 2rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.result-card.pass { background: var(--ok-bg); }
.result-card.fail { background: var(--cream); }
.result-card .btn-row { justify-content: center; }
@media (max-width: 560px) { .result-card .btn-row, .hero .btn-row, .cta-band .btn-row { flex-direction: column; align-items: stretch; } }
.result-card .big { font-size: 3rem; font-weight: 700; line-height: 1; margin: .25rem 0 .5rem; }

/* tables (admin, team) */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .9375rem; }
table.data th, table.data td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.data th { background: var(--cream-2); font-weight: 600; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; }
table.data input[type=checkbox] { width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--navy); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.kpi b { display: block; font-size: 1.75rem; }
.admin-nav { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: 1.5rem; padding: 0; list-style: none; }
.admin-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .9rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); background: #fff; font-weight: 500; }
.admin-nav a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.inline-form { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.inline-form .field { margin: 0; flex: 1 1 12rem; }

/* basket / receipt */
.summary { width: 100%; border-collapse: collapse; }
.summary td { padding: .5rem 0; border-bottom: 1px solid var(--line-2); }
.summary td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.summary .total td { font-weight: 700; font-size: 1.125rem; border-bottom: 0; }
.stepper { display: flex; align-items: stretch; gap: 0; max-width: 12rem; }
.stepper input { text-align: center; border-radius: 0; border-left: 0; border-right: 0; }
.stepper button { min-width: 48px; min-height: 48px; border: 2px solid #8792A6; background: #fff; font: 700 1.25rem var(--font); color: var(--navy); cursor: pointer; }
.stepper button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.stepper button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.receipt { max-width: 46rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.receipt-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.check-ok { border-left: 6px solid var(--ok); }
.check-bad { border-left: 6px solid var(--bad); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 0; }
dl.facts dt { font-weight: 600; color: var(--ink-soft); }
dl.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { dl.facts { grid-template-columns: 1fr; gap: .1rem; } dl.facts dd { margin-bottom: .5rem; } }
.code-list { columns: 3 11rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9375rem; list-style: none; padding: 0; }
@media print { .site-header, .site-footer, .no-print { display: none !important; } .receipt { border: 0; padding: 0; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } .cert-preview { rotate: 0deg; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* tables that become one card per row on phones */
@media (max-width: 700px) {
  table.data.stacked td.num { text-align: left; }
  table.data.stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.data.stacked, table.data.stacked tbody, table.data.stacked tr, table.data.stacked td { display: block; width: 100%; }
  table.data.stacked tr { padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
  table.data.stacked tr:last-child { border-bottom: 0; }
  table.data.stacked td { border: 0; padding: .2rem 0; overflow-wrap: anywhere; }
  table.data.stacked td[data-label]:not(:first-child)::before { content: attr(data-label) " "; font-weight: 600; color: var(--ink-soft); }
  table.data.stacked td:empty { display: none; }
}
.email { overflow-wrap: anywhere; }
