:root {
    --navy: #071b33;
    --navy-2: #0c294b;
    --navy-deep: #071d42;
    --blue: #145da0;
    --blue-soft: #8fc4ff;
    --blue-light: #e9f3fb;
    --gold: #d6aa4e;
    --gold-light: #f4dfae;
    --bronze: #dfb32d;
    --bronze-l: #f2d15a;
    --ink: #0d2a56;
    --ink-2: #123c73;
    --muted: #59687b;
    --line: #d3deeb;
    --rule: #d3deeb;
    --paper: #f5f7fb;
    --paper-2: #eaf0f8;
    --surface: #f6f8fb;
    --white: #fdfefe;
    --primary: #0645ad;
    --success: #176b4b;
    --danger: #a73838;
    --shadow: 0 18px 48px rgba(7, 27, 51, .10);
    --radius: 14px;
    --max: 1180px;
    --serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
    --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
    --masthead-h: 94px;
    --util-h: 36px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--serif); line-height: 1.65; font-variant-ligatures: none; font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; font-family: var(--sans); }
img { max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 1rem; top: -5rem; padding: .7rem 1rem; color: white; background: var(--navy); }
.skip-link:focus { top: 1rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; }
h1 { font-size: clamp(2.7rem, 5vw, 5rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.025em; }
h3 { line-height: 1.25; }
em { color: var(--gold-light); font-style: normal; }
.eyebrow { display: inline-block; color: var(--blue); font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-gold { color: var(--gold-light); }
.lead { font-size: 1.16rem; }
.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.util .wrap,
.site-header .wrap {
    width: min(1240px, calc(100% - 2.5rem));
}

.util, .site-header, .brand-name, .brand-sub {
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0;
}
.util {
    height: var(--util-h);
    display: flex;
    align-items: center;
    color: #d9d3c4;
    background: var(--ink);
    font-family: var(--sans);
    font-size: 12.5px;
    letter-spacing: .04em;
}
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.util a { color: #d9d3c4; text-decoration: none; }
.util a:hover, .util a.is-current { color: var(--bronze-l); }
.util-nav, .util-right { display: flex; align-items: center; gap: 1.15rem; }
.util-nav a + a::before,
.util-right a + a::before,
.util-right .lang::before,
.util-lock::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 10px;
    margin-right: 1.15rem;
    background: #3a4d66;
    vertical-align: middle;
}
.lang { display: inline-flex; align-items: center; gap: .45rem; }
.lang a.is-active { color: var(--bronze-l); font-weight: 700; }
.util-account { display: inline-flex; align-items: center; gap: 1.15rem; }
.util-account::before {
    content: "";
    width: 1px;
    height: 10px;
    background: #3a4d66;
}
.util-lock { display: inline-flex; align-items: center; margin: 0; }
.util-lock button {
    padding: 0;
    border: 0;
    color: #d9d3c4;
    background: transparent;
    font: inherit;
    cursor: pointer;
}
.util-lock button:hover { color: var(--bronze-l); }

.site-header {
    --masthead-h: 94px;
    position: sticky;
    z-index: 50;
    top: 0;
    overflow: visible;
    background:
        linear-gradient(
            to bottom,
            var(--white) 0,
            var(--white) var(--masthead-h),
            var(--navy-deep) var(--masthead-h),
            var(--navy-deep) 100%
        );
    font-family: var(--sans);
}
.mast {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand actions" "nav nav";
    grid-template-rows: var(--masthead-h) auto;
    align-items: center;
    gap: 0 1.25rem;
}
.site-header .brand {
    grid-area: brand;
    height: var(--masthead-h);
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
    color: var(--ink);
    text-decoration: none;
    transform: translateX(-7.5rem);
}
.site-header .brand:hover { color: var(--primary); }
.brand-logo {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    flex: 0 0 84px;
}
.brand-logo img {
    width: 84px;
    height: 84px;
    max-width: none;
    object-fit: contain;
}
.brand-copy {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "acronym title";
    align-items: baseline;
    column-gap: 1rem;
}
.brand-name {
    grid-area: acronym;
    color: var(--ink);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1;
}
.brand-sub {
    grid-area: title;
    max-width: none;
    margin: 0;
    padding-left: 1rem;
    border-left: 1px solid var(--rule);
    color: var(--ink-2);
    font-family: var(--serif);
    font-size: 1.22rem;
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.2;
}
.brand-initial { color: var(--bronze); font-weight: 700; }
.nav-toggle {
    display: none;
    grid-area: actions;
    justify-self: end;
    width: 42px;
    height: 42px;
    border: 1px solid var(--primary);
    background: none;
    cursor: pointer;
    position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--primary);
    position: absolute;
    left: 11px;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }
.primary-nav {
    grid-area: nav;
    min-width: 0;
    border-top: 1px solid rgba(255,255,255,.14);
}
.primary-nav > ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
}
.primary-nav > ul > li { position: static; flex: 0 0 auto; }
.primary-nav > ul > li.nav-account { display: none; }
.primary-nav > ul > li > a,
.primary-nav > ul > li > button {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .72rem .7rem;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #fff;
    background: none;
    font: inherit;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.primary-nav > ul > li > button[data-mega]::after {
    content: "";
    width: .38rem;
    height: .38rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: .55;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > button:hover,
.primary-nav > ul > li.is-open > button,
.primary-nav > ul > li:focus-within > button {
    color: #fff;
    border-bottom-color: var(--primary);
}
.header-cta {
    grid-area: actions;
    height: var(--masthead-h);
    display: flex;
    align-items: center;
    padding: 0;
}
.header-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .62rem 1.05rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    font-family: var(--sans);
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    line-height: 1.2;
}
.header-cta .btn:hover { color: #fff; background: var(--primary); }
.mega {
    display: none;
    position: absolute;
    z-index: 60;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1.5rem 0 1.7rem;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--white);
    box-shadow: 0 18px 40px rgba(21, 34, 56, .12);
}
.primary-nav li.is-open > .mega,
.primary-nav li:hover > .mega,
.primary-nav li:focus-within > .mega { display: block; }
.mega-grid {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 1.75rem 2.25rem;
    align-items: start;
}
.mega-intro { padding-right: 1.25rem; border-right: 1px solid var(--rule); }
.mega-intro h2 {
    margin: 0 0 .45rem;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
}
.mega-intro p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .2rem 1rem; }
.mega-cols a {
    display: block;
    padding: .6rem .7rem;
    border: 1px solid transparent;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
}
.mega-cols a:hover { background: var(--paper); border-color: var(--rule); }
.mega-cols a small { display: block; margin-top: .18rem; color: #4a5560; font-size: .8rem; font-weight: 400; }

.site-footer {
    background: #fff;
    color: #25364f;
    padding: 0;
    font-family: var(--sans);
    font-size: .9rem;
}
.foot-band {
    height: 10px;
    background: var(--navy-deep);
}
.foot-main {
    position: relative;
    overflow: hidden;
    padding: 2.4rem 0 2.2rem;
    background: #fff;
}
.foot-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/assets/img/footer-world.svg?v=20260917b") center 42% / 118% auto no-repeat;
    opacity: 0.06;
    pointer-events: none;
}
.foot-main .wrap {
    position: relative;
    z-index: 1;
}
.site-footer .wrap {
    width: min(1400px, calc(100% - 4rem));
    max-width: none;
}
.foot-grid {
    display: grid;
    grid-template-columns: min-content repeat(4, max-content);
    gap: 1.25rem 2.25rem;
    align-items: start;
    justify-content: space-between;
}
.foot-grid > .foot-logo {
    justify-self: start;
}
.site-footer h2 {
    margin: 0 0 .7rem;
    color: var(--ink);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
@media (min-width: 981px) {
    .site-footer h2 { white-space: nowrap; }
}
.site-footer p { margin: 0 0 .7rem; }
.site-footer a { color: #25364f; text-decoration: none; }
.site-footer a:hover { color: #0748ae; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .28rem 0; }
.foot-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.1rem;
    padding: 0 1.6rem 0 0;
    width: max-content;
    max-width: max-content;
    min-width: 0;
}
.foot-logo h2 {
    width: max-content;
    align-self: center;
    margin: 0;
    text-align: center;
}
.foot-logo a {
    display: block;
    line-height: 0;
}
.foot-logo img {
    width: 180px;
    max-width: 180px;
    height: auto;
    display: block;
}
.foot-logo .foot-ids {
    margin: 0;
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .04em;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}
.foot-copy {
    padding: .95rem 0;
    background: var(--navy-deep);
}
.foot-copy .copyright,
.copyright {
    margin: 0;
    color: #fff;
    font-size: .78rem;
}
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.25rem; border: 1px solid transparent; border-radius: 3px; font-family: var(--sans); font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.button-sm { min-height: 39px; padding: .45rem .9rem; font-size: .85rem; }
.button-gold { color: var(--navy) !important; background: var(--gold); }
.button-navy { color: white; background: var(--navy); }
.button-ghost { color: white; border-color: rgba(255,255,255,.45); background: transparent; }
.button-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.button-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.text-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.hero { position: relative; overflow: hidden; color: white; background: linear-gradient(118deg, #071b33 0%, #0a2544 58%, #0c294b 100%); }
.hero::after { position: absolute; width: 280px; height: 280px; content: ""; right: -90px; top: -110px; border: 1px solid rgba(214,170,78,.16); border-radius: 50%; box-shadow: 0 0 0 48px rgba(214,170,78,.035); }
.hero-grid { position: relative; z-index: 1; min-height: 490px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2.4rem; padding-block: 4rem 3.8rem; }
.hero-copy h1 { max-width: 640px; margin: 0 0 .75rem; font-size: clamp(2.05rem, 3.1vw, 3.15rem); line-height: 1.12; }
.hero-copy .lead { max-width: 540px; margin: 0; color: #d7e4f0; font-size: 1.05rem; line-height: 1.5; }
.hero .button-row { margin: 1.1rem 0 0; }
.hero-note { max-width: 540px; margin: 0; padding-left: .85rem; border-left: 2px solid var(--gold); color: #aebfd0; font-size: .78rem; line-height: 1.45; }
.hero-panel { padding: 1.2rem 1.3rem 1.15rem; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); box-shadow: none; backdrop-filter: blur(6px); }
.hero-panel h2 { margin: 0 0 .55rem; font-size: 1.18rem; letter-spacing: -.02em; }
.hero-panel .seal { width: 54px; height: 54px; margin-bottom: .65rem; font-size: 1.1rem; }
.hero-panel .check-list { margin: 0; }
.hero-panel .check-list li { margin: .32rem 0; font-family: var(--sans); font-size: .88rem; line-height: 1.35; }
.seal { width: 86px; height: 86px; margin-bottom: 2rem; display: grid; place-content: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); text-align: center; font: 700 2rem var(--serif); }
.seal span { display: block; font: 600 .5rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; margin: .75rem 0; padding-left: 1.7rem; }
.check-list li::before { position: absolute; left: 0; content: "✓"; color: var(--gold); font-weight: 700; }
.trust-strip { border-bottom: 1px solid var(--line); background: white; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { display: flex; align-items: center; gap: .9rem; padding: 1.4rem; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border: 0; }
.trust-grid strong { color: var(--gold); font-family: var(--serif); font-size: 1.45rem; }
.trust-grid span { color: var(--navy); font-size: .82rem; font-weight: 700; }
.section { padding: 90px 0; }
.section-tint { background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin: .45rem 0 0; }
.section-heading.narrow { max-width: 620px; }
.card-grid,
.catalogue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card-grid .cert-card h3 { font-size: 1.08rem; }
.catalogue-page .container {
    width: min(1600px, calc(100% - 48px));
    max-width: 100%;
}
.cert-page .container {
    width: min(1520px, calc(100% - 80px));
    max-width: 100%;
}
.catalogue-filters { margin: 0 0 2.2rem; }
.catalogue-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 0;
}
.catalogue-cat {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.15rem 1.2rem 1.2rem;
    border: 1px solid #d5dfeb;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(7, 27, 51, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.catalogue-cat:hover {
    transform: translateY(-4px);
    border-color: #c4a056;
    box-shadow: 0 18px 36px rgba(7, 27, 51, .10);
}
.catalogue-cat.is-active {
    border-color: var(--gold);
    background: #fbf7ee;
}
.catalogue-cat-kicker {
    display: block;
    color: var(--gold);
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.catalogue-cat h2 {
    margin: .4rem 0 .45rem;
    color: var(--navy);
    font-size: 1.18rem;
    letter-spacing: -.02em;
    line-height: 1.22;
}
.catalogue-cat p {
    margin: 0;
    color: #5a6b7d;
    font-size: .92rem;
    line-height: 1.45;
    flex: 1;
}
.catalogue-listings {
    scroll-margin-top: calc(var(--masthead-h) + var(--util-h) + 20px);
}
.catalogue-break {
    display: block;
    position: relative;
    height: 0;
    margin: 2.25rem 0 0;
    border: 0;
    border-top: 1px solid var(--line);
}
.catalogue-break::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 4.8rem;
    height: 2px;
    background: var(--gold);
}
.catalogue-results {
    padding-top: 2.15rem;
}
.catalogue-results-head {
    margin: 0 0 1.15rem;
    color: var(--navy);
    font-size: 1.45rem;
    letter-spacing: -.02em;
}
.catalogue-cat strong {
    display: block;
    margin-top: .85rem;
    color: #6a7b8e;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 700;
}
.catalogue-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.catalogue-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .42rem .78rem;
    border: 1px solid #d5dfeb;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 650;
    text-decoration: none;
}
.catalogue-chip span {
    color: #6a7b8e;
    font-size: .74rem;
    font-weight: 700;
}
.catalogue-chip.is-active {
    border-color: var(--gold);
    background: #f7f1e3;
    color: var(--navy);
}
.catalogue-chip:hover { border-color: var(--gold); }
.catalogue-category + .catalogue-category { margin-top: 2.6rem; }
.catalogue-category-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1.1rem;
}
.catalogue-category-head h2 { margin: 0; font-size: 1.45rem; }
.catalogue-category-head span { color: #6a7b8e; font-size: .86rem; font-weight: 700; }
.cert-card-cat {
    display: block;
    margin: 0 0 .4rem;
    color: var(--gold);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.cert-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #d5dfeb;
    box-shadow: 0 10px 28px rgba(7, 27, 51, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0;
}
.cert-card * { font-family: var(--sans); font-variant-ligatures: none; }
.cert-card:hover { transform: translateY(-6px); border-color: #c4a056; box-shadow: 0 22px 40px rgba(7, 27, 51, .14); }
.cert-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.cert-card-media {
    position: relative;
    height: 168px;
    overflow: hidden;
    background: #0b1f33;
}
.cert-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.02);
    transition: transform .45s ease;
}
.cert-card:hover .cert-card-media img { transform: scale(1.08); }
.cert-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 27, 51, .18) 0%, rgba(7, 27, 51, .55) 100%);
    border-bottom: 3px solid var(--gold);
}
.cert-card-badge,
.cert-card-mark { position: absolute; z-index: 1; }
.cert-card-badge {
    top: .85rem;
    left: .85rem;
    padding: .28rem .55rem;
    color: #f4dfae;
    background: rgba(7, 27, 51, .72);
    border: 1px solid rgba(214, 170, 78, .45);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.cert-card-mark {
    right: .9rem;
    bottom: .75rem;
    color: rgba(255, 255, 255, .88);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
}
.cert-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.3rem 1.35rem; }
.cert-card h3 { margin: 0 0 .55rem; color: var(--navy); font-size: 1.22rem; font-weight: 750; line-height: 1.28; letter-spacing: -.01em; }
.cert-card p { margin: 0 0 1.1rem; color: #5a6b7d; font-size: .88rem; line-height: 1.5; }
.cert-card-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem .85rem;
    margin-top: auto;
    padding-top: .9rem;
    border-top: 1px solid #e6edf4;
    color: #5a6b7d;
    font-size: .78rem;
    font-weight: 650;
}
.cert-card-facts strong { margin-left: auto; color: var(--navy); font-size: .95rem; }
.cert-card-prep {
    margin: .4rem 0 0;
    color: #7a8a9a;
    font-size: .72rem;
    font-weight: 600;
}
.cert-card-cta {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .85rem;
    color: #0c3a6e;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}
.cert-card:hover .cert-card-cta { color: #9a7420; }
.cert-card.is-compact .cert-card-media { height: 128px; }
.cert-card.is-compact h3 { font-size: 1.05rem; }
.cert-card.is-compact p { font-size: .8rem; }
.cert-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin: auto 0 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.cert-meta strong { color: var(--navy); }
.pill { display: inline-block; padding: .25rem .6rem; border-radius: 20px; color: var(--blue); background: var(--blue-light); font-size: .7rem; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0; background: var(--line); list-style: none; }
.steps li { padding: 2rem; background: white; }
.steps li > span { width: 38px; height: 38px; display: grid; place-content: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--navy); font-weight: 700; }
.steps h3 { margin: 1.3rem 0 .5rem; }
.steps p { color: var(--muted); font-size: .87rem; }
.cta-band { padding: 65px 0; color: white; background: var(--navy); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner h2 { margin: .4rem 0 0; }
.page-hero, .detail-hero, .dashboard-head { color: white; background: linear-gradient(120deg, var(--navy), var(--navy-2)); }
.page-hero { padding: 100px 0; }
.page-hero h1 { margin: .8rem 0 1.2rem; font-size: clamp(2.8rem, 5vw, 4.6rem); }
.page-hero p { max-width: 650px; color: #c7d6e6; }
.catalogue-hero {
    position: relative;
    overflow: hidden;
    min-height: 450px;
    padding: 4.3rem 0 3.9rem;
    background-color: #061422;
    background-image:
        linear-gradient(105deg, rgba(5, 16, 30, .94) 0%, rgba(6, 20, 36, .82) 42%, rgba(6, 20, 36, .46) 100%),
        url("/assets/img/editorial/certify-catalogue.jpg");
    background-position: 72% 18%;
    background-size: cover;
    background-repeat: no-repeat;
}
.catalogue-hero .container { position: relative; z-index: 1; text-align: left; }
.catalogue-hero-copy { width: 100%; max-width: none; padding-left: 5.5rem; text-align: left; }
.catalogue-hero .eyebrow { margin-bottom: .15rem; }
.catalogue-hero h1 {
    margin: .7rem 0 1.15rem;
    max-width: none;
    font-size: clamp(1.9rem, 2.4vw + .7rem, 3.2rem);
    line-height: 1.12;
    white-space: nowrap;
}
.catalogue-hero p { max-width: 48rem; color: #d4e0ec; font-size: 1.12rem; }
.catalogue-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.5rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #f0e2bc;
}
.catalogue-hero-points li { display: inline-flex; align-items: center; gap: .55rem; }
.catalogue-hero-points li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}
.notice { margin-bottom: 2.5rem; padding: 1.3rem 1.5rem; border-left: 4px solid var(--gold); background: #fffbf1; }
.notice p { margin: .25rem 0 0; color: var(--muted); }
.empty-state { grid-column: 1 / -1; padding: 2rem; border: 1px dashed #b8c5d3; color: var(--muted); background: var(--surface); text-align: center; }
.back-link { display: block; margin-bottom: 2.5rem; color: #afc2d5; font-size: .85rem; text-decoration: none; }
.formatted-text, .prose p { color: #4d5e72; }

.cert-page {
    max-width: 100%;
    overflow-x: clip;
    background: #f4f7fb;
}
.cert-mast {
    position: relative;
    overflow: hidden;
    min-height: clamp(480px, 52vh, 590px);
    color: #fff;
    background-color: #061627;
    background-image:
        linear-gradient(105deg, rgba(6, 18, 32, .90) 0%, rgba(6, 22, 40, .78) 46%, rgba(6, 22, 40, .46) 100%),
        var(--cert-hero-image);
    background-position: var(--cert-hero-position, center 18%);
    background-size: cover;
    background-repeat: no-repeat;
}
.cert-mast-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    min-height: inherit;
    padding: 3.6rem 0 3.8rem;
}
.cert-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.15rem;
    color: #9eb3c7;
    font-family: var(--sans);
    font-size: .82rem;
}
.cert-crumb a { color: #d6e2ee; text-decoration: none; }
.cert-crumb a:hover { color: var(--gold-light); }
.cert-badge {
    display: inline-flex;
    align-items: center;
    margin: 0 0 .9rem;
    padding: .28rem .7rem;
    border: 1px solid rgba(214, 170, 78, .45);
    border-radius: 999px;
    color: var(--gold-light);
    background: rgba(214, 170, 78, .1);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cert-page .cert-mast h1 {
    margin: 0 0 .85rem;
    max-width: none;
    font-size: clamp(2.15rem, 3.9vw, 2.95rem);
    letter-spacing: -.03em;
    line-height: 1.12;
    white-space: nowrap;
}
.cert-page .cert-mast h1.cert-award,
.cert-page .cert-mast h1.is-long {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .28rem;
    max-width: none;
    white-space: normal;
}
.cert-award-brand {
    display: block;
    color: var(--gold-light);
    font-family: var(--sans);
    font-size: .36em;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    line-height: 1.2;
}
.cert-award-name {
    display: block;
    white-space: nowrap;
}
.cert-mast-copy { min-width: 0; }
.cert-lead {
    max-width: 42rem;
    margin: 0 0 1.4rem;
    color: #c5d4e4;
    font-size: 1.1rem;
    line-height: 1.55;
}
.cert-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cert-chips li {
    min-width: 7.4rem;
    padding: .65rem .85rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(8px);
}
.cert-chips li.cert-flag {
    display: none;
    flex: 0 0 auto;
    min-width: 0;
    padding: 0;
    height: 4.4rem;
    border-radius: 6px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: hidden;
}
.cert-chips li.cert-flag { margin-left: 1rem; }
.cert-chips li.cert-flag + li.cert-flag { margin-left: 0; }
.cert-flag svg { display: block; }
.cert-flag-fr,
.cert-flag-ca {
    width: 8.8rem;
    height: 4.4rem;
}
.cert-chips span {
    display: block;
    color: #9eb3c7;
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cert-chips strong {
    display: block;
    margin-top: .15rem;
    font-family: var(--sans);
    font-size: 1.05rem;
}
.cert-mast-visual {
    display: grid;
    place-items: center end;
    margin-right: 2.5rem;
}
.cert-orb {
    position: relative;
    width: 136px;
    height: 136px;
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
    border: 1px solid rgba(214, 170, 78, .4);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 42%, rgba(214, 170, 78, .16), transparent 46%),
        rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 8px rgba(7, 27, 51, .25);
}
.cert-orb::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(6, 18, 32, .28);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
    pointer-events: none;
}
.cert-orb-fr::before {
    background: conic-gradient(
        from -90deg,
        #002395 0 120deg,
        #f7f7f7 120deg 240deg,
        #ed2939 240deg 360deg
    );
}
.cert-orb-kicker {
    display: block;
    margin-bottom: .15rem;
    color: rgba(255, 255, 255, .7);
    font-family: var(--sans);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.cert-orb-mark {
    color: var(--gold-light);
    font: 700 1.38rem var(--sans);
    letter-spacing: .16em;
    font-variant-ligatures: none;
}
.cert-orb strong {
    display: block;
    max-width: 7.4rem;
    margin: .28rem auto 0;
    color: rgba(255, 255, 255, .78);
    font-family: var(--sans);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}
.cert-tabs {
    border-bottom: 1px solid var(--line);
    background: #fff;
}
.cert-tabs-row {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.4rem;
}
.cert-tabs a {
    position: relative;
    padding: .95rem 0;
    color: var(--muted);
    font-family: var(--sans);
    font-size: .92rem;
    font-weight: 650;
    text-decoration: none;
}
.cert-tabs a:hover,
.cert-tabs a:focus-visible { color: var(--navy); }
.cert-tabs a:hover::after,
.cert-tabs a:focus-visible::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    content: "";
    background: var(--gold);
}
.cert-body { padding: 2.4rem 0 4.5rem; }
.cert-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: 1.8rem;
    align-items: start;
}
.cert-main { display: grid; gap: 1.15rem; }
.cert-block,
.cert-legal { scroll-margin-top: calc(var(--masthead-h) + var(--util-h) + 16px); }
.cert-block,
.cert-legal,
.cert-widget {
    padding: 1.45rem 1.5rem 1.55rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(7, 27, 51, .04);
}
.cert-widget { border-top: 4px solid var(--gold); }
.cert-block-head { margin-bottom: 1.15rem; }
.cert-block-head h2,
.cert-legal h2,
.cert-widget h2 {
    margin: .3rem 0 0;
    font-size: 1.58rem;
    letter-spacing: -.02em;
}
.cert-legal h2 {
    margin-bottom: .85rem;
    white-space: nowrap;
}
.cert-legal h2.is-long {
    white-space: normal;
}
.cert-overview p {
    margin: 0 0 1.15rem;
    color: #3d4d61;
    font-size: 1.14rem;
    line-height: 1.72;
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    -webkit-hyphens: none;
}
.cert-overview p:last-child { margin-bottom: 0; }
.cert-intro {
    margin: 0 0 1.15rem;
    color: #3d4d61;
    font-size: 1.14rem;
    line-height: 1.72;
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    -webkit-hyphens: none;
}
.cert-widget-note { margin: 0 0 1.1rem; color: var(--muted); font-size: .95rem; }
.cert-widget-foot { margin: .9rem 0 0; font-size: .82rem; }
.cert-modules,
.cert-skills,
.cert-steps,
.cert-includes,
.cert-meta-list { margin: 0; padding: 0; list-style: none; }
.cert-modules { display: grid; gap: .75rem; counter-reset: module; }
.cert-modules li {
    display: grid;
    gap: .25rem;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 1px solid var(--paper-2);
    border-radius: 12px;
    background: #f8fbfe;
    position: relative;
}
.cert-modules li::before {
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 1.7rem;
    height: 1.7rem;
    display: grid;
    place-content: center;
    content: counter(module, decimal-leading-zero);
    counter-increment: module;
    border-radius: 999px;
    color: var(--navy);
    background: #efe3c4;
    font: 700 .72rem var(--sans);
}
.cert-modules strong { color: var(--navy); font-family: var(--sans); font-size: 1.06rem; }
.cert-modules span { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.cert-learn {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}
.cert-learn li {
    display: flex;
    align-items: flex-start;
    min-height: 100%;
    padding: .9rem 1rem .9rem 2.35rem;
    border: 1px solid var(--paper-2);
    border-radius: 12px;
    background: #f8fbfe;
    color: #2f3e50;
    font-size: 1.02rem;
    line-height: 1.45;
    position: relative;
}
.cert-learn li::before {
    position: absolute;
    left: .9rem;
    content: "✓";
    color: var(--gold);
    font-weight: 700;
}
.cert-handbook-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    margin: 0 0 1.4rem;
}
.cert-handbook-points article {
    padding: 1rem 1.05rem;
    border: 1px solid var(--paper-2);
    border-radius: 12px;
    background: #fffdf6;
}
.cert-handbook-points strong {
    display: block;
    margin-bottom: .35rem;
    color: var(--navy);
    font-family: var(--sans);
    font-size: .95rem;
}
.cert-handbook-points p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.cert-project {
    display: grid;
    gap: .85rem;
    margin: 1.15rem 0 1.4rem;
}
.cert-project p { margin: 0; color: #3d4d61; font-size: 1.14rem; line-height: 1.72; }
.cert-project span {
    display: block;
    margin-bottom: .2rem;
    color: var(--gold);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cert-phases {
    margin: 0 0 1.6rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .7rem;
}
.cert-phases li {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: .15rem 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--paper-2);
    border-radius: 12px;
    background: #f8fbfe;
}
.cert-phases em {
    grid-row: 1 / span 2;
    align-self: start;
    color: var(--navy);
    font-family: var(--sans);
    font-size: .78rem;
    font-style: normal;
    font-weight: 750;
}
.cert-phases strong { color: var(--navy); font-family: var(--sans); font-size: 1.02rem; }
.cert-phases span { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.cert-includes-kicker {
    margin: 0 0 .45rem;
    color: var(--muted);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.prep-handbook {
    padding: 1.6rem 1.7rem 1.8rem;
    border: 1px solid var(--paper-2);
    border-radius: 16px;
    background: #fff;
}
.prep-handbook-head { margin-bottom: 1.6rem; }
.prep-handbook-top {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.prep-handbook-top i {
    width: 1px;
    height: 1rem;
    background: var(--line);
}
.prep-handbook-kicker {
    margin: 0 0 .35rem;
    color: var(--gold);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.prep-handbook > h2,
.prep-handbook-head h2 {
    margin: 0;
    font-size: clamp(1.85rem, 2.4vw, 2.35rem);
    letter-spacing: -.02em;
}
.prep-handbook-lead {
    margin: .7rem 0 0;
    color: #3d4d61;
    font-size: 1.08rem;
    line-height: 1.65;
}
.prep-handbook p,
.prep-handbook li,
.prep-handbook dd,
.prep-prose p,
.prep-handbook-lead,
.prep-callout p,
.prep-case p,
.prep-faq dd,
.prep-points li,
.prep-questions li {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.prep-prose p { margin: 0 0 1rem; color: #2f3e50; font-size: 1.08rem; line-height: 1.78; }
.prep-prose p:last-child { margin-bottom: 0; }
.prep-case p { margin: 0 0 .85rem; color: #2f3e50; font-size: 1.02rem; line-height: 1.7; }
.prep-case p:last-child { margin-bottom: 0; }
.prep-questions p { margin: .35rem 0 0; color: #3d4d61; font-size: .98rem; line-height: 1.6; }
.prep-section .prep-muted { margin: 1rem 0 .4rem; }
.prep-callout {
    margin: .85rem 0 0;
    padding: .95rem 1.05rem;
    border-left: 3px solid var(--navy);
    background: #f3f5f7;
}
.prep-callout span {
    display: block;
    margin-bottom: .3rem;
    color: var(--navy);
    font-family: var(--sans);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.prep-callout strong { display: block; margin-bottom: .25rem; color: var(--navy); }
.prep-callout p { margin: 0; color: #3d4d61; font-size: .98rem; line-height: 1.6; }
.prep-callout-definition { border-left-color: var(--navy); background: #f4f7fb; }
.prep-callout-note { border-left-color: var(--gold); background: #fff8e8; }
.prep-callout-mistakes { border-left-color: #8a3030; background: #fbf3f3; }
.prep-case {
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--paper-2);
    border-radius: 12px;
    background: #f8fbfe;
}
.prep-case > p { margin: 0; color: #2f3e50; font-size: 1.02rem; line-height: 1.7; }
.prep-faq { margin: 0; display: grid; gap: 1rem; }
.prep-faq dt { margin: 0 0 .3rem; color: var(--navy); font-family: var(--sans); font-size: 1rem; font-weight: 750; }
.prep-faq dd { margin: 0; color: #3d4d61; font-size: .98rem; line-height: 1.6; }
.prep-questions { margin: .8rem 0 0; padding-left: 1.2rem; display: grid; gap: .65rem; color: #2f3e50; }
.prep-muted { margin: 0; color: var(--muted); font-size: .95rem; }
.exam-dossier {
    margin: 0 0 1.4rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--paper-2);
    border-radius: 14px;
    background: #fffdf6;
}
.exam-dossier-kicker {
    margin: 0 0 .35rem;
    color: var(--gold);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.exam-dossier h2 { margin: 0 0 .45rem; font-size: 1.45rem; }
.exam-dossier p { margin: 0; color: #3d4d61; font-size: 1rem; line-height: 1.6; }
.cert-skills { display: flex; flex-wrap: wrap; gap: .6rem; }
.cert-skills li {
    padding: .55rem .85rem .55rem 1.85rem;
    border: 1px solid var(--paper-2);
    border-radius: 999px;
    background: #f8fbfe;
    font-family: var(--sans);
    font-size: .9rem;
    position: relative;
}
.cert-skills li::before {
    position: absolute;
    left: .7rem;
    content: "✓";
    color: var(--gold);
    font-weight: 700;
}
.cert-steps { display: grid; gap: 0; }
.cert-steps li {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--paper-2);
}
.cert-steps li:first-child { padding-top: 0; }
.cert-steps li:last-child { padding-bottom: 0; border-bottom: 0; }
.cert-steps strong { font-family: var(--sans); font-size: 1.02rem; }
.cert-steps span { color: #3d4d61; font-size: 1.08rem; line-height: 1.65; }
.cert-legal { border-left: 4px solid var(--gold); background: #fffaf0; box-shadow: none; }
.cert-legal p { margin: 0 0 .75rem; color: #4d5e72; }
.cert-legal p:last-child { margin-bottom: 0; }
.cert-rail {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: calc(var(--masthead-h) + var(--util-h) + 12px);
}
.cert-widget-kicker {
    margin: 0 0 .85rem;
    padding-bottom: .55rem;
    border-bottom: 2px solid var(--gold);
    color: var(--muted);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.cert-price {
    margin: 0 0 .7rem;
    color: var(--navy);
    font: 700 2.15rem var(--serif);
    letter-spacing: -.03em;
}
.cert-access-status {
    margin: 0 0 1.1rem;
    color: var(--navy);
    font: 700 1.45rem var(--sans);
    letter-spacing: -.02em;
    line-height: 1.25;
}
.cert-includes { margin: 0 0 1.15rem; }
.cert-includes li {
    position: relative;
    margin: .45rem 0;
    padding-left: 1.35rem;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
}
.cert-includes li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: var(--gold);
    font-weight: 700;
}
.cert-widget .button { margin: .4rem 0 0; }
.cert-widget small {
    display: block;
    margin-top: .85rem;
    color: var(--muted);
    font-size: 15px;
    text-align: center;
}
.cert-meta-list div { padding: .7rem 0; border-bottom: 1px solid var(--paper-2); }
.cert-meta-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.cert-meta-list dt {
    color: var(--muted);
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cert-meta-list dd { margin: .2rem 0 0; font-family: var(--sans); font-weight: 650; }
.cert-side-list {
    margin: .15rem 0 0;
    padding: 0;
    list-style: none;
}
.cert-side-list li {
    padding: .55rem 0;
    border-bottom: 1px solid var(--paper-2);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.4;
}
.cert-side-list li:first-child { padding-top: .1rem; }
.cert-side-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.auth-section { min-height: calc(100vh - 76px); padding: 70px 20px; background: linear-gradient(110deg, var(--navy) 0 45%, var(--surface) 45%); }
.auth-shell { width: min(1000px, 100%); margin: auto; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 30px 70px rgba(7,27,51,.25); }
.auth-intro { padding: 4rem; color: white; background: var(--navy-2); }
.auth-intro h1 { margin: 1rem 0; font-size: 3.3rem; }
.auth-intro p { color: #c3d2df; }
.auth-intro .auth-quote { margin-top: 5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); color: var(--gold-light); font-family: var(--serif); font-size: 1.3rem; }
.auth-card { padding: 3.5rem; background: white; }
.auth-card h2 { margin-bottom: .35rem; font-size: 2.3rem; }
.auth-card > p { color: var(--muted); font-size: .9rem; }
.auth-card .form-stack { gap: .45rem; margin-top: 1.35rem; }
.checkout-page { background: linear-gradient(110deg, var(--navy) 0 50%, var(--surface) 50%); }
.checkout-shell {
    position: relative;
    width: min(1120px, 100%);
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
.checkout-panel { display: flex; flex-direction: column; min-height: 100%; }
.checkout-panel-pay {
    padding: 3.2rem 3.1rem 2.8rem;
    background: #fff;
    order: 2;
}
.checkout-panel-voucher {
    padding: 3.2rem 3.1rem 2.8rem;
    color: #fff;
    background: var(--navy-2);
    order: 1;
}
.checkout-cert {
    margin: .35rem 0 .15rem;
    color: var(--navy);
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1.35;
}
.checkout-panel-pay h2 {
    margin: 0 0 .7rem;
    font-size: 2.4rem;
}
.checkout-panel-pay > p { color: var(--muted); font-size: .9rem; }
.checkout-panel-pay .hero-note { margin-top: 1.4rem; }
.checkout-panel-voucher h1 {
    margin: .85rem 0 .55rem;
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    line-height: 1.15;
}
.checkout-panel-voucher > p { color: #c3d2df; }
.checkout-panel-voucher .form-stack label:not(.checkbox) { color: #e8eef4; }
.checkout-panel-voucher .form-stack input[type="text"],
.checkout-panel-voucher .form-stack input[type="email"] {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
.checkout-panel-voucher .form-stack input::placeholder { color: #9eb0c2; }
.checkout-panel-voucher .form-error { color: #fecaca; }
.checkout-or {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d5deea;
    border-radius: 50%;
    background: #fff;
    color: #5b6b7c;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 22px rgba(7, 27, 51, .12);
    pointer-events: none;
    grid-column: 1 / -1;
    grid-row: 1;
}
.checkout-panel .form-stack { gap: .45rem; margin-top: 1.25rem; }
.checkout-panel .form-stack label:not(.checkbox) {
    margin-top: .2rem;
    font-family: var(--sans);
    font-size: .74rem;
}
.checkout-panel .form-stack input[type="text"],
.checkout-panel .form-stack input[type="email"] {
    min-height: 42px;
    padding: .5rem .8rem;
    border-radius: 8px;
    font: 400 .88rem/1.3 var(--sans);
}
.checkout-panel .button { min-height: 44px; margin-top: .45rem; }
.checkout-account-shell { width: min(1080px, 100%); }
.checkout-account-intent {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: #e8eef4;
}
.checkout-account-intent strong { display: block; margin-top: .25rem; color: #fff; }
.checkout-panel-voucher a { color: var(--gold-light); }
.checkout-account-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem .85rem;
    align-items: start;
}
.checkout-account-form .is-wide { grid-column: 1 / -1; }
.checkout-account-form label { margin-top: .45rem; }
.checkout-account-form input[type="password"],
.checkout-account-form input[type="tel"],
.checkout-account-form select {
    min-height: 42px;
    padding: .5rem .8rem;
    border-radius: 8px;
    font: 400 .88rem/1.3 var(--sans);
}
.checkout-account-form .password-field { position: relative; }
.checkout-account-form .password-field input { padding-right: 75px; }
.form-error { display: block; color: #b42318; font-size: .78rem; }
.auth-card .form-stack label:not(.checkbox) {
    margin-top: .2rem;
    font-family: var(--sans);
    font-size: .74rem;
}
.auth-card .form-stack input[type="text"],
.auth-card .form-stack input[type="email"],
.auth-card .form-stack input[type="password"] {
    min-height: 38px;
    padding: .4rem .7rem;
    border-radius: 8px;
    font: 400 .88rem/1.3 var(--sans);
}
.auth-card .password-field input { padding-right: 75px !important; }
.auth-card .button { min-height: 42px; margin-top: .35rem; }
.form-stack { display: grid; gap: .7rem; margin-top: 2rem; }
.form-stack label:not(.checkbox) { margin-top: .45rem; color: var(--navy); font-size: .82rem; font-weight: 700; }
.form-stack input[type="text"], .form-stack input[type="email"], .form-stack input[type="password"], .form-stack input[type="number"], .form-stack input[type="search"], .form-stack input[type="datetime-local"], .form-stack select, .form-stack textarea { width: 100%; min-height: 49px; padding: .75rem 1rem; border: 1px solid #cbd5df; border-radius: 3px; outline: 0; font: inherit; }
.form-stack textarea { min-height: 96px; }
.label-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.label-row a { color: var(--blue); font-size: .8rem; font-weight: 700; text-decoration: none; }
.admin-search { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.5rem 0 1rem; }
.admin-search input, .admin-search select { min-height: 48px; padding: .7rem 1rem; border: 1px solid var(--line); flex: 1; }
.admin-card { padding: 1.6rem; border: 1px solid var(--line); background: white; }
.document-actions { display: flex; gap: .8rem; margin-bottom: 1.5rem; }
.document-sheet { padding: 2.5rem; border: 1px solid var(--line); background: white; }
.document-head { display: grid; grid-template-columns: 72px 1fr auto; gap: 1.2rem; align-items: start; margin-bottom: 2rem; }
.receipt-page { padding: 36px 0 72px; background: #e7eef6; }
.receipt-page .container { width: min(800px, calc(100% - 40px)); }
.receipt-page,
.receipt-page * {
    font-family: var(--sans);
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0;
}
.receipt-sheet {
    overflow: hidden;
    background: #fff;
    color: #10233a;
    border: 1px solid #c3d0de;
    box-shadow: 0 22px 48px rgba(7, 27, 51, .12);
}
.receipt-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.35rem 1.8rem;
    color: #fff;
    background: linear-gradient(135deg, #071b33 0%, #0c3a6e 100%);
    border-bottom: 4px solid var(--gold);
}
.receipt-brand { display: flex; align-items: center; gap: .85rem; }
.receipt-brand img { background: #fff; border-radius: 8px; }
.receipt-brand strong { display: block; font-size: 1.15rem; letter-spacing: .08em; }
.receipt-brand span { display: block; max-width: 16rem; color: #d5e2ef; font-size: .78rem; line-height: 1.35; }
.receipt-doc { text-align: right; }
.receipt-kicker { margin: 0 0 .2rem; color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.receipt-sheet h1 { margin: 0 0 .45rem; color: #fff; font-size: 1.45rem; letter-spacing: .04em; line-height: 1.15; }
.receipt-paid {
    display: inline-block;
    padding: .18rem .55rem;
    color: #0d5138;
    background: #def4e9;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.receipt-body { padding: 1.7rem 1.8rem 1.2rem; }
.receipt-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.4rem; }
.receipt-label { margin: 0 0 .35rem; color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.receipt-parties p { margin: 0; color: #24364d; font-size: .9rem; line-height: 1.5; }
.receipt-parties a { color: var(--blue); text-decoration: none; }
.receipt-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0 0 1.4rem;
    border: 1px solid var(--line);
    background: #f7fafc;
}
.receipt-meta div { padding: .75rem .9rem; border-right: 1px solid var(--line); }
.receipt-meta div:last-child { border-right: 0; }
.receipt-meta dt { margin: 0 0 .2rem; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.receipt-meta dd { margin: 0; font-size: .88rem; font-weight: 700; word-break: break-word; }
.receipt-table { width: 100%; border-collapse: collapse; }
.receipt-table th {
    padding: .55rem .7rem;
    color: #fff;
    background: var(--navy);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: left;
}
.receipt-table th:nth-child(2), .receipt-table td:nth-child(2),
.receipt-table th:nth-child(3), .receipt-table td:nth-child(3) { text-align: right; }
.receipt-table td { padding: .85rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .9rem; }
.receipt-table td strong { display: block; }
.receipt-table td span { display: block; color: var(--muted); font-size: .8rem; }
.receipt-totals { width: min(280px, 100%); margin: 1.1rem 0 0 auto; }
.receipt-totals div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; color: var(--muted); font-size: .86rem; }
.receipt-totals strong { color: var(--navy); }
.receipt-total { margin-top: .25rem; padding-top: .55rem !important; border-top: 2px solid var(--navy); color: var(--navy) !important; font-size: 1rem !important; }
.receipt-vat { margin: .45rem 0 0; color: var(--muted); font-size: .75rem; text-align: right; }
.receipt-foot { padding: 1.2rem 1.8rem 1.5rem; border-top: 1px solid var(--line); background: #f8fafc; }
.receipt-qr-block { display: flex; align-items: center; gap: 1rem; }
.receipt-qr { flex: 0 0 120px; border: 1px solid var(--line); background: #fff; }
.receipt-qr-block p { margin: 0 0 .35rem; font-size: .84rem; color: #24364d; }
.receipt-serial { color: var(--navy) !important; font-weight: 800; letter-spacing: .04em; }
.receipt-legal { margin: 1rem 0 .4rem; color: #5b6b7c; font-size: .78rem; line-height: 1.45; }
.receipt-ids { margin: 0; color: #7b8896; font-size: .72rem; letter-spacing: .02em; }
.certificate-print { text-align: center; padding: 4rem 2rem; }
.certificate-print h1 { font-size: 3rem; }
.diploma-stage { padding: 1.6rem 0 4.5rem; background: #e8edf2; }
.diploma-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 1.4rem;
}
.diploma-sheet {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    aspect-ratio: 297 / 210;
    min-height: 720px;
    color: #122033;
    background: #fff;
    box-shadow: 0 22px 50px rgba(15, 28, 46, .16);
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "dlig" 0, "clig" 0, "calt" 0;
}
.diploma-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem 1.45rem .7rem;
    background: #fff;
    border: 7px solid #0b1f3a;
    text-align: center;
    overflow: hidden;
}
.diploma-wreath {
    position: absolute;
    inset: 4% 7% 5%;
    width: auto;
    height: auto;
    opacity: .7;
    pointer-events: none;
}
.diploma-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: .8rem;
    align-items: start;
}
.diploma-meta,
.diploma-center {
    font-family: var(--sans);
    font-size: .64rem;
    line-height: 1.42;
    letter-spacing: .015em;
}
.diploma-meta { text-align: left; }
.diploma-meta-end { text-align: right; justify-items: end; }
.diploma-center { text-align: center; }
.diploma-head strong {
    display: block;
    margin-bottom: .12rem;
    font-size: .66rem;
    font-weight: 650;
    letter-spacing: .03em;
}
.diploma-center strong {
    font-family: var(--sans);
    font-size: clamp(.78rem, 1.2vw, .98rem);
    font-weight: 650;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}
.diploma-head span { display: block; color: #4a5a6c; }
.diploma-qr {
    display: block;
    width: 48px;
    height: 48px;
    margin: .35rem 0 0 auto;
    border: 1px solid #d5deea;
    background: #fff;
}
.diploma-emblem { position: relative; z-index: 1; margin: .4rem 0 0; }
.diploma-emblem svg { width: 64px; height: 64px; display: block; margin-inline: auto; }
.diploma-flourish {
    position: relative;
    z-index: 1;
    display: block;
    width: 88px;
    height: 14px;
    margin: .2rem auto .05rem;
}
.diploma-sheet h1 {
    position: relative;
    z-index: 1;
    margin: .05rem 0 0;
    color: #122033;
    font: 500 clamp(1.05rem, 2.2vw, 1.55rem) var(--serif);
    letter-spacing: .1em;
    text-indent: .1em;
}
.diploma-recitals {
    position: relative;
    z-index: 1;
    width: min(46rem, 84%);
    margin: .45rem auto 0;
    color: #2f3f52;
    font-size: .78rem;
    line-height: 1.48;
    text-align: justify;
    text-justify: inter-word;
}
.diploma-recitals p { margin: 0 0 .08rem; }
.diploma-verb {
    position: relative;
    z-index: 1;
    margin: .7rem 0 0;
    color: #122033;
    font: 650 .72rem var(--sans);
    letter-spacing: .22em;
    text-indent: .22em;
    text-transform: uppercase;
}
.diploma-name {
    position: relative;
    z-index: 1;
    margin: .18rem 0 0;
    color: #122033;
    font: 500 clamp(1.55rem, 2.8vw, 2.15rem) var(--serif);
    letter-spacing: .14em;
    text-indent: .08em;
}
.diploma-of {
    position: relative;
    z-index: 1;
    margin: .38rem 0 0;
    color: #4a5a6c;
    font: 500 .8rem var(--serif);
}
.diploma-award {
    position: relative;
    z-index: 1;
    margin: .12rem 0 0;
    color: #122033;
    font: 600 clamp(1rem, 1.7vw, 1.28rem) var(--serif);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.diploma-issue {
    position: relative;
    z-index: 1;
    margin: .4rem auto 0;
    max-width: 38rem;
    color: #2f3f52;
    font-size: .74rem;
}
.diploma-when {
    position: relative;
    z-index: 1;
    margin: .32rem 0 0;
    color: #122033;
    font: 600 .82rem var(--serif);
}
.diploma-foot {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: auto;
    padding: .95rem 1.6rem 0;
}
.diploma-sign { min-width: 10rem; text-align: left; }
.diploma-sign-end { text-align: right; }
.diploma-sign span {
    display: block;
    color: #4a5a6c;
    font: 600 .7rem var(--sans);
}
.diploma-sign em {
    display: block;
    width: 9.2rem;
    height: 2.4rem;
    margin-top: .2rem;
    border-bottom: 1px solid #122033;
}
.diploma-sign-end em { margin-left: auto; }
.diploma-legal {
    position: relative;
    z-index: 1;
    margin: .45rem 0 0;
    color: #7a8796;
    font-size: .54rem;
    line-height: 1.35;
}
.session-actions { display: grid; gap: .6rem; min-width: 220px; }
.session-chip { display: grid; gap: .25rem; padding: .7rem .8rem; border: 1px solid var(--line); background: #f8fafc; font-size: .78rem; }
.session-chip span { color: var(--muted); }
@media print {
    .no-print, .util, .site-header, .site-footer, .skip-link, .flash { display: none !important; }
    .document-sheet, .diploma-frame, .receipt-sheet { border-color: #0b1f33; box-shadow: none; }
    .receipt-page { padding: 0; background: #fff; }
    .receipt-page .container { width: 100%; }
    .receipt-sheet { border: 0; }
    .diploma-stage { padding: 0; background: #fff; }
    .diploma-sheet {
        width: 100%;
        min-height: 0;
        aspect-ratio: auto;
        height: 194mm;
        box-shadow: none;
    }
    .diploma-frame { background: #fff; }
}
.form-stack input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,93,160,.12); }
.password-field { position: relative; }
.password-field input { padding-right: 75px !important; }
.password-field button { position: absolute; right: .65rem; top: 50%; border: 0; color: var(--blue); background: none; font-size: .72rem; font-weight: 700; transform: translateY(-50%); cursor: pointer; }
.checkbox { display: flex; align-items: flex-start; gap: .55rem; margin: .6rem 0; color: var(--muted); font-size: .78rem; }
.checkbox input { margin-top: .3rem; accent-color: var(--blue); }
.form-stack small { color: var(--muted); font-size: .72rem; }
.field-error { color: var(--danger); font-size: .76rem; }
.flash { padding: .8rem 0; font-size: .86rem; }
.flash .container { position: relative; }
.flash-success { color: #0d5138; background: #def4e9; }
.flash-error { color: #7d2828; background: #fbe7e7; }
.flash-error ul { margin: .25rem 0 0; }
.flash button { position: absolute; right: 0; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.student-mast {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #061627;
}
.student-cover {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 18, 32, .52) 0%, rgba(6, 22, 40, .78) 48%, rgba(6, 18, 32, .94) 100%),
        var(--student-cover-image) center 40% / cover no-repeat;
    pointer-events: none;
}
.student-mast-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 7.2rem 0 2.1rem;
}
.student-identity {
    display: flex;
    align-items: flex-end;
    gap: 1.25rem;
    min-width: 0;
}
.student-avatar-form { flex: 0 0 auto; }
.student-avatar {
    position: relative;
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    margin: 0;
    border: 4px solid #fff;
    border-radius: 50%;
    overflow: hidden;
    color: var(--gold-light);
    background: #0d2a46;
    box-shadow: 0 10px 24px rgba(6, 18, 32, .32);
    cursor: pointer;
    font: 700 2.1rem var(--sans);
}
.student-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.student-avatar-edit {
    position: absolute;
    inset: auto 0 0;
    padding: .32rem 0 .4rem;
    color: #fff;
    background: rgba(6, 18, 32, .72);
    font-family: var(--sans);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}
.student-copy { min-width: 0; padding-bottom: .15rem; }
.student-copy h1 { margin: .35rem 0 .2rem; font-size: clamp(1.75rem, 3.2vw, 2.55rem); font-weight: 500; }
.student-role { margin: 0 0 .25rem; color: var(--gold-light); font-family: var(--sans); font-size: .92rem; font-weight: 650; }
.student-copy > p { margin: 0; color: #d5e1ec; }
.student-photo-error { display: block; margin-top: .45rem; color: #ffd2d2; font-size: .8rem; }
.profile-photo-hint { margin: 0 0 .85rem; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
}
.profile-card {
    padding: 1.15rem 1.2rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.profile-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .7rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--line);
}
.profile-card h2 {
    margin: .2rem 0 0;
    font-size: 1.28rem;
    letter-spacing: -.02em;
}
.profile-text-action {
    margin: .15rem 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--blue);
    font: 700 .78rem var(--sans);
    cursor: pointer;
}
.profile-text-action:hover { text-decoration: underline; }
.profile-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem .75rem;
}
.profile-fields.is-single { grid-template-columns: 1fr; }
.profile-field { display: grid; gap: .28rem; min-width: 0; }
.profile-field.is-wide { grid-column: 1 / -1; }
.profile-field label {
    color: var(--navy);
    font-family: var(--sans);
    font-size: .74rem;
    font-weight: 700;
}
.profile-field input,
.profile-field select {
    width: 100%;
    min-height: 38px;
    padding: .4rem .7rem;
    border: 1px solid #cbd5df;
    border-radius: 8px;
    outline: 0;
    background: #fff;
    color: var(--ink);
    font: 400 .88rem/1.3 var(--sans);
}
.profile-field input:disabled {
    color: var(--muted);
    background: #f4f7fb;
}
.profile-field input:focus,
.profile-field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(20, 93, 160, .12);
}
.profile-field small { color: var(--muted); font-size: .72rem; }
.profile-actions { margin-top: 1rem; }
.profile-actions .button { width: auto; }
.dashboard-head { padding: 55px 0 75px; }
.dashboard-title { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.dashboard-title h1 { margin: .5rem 0; font-size: 3.6rem; }
.dashboard-title p { margin: 0; color: #bed0df; }
.student-mast-inner,
.container.dashboard-layout { width: min(1520px, calc(100% - 56px)); }
.dashboard-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2.2rem; padding-top: 45px; padding-bottom: 90px; }
.dashboard-nav { align-self: start; position: sticky; top: 180px; display: grid; padding: .75rem; border: 1px solid var(--line); }
.dashboard-nav a { padding: .8rem .95rem; color: var(--muted); font-size: .88rem; font-weight: 600; text-decoration: none; }
.dashboard-nav a:hover, .dashboard-nav a.active { color: var(--blue); background: var(--blue-light); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.stat-card {
    --stat-ink: #f4f7fb;
    --stat-num: #fff;
    --stat-wash: #024170;
    --stat-line: var(--gold);
    --stat-rail: var(--gold);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template: "label label" auto "value meta" auto / auto minmax(0, 1fr);
    align-items: end;
    column-gap: .75rem;
    row-gap: .45rem;
    min-height: 0;
    padding: 1.05rem 1.15rem 1rem;
    border: 1px solid var(--gold);
    border-radius: 16px;
    background: var(--stat-wash);
    box-shadow: inset 0 0 0 1px rgba(244, 223, 174, .55);
    color: var(--stat-ink);
    text-decoration: none;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.stat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(.22);
    transform-origin: left center;
    transition: transform .32s ease;
}
.stat-card.is-ink,
.stat-card.is-slate,
.stat-card.is-deep,
.stat-card.is-night,
.stat-card-gold {
    --stat-ink: #f4f7fb;
    --stat-num: #fff;
    --stat-wash: #024170;
    --stat-line: var(--gold);
    box-shadow: inset 0 0 0 1px rgba(214, 170, 78, .28);
}
.stat-card span,
.stat-card-label {
    grid-area: label;
    margin: 0;
    color: #fff;
    font-family: var(--sans);
    font-size: .76rem;
    font-weight: 650;
    letter-spacing: .02em;
    line-height: 1.25;
    text-transform: none;
    opacity: 1;
}
.stat-card strong,
.stat-card-value {
    grid-area: value;
    margin: 0;
    color: #fff;
    font: 650 2.15rem/1 var(--serif);
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
    transform-origin: left center;
    transition: transform .28s ease;
}
.stat-card small,
.stat-card-meta {
    grid-area: meta;
    justify-self: end;
    margin: 0 0 .15rem;
    padding: 0;
    border: 0;
    color: #fff;
    font-family: var(--sans);
    font-size: .74rem;
    line-height: 1.3;
    text-align: right;
    opacity: 1;
}
.stat-card:hover,
.stat-card:focus-visible {
    transform: translateY(-3px);
    border-color: var(--gold-light);
    box-shadow: inset 0 0 0 1px rgba(244, 223, 174, .85), 0 12px 24px rgba(214, 170, 78, .16);
}
.stat-card.is-night:hover,
.stat-card.is-night:focus-visible,
.stat-card-gold:hover,
.stat-card-gold:focus-visible {
    box-shadow: inset 0 0 0 1px rgba(214, 170, 78, .45), 0 14px 26px rgba(7, 27, 51, .24);
}
.stat-card:hover::before,
.stat-card:focus-visible::before { transform: scaleX(1); }
.stat-card:hover .stat-card-value,
.stat-card:hover strong,
.stat-card:focus-visible .stat-card-value,
.stat-card:focus-visible strong { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
    .stat-card,
    .stat-card::before,
    .stat-card-value { transition: none; }
    .stat-card:hover,
    .stat-card:focus-visible { transform: none; }
    .stat-card:hover .stat-card-value,
    .stat-card:hover strong,
    .stat-card:focus-visible .stat-card-value,
    .stat-card:focus-visible strong { transform: none; }
}
.dashboard-notice { margin-top: 1rem; padding: 1.1rem 1.3rem; border-left: 3px solid var(--gold); background: #fffaf0; }
.dashboard-notice p { margin: .2rem 0 0; color: var(--muted); font-size: .82rem; }
.dashboard-section { padding-top: 60px; scroll-margin-top: 70px; }
.dashboard-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.dashboard-section-head h2 { margin: .35rem 0 0; font-size: 1.8rem; }
.dashboard-section-head a { color: var(--blue); font-size: .82rem; font-weight: 700; text-decoration: none; }
.mini-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mini-cert { padding: 1.3rem; border: 1px solid var(--line); }
.mini-cert h3 { margin: 1rem 0 .5rem; font-family: var(--serif); }
.mini-cert p { color: var(--muted); font-size: .8rem; }
.mini-cert a { color: var(--blue); font-size: .78rem; font-weight: 700; text-decoration: none; }
.empty-state a { display: inline-block; margin-top: .45rem; color: var(--blue); font-weight: 700; text-decoration: none; }
.prep-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin: 0 0 1.4rem;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 600;
}
.prep-crumbs a { color: var(--blue); text-decoration: none; }
.prep-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.8rem; align-items: start; }
.prep-toc {
    position: sticky;
    top: 180px;
    padding: 1.3rem 1.25rem 1.4rem;
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    background: #fff;
}
.prep-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .25rem; }
.prep-toc a {
    display: grid;
    grid-template-columns: 1.7rem minmax(0, 1fr);
    gap: .6rem;
    align-items: start;
    padding: .65rem .55rem;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
}
.prep-toc a span { color: var(--gold); font-size: .72rem; font-weight: 700; }
.prep-toc a:hover,
.prep-toc a.is-current { background: var(--blue-light); }
.prep-toc a.is-current { color: var(--blue); }
.prep-module {
    padding: 1.8rem 2.1rem 2.15rem;
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    background: #fff;
    box-shadow: 0 10px 28px rgba(7, 27, 51, .04);
}
.prep-module > h2 { margin: .15rem 0 0; font-size: clamp(1.85rem, 2.4vw, 2.25rem); letter-spacing: -.02em; }
.prep-section { margin-top: 1.55rem; }
.prep-section h3 {
    margin: 0 0 .7rem;
    padding-bottom: .45rem;
    border-bottom: 2px solid var(--gold);
    color: var(--navy);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.prep-section p {
    margin: 0;
    color: #3d4d61;
    font-size: 1.08rem;
    line-height: 1.72;
    max-width: none;
}
.prep-defs { margin: 0; }
.prep-defs dt { margin: 0 0 .25rem; color: var(--navy); font-family: var(--sans); font-size: 1rem; font-weight: 750; }
.prep-defs dd { margin: 0 0 1rem; color: #4d5e72; font-size: .98rem; line-height: 1.6; }
.prep-defs dd:last-child { margin-bottom: 0; }
.prep-points { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.prep-points li {
    position: relative;
    padding-left: 1.2rem;
    color: #3d4d61;
    font-size: .98rem;
    line-height: 1.55;
}
.prep-points li::before {
    position: absolute;
    left: 0;
    content: "–";
    color: var(--gold);
    font-weight: 700;
}
.prep-pager {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--paper-2);
}
.data-list { border: 1px solid var(--line); }
.data-row { display: grid; grid-template-columns: minmax(230px, 1fr) auto auto auto; align-items: center; gap: 1.2rem; padding: 1rem; border-bottom: 1px solid var(--line); font-size: .82rem; }
.data-row:last-child { border: 0; }
.data-main { display: flex; align-items: center; gap: .8rem; }
.data-main h3 { margin: 0; font-size: .9rem; }
.data-main p { margin: .15rem 0 0; color: var(--muted); font-size: .72rem; }
.data-icon { width: 38px; height: 38px; display: grid; place-content: center; color: var(--gold); background: var(--navy); font: 700 1.1rem var(--serif); }
.status { display: inline-block; padding: .25rem .55rem; border-radius: 20px; color: #5d6470; background: #edf0f3; font-size: .68rem; font-weight: 700; }
.status-success { color: var(--success); background: #dff3e9; }
.status-error { color: var(--danger); background: #f9e3e3; }
.unlock-panel { scroll-margin-top: 90px; }
.unlock-lead { margin: 0 0 1rem; color: var(--muted); max-width: 42rem; }
.unlock-form { max-width: 36rem; }
.unlock-form label { display: block; margin-bottom: .45rem; color: var(--navy); font-size: .82rem; font-weight: 700; }
.unlock-form-row { display: flex; gap: .7rem; }
.unlock-form-row input { flex: 1; min-height: 49px; padding: .75rem 1rem; border: 1px solid #cbd5df; border-radius: 3px; outline: 0; font: inherit; letter-spacing: .06em; }
.unlock-form-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,93,160,.12); }
.exam-code-line { margin-top: .4rem !important; }
.exam-code { display: inline-block; padding: .1rem .45rem; border: 1px solid var(--line); background: #f6f8fa; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; letter-spacing: .08em; }
.unlock-aside { margin-top: 1.4rem; color: var(--muted); font-size: .8rem; }
.unlock-aside a { color: var(--blue); font-weight: 700; }
.exam-briefing {
    padding: 48px 0 90px;
    background: var(--paper);
}
.exam-briefing-card {
    max-width: 58rem;
    margin: 0 auto;
    padding: 2.4rem 2.8rem 2.2rem;
    border: 1px solid var(--line);
    background: #fff;
}
.exam-briefing-head {
    margin-bottom: 1.8rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
}
.exam-briefing-back {
    color: var(--muted);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
}
.exam-briefing-back:hover { color: var(--navy); }
.exam-briefing-badge {
    padding: .35rem .8rem;
    border: 1px solid var(--gold);
    color: var(--navy);
    background: #fffaf0;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.exam-briefing-kicker,
.exam-run-crisis {
    margin: 0 0 .55rem;
    color: var(--navy);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.exam-briefing-card h1 {
    margin: 0 0 .75rem;
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    line-height: 1.18;
    letter-spacing: -.02em;
}
.exam-briefing-meta {
    margin: 0 0 1.6rem;
    color: var(--muted);
    font-size: 1rem;
}
.exam-briefing-prose p {
    margin: 0 0 1rem;
    color: #2f3e50;
    font-size: 1.08rem;
    line-height: 1.78;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.exam-briefing-prose p:last-child { margin-bottom: 0; }
.exam-briefing-stakes {
    margin: 1.6rem 0;
    padding: 1.15rem 1.25rem;
    border-left: 3px solid var(--gold);
    background: #f7f4ec;
}
.exam-briefing-stakes h2 {
    margin: 0 0 .7rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.exam-briefing-stakes ul { margin: 0; padding-left: 1.1rem; }
.exam-briefing-stakes li {
    margin: 0 0 .4rem;
    color: #2f3e50;
    font-size: 1rem;
    line-height: 1.55;
}
.exam-briefing-stakes li:last-child { margin-bottom: 0; }
.exam-briefing-mission {
    margin: 0 0 1.8rem;
    color: #2f3e50;
    font-size: 1.08rem;
    line-height: 1.7;
    text-align: justify;
}
.exam-briefing-cta {
    padding-top: 1.5rem;
    border-top: 1px dashed var(--line);
    text-align: center;
}
.exam-briefing-cta > p {
    margin: 0 0 1.2rem;
    color: var(--muted);
    font-size: .95rem;
}
.exam-briefing-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .7rem;
}
.exam-result-head { padding: 48px 0 56px; }
.exam-result-head .container,
.exam-result .container { width: min(920px, calc(100% - 40px)); }
.exam-result-kicker {
    margin: .55rem 0 .7rem;
    color: var(--gold-light);
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.exam-result-status {
    display: inline-block;
    margin-bottom: .85rem;
    padding: .32rem .8rem;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.exam-result-status.is-fail {
    border-color: rgba(255, 255, 255, .28);
    color: #d5e0ec;
}
.exam-result-head h1 {
    max-width: none;
    margin: 0 0 .7rem;
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -.02em;
    white-space: nowrap;
}
.exam-result-award {
    max-width: 36rem;
    margin: 0 0 1.7rem;
    color: #c5d4e4;
    font-size: 1.12rem;
    line-height: 1.45;
}
.exam-result-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}
.exam-result-stats .stat-card { min-height: 6.4rem; }
.exam-result {
    padding: 36px 0 90px;
    background: var(--paper);
}
.exam-result-panel {
    padding: 1.85rem 2rem 1.75rem;
    border: 1px solid var(--line);
    border-left-width: 4px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(7, 27, 51, .06);
}
.exam-result.is-pass .exam-result-panel { border-left-color: var(--gold); }
.exam-result.is-fail .exam-result-panel { border-left-color: var(--navy); }
.exam-result-panel p {
    margin: 0 0 1.25rem;
    color: #2f3e50;
    font-size: 1.08rem;
    line-height: 1.7;
}
.exam-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.exam-run-head { padding: 42px 0 50px; }
.exam-run-head .dashboard-title > div:first-child { min-width: 0; flex: 1; }
.exam-run-head h1 {
    max-width: none;
    margin: .35rem 0 .45rem;
    font-size: clamp(1.75rem, 2.6vw, 2.35rem);
    letter-spacing: -.02em;
    line-height: 1.25;
    white-space: nowrap;
}
.exam-run-head h1.is-long {
    white-space: normal;
    max-width: 44rem;
}
.exam-run-head .dashboard-title p { max-width: 52rem; font-size: .95rem; }
.exam-run-meta { margin: 0; color: var(--muted); }
.exam-run { padding: 36px 0 90px; background: var(--paper); }
.exam-run .container,
.exam-run-head .container { width: min(1480px, calc(100% - 32px)); }
.exam-form { max-width: none; width: 100%; }
.exam-decision {
    padding: 2rem 2.2rem 1.9rem;
    border: 1px solid var(--paper-2);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(7, 27, 51, .08);
}
.exam-dossier {
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--gold);
    background: rgba(214, 170, 78, .08);
    color: #2f3e50;
    font-size: 1.05rem;
    line-height: 1.7;
}
.exam-decision-context {
    margin: 0 0 1.5rem;
}
.exam-decision-context p {
    margin: 0 0 1rem;
    color: #2f3e50;
    font-size: 1.1rem;
    line-height: 1.78;
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
}
.exam-decision-context p:last-child { margin-bottom: 0; }
.exam-decision-ask {
    margin: 0 0 .45rem;
    color: var(--navy);
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.exam-decision-question {
    margin: 0 0 1.55rem;
    color: var(--navy);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    line-height: 1.35;
    letter-spacing: -.015em;
}
.exam-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: stretch;
}
.exam-choice {
    position: relative;
    display: grid;
    grid-template-columns: 2.7rem minmax(0, 1fr);
    gap: 1.1rem;
    align-items: flex-start;
    min-height: 100%;
    padding: 1.4rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--ink);
    cursor: pointer;
    backdrop-filter: saturate(1.05);
}
.exam-choice-1 {
    background: linear-gradient(180deg, rgba(20, 93, 160, .18), rgba(20, 93, 160, .07));
    border-color: rgba(20, 93, 160, .28);
}
.exam-choice-2 {
    background: linear-gradient(180deg, rgba(214, 170, 78, .24), rgba(214, 170, 78, .09));
    border-color: rgba(184, 134, 42, .34);
}
.exam-choice-3 {
    background: linear-gradient(180deg, rgba(23, 107, 75, .18), rgba(23, 107, 75, .07));
    border-color: rgba(23, 107, 75, .28);
}
.exam-choice-4 {
    background: linear-gradient(180deg, rgba(12, 41, 75, .16), rgba(12, 41, 75, .06));
    border-color: rgba(12, 41, 75, .28);
}
.exam-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.exam-choice-letter {
    width: 2.7rem;
    height: 2.7rem;
    display: grid;
    place-content: center;
    border-radius: 50%;
    color: #fff;
    font: 700 1rem var(--sans);
}
.exam-choice-1 .exam-choice-letter { background: var(--blue); }
.exam-choice-2 .exam-choice-letter { background: #b8862a; }
.exam-choice-3 .exam-choice-letter { background: #176b4b; }
.exam-choice-4 .exam-choice-letter { background: var(--navy); }
.exam-choice-copy { min-width: 0; }
.exam-choice-copy strong {
    display: block;
    margin: .15rem 0 .45rem;
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.4;
}
.exam-choice-copy strong,
.exam-choice-copy span {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
}
.exam-choice-copy span {
    display: block;
    color: #3d4d61;
    font-size: 1.02rem;
    line-height: 1.65;
    text-align: justify;
    text-justify: inter-word;
}
.exam-choice:hover { border-color: var(--navy); }
.exam-choice:focus-within {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(13, 42, 86, .12);
}
.exam-choice:has(:checked) {
    box-shadow: inset 4px 0 0 var(--gold);
    filter: saturate(1.15);
}
.exam-choice:has(:checked) .exam-choice-letter { background: var(--gold); color: var(--navy); }
.exam-pager {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}
.exam-pager-meta { margin: 0; color: var(--muted); font-size: .9rem; text-align: center; }
.exam-pager > :first-child { justify-self: start; }
.exam-pager > :last-child { justify-self: end; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.2rem;
    margin: 1.15rem 0 0;
}
.pager-meta { margin: 0; color: var(--muted); font-size: .88rem; }
.pager-list {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pager-list a,
.pager-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding: 0 .75rem;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-family: var(--sans);
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
}
.pager-list a:hover { border-color: var(--navy); color: var(--navy); }
.pager-list .is-current {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}
.pager-list .is-disabled { color: #9aa6b5; cursor: default; }
.pager svg { width: 1rem; height: 1rem; }
table { width: 100%; border-collapse: collapse; font-size: .8rem; }
th, td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; vertical-align: top; }
th { color: var(--muted); background: var(--surface); font-size: .68rem; text-transform: uppercase; }
th.cell-wrap,
td.cell-wrap {
    white-space: normal;
    overflow-wrap: anywhere;
    min-width: 18rem;
    max-width: 34rem;
    line-height: 1.45;
}
td a { color: var(--blue); font-weight: 700; text-decoration: none; }
.certificate-grid { display: grid; gap: 1rem; }
.certificate-card { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 1rem; padding: 1.2rem; border: 1px solid var(--gold); background: #fffcf5; }
.certificate-seal { width: 48px; height: 48px; display: grid; place-content: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font: 700 1.4rem var(--serif); }
.certificate-card span { color: var(--gold); font-size: .67rem; font-weight: 700; text-transform: uppercase; }
.certificate-card h3 { margin: .2rem 0; font-family: var(--serif); }
.certificate-card p { margin: 0; color: var(--muted); font-size: .73rem; }
.verify-hero {
    color: #fff;
    background:
        linear-gradient(120deg, rgba(7, 27, 51, .94), rgba(12, 41, 75, .88)),
        var(--navy);
    padding: 5.2rem 0 3.8rem;
}
.verify-hero h1 { margin: .4rem 0 .8rem; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.verify-hero .lead { max-width: 40rem; color: #dce8f7; }
.verify-stage { padding: 2.5rem 0 5rem; background: #f4f1ea; }
.verify-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .7fr);
    gap: 2rem;
    align-items: start;
}
.registry-card {
    padding: 2.2rem 2.3rem 2rem;
    border: 1px solid #d6aa4e;
    background:
        linear-gradient(180deg, #fffdf7 0%, #fff 42%);
    box-shadow: 0 24px 60px rgba(13, 42, 86, .08);
}
.registry-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #ead9a8;
}
.registry-card-head img:first-child { width: 72px; height: 72px; object-fit: contain; }
.registry-kicker {
    margin: .45rem 0 0;
    color: var(--ink-2);
    font-size: .82rem;
}
.registry-qr { margin-left: auto; width: 112px; height: 112px; background: #fff; }
.registry-card h2 {
    margin: 0 0 .35rem;
    color: var(--navy);
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    line-height: 1.3;
}
.registry-holder {
    margin: 0 0 1.4rem;
    color: #c49a2c;
    font-family: var(--serif);
    font-size: 1.35rem;
}
.verify-card {
    margin: 1.4rem 0 0;
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--gold);
    background: #fffcf5;
}
.verify-card h2 { margin: .55rem 0 1rem; font: 700 1.35rem var(--serif); }
.verify-meta { display: grid; gap: .75rem; margin: 0; }
.verify-meta div { display: grid; grid-template-columns: minmax(10rem, 14rem) 1fr; gap: .6rem; align-items: baseline; }
.verify-meta dt { margin: 0; color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.verify-meta dd { margin: 0; font-size: 1rem; color: var(--ink); }
.registry-attestation {
    margin: 1.35rem 0 0;
    padding-top: 1.15rem;
    border-top: 1px solid #ead9a8;
    color: var(--ink-2);
    font-family: var(--serif);
    font-size: .95rem;
    line-height: 1.65;
}
.verify-legal { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.verify-panel {
    position: sticky;
    top: 8rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    background: #fff;
}
.two-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.placeholder-panel { padding: 1.5rem; border: 1px solid var(--line); }
.placeholder-panel h2 { margin: .35rem 0; font-size: 1.5rem; }
.placeholder-panel p { color: var(--muted); font-size: .82rem; }
.coming-soon { color: var(--blue); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.brand-light { color: white; }
:focus-visible { outline: 3px solid #edbd58; outline-offset: 3px; }

@media (max-width: 980px) {
    .foot-grid { grid-template-columns: 1fr; }
    .util-nav { display: none; }
    .site-header { --masthead-h: 78px; }
    .mast {
        grid-template-columns: minmax(0, 1fr) minmax(132px, 1fr) auto;
        grid-template-areas: "brand search actions" "nav nav nav";
    }
    .header-cta { display: flex; grid-area: search; min-width: 0; }
    .nav-toggle { display: block; }
    .site-header .brand { height: var(--masthead-h); transform: none; }
    .brand-logo { width: 64px; height: 64px; flex-basis: 64px; }
    .brand-logo img { width: 64px; height: 64px; }
    .brand-name { font-size: 1.35rem; }
    .brand-sub { font-size: .95rem; }
    .primary-nav {
        display: none;
        padding: .35rem 0 .6rem;
        background: var(--navy-deep);
        border-top-color: rgba(255,255,255,.14);
    }
    .primary-nav.is-open { display: block; }
    .primary-nav > ul { flex-direction: column; }
    .primary-nav > ul > li.nav-account { display: list-item; }
    .primary-nav > ul > li > a,
    .primary-nav > ul > li > button {
        width: 100%;
        justify-content: space-between;
        padding: .75rem .15rem;
        white-space: normal;
        border-bottom: 1px solid rgba(255,255,255,.14);
    }
    .primary-nav li.is-open > button[data-mega]::after { transform: rotate(225deg) translateY(-1px); }
    .mega {
        position: static;
        display: none;
        padding: .15rem 0 .55rem .7rem;
        border: 0;
        background: rgba(255,255,255,.06);
        box-shadow: none;
    }
    .primary-nav li:hover > .mega,
    .primary-nav li:focus-within > .mega { display: none; }
    .primary-nav li.is-open > .mega { display: block; }
    .mega-intro { display: none; }
    .mega-grid, .mega-cols { grid-template-columns: 1fr; }
    .mega-cols a {
        padding: .5rem .2rem;
        border: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
        color: #fff;
    }
    .mega-cols a small { color: #c5d4e4; }
}
@media (max-width: 640px) {
    .brand-copy { display: block; }
    .brand-name { display: block; }
    .brand-sub { display: none; }
}
@media (max-width: 950px) {
    .catalogue-hero h1 { white-space: normal; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-grid { padding-block: 3.1rem; }
    .hero-panel { max-width: 600px; }
    .card-grid,
    .catalogue-grid,
    .catalogue-cats { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .cert-mast { min-height: 350px; }
    .cert-mast-grid,
    .cert-layout { grid-template-columns: 1fr; }
    .cert-handbook-points,
    .cert-learn { grid-template-columns: 1fr; }
    .cert-mast-visual { display: none; }
    .cert-page .cert-mast h1,
    .cert-page .cert-mast h1.cert-award,
    .cert-page .cert-mast h1.is-long,
    .cert-award-name { max-width: none; white-space: normal; }
    .cert-legal h2 { white-space: normal; }
    .cert-main { order: 2; }
    .cert-rail { position: static; order: 1; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .profile-grid,
    .profile-fields { grid-template-columns: 1fr; }
    .prep-layout { grid-template-columns: 1fr; }
    .prep-toc { position: static; }
    .dashboard-nav { position: static; display: flex; overflow-x: auto; }
    .dashboard-nav a { white-space: nowrap; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .data-row { grid-template-columns: minmax(230px, 1fr) auto; }
}

@media (max-width: 680px) {
    .catalogue-hero {
        min-height: 280px;
        padding: 4rem 0 3.5rem;
        background-image:
            linear-gradient(180deg, rgba(5, 16, 30, .94) 0%, rgba(6, 20, 36, .88) 58%, rgba(6, 20, 36, .62) 100%),
            url("/assets/img/editorial/certify-catalogue.jpg");
        background-position: 80% 18%;
    }
    .catalogue-hero h1 { white-space: normal; font-size: 2.15rem; }
    .catalogue-hero p { font-size: 1rem; }
    .catalogue-hero-copy { padding-left: 0; }
    .container { width: min(100% - 28px, 1160px); }
    .catalogue-page .container { width: min(100% - 28px, 1600px); }
    .cert-page .container { width: min(100% - 40px, 1520px); }
    .student-mast-inner,
    .container.dashboard-layout { width: min(100% - 28px, 1520px); }
    .section { padding: 65px 0; }
    .hero-grid { min-height: 360px; }
    .hero h1 { font-size: 2.15rem; }
    .hero-panel { padding: 1.15rem; }
    .trust-grid, .card-grid, .catalogue-cats, .steps, .mini-card-grid, .two-panels { grid-template-columns: 1fr; }
    .trust-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
    .section-heading, .cta-inner, .dashboard-title { align-items: flex-start; flex-direction: column; }
    .cert-steps li { grid-template-columns: 1fr; gap: .25rem; }
    .auth-section { padding: 25px 14px; background: var(--surface); }
    .auth-shell,
    .checkout-shell { grid-template-columns: 1fr; }
    .checkout-page { background: var(--surface); }
    .checkout-panel-pay { order: 1; }
    .checkout-panel-voucher { order: 2; }
    .checkout-or { display: none; }
    .checkout-account-form { grid-template-columns: 1fr; }
    .auth-intro, .auth-card,
    .checkout-panel-pay, .checkout-panel-voucher { padding: 2rem; }
    .auth-intro h1 { font-size: 2.5rem; }
    .auth-intro .auth-quote { margin-top: 2rem; }
    .dashboard-head { padding: 40px 0; }
    .dashboard-title h1 { font-size: 2.6rem; }
    .student-mast-inner { flex-direction: column; align-items: flex-start; padding-top: 5.2rem; }
    .student-avatar { width: 96px; height: 96px; font-size: 1.5rem; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: .9rem; }
    .data-row { grid-template-columns: 1fr; align-items: start; }
    .certificate-card { grid-template-columns: 45px 1fr; }
    .certificate-card .button { grid-column: 1 / -1; }
    .diploma-sheet { aspect-ratio: auto; min-height: 0; }
    .diploma-frame { padding: 1rem .85rem .8rem; border-width: 5px; }
    .diploma-head { grid-template-columns: 1fr; text-align: center; }
    .diploma-meta, .diploma-meta-end, .diploma-center { text-align: center; }
    .diploma-qr { margin-inline: auto; }
    .diploma-foot { flex-direction: column; align-items: center; }
    .diploma-sign, .diploma-sign-end { text-align: center; }
    .diploma-sign em, .diploma-sign-end em { margin-inline: auto; }
    .exam-briefing { padding: 28px 0 70px; }
    .exam-briefing-card { padding: 1.5rem 1.25rem 1.4rem; }
    .exam-briefing-head { flex-wrap: wrap; }
    .exam-decision { padding: 1.45rem 1.2rem 1.35rem; }
    .exam-choices { grid-template-columns: 1fr; }
    .exam-choice { padding: 1.15rem 1.1rem; gap: .85rem; grid-template-columns: 2.3rem minmax(0, 1fr); }
    .exam-choice-letter { width: 2.3rem; height: 2.3rem; }
    .exam-result-head { padding: 36px 0 42px; }
    .exam-result-head h1 { white-space: normal; }
    .exam-result-stats { grid-template-columns: 1fr; }
    .exam-result-panel { padding: 1.4rem 1.2rem 1.3rem; }
    .exam-run-head h1 { white-space: normal; }
    .exam-pager { grid-template-columns: 1fr; }
    .exam-pager-meta { order: -1; }
    .verify-layout { grid-template-columns: 1fr; }
    .verify-panel { position: static; }
    .registry-card { padding: 1.5rem; }
    .registry-card-head { flex-wrap: wrap; }
    .registry-qr { margin-left: 0; }
    .verify-meta div { grid-template-columns: 1fr; }
    .receipt-band, .receipt-parties, .receipt-meta, .receipt-qr-block { grid-template-columns: 1fr; display: grid; }
    .receipt-doc, .receipt-table th:nth-child(2), .receipt-table td:nth-child(2),
    .receipt-table th:nth-child(3), .receipt-table td:nth-child(3), .receipt-vat { text-align: left; }
    .receipt-totals { width: 100%; }
    .receipt-meta div { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.dashboard-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.generation-hero { margin-top: 0; }
.generation-preview {
    padding: .85rem 1rem;
    border: 1px solid var(--line);
    background: #f6f8fb;
    color: var(--navy);
    font-size: .95rem;
}
.generation-preview.is-new { border-color: #d4b45a; background: #fbf6e8; }
.generation-list-title { margin: 2rem 0 .8rem; font-size: 1.15rem; }
.generation-progress { margin-bottom: 1.4rem; }
.generation-bar {
    height: 8px;
    margin: .8rem 0 1rem;
    overflow: hidden;
    background: #e4eaf1;
}
.generation-bar span {
    display: block;
    height: 100%;
    background: var(--navy);
}
.generation-retry.is-busy {
    position: relative;
    min-width: 7.2rem;
    color: transparent;
    pointer-events: none;
}
.generation-retry.is-busy::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin: -.5rem 0 0 -.5rem;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: generation-spin .7s linear infinite;
}
@keyframes generation-spin {
    to { transform: rotate(360deg); }
}
