body.sa-public,
body.sa-guest {
    --sa-navy: #073e76;
    --sa-navy-deep: #04294f;
    --sa-navy-mid: #0c5698;
    --sa-gold: #f5b145;
    --sa-gold-deep: #e09a2b;
    --sa-paper: #f6f4ef;
    --sa-ink: #12263a;
    --sa-muted: #5c6d80;
    --sa-line: #e7e2d8;
    --sa-purple: #073e76;
    --sa-purple-2: #0c5698;
    --sa-page: #f6f4ef;
    --sa-nav-h: 76px;
    background: var(--sa-paper);
    color: var(--sa-ink);
    font-family: Manrope, "Segoe UI", sans-serif;
}

body.sa-public {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html:has(body.sa-public) {
    --sa-nav-h: 76px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--sa-nav-h) + 12px);
}

body.sa-public ::selection {
    background: #f5b145;
    color: #04294f;
}

body.sa-public main {
    flex: 1 0 auto;
}

body.sa-public #content:focus {
    outline: none;
}

body.sa-public :focus-visible {
    outline: 2px solid #f5b145;
    outline-offset: 3px;
}

body.sa-guest .btn-gold:hover,
body.sa-public .btn-gold:hover {
    background: var(--sa-gold-deep);
    color: var(--sa-navy-deep);
}

body.sa-guest .sa-password-toggle:hover {
    background: rgba(7, 62, 118, 0.08);
}

body.sa-guest .sa-card {
    box-shadow: 0 16px 40px rgba(7, 62, 118, 0.08);
}

body.sa-guest a {
    color: var(--sa-navy);
}

body.sa-guest a:hover {
    color: var(--sa-navy-mid);
}

.sa-pub-nav {
    background: rgba(7, 62, 118, 0.96);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px);
    z-index: 1030;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sa-pub-nav.is-scrolled {
    background: #073e76;
    border-bottom-color: rgba(245, 177, 69, 0.55);
    box-shadow: 0 10px 28px rgba(4, 41, 79, 0.22);
}

.sa-pub-nav .container {
    min-height: var(--sa-nav-h);
}

.sa-pub-brand {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-right: 12px;
    color: #fff;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.sa-pub-brand:hover {
    color: var(--sa-gold);
}

.sa-pub-nav .sa-nav-logo {
    height: 40px;
    max-width: 168px;
}

.sa-pub-toggle {
    width: 46px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(245, 177, 69, 0.45);
    border-radius: 12px;
}

.sa-pub-toggle:focus-visible {
    outline-color: #fff;
}

.sa-burger {
    display: grid;
    gap: 5px;
    width: 18px;
    margin-inline: auto;
}

.sa-burger span {
    display: block;
    height: 2px;
    border-radius: 99px;
    background: #fff;
}

.sa-pub-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.sa-pub-nav .nav-link:hover,
.sa-pub-nav .nav-link:focus-visible {
    color: var(--sa-gold);
}

.sa-pub-user {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.sa-btn-gold,
.sa-btn-line,
.sa-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
    text-decoration: none;
}

.sa-btn-gold {
    border: 0;
    background: var(--sa-gold);
    color: var(--sa-navy-deep);
    box-shadow: 0 8px 20px rgba(245, 177, 69, 0.28);
}

.sa-btn-gold:hover {
    background: var(--sa-gold-deep);
    color: var(--sa-navy-deep);
}

.sa-btn-line {
    border: 1.5px solid rgba(245, 177, 69, 0.8);
    background: transparent;
    color: var(--sa-gold);
}

.sa-btn-line:hover {
    background: var(--sa-gold);
    color: var(--sa-navy-deep);
}

.sa-btn-ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff;
}

.sa-btn-ghost:hover {
    border-color: #fff;
    background: #fff;
    color: var(--sa-navy);
}

.sa-btn-gold:focus-visible,
.sa-btn-line:focus-visible,
.sa-btn-ghost:focus-visible {
    outline-color: #fff;
}

.sa-nav-cta {
    min-height: 42px;
    padding-inline: 1rem;
    box-shadow: none;
}

.sa-alerts {
    padding: 18px 0 0;
}

.sa-alerts:not(:has(.alert)) {
    display: none;
}

body.sa-public .alert {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(7, 62, 118, 0.08);
}

.sa-wrap {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.sa-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(720px 420px at 92% -10%, rgba(245, 177, 69, 0.28), transparent 58%),
        radial-gradient(540px 360px at -8% 110%, rgba(245, 177, 69, 0.12), transparent 52%),
        linear-gradient(165deg, #0d5a9e 0%, #073e76 46%, #04294f 100%);
}

.sa-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
    pointer-events: none;
}

.sa-hero-grid {
    position: relative;
    display: grid;
    gap: 36px;
    align-items: center;
    padding: 56px 0 64px;
}

.sa-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: var(--sa-gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sa-kicker::before {
    content: "";
    width: 36px;
    height: 2px;
    border-radius: 99px;
    background: var(--sa-gold);
}

.sa-hero h1,
.sa-section h2,
.sa-close h2,
.sa-pub-footer h2 {
    font-family: Fraunces, Georgia, serif;
    font-weight: 560;
    letter-spacing: -0.03em;
}

.sa-hero h1 {
    max-width: 12em;
    margin: 0;
    font-size: clamp(2.35rem, 5.4vw, 4.35rem);
    line-height: 1.02;
}

.sa-hero-lead {
    max-width: 38rem;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.6;
}

.sa-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.sa-hero-card {
    width: 100%;
    padding: 22px 22px 18px;
    border: 1px solid rgba(245, 177, 69, 0.28);
    border-radius: 24px;
    background: rgba(4, 41, 79, 0.38);
    box-shadow: 0 24px 50px rgba(4, 41, 79, 0.28);
    backdrop-filter: blur(10px);
}

.sa-hero-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sa-hero-card ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sa-hero-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.sa-hero-card li span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

.sa-hero-card li.is-done {
    color: #fff;
}

.sa-hero-card li.is-done span {
    background: var(--sa-gold);
    color: var(--sa-navy-deep);
}

.sa-hero-card li.is-now {
    border: 1px solid rgba(245, 177, 69, 0.55);
    background: rgba(245, 177, 69, 0.12);
    color: #fff;
}

.sa-hero-card li.is-now span {
    background: #fff;
    color: var(--sa-navy);
}

.sa-hero-card-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.sa-band {
    background: #fff;
    border-bottom: 1px solid var(--sa-line);
}

.sa-skills {
    display: grid;
    gap: 18px;
    padding: 28px 0;
}

.sa-skill {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
}

.sa-skill-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(7, 62, 118, 0.08);
    color: var(--sa-navy);
}

.sa-skill-icon svg {
    width: 24px;
    height: 24px;
}

.sa-skill h2 {
    margin: 2px 0 4px;
    font-family: Manrope, "Segoe UI", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sa-skill p,
.sa-step p,
.sa-section-lead,
.sa-exam p,
.sa-empty p {
    margin: 0;
    color: var(--sa-muted);
    line-height: 1.5;
}

.sa-section {
    padding: 72px 0;
}

.sa-section-head {
    max-width: 40rem;
    margin-bottom: 28px;
}

.sa-section h2,
.sa-close h2 {
    margin: 0;
    color: var(--sa-navy);
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.12;
}

.sa-section-lead {
    margin-top: 10px;
    font-size: 1.05rem;
}

.sa-steps {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.sa-step {
    position: relative;
    padding: 22px 22px 22px 22px;
    border: 1px solid var(--sa-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(7, 62, 118, 0.05);
}

.sa-step-no {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--sa-navy);
    color: var(--sa-gold);
    font-weight: 800;
}

.sa-step h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sa-section-exams {
    background:
        radial-gradient(520px 220px at 100% 0%, rgba(245, 177, 69, 0.16), transparent 60%),
        #f6f4ef;
}

.sa-exam-grid {
    display: grid;
    gap: 16px;
}

.sa-exam {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    padding: 22px 22px 20px;
    border: 1px solid var(--sa-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(7, 62, 118, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sa-exam::before {
    content: "";
    width: 42px;
    height: 3px;
    border-radius: 99px;
    background: var(--sa-gold);
}

a.sa-exam {
    color: inherit;
    text-decoration: none;
}

a.sa-exam:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(7, 62, 118, 0.12);
}

.sa-exam h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.sa-exam-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    color: var(--sa-muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.sa-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--sa-gold);
    color: var(--sa-navy-deep);
    font-size: 0.82rem;
    font-weight: 800;
}

.sa-pill.is-free {
    background: rgba(7, 62, 118, 0.08);
    color: var(--sa-navy);
}

.sa-empty {
    padding: 36px 28px;
    border: 1px dashed rgba(7, 62, 118, 0.28);
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.sa-empty h3 {
    margin: 0 0 6px;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.6rem;
    font-weight: 560;
}

.sa-close {
    padding: 0 0 72px;
}

.sa-close-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 32px 28px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(420px 180px at 100% 0%, rgba(245, 177, 69, 0.28), transparent 55%),
        linear-gradient(145deg, #0c5698, #073e76 55%, #04294f);
}

.sa-close h2 {
    color: #fff;
}

.sa-close p {
    max-width: 36rem;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.8);
}

.sa-pub-footer {
    color: rgba(255, 255, 255, 0.82);
    background: #04294f;
}

.sa-pub-footer-rule {
    height: 4px;
    background: linear-gradient(90deg, #f5b145 0%, #f5b145 28%, rgba(245, 177, 69, 0.15) 100%);
}

.sa-pub-footer-main {
    display: grid;
    gap: 32px;
    padding: 48px 0 36px;
}

.sa-pub-logo {
    display: inline-flex;
    margin-bottom: 14px;
    color: #fff;
    font-family: Fraunces, Georgia, serif;
    font-size: 1.7rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.sa-pub-logo:hover {
    color: var(--sa-gold);
}

.sa-pub-footer .sa-nav-logo {
    height: 44px;
    max-width: 180px;
}

.sa-pub-blurb {
    max-width: 28rem;
    margin: 0;
    line-height: 1.6;
}

.sa-pub-footer h2 {
    margin: 0 0 14px;
    color: var(--sa-gold);
    font-size: 1.15rem;
}

.sa-pub-footer .sa-site-contact,
.sa-pub-footer .sa-site-address {
    color: rgba(255, 255, 255, 0.82);
}

.sa-pub-footer .sa-site-address {
    margin-bottom: 12px;
    line-height: 1.5;
}

.sa-pub-footer .sa-site-contact-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.sa-pub-footer .sa-site-contact-list a {
    color: #fff;
    font-weight: 700;
}

.sa-pub-footer .sa-site-contact-list a:hover {
    color: var(--sa-gold);
}

.sa-pub-links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sa-pub-links a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.sa-pub-links a:hover {
    color: var(--sa-gold);
}

.sa-pub-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    padding: 16px 200px 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}

.sa-pub-legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.sa-pub-legal p {
    margin: 0;
}

.sa-credit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 12px 8px 14px;
    border: 1px solid rgba(245, 177, 69, 0.38);
    border-left: 3px solid var(--sa-gold);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(245, 177, 69, 0.14), rgba(255, 255, 255, 0.04));
    color: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sa-credit:hover {
    border-color: rgba(245, 177, 69, 0.85);
    background: linear-gradient(180deg, rgba(245, 177, 69, 0.22), rgba(255, 255, 255, 0.06));
    color: #fff;
}

.sa-credit-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    line-height: 1.15;
}

.sa-credit-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sa-credit-brand {
    color: var(--sa-gold);
    font-family: Fraunces, Georgia, serif;
    font-size: 1.02rem;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.sa-credit-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--sa-gold);
    transition: transform 0.2s ease;
}

.sa-credit:hover .sa-credit-icon {
    transform: translate(2px, -2px);
}

.sa-guest-foot {
    margin-top: 28px;
    text-align: center;
}

body.sa-guest .sa-credit {
    border-color: rgba(7, 62, 118, 0.12);
    background: #fff;
    box-shadow: 0 10px 28px rgba(7, 62, 118, 0.08);
    color: var(--sa-navy-deep);
}

body.sa-guest .sa-credit:hover {
    border-color: rgba(245, 177, 69, 0.9);
    background: #fff;
    color: var(--sa-navy-deep);
}

body.sa-guest .sa-credit-label {
    color: var(--sa-muted);
}

.sa-float {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 1020;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

body:has(#pubNav.show) .sa-float {
    visibility: hidden;
    pointer-events: none;
}

.sa-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 18px 0 14px;
    border: 2px solid var(--sa-gold);
    border-radius: 999px;
    background: var(--sa-navy);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(4, 41, 79, 0.28);
}

.sa-wa svg {
    width: 22px;
    height: 22px;
    color: var(--sa-gold);
}

.sa-wa:hover {
    background: var(--sa-gold);
    color: var(--sa-navy-deep);
}

.sa-wa:hover svg {
    color: var(--sa-navy-deep);
}

.sa-wa:focus-visible {
    outline-color: #fff;
}

.sa-totop {
    position: relative;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--sa-navy);
    color: #fff;
    box-shadow: 0 12px 28px rgba(4, 41, 79, 0.28);
    cursor: pointer;
}

.sa-totop[hidden] {
    display: none;
}

.sa-totop-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sa-totop-track,
.sa-totop-value {
    fill: none;
    stroke-width: 3.5;
}

.sa-totop-track {
    stroke: rgba(245, 177, 69, 0.28);
}

.sa-totop-value {
    stroke: var(--sa-gold);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.12s linear;
}

.sa-totop-face {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-variant-numeric: tabular-nums;
}

.sa-totop-face svg {
    width: 14px;
    height: 14px;
    color: var(--sa-gold);
}

.sa-totop-pct {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.sa-totop:hover {
    background: var(--sa-navy-deep);
}

.sa-totop:focus-visible {
    outline-color: #fff;
}

@media (min-width: 576px) {
    .sa-skills {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .sa-hero-grid {
        padding: 72px 0 80px;
    }

    .sa-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .sa-exam-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (min-width: 992px) {
    .sa-hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
        padding: 84px 0 92px;
    }

    .sa-hero-card {
        justify-self: end;
        width: min(100%, 380px);
    }

    .sa-skills {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
        padding: 34px 0;
    }

    .sa-exam-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sa-pub-footer-main {
        grid-template-columns: 1.4fr 1fr 0.8fr;
        align-items: start;
    }

    .sa-pub-nav .navbar-nav {
        align-items: center;
    }
}

@media (max-width: 991.98px) {
    .sa-pub-nav .navbar-collapse {
        padding-bottom: 14px;
    }

    .sa-pub-nav .nav-link,
    .sa-pub-user {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .sa-nav-cta {
        width: 100%;
        margin-top: 6px;
    }
}

@media (max-width: 767.98px) {
    .sa-pub-legal {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 88px 28px 0;
    }
}

@media (max-width: 575.98px) {

    .sa-wa-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .sa-wa {
        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 0;
        justify-content: center;
    }

    .sa-totop {
        width: 60px;
        height: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:has(body.sa-public) {
        scroll-behavior: auto;
    }

    .sa-pub-nav,
    .sa-exam,
    .sa-totop-value,
    .sa-credit,
    .sa-credit-icon {
        transition: none;
    }

    .sa-credit:hover .sa-credit-icon {
        transform: none;
    }

    a.sa-exam:hover {
        transform: none;
    }
}

@media print {
    .sa-pub-nav,
    .sa-float,
    .sa-hero-card {
        display: none !important;
    }

    .sa-hero,
    .sa-close-panel,
    .sa-pub-footer {
        background: #fff;
        color: #000;
    }

    .sa-credit,
    .sa-credit:hover {
        border-color: #000;
        background: none;
        box-shadow: none;
        color: #000;
    }

    .sa-credit-label,
    .sa-credit-brand,
    .sa-credit-icon {
        color: #000;
    }
}
