/* Certification page — blue MTB theme */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.cert-body {
    --cert-ink: #0b1c33;
    --cert-muted: #4a6078;
    --cert-navy: #003b5c;
    --cert-blue: #1a6a96;
    --cert-blue-deep: #003b5c;
    --cert-blue-soft: #d7e8f2;
    --cert-line: rgba(0, 59, 92, 0.16);
    --cert-surface: rgba(255, 255, 255, 0.86);
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Manrope", system-ui, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #eef4f8;
    color: var(--cert-ink);
    font-family: var(--font-body);
    min-height: 100vh;
}

.cert-ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(900px 520px at 8% -10%, rgba(0, 59, 92, 0.16), transparent 60%),
        radial-gradient(700px 480px at 92% 8%, rgba(26, 106, 150, 0.18), transparent 55%),
        radial-gradient(640px 420px at 70% 90%, rgba(0, 59, 92, 0.1), transparent 50%),
        linear-gradient(180deg, #f3f8fb 0%, #e6eef4 48%, #eef3f6 100%);
}

.cert-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem 4rem;
}

.cert-logo-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    margin: 0 0 2rem;
    padding: 1.75rem 1.25rem 1.5rem;
    background: linear-gradient(165deg, #002233 0%, #003b5c 55%, #0a4a6e 100%);
    box-shadow: 0 18px 40px rgba(0, 42, 69, 0.28);
}

.cert-mtb-logo-wide {
    display: block;
    width: min(100%, 420px);
    height: auto;
    object-fit: contain;
}

.cert-logo-band p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.78);
}

.cert-hero {
    display: block;
    margin-bottom: 2.25rem;
    padding: 0 0 2rem;
    border-bottom: 1px solid var(--cert-line);
}

.cert-hero h1 {
    max-width: 18ch;
}

.cert-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cert-blue);
    margin-bottom: 0.85rem;
}

.cert-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.05rem, 5vw, 3.35rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--cert-ink);
    margin: 0 0 1rem;
    max-width: 14ch;
}

.cert-lede {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--cert-muted);
    max-width: 38rem;
    margin: 0 0 1.5rem;
}

.cert-hero-actions,
.cert-close-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1.3rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cert-btn:hover { transform: translateY(-1px); }

.cert-btn--primary {
    background: linear-gradient(135deg, var(--cert-blue) 0%, var(--cert-blue-deep) 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.28);
}

.cert-btn--ghost {
    background: rgba(255, 255, 255, 0.7);
    color: var(--cert-ink);
    border-color: var(--cert-line);
}

.cert-btn--ghost:hover {
    border-color: var(--cert-blue);
    color: var(--cert-blue);
}

.cert-hero-mark {
    justify-self: end;
    text-align: center;
    padding: 1.35rem 1.25rem 1.15rem;
    background: linear-gradient(165deg, #002a45 0%, #003b5c 55%, #0a4a6e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 44px rgba(0, 42, 69, 0.35);
    max-width: 320px;
    width: 100%;
}

@media (max-width: 860px) {
    .cert-hero-mark {
        justify-self: start;
        max-width: 280px;
    }
}

.cert-mtb-logo {
    display: block;
    width: min(100%, 260px);
    height: auto;
    margin: 0 auto 0.85rem;
    object-fit: contain;
}

.cert-mark-caption {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.72);
}

/* Enter panel — blue outline + gradient */
.cert-panel--enter {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.85rem 1.6rem 1.7rem;
    background: linear-gradient(145deg, #f5fafc 0%, #d5e8f2 45%, #eaf3f8 100%);
    border: 2px solid #1a6a96;
    box-shadow: 0 16px 36px rgba(0, 59, 92, 0.12);
    overflow: hidden;
}

.cert-panel--enter::before {
    content: "";
    position: absolute;
    inset: auto -20% -40% 40%;
    height: 220px;
    background: radial-gradient(circle, rgba(26, 106, 150, 0.22), transparent 70%);
    pointer-events: none;
}

.cert-panel-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: #003b5c;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.45rem 0.95rem;
}

.cert-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 1.75rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 800px) {
    .cert-panel-grid { grid-template-columns: 1fr; }
    .cert-panel-ribbon { position: static; display: inline-block; margin-bottom: 0.85rem; }
}

.cert-panel--enter h2 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2rem);
    color: #003b5c;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.cert-panel--enter p {
    color: var(--cert-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.98rem;
}

.cert-panel--enter a {
    color: var(--cert-blue);
    font-weight: 700;
}

.cert-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.cert-checklist li {
    display: grid;
    gap: 0.2rem;
    padding-left: 1.35rem;
    position: relative;
}

.cert-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.cert-checklist strong {
    color: var(--cert-ink);
    font-size: 0.95rem;
}

.cert-checklist span {
    color: var(--cert-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.cert-quote {
    margin: 0 0 2.25rem;
    padding: 1.6rem 1.5rem 1.4rem;
    background: var(--cert-surface);
    border-left: 4px solid var(--cert-blue);
    box-shadow: 0 10px 28px rgba(15, 40, 80, 0.06);
}

.cert-quote p {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    line-height: 1.45;
    color: var(--cert-ink);
    margin: 0 0 1rem;
}

.cert-quote footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    align-items: baseline;
    font-size: 0.88rem;
    color: var(--cert-muted);
}

.cert-quote cite {
    font-style: normal;
    font-weight: 800;
    color: var(--cert-ink);
}

.cert-quote a {
    color: var(--cert-blue);
    font-weight: 600;
}

.cert-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 860px) {
    .cert-facts { grid-template-columns: 1fr; }
}

.cert-facts article {
    padding: 1.25rem 1.2rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--cert-line);
}

.cert-facts h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.45rem;
    color: var(--cert-blue-deep);
}

.cert-facts p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--cert-muted);
}

.cert-steps {
    margin-bottom: 2.75rem;
}

.cert-steps h2,
.cert-fees-head h2,
.cert-close-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    margin: 0 0 1.15rem;
    color: var(--cert-ink);
}

.cert-steps ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    counter-reset: none;
}

@media (max-width: 960px) {
    .cert-steps ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .cert-steps ol { grid-template-columns: 1fr; }
}

.cert-steps li {
    display: flex;
    gap: 0.75rem;
    padding: 1.1rem 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
    border: 1px solid var(--cert-line);
    min-height: 100%;
}

.cert-step-num {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cert-blue);
    line-height: 1;
}

.cert-steps strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.cert-steps p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--cert-muted);
}

.cert-fees-head {
    margin-bottom: 1rem;
}

.cert-fees-head p {
    margin: 0;
    color: var(--cert-muted);
    font-size: 0.98rem;
}

.cert-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 800px) {
    .cert-tables { grid-template-columns: 1fr; }
}

.cert-table-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--cert-line);
    padding: 1.25rem 1.15rem 1.3rem;
    box-shadow: 0 12px 28px rgba(18, 58, 154, 0.06);
}

.cert-table-card h3 {
    margin: 0 0 0.3rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--cert-blue-deep);
}

.cert-table-note {
    margin: 0 0 0.9rem;
    font-size: 0.88rem;
    color: var(--cert-muted);
    line-height: 1.45;
}

.cert-table-wrap {
    border: 1px solid var(--cert-line);
    overflow: hidden;
}

.cert-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.cert-table-wrap th,
.cert-table-wrap td {
    padding: 0.72rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--cert-line);
}

.cert-table-wrap tr:last-child td { border-bottom: none; }

.cert-table-wrap th {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cert-muted);
    background: #eef4ff;
}

.cert-table-wrap td:last-child {
    font-weight: 800;
    color: var(--cert-ink);
    white-space: nowrap;
}

.cert-table-wrap tbody tr:hover td {
    background: rgba(219, 232, 255, 0.45);
}

.cert-close {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.6rem 1.5rem;
    background: linear-gradient(120deg, #002a45 0%, #003b5c 48%, #1a6a96 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(0, 42, 69, 0.28);
}

.cert-close-copy {
    max-width: 34rem;
}

.cert-close-copy h2 {
    color: #fff;
    margin-bottom: 0.45rem;
}

.cert-close-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.55;
    font-size: 0.98rem;
}

.cert-close .cert-btn--primary {
    background: #fff;
    color: var(--cert-blue-deep);
    box-shadow: none;
}

.cert-close .cert-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.cert-close .cert-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .cert-btn:hover { transform: none; }
}

/* Editorial certification layout */
.cert-body {
    --cert-ink: #10263a;
    --cert-muted: #506477;
    --cert-navy: #003b5c;
    --cert-blue: #17658f;
    --cert-blue-deep: #003b5c;
    --cert-gold: #d5a923;
    --cert-line: rgba(0, 59, 92, 0.2);
    background: #edf3f6;
}

.cert-ambient {
    background:
        linear-gradient(rgba(0, 59, 92, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 59, 92, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, #f5f9fb 0%, #e8f0f4 100%);
    background-size: 48px 48px, 48px 48px, auto;
}

.cert-hero {
    position: relative;
    margin: 0;
    padding: clamp(4.5rem, 9vw, 7.5rem) 1.25rem;
    overflow: hidden;
    color: #fff;
    border: 0;
    background:
        linear-gradient(90deg, rgba(0, 26, 42, 0.98) 0%, rgba(0, 59, 92, 0.94) 62%, rgba(14, 94, 135, 0.86) 100%),
        repeating-linear-gradient(135deg, transparent 0 38px, rgba(255, 255, 255, 0.05) 38px 39px);
}

.cert-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--cert-gold) 0 28%, rgba(255, 255, 255, 0.24) 28% 100%);
}

.cert-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.65fr);
    gap: clamp(2.5rem, 8vw, 7rem);
    align-items: center;
}

.cert-hero-copy {
    animation: cert-rise 0.65s ease both;
}

.cert-kicker,
.cert-close .cert-kicker {
    margin: 0 0 1rem;
    color: var(--cert-gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.cert-hero h1 {
    max-width: 13ch;
    margin: 0 0 0.7rem;
    color: #fff;
    font-size: clamp(2.9rem, 7vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.cert-hero-subtitle {
    margin: 0 0 1.5rem;
    color: #b8d8e9;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.25;
}

.cert-lede {
    max-width: 47rem;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.04rem;
}

.cert-lede strong {
    color: #fff;
}

.cert-board-mark {
    padding-left: clamp(1.5rem, 4vw, 3.5rem);
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    animation: cert-fade 0.9s 0.15s ease both;
}

.cert-board-mark img {
    display: block;
    width: min(100%, 270px);
    height: auto;
}

.cert-board-mark p {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cert-btn {
    border-radius: 0;
    box-shadow: none;
}

.cert-btn--primary {
    background: var(--cert-gold);
    color: #11293a;
    box-shadow: none;
}

.cert-btn--primary:hover {
    background: #e3bd48;
}

.cert-hero .cert-btn--ghost {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
}

.cert-hero .cert-btn--ghost:hover {
    color: #fff;
    border-color: #fff;
}

.cert-page {
    width: min(1120px, calc(100% - 2.5rem));
    max-width: none;
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 7rem) 0 4.5rem;
}

.cert-introduction {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.45fr);
    gap: clamp(2rem, 7vw, 6rem);
    align-items: start;
    margin-bottom: clamp(4.5rem, 9vw, 8rem);
}

.cert-introduction h2,
.cert-pathway h2,
.cert-close h2 {
    font-family: var(--font-display);
}

.cert-introduction h2 {
    position: sticky;
    top: 6rem;
    margin: 0;
    color: var(--cert-navy);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
}

.cert-introduction-copy {
    padding-top: 0.25rem;
    border-top: 4px solid var(--cert-gold);
}

.cert-introduction-copy p {
    margin: 0 0 1.25rem;
    color: var(--cert-muted);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.78;
}

.cert-introduction-copy strong {
    color: var(--cert-ink);
}

.cert-pathways {
    border-top: 1px solid var(--cert-line);
}

.cert-pathway {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
    gap: clamp(2.5rem, 8vw, 7rem);
    align-items: start;
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    border-bottom: 1px solid var(--cert-line);
}

.cert-pathway--theory .cert-pathway-copy {
    grid-column: 2;
}

.cert-pathway--theory .cert-fee-block {
    grid-column: 1;
    grid-row: 1;
}

.cert-section-number {
    margin: 0 0 1.3rem;
    color: var(--cert-blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cert-pathway h2 {
    max-width: 14ch;
    margin: 0 0 0.8rem;
    color: var(--cert-ink);
    font-size: clamp(2.05rem, 4.5vw, 3.35rem);
    line-height: 1.04;
}

.cert-tagline {
    margin: 0 0 1.6rem;
    color: var(--cert-blue);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
}

.cert-pathway-copy > p:not([class]) {
    margin: 0 0 1.15rem;
    color: var(--cert-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.cert-refrain {
    margin: 1.8rem 0 0;
    padding-top: 1rem;
    color: var(--cert-ink);
    border-top: 1px solid var(--cert-line);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cert-soon-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.85rem;
    padding: 0.75rem 1.25rem;
    background: #10263a;
    color: #fff;
    text-align: center;
    border-bottom: 3px solid var(--cert-gold, #d5a923);
}
.cert-soon-banner strong {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cert-gold, #d5a923);
}
.cert-soon-banner span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.cert-fee-block {
    position: relative;
    border-top: 5px solid var(--cert-blue);
    background: #fff;
}
.cert-soon-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(237, 243, 246, 0.72);
    backdrop-filter: blur(2.5px);
}
.cert-soon-cover span {
    padding: 0.7rem 1.15rem;
    background: #fff;
    border: 1px solid var(--cert-line);
    color: var(--cert-navy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(0, 59, 92, 0.12);
}

.cert-fee-heading {
    padding: 1.5rem 1.4rem 1.2rem;
}

.cert-fee-heading h3 {
    margin: 0 0 0.4rem;
    color: var(--cert-navy);
    font-size: 1.05rem;
}

.cert-fee-heading p {
    margin: 0;
    color: var(--cert-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.cert-table-wrap {
    border: 0;
    border-top: 1px solid var(--cert-line);
}

.cert-table-wrap th,
.cert-table-wrap td {
    padding: 0.78rem 1.4rem;
}

.cert-table-wrap th {
    color: var(--cert-muted);
    background: #eaf2f6;
}

.cert-table-wrap th:last-child,
.cert-table-wrap td:last-child {
    text-align: right;
}

.cert-table-wrap tbody tr:hover td {
    background: #f2f7f9;
}

.cert-close {
    margin-top: clamp(4rem, 8vw, 7rem);
    padding: clamp(2.5rem, 6vw, 4.5rem);
    border-radius: 0;
    background: #003b5c;
    box-shadow: none;
}

.cert-close-copy {
    max-width: 43rem;
}

.cert-close h2 {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1;
}

.cert-close-copy p {
    font-size: 1rem;
    line-height: 1.65;
}

.cert-close-statement {
    margin-top: 1rem !important;
    color: #fff !important;
    font-weight: 700;
}

.cert-btn--light {
    flex: 0 0 auto;
    color: var(--cert-navy);
    background: #fff;
}

.cert-btn--light:hover {
    background: var(--cert-gold);
}

@keyframes cert-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cert-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 820px) {
    .cert-hero-inner,
    .cert-introduction,
    .cert-pathway {
        grid-template-columns: 1fr;
    }

    .cert-board-mark {
        max-width: 300px;
        padding: 1.5rem 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.24);
        border-left: 0;
    }

    .cert-introduction h2 {
        position: static;
    }

    .cert-pathway--theory .cert-pathway-copy,
    .cert-pathway--theory .cert-fee-block {
        grid-column: auto;
        grid-row: auto;
    }

    .cert-pathway--theory .cert-fee-block {
        order: 2;
    }
}

@media (max-width: 540px) {
    .cert-hero {
        padding-block: 3.75rem;
    }

    .cert-hero-actions,
    .cert-close-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cert-btn {
        width: 100%;
    }

    .cert-page {
        width: min(100% - 2rem, 1120px);
    }

    .cert-close {
        margin-inline: -0.5rem;
        padding: 2.25rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cert-hero-copy,
    .cert-board-mark {
        animation: none;
    }
}
