/*
 * Course-only rules for the Spanish food-handler course. The look itself (type, bands, buttons, Q&A, fact boxes,
 * header, footer) comes from the site's theme.css; this file adds what only this course needs.
 * Every colour is a token from the theme (var(--...)). No colour values are written here.
 * Built on its own, standalone.css supplies the same tokens.
 *
 * MOTION (the one authored moment): when you answer a question, the right answer is swept with a highlighter
 * (transform: scaleX, 600 ms, once) and the explanation opens. Everything else is quiet feedback: 150-300 ms colour
 * and transform changes, the sticky button sliding up, the score ring drawing itself once. Reduced motion: nothing moves.
 * Guide pages (sectors, regions, FAQ, fast route, businesses): the guide line, a thin accent line down the left of the
 * article that draws itself once from top to bottom (scaleY, 700 ms), with a dot at each question.
 */
:root { --bad: var(--c-english); --hdr-h: 68px; }

/* ---------- where you are inside the course ---------- */
.course-nav { border-bottom: 1px solid var(--line); background: var(--page); }
.course-nav .wrap { display: flex; gap: 4px; padding-block: 8px; overflow-x: auto; scrollbar-width: none; }
.course-nav .wrap::-webkit-scrollbar { display: none; }
.course-nav a { flex: none; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color 150ms var(--ease); }
.course-nav a:hover { background: var(--wash); }
.course-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-deep); }

/* ---------- shared small parts ---------- */
.proof { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.proof li { position: relative; }
.proof li::after { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 3px; margin-top: -3px; border-left: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep); transform: rotate(-45deg); }
.ma-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ma-ticks li { position: relative; padding-left: 36px; }
.ma-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); }
.ma-ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 10px; height: 5px; border-left: 2.5px solid var(--accent-ink); border-bottom: 2.5px solid var(--accent-ink); transform: rotate(-45deg); }
.src { white-space: nowrap; font-weight: 600; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 46em; }
.fact-list .fact-box { margin: 0; font-size: 15.5px; line-height: 1.5; }
.notice { margin: 24px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; }
.hint { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.optional { font-weight: 400; color: var(--ink-2); }
.btn-block { width: 100%; }
.status { min-height: 1.5em; margin-top: 12px; font-size: 15px; font-weight: 600; }
.status-ok { color: color-mix(in srgb, var(--ok) 75%, black); }
.status-error { color: var(--bad); }
.status-info { color: var(--ink-2); }

/* ---------- the course page hero: copy on the left, a real question on the right ---------- */
.hero-c { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 88px); }
.hero-c-in { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 1000px) { .hero-c-in { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); } }
.hero-c .display { font-size: clamp(36px, 9.6vw, 72px); }
.hero-c .lede { max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 520px) { .hero-cta .btn { flex: 1 1 100%; } }

/* ---------- a question you can answer on the spot ---------- */
.try { position: relative; padding: 22px 18px 18px; border-radius: 26px; background: var(--page); box-shadow: var(--sh-2, var(--sh-1)), inset 0 0 0 1px var(--line); }
@media (min-width: 640px) { .try { padding: 28px 28px 22px; } }
.try-h { font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--accent-deep); }
.try-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.try-h + .try-label { margin-top: 2px; }
.try-q { margin-top: 12px; font-weight: 800; font-size: clamp(19px, 2.4vw, 23px); line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.try-opts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.try-opt { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 10px 14px; border: 0; border-radius: 16px; background: var(--page); color: var(--ink); text-align: left; font-size: 16.5px; line-height: 1.3; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow 150ms var(--ease), transform 150ms var(--ease); }
.try-opt b { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wash-2); font-size: 14.5px; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.try-opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.try-opt:active { transform: scale(0.99); }
.try-opt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-soft); transform: scaleX(0); transform-origin: left center; transition: transform 600ms var(--ease); }
.try.is-answered .try-opt { cursor: default; }
.try.is-answered .try-opt:hover { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.try-opt.is-right, .try.is-answered .try-opt.is-right:hover { font-weight: 700; box-shadow: none; outline: 2.5px solid var(--accent); outline-offset: -2.5px; }
.try-opt.is-right::before { transform: scaleX(1); }
.try-opt.is-right b { background: var(--accent); color: var(--accent-ink); }
.try-opt.is-wrong, .try.is-answered .try-opt.is-wrong:hover { box-shadow: none; outline: 2.5px solid var(--bad); outline-offset: -2.5px; }
.try-opt.is-wrong b { background: var(--bad); color: var(--page); }
.try-why { margin-top: 14px; }
.try-why summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 700; color: var(--accent-deep); list-style: none; }
.try-why summary::-webkit-details-marker { display: none; }
.try-why summary::after { content: ""; width: 8px; height: 8px; margin-left: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease); }
.try-why[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.try-why p { padding: 14px 16px; border-radius: 16px; background: var(--wash); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.try-why p strong { display: block; margin-bottom: 4px; color: var(--ink); }
.try-why p a { font-weight: 600; }
.try.is-answered .try-why summary { display: none; }
.try-status { min-height: 0; margin-top: 12px; font-weight: 700; }
.try-status:empty { display: none; }
.try-status.is-ok { color: color-mix(in srgb, var(--ok) 75%, black); }
.try-status.is-no { color: var(--bad); }

/* ---------- the six lessons ---------- */
.syl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.syl-link { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: start; padding: 14px 14px; border-radius: 22px; background: var(--page); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 250ms var(--ease), transform 250ms var(--ease); }
.syl-link:hover { box-shadow: var(--sh-2, var(--sh-1)), inset 0 0 0 1.5px var(--accent); transform: translateY(-2px); }
@media (min-width: 720px) { .syl-link { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 20px 24px; } }
.syl-n { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; font-size: 18px; transition: background-color 250ms var(--ease), color 250ms var(--ease); }
@media (min-width: 720px) { .syl-n { grid-row: auto; } }
.syl-main { display: grid; gap: 4px; min-width: 0; }
.syl-t { font-weight: 800; font-size: clamp(17px, 2vw, 22px); line-height: 1.2; letter-spacing: -0.015em; }
.syl-d { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.syl-d { display: none; }
@media (min-width: 560px) { .syl-d { display: block; } }
@media (max-width: 559px) { .syl-n { grid-row: auto; } .syl-link { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; } .syl-meta { grid-column: auto; margin-top: 0; } .syl-meta span:first-child { white-space: nowrap; } }
@media (max-width: 719px) { body[data-page="inicio"] main > .band { padding-block: 48px; } }
.syl-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
@media (min-width: 720px) { .syl-meta { grid-column: auto; margin-top: 0; justify-content: flex-end; text-align: right; } }
.syl-state:empty { display: none; }
.syl-state { padding: 3px 10px; border-radius: 999px; background: var(--wash-2); color: var(--ink); }
.syl-row.is-done .syl-n { background: var(--accent); color: var(--accent-ink); }
.syl-row.is-done .syl-state { background: var(--accent-soft); color: var(--accent-deep); }
.syl-spec { margin-top: 24px; max-width: 44em; font-size: 16px; color: var(--ink-2); }
.syl-spec strong { color: var(--ink); }

/* ---------- the certificate ---------- */
.cert-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.cert-fig figcaption .btn { white-space: normal; text-align: center; }
@media (min-width: 1000px) {
  .cert-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); grid-template-areas: "head fig" "body fig"; column-gap: 64px; row-gap: 0; }
  .cert-head { grid-area: head; } .cert-body-col { grid-area: body; } .cert-grid > .cert-fig { grid-area: fig; position: sticky; top: calc(var(--hdr-h) + 24px); }
}
.cert-head .lede { margin-top: 16px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: h; }
.how li { counter-increment: h; position: relative; padding-left: 48px; min-height: 34px; color: var(--ink-2); }
.how li::before { content: counter(h); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 15px; }
.how strong { color: var(--ink); }
.price-box { margin-top: 26px; padding: 22px 20px 22px; border-radius: 24px; background: var(--page); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.price-n { font-weight: 800; font-size: clamp(32px, 5vw, 44px); line-height: 1; letter-spacing: -0.03em; }
.price-box.is-soon .price-n { font-size: clamp(24px, 3.4vw, 30px); }
.price-t { font-weight: 600; color: var(--ink-2); }
.price-note { margin-top: 10px; color: var(--ink-2); }
.price-box .btn { margin-top: 18px; }
.price-box .waitlist { margin-top: 18px; }

.verify-note { max-width: 40em; }
.verify-note .h3 { margin-bottom: 8px; }
.verify-note p { color: var(--ink-2); }
.cert-fig, .cert-live { margin: 0; container-type: inline-size; min-width: 0; }
.cert-fig figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.cert-live-cap { margin-bottom: 10px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }

/* The certificate drawn in HTML: an A4 sheet whose type scales with its own width (container query units). */
.cert { position: relative; overflow: hidden; aspect-ratio: 210 / 297; padding: 12.5cqw 9.4cqw 6cqw; background: var(--page); color: var(--ink); border-radius: 10px; box-shadow: var(--sh-2, var(--sh-1)), inset 0 0 0 1px var(--line-2); display: flex; flex-direction: column; font-size: 2.1cqw; line-height: 1.45; }
.cert::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.25cqw; background: var(--accent); }
.cert.is-sample::after { content: "EJEMPLO"; position: absolute; left: 50%; top: 52%; z-index: 0; font-weight: 800; font-size: 19cqw; letter-spacing: -0.02em; color: var(--accent-soft); transform: translate(-50%, -50%) rotate(-36deg); pointer-events: none; }
.cert > * { position: relative; z-index: 1; }
.cert-ribbon { position: absolute; right: 4cqw; top: 3.6cqw; padding: 0.5cqw 2cqw; border-radius: 999px; background: var(--ink); color: var(--page); font-size: 2.2cqw; font-weight: 700; }
.cert-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 3cqw; }
.cert-wm { font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 2.1cqw; padding-bottom: 1.2cqw; background: linear-gradient(var(--ink), var(--ink)) left bottom / calc(100% - 1.6cqw) 0.25cqw no-repeat; position: relative; }
.cert-wm::after { content: ""; position: absolute; right: 0; bottom: -0.45cqw; width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: var(--accent); }
.cert-no { font-weight: 700; font-size: 1.75cqw; color: var(--ink); text-align: right; }
.cert.is-sample .cert-no { margin-right: 13cqw; }
.cert-title { margin-top: 12cqw; font-weight: 800; font-size: 6.1cqw; line-height: 1; letter-spacing: -0.03em; }
.cert-course { margin-top: 1.6cqw; font-size: 2.55cqw; color: var(--accent-deep); }
.cert-small { margin-top: 7.5cqw; font-size: 2.15cqw; color: var(--ink-2); }
.cert-name { margin-top: 0.8cqw; font-weight: 800; font-size: 5.2cqw; line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.cert-doc { margin-top: 0.8cqw; font-size: 2cqw; color: var(--ink-2); min-height: 1.45em; }
.cert-body { margin-top: 3.4cqw; font-size: 2.05cqw; line-height: 1.5; }
.cert-facts { margin: 2.6cqw 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.cert-facts dt { font-size: 1.5cqw; color: var(--ink-2); }
.cert-facts dd { margin: 0; font-weight: 700; font-size: 1.9cqw; }
.cert-list { margin: 3.4cqw 0 0; padding: 3.2cqw 3.2cqw 3.2cqw 6.4cqw; border-radius: 0.8cqw; background: var(--wash); display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqw 4cqw; font-size: 1.75cqw; line-height: 1.3; }
.cert-list li::marker { color: var(--accent-deep); font-weight: 800; }
.cert-basis { margin-top: 2.6cqw; font-size: 1.5cqw; color: var(--ink-2); }
.cert-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 4cqw; padding-top: 3cqw; }
.cert-dl { margin: 0; display: grid; gap: 1.8cqw; }
.cert-dl dt { font-size: 1.55cqw; color: var(--ink-2); }
.cert-dl dd { margin: 0; font-weight: 700; font-size: 1.9cqw; }
.cert-qr { margin: 0; flex: none; width: 19cqw; text-align: center; }
.cert-qr svg { display: block; width: 100%; height: auto; fill: var(--ink); background: var(--page); }
.cert-qr figcaption { margin-top: 1cqw; font-size: 1.45cqw; font-weight: 700; }
@supports not (width: 1cqw) { .cert { font-size: 8px; } }

/* ---------- "La norma, en claro" and the quick questions ---------- */
.qa details .fact-list { margin: 0 0 22px; }
.qa .qa-src summary { display: grid; gap: 6px; }
.qa-q { font-weight: 700; }
.qa-a { font-weight: 400; font-size: 16px; letter-spacing: 0; line-height: 1.5; color: var(--ink-2); }
.qa .qa-src summary::after { top: 22px; margin-top: 0; }

/* ---------- what the certificate includes ---------- */
.inc-h { margin-bottom: 14px; }
.inc-list li { display: block; }
.inc-list { gap: 12px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.inc-list strong { color: var(--ink); }
.ma-biz { margin-top: 18px; padding: 14px 18px; border-radius: 18px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--ink-2); }
.ma-biz strong { color: var(--ink); }
@media (max-width: 719px) { .cert-grid > .cert-fig { width: 84%; margin-inline: auto; } }

.norma-more { margin-top: 18px; font-weight: 600; }
.norma-more a { text-decoration-color: var(--accent); }

/* ---------- the sticky button on phones ---------- */
.sticky-cta { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px max(16px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--glass, var(--page)); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px var(--accent-glow, var(--line-2)); transform: translateY(110%); visibility: hidden; transition: transform 300ms var(--ease), visibility 0s linear 300ms; }
.sticky-cta.is-on { transform: none; visibility: visible; transition: transform 300ms var(--ease), visibility 0s; }
.sticky-cta .btn { flex: none; min-height: 48px; }
.sticky-note { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- lessons ---------- */
.read-bar { position: fixed; z-index: 70; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
@keyframes readbar { to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) { .read-bar { animation: readbar linear both; animation-timeline: scroll(root); } }
.crumbs { margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); }
.lesson-head .lede { max-width: 36em; }
.lesson-meta { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; }
.lesson-meta li { padding: 5px 12px; border-radius: 999px; background: var(--wash-2); }
.lesson-steps { margin-top: 24px; }
.lesson-steps ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; max-width: 420px; }
.lesson-steps li { flex: 1; display: flex; align-items: center; }
.lesson-steps li + li::before { content: ""; flex: 1; height: 2px; margin: 0 4px; background: var(--line-2); }
.lesson-steps li.is-done + li::before, .lesson-steps li.is-done::before { background: var(--accent); }
.lesson-steps li:first-child { flex: none; }
.lesson-steps a { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--line-2); background: var(--page); transition: box-shadow 150ms var(--ease), background-color 150ms var(--ease); }
.lesson-steps a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.lesson-steps a.is-done { background: var(--accent-soft); color: var(--accent-deep); box-shadow: inset 0 0 0 1.5px var(--accent); }
.lesson-steps a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.lesson-grid { display: grid; gap: 32px; padding-top: 8px; }
@media (min-width: 1000px) { .lesson-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; } }
.toc { display: none; }
@media (min-width: 1000px) { .toc { display: block; } .toc-box { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.toc summary { cursor: pointer; font-weight: 800; font-size: 15px; padding-block: 6px; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 7px 10px; border-radius: 12px; font-size: 14.5px; line-height: 1.35; color: var(--ink-2); text-decoration: none; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.toc a::before { content: counter(t); font-weight: 700; color: var(--line-2); }
.toc a:hover { background: var(--wash); color: var(--ink); }
.toc a.is-here { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.toc a.is-here::before { color: var(--accent-deep); }
.lesson { padding-bottom: clamp(48px, 7vw, 96px); }
.lesson > * { max-width: 40em; }
.lesson .sec { scroll-margin-top: calc(var(--hdr-h) + 16px); }
.lesson .sec + .sec { margin-top: 44px; }
.lesson h2 { margin-top: 0; font-weight: 800; font-size: clamp(23px, 2.8vw, 30px); line-height: 1.15; letter-spacing: -0.022em; text-wrap: balance; }
.lesson .sec > p { margin-top: 14px; font-size: 18px; line-height: 1.65; }
.lesson .fact-box.keep { margin-top: 20px; padding: 18px 20px; border-radius: 20px; background: var(--accent-soft); box-shadow: none; }
.fact-box h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.keep h3 { color: var(--accent-deep); }
.key-points { margin: 0; padding-left: 1.2em; }
.key-points li + li { margin-top: 6px; }
.key-points li::marker { color: var(--accent); }
.facts { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.facts summary { cursor: pointer; font-weight: 600; color: var(--ink); padding-block: 10px; }
.facts ul { list-style: none; padding: 0; margin-top: 4px; display: grid; gap: 10px; }
.recap { margin-top: 56px; padding-top: 36px; border-top: 1.5px solid var(--ink); scroll-margin-top: calc(var(--hdr-h) + 16px); }
.recap-intro { margin-top: 8px; color: var(--ink-2); }
.recap .try { margin-top: 18px; }
.lesson-end { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 520px) { .lesson-end .btn { flex: 1 1 100%; } }
.pager { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } .pager-link.is-next { text-align: right; } .pager-link:only-child { grid-column: 1 / -1; } }
.pager-link { display: grid; gap: 4px; align-content: center; padding: 18px 22px; border-radius: 22px; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow 150ms var(--ease), background-color 150ms var(--ease); }
.pager-link:hover { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-soft); }
.pager-link strong { font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; }
.resume { position: fixed; z-index: 55; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 32px); padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--ink); color: var(--page); box-shadow: var(--sh-2, var(--sh-1)); font-size: 15px; font-weight: 600; transform: translate(-50%, 0); transition: transform 300ms var(--ease), opacity 200ms var(--ease); }
.resume[hidden] { display: none; }
.resume.is-out { transform: translate(-50%, 140%); opacity: 0; }
.resume a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); text-decoration: none; white-space: nowrap; }
.resume button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--page); font-size: 22px; line-height: 1; }

/* ---------- the test ---------- */
.exam-wrap { max-width: 760px; }
.exam-head { padding-block: clamp(28px, 4vw, 56px) 20px; }
.exam-head .display { font-size: clamp(32px, 7vw, 56px); }
.exam-bar { position: sticky; top: var(--hdr-h); z-index: 40; background: var(--page); border-bottom: 1px solid var(--line); }
.exam-bar-in { display: grid; gap: 8px; padding-block: 10px 12px; }
.exam-count { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; font-size: 15.5px; }
.exam-done { font-weight: 600; color: var(--ink-2); }
.exam-segs { display: flex; gap: 3px; }
.exam-segs i { flex: 1; height: 6px; border-radius: 6px; background: var(--line); transition: background-color 200ms var(--ease), transform 200ms var(--ease); }
.exam-segs i.on { background: var(--accent); }
.exam-segs i.here { transform: scaleY(1.7); background: var(--ink); }
.exam-segs i.here.on { background: var(--accent-deep); }
#exam-form { padding-top: 22px; }
.q-card { scroll-margin-top: 150px; margin: 0 0 18px; min-width: 0; padding: 22px 18px 20px; border: 0; border-radius: 26px; background: var(--page); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
@media (min-width: 640px) { .q-card { padding: 28px 28px 26px; } }
.q-card.is-current { animation: qin 300ms var(--ease) both; }
@keyframes qin { from { opacity: 0; transform: translateX(14px); } }
.q-legend { float: left; width: 100%; padding: 0; margin: 0 0 16px; font-weight: 800; font-size: clamp(20px, 2.6vw, 24px); line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.q-n { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--accent-deep); }
.q-opts { clear: both; display: grid; gap: 10px; }
.q-opts .option { position: relative; }
.q-opts .opt { flex-wrap: wrap; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 12px 16px; border-radius: 16px; font-size: 16.5px; line-height: 1.35; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow 150ms var(--ease), background-color 150ms var(--ease); }
.q-opts .opt b { width: 34px; height: 34px; font-size: 15px; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.q-opts .opt span { flex: 1 1 11em; min-width: 0; overflow-wrap: break-word; }
.q-opts .opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.q-opts .opt-input:checked + .opt { background: var(--accent-soft); font-weight: 600; box-shadow: inset 0 0 0 2.5px var(--accent); }
.q-opts .opt-input:checked + .opt b { background: var(--accent); color: var(--accent-ink); }
.q-opts .opt-input:focus-visible + .opt { outline: 3px solid var(--accent); outline-offset: 3px; }
.q-card.is-done .opt { cursor: default; }
.q-card.is-done .opt:hover { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.q-card.is-done .q-opts .opt.is-correct { background: color-mix(in srgb, var(--ok) 9%, var(--page)); font-weight: 600; box-shadow: inset 0 0 0 2.5px var(--ok); }
.q-card.is-done .q-opts .opt.is-correct b { background: var(--ok); color: var(--page); }
.q-card.is-done .q-opts .opt.is-wrong { background: color-mix(in srgb, var(--bad) 8%, var(--page)); font-weight: 600; box-shadow: inset 0 0 0 2.5px var(--bad); }
.q-card.is-done .q-opts .opt.is-wrong b { background: var(--bad); color: var(--page); }
.opt-flag { flex: none; margin-left: 48px; padding: 3px 10px; border-radius: 999px; background: var(--page); font-size: 13px; font-weight: 700; font-style: normal; }
.is-correct .opt-flag { color: color-mix(in srgb, var(--ok) 75%, black); }
.is-wrong .opt-flag { color: var(--bad); }
.q-why { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--wash); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.q-why .tag { margin-right: 8px; background: var(--page); font-size: 13px; }
.q-why .tag-ok { color: color-mix(in srgb, var(--ok) 75%, black); }
.q-why .tag-no { color: var(--bad); }
.q-why a { display: inline-block; margin-top: 6px; font-weight: 600; }
.exam-msg { min-height: 1.6em; margin-top: 4px; color: var(--bad); font-weight: 700; }
.exam-msg:empty { min-height: 0; }
.exam-nav { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; margin-top: 4px; }
.exam-nav .btn { width: 100%; padding-inline: 16px; }
.qmap-wrap { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.qmap { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; margin-top: 10px; max-width: 520px; }
.qmap button { aspect-ratio: 1; min-height: 30px; border: 0; border-radius: 10px; background: var(--page); color: var(--ink-2); font-size: 13.5px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.qmap button.is-answered { background: var(--accent-soft); color: var(--accent-deep); box-shadow: inset 0 0 0 1.5px var(--accent-mid); }
.qmap button[aria-current="step"] { background: var(--ink); color: var(--page); box-shadow: none; }
.exam-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.exam-actions .btn { flex: 1 1 220px; }
.exam-foot { padding-block: 8px 56px; }
.exam-foot p + p { margin-top: 8px; }
.exam-app.is-review .q-card { animation: none; }

.result { margin-top: 26px; margin-bottom: 20px; padding: 26px 22px 24px; border-radius: 28px; background: var(--page); box-shadow: var(--sh-2, var(--sh-1)), inset 0 0 0 1.5px var(--accent-mid); scroll-margin-top: calc(var(--hdr-h) + 16px); }
.result.is-fail { box-shadow: var(--sh-1), inset 0 0 0 1.5px var(--line-2); }
.result-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.ring { position: relative; width: 104px; height: 104px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .ring-bg { stroke: var(--wash-2); }
.ring .ring-fg { stroke: var(--accent); stroke-linecap: round; animation: ringdraw 900ms 150ms var(--ease) both; }
.result.is-fail .ring .ring-fg { stroke: var(--ink-2); }
@keyframes ringdraw { from { stroke-dashoffset: var(--ring-len, 290); } }
.ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.ring b small { font-size: 0.55em; font-weight: 700; color: var(--ink-2); }
.result h2 { font-weight: 800; font-size: clamp(30px, 7vw, 44px); line-height: 1.02; letter-spacing: -0.03em; }
.result-verdict { margin-top: 8px; font-size: 16.5px; color: var(--ink-2); }
.result h3 { margin-top: 24px; font-size: 17px; font-weight: 800; }
.result .btn { margin-top: 0; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.result-actions .btn { flex: 1 1 200px; }
.mod-list { list-style: none; margin: 8px 0 0; padding: 0; }
.mod-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.mod-row a { font-weight: 600; }
.mod-score { font-weight: 800; white-space: nowrap; }
.mod-score .tag { margin-left: 8px; }
.mod-bar { grid-column: 1 / -1; display: flex; gap: 3px; }
.mod-bar i { flex: 1; height: 6px; border-radius: 6px; background: var(--line-2); }
.mod-bar i.on { background: var(--ok); }
.pass-box { margin-bottom: 24px; padding: 24px 22px 26px; border-radius: 26px; background: var(--page); box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.pass-box p { margin-top: 8px; color: var(--ink-2); }
.pass-box .waitlist { margin-top: 18px; }
.pass-box.is-pay { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent-mid); }
.pass-box.is-pay .btn { margin-top: 18px; width: 100%; }
.review-h { margin: 28px 0 14px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }

/* ---------- the certificate step ---------- */
.cert-page { padding-bottom: clamp(56px, 8vw, 112px); }
.cert-step { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 8px; }
@media (min-width: 1000px) {
  .cert-step[data-view="form"], .cert-step[data-view="soon"] { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
  .cert-step .cert-live, .cert-step .cert-fig { position: sticky; top: calc(var(--hdr-h) + 24px); }
}
.cert-form { padding: 24px 20px; border-radius: 26px; background: var(--page); box-shadow: var(--sh-2, var(--sh-1)), inset 0 0 0 1px var(--line); }
@media (min-width: 640px) { .cert-form { padding: 30px 30px 26px; } }
.passed-line { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; font-size: 15px; }
.passed-line::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); }
.cert-form .field { margin-top: 20px; border: 0; padding: 0; min-width: 0; }
.cert-form legend, .cert-form label { display: block; margin-bottom: 6px; font-size: 15.5px; font-weight: 700; padding: 0; }
.cert-form legend { margin-bottom: 8px; }
.cert-form input[type="text"], .cert-form select { width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--page); color: var(--ink); font-size: 17px; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow 150ms var(--ease); }
.cert-form input[type="text"]:focus-visible, .cert-form select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cert-form input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.doc-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 10px; }
.doc-row label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field-error { margin-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--bad); }
.field-error:empty { display: none; }
.ticks-box { margin-top: 22px; padding: 16px 16px 14px; border-radius: 18px; background: var(--wash); }
.cert-form .check { display: flex; align-items: flex-start; gap: 12px; }
.cert-form .check + .check { margin-top: 12px; }
.cert-form .check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.cert-form .check label { margin: 0; font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.ticks-box .fine { margin-top: 12px; }
.pay-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 22px 0 14px; }
.pay-sum span:first-child { font-weight: 700; }
.pay-sum strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.pay-sum span:last-child { color: var(--ink-2); font-size: 15px; }
.cert-form .fine { margin-top: 10px; }
.cert-form button[disabled] { opacity: 0.7; cursor: progress; }
.issued { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .issued { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); } }
.issued .lede { margin-top: 14px; }
.issued-actions { display: grid; gap: 10px; margin-top: 24px; max-width: 30em; }
.issued-actions .btn { width: 100%; white-space: normal; text-align: center; }
.issued-more { display: flex; flex-wrap: wrap; gap: 8px; }
.issued-more .btn { width: auto; flex: 1 1 140px; min-height: 44px; padding: 0 16px; font-size: 15px; }
.mod-details { margin-top: 18px; }
.mod-details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 800; font-size: 16.5px; }
.result .pass-box { margin: 20px 0 0; }
.sel { position: relative; display: block; }
.sel select { -webkit-appearance: none; appearance: none; padding-right: 44px !important; }
.sel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.is-void .cert { filter: grayscale(1); }

/* ---------- the public check ---------- */
.verify { max-width: 760px; padding-bottom: clamp(56px, 8vw, 112px); }
.verify-form label { display: block; margin-bottom: 8px; font-weight: 700; }
.verify-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 560px) { .verify-row { grid-template-columns: minmax(0, 1fr) auto; } }
.verify-row input { width: 100%; min-height: 56px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--page); color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.verify-row input::placeholder { color: var(--ink-2); font-weight: 600; }
.verify-row input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.v-result { margin-top: 8px; padding: 24px 22px; border-radius: 26px; background: var(--page); box-shadow: var(--sh-2, var(--sh-1)), inset 0 0 0 1.5px var(--line); animation: qin 300ms var(--ease) both; }
.v-result.is-valid { box-shadow: var(--sh-2, var(--sh-1)), inset 0 0 0 2px var(--ok); }
.v-result.is-invalid { box-shadow: var(--sh-1), inset 0 0 0 2px var(--bad); }
.v-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 15px; background: var(--wash-2); }
.is-valid .v-badge { background: color-mix(in srgb, var(--ok) 12%, var(--page)); color: color-mix(in srgb, var(--ok) 75%, black); }
.is-invalid .v-badge { background: color-mix(in srgb, var(--bad) 10%, var(--page)); color: var(--bad); }
.v-result .h3 { margin-top: 12px; overflow-wrap: anywhere; }
.v-dl { margin: 16px 0 0; display: grid; gap: 0; }
.v-dl div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.v-dl dt { color: var(--ink-2); font-size: 15px; }
.v-dl dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.v-result .fine { margin-top: 14px; }
.v-what { margin-top: 40px; max-width: 40em; }
.v-what p { margin-top: 10px; color: var(--ink-2); }

/* ---------- sources, privacy, terms ---------- */
.rec-wrap { margin-top: 16px; overflow-x: auto; }
.rec { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.rec th, .rec td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.rec thead th { font-size: 14px; color: var(--ink-2); border-bottom: 1.5px solid var(--ink); }
.rec td:nth-child(2) { font-weight: 800; color: var(--accent-deep); white-space: nowrap; }
.prose .rec-wrap { max-width: 46em; }
.v-topics { margin: 0; padding-left: 1.2em; font-weight: 600; }
.v-topics li + li { margin-top: 2px; }
.method { padding-left: 1.3em; }
.method li + li { margin-top: 10px; }
.method li::marker { font-weight: 800; color: var(--accent-deep); }
.sources { padding-left: 1.4em; font-size: 15px; color: var(--ink-2); overflow-wrap: anywhere; }
.sources li { padding-block: 8px; padding-left: 4px; }
.sources code { font-size: 13.5px; }
.prose .fact-list { margin-top: 16px; }
.prose .btn-ghost { margin-top: 10px; }

/* ---------- waitlist form ---------- */
.waitlist .field, .waitlist .check { margin-top: 16px; }
.waitlist .field:first-child { margin-top: 0; }
.waitlist label { display: block; margin-bottom: 6px; font-size: 15.5px; font-weight: 700; }
.waitlist input[type="email"], .waitlist select { width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--page); color: var(--ink); font-size: 16px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.waitlist input[type="email"]:focus-visible, .waitlist select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.waitlist .check { display: flex; align-items: flex-start; gap: 12px; }
.waitlist .check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.waitlist .check label { margin: 0; font-weight: 400; font-size: 15px; line-height: 1.45; }
.waitlist .btn { width: 100%; margin-top: 20px; }

/* ---------- small print ---------- */
.course-note { padding-block: 36px; border-top: 1px solid var(--line); background: var(--wash); }
.course-note p { max-width: 52em; font-size: 14.5px; color: var(--ink-2); }
.course-note p + p { margin-top: 8px; }
.course-note strong { color: var(--ink); }
.note-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
body[data-page="inicio"] .course-note { padding-bottom: calc(36px + 76px); }
@media (min-width: 900px) { body[data-page="inicio"] .course-note { padding-bottom: 36px; } }

/* ---------- guide pages: sectors, regions, renewal, FAQ, fast route, businesses ---------- */
.hero-fast { margin-top: 14px; font-size: 15.5px; font-weight: 600; color: var(--ink-2); }
.hero-fast a { color: var(--accent-deep); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.g-head .display { font-size: clamp(32px, 7.4vw, 60px); max-width: 16em; }
.g-head .lede { max-width: 38em; }
.g-q { margin-top: 22px; max-width: 34em; font-weight: 800; font-size: clamp(18px, 2vw, 21px); line-height: 1.35; letter-spacing: -0.01em; }
.g-q + .lede { margin-top: 6px; }
.g-head .facts { max-width: 46em; }
.g-cta { margin-top: 22px; }
.g-wrap { display: grid; gap: 36px; padding-block: 8px clamp(48px, 7vw, 96px); }
.g-wrap > *, .g-main > * { min-width: 0; }
.g-main { display: grid; gap: 36px; align-content: start; }
.g-side { display: none; }
@media (min-width: 1100px) {
  .g-wrap { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 64px; align-items: start; }
  .g-side { display: grid; gap: 18px; position: sticky; top: calc(var(--hdr-h) + 24px); }
}
.g-side-h { margin-bottom: 8px; font-size: 14px; font-weight: 800; color: var(--ink-2); }
.g-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.g-toc a { display: block; margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: 14.5px; line-height: 1.35; color: var(--ink-2); text-decoration: none; transition: color 150ms var(--ease), border-color 150ms var(--ease); }
.g-toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.g-course { display: grid; gap: 10px; padding: 20px; border-radius: 22px; background: var(--wash); }
.g-course-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.g-course .btn { min-height: 44px; }
.g-body { position: relative; max-width: 46em; padding-left: 26px; }
.g-body::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 0; width: 2px; border-radius: 2px; background: var(--accent); transform-origin: top center; animation: gline 700ms 120ms var(--ease) both; }
@keyframes gline { from { transform: scaleY(0); } }
.g-sec { position: relative; scroll-margin-top: calc(var(--hdr-h) + 16px); }
.g-sec + .g-sec { margin-top: 40px; }
.g-sec > h2 { position: relative; margin-top: 0; font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; }
.g-sec > h2::before { content: ""; position: absolute; left: -26px; top: 0.42em; width: 12px; height: 12px; border-radius: 50%; background: var(--page); box-shadow: inset 0 0 0 3px var(--accent); }
.g-a { margin-top: 10px; font-size: 17.5px; line-height: 1.5; }
.g-sec > p { margin-top: 12px; }
.g-faq .g-a { font-size: 17px; }
.g-link { font-weight: 600; }
.g-list { margin-top: 12px; padding-left: 1.2em; }
.g-list li + li { margin-top: 6px; }
.g-list li::marker { color: var(--accent); }
.g-tw { margin-top: 16px; overflow-x: auto; }
.g-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.4; }
.g-table caption { caption-side: bottom; padding-top: 8px; text-align: left; font-size: 13.5px; color: var(--ink-2); }
.g-table th, .g-table td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.g-table thead th { font-size: 14px; color: var(--ink-2); border-bottom: 1.5px solid var(--ink); }
.g-table tbody th { font-weight: 700; }
.g-table td:last-child { font-weight: 600; }
.g-routes td:last-child { white-space: nowrap; font-weight: 800; color: var(--accent-deep); }
.g-box { max-width: 46em; padding: 22px 20px; border-radius: 22px; background: var(--wash); }
.g-box .h3 { margin-bottom: 12px; }
.g-box-more { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }
.g-nat .fact-list .fact-box { background: var(--page); }
.g-lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.g-lessons a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 12px 14px; border-radius: 16px; background: var(--page); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 150ms var(--ease), transform 150ms var(--ease); }
.g-lessons a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-1px); }
.g-ln { font-size: 13.5px; font-weight: 800; color: var(--accent-deep); white-space: nowrap; }
.g-lt { font-weight: 700; line-height: 1.3; }
.g-lm { font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.g-more { max-width: 46em; }
.g-more .h3 { margin-bottom: 12px; }
.g-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.g-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: var(--page); font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow 150ms var(--ease), background-color 150ms var(--ease); }
.g-chips a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-soft); }
.g-chips-lg { margin-top: 4px; }
.g-chips-lg a { min-height: 48px; padding: 8px 18px; font-size: 16px; font-weight: 700; }
@media (max-width: 559px) { .g-chips-lg { display: grid; grid-template-columns: 1fr 1fr; } .g-chips-lg a { width: 100%; height: 100%; padding: 8px 14px; border-radius: 16px; font-size: 15px; line-height: 1.25; } }
.g-also { max-width: 46em; margin-top: 18px; font-size: 15.5px; color: var(--ink-2); }
.g-also a { font-weight: 600; }
.g-auth { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; max-width: 46em; padding: 14px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.g-auth span { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.g-index .h3 { margin-bottom: 12px; }
.g-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 52em; }
@media (min-width: 900px) { .g-rows { grid-template-columns: 1fr 1fr; } }
.g-row { display: grid; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 18px; background: var(--page); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.g-row:hover { box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-2px); }
.g-row-t { font-weight: 800; font-size: 17.5px; letter-spacing: -0.01em; }
.g-row-d { font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.g-revs { display: grid; gap: 8px; margin-top: 14px; }
.g-rev { padding: 4px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.g-rev summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 48px; padding-block: 12px; cursor: pointer; font-weight: 700; }
.g-rev[open] { padding-bottom: 14px; }
.g-rev .key-points { margin-top: 2px; }
.g-rev p { margin-top: 10px; font-weight: 600; }
.g-end { margin-top: 8px; }
/* businesses */
.biz-tiers tr.is-here th, .biz-tiers tr.is-here td { background: var(--accent-soft); }
.biz-tiers tbody th, .biz-tiers tbody td { padding-left: 8px; }
.biz-calc { margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: var(--wash); }
.biz-calc label { display: block; margin-bottom: 8px; font-weight: 700; }
.biz-calc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.biz-calc input { width: 7.5em; min-height: 52px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--page); color: var(--ink); font-size: 20px; font-weight: 800; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.biz-calc input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.biz-out { font-size: 16.5px; color: var(--ink-2); }
.biz-out strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.biz-page .price-box { margin-top: 20px; }
.biz-form { margin-top: 20px; padding: 22px 20px; border-radius: 22px; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.biz-form .field { margin-bottom: 14px; }
.biz-form label { display: block; margin-bottom: 6px; font-weight: 700; }
.biz-form input[type="text"] { width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--page); color: var(--ink); font-size: 17px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.biz-form .check { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 18px; }
.biz-form .check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.biz-form .check label { margin: 0; font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.biz-page .how { margin-top: 14px; }
.team-page { max-width: 760px; padding-bottom: clamp(56px, 8vw, 112px); }
.team-steps { margin-top: 24px; }
.team-page .fine { margin-top: 18px; }
.team-box { background: var(--accent-soft); }
.team-line { margin-bottom: 10px; font-weight: 800; color: var(--accent-deep); }
.panel { margin-top: 20px; }
.panel-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.panel-sum div { padding: 14px 16px; border-radius: 16px; background: var(--wash); }
.panel-sum dt { font-size: 14px; color: var(--ink-2); }
.panel-sum dd { margin: 0; font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.panel-link { margin-top: 18px; }
.panel-link label { display: block; margin-bottom: 8px; font-weight: 700; }
.panel-link input { font-size: 15px; letter-spacing: 0; text-transform: none; }
.panel-people td:nth-child(2) { font-weight: 400; color: var(--ink); white-space: normal; }
.panel-people td a { font-weight: 700; white-space: nowrap; }
@media (max-width: 639px) {
  .panel .rec-wrap { overflow: visible; }
  .panel-people { min-width: 0; }
  .panel-people thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .panel-people tr { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .panel-people th, .panel-people td { display: block; padding: 0; border: 0; }
  .panel-people td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-2); }
}
/* the public check, explained */
.v-table td { font-weight: 600; }
.v-table td:last-child { font-weight: 400; color: var(--ink-2); }
.v-guide { margin-top: 44px; padding-top: 32px; border-top: 1.5px solid var(--ink); }
.v-guide h3 { margin-top: 26px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.v-guide .fact-list { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .try-opt, .try-opt::before, .q-opts .opt, .q-opts .opt b, .exam-segs i, .sticky-cta, .resume, .syl-link { transition: none; }
  .q-card.is-current, .v-result, .ring .ring-fg, .g-body::before { animation: none; }
  .g-lessons a, .g-chips a, .g-row { transition: none; }
}
@media (min-width: 640px) { .opt-flag { margin-left: auto; } }
.result .pass-box h2 { font-size: clamp(21px, 2.6vw, 26px); line-height: 1.2; letter-spacing: -0.02em; }
.mod-details summary { list-style: none; justify-content: space-between; gap: 12px; }
.mod-details summary::-webkit-details-marker { display: none; }
.mod-details summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wash); font-weight: 500; font-size: 20px; transition: transform 200ms var(--ease); }
.mod-details[open] summary::after { transform: rotate(45deg); }
@media (min-width: 1000px) { .cert-body-col { padding-top: 32px; } }
@media (max-width: 359px) { .course-nav a { padding: 8px 10px; font-size: 14px; } }
