:root {
    --navy-950: #04132f;
    --navy-900: #071c43;
    --navy-800: #0b2a5d;
    --navy-700: #123b78;
    --gold-600: #bd8218;
    --gold-500: #d29a2f;
    --gold-300: #edd096;
    --blue-100: #eaf4fb;
    --blue-50: #f5faff;
    --white: #ffffff;
    --ink: #17233a;
    --muted: #5c6679;
    --border: #dce6ef;
    --success: #177245;
    --danger: #a93232;
    --shadow: 0 18px 50px rgba(6, 27, 65, .12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    padding: 10px 14px;
    background: var(--navy-950);
    color: white;
    border-radius: 8px;
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.announcement {
    min-height: 38px;
    padding: 8px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, #c68b20, #e4ba64, #c68b20);
    color: var(--navy-950);
    font-size: .82rem;
    font-weight: 750;
    letter-spacing: .02em;
    text-align: center;
}
.announcement-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--navy-900); }
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(7,28,67,.08);
    backdrop-filter: blur(18px);
}
.nav-wrap {
    width: min(var(--container), calc(100% - 40px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand { flex: 0 1 330px; }
.brand img { width: 330px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 22px; color: var(--navy-900); font-size: .92rem; font-weight: 700; }
.primary-nav > a:not(.button), .nav-login {
    position: relative;
    padding: 10px 0;
}
.primary-nav > a:not(.button)::after, .nav-login::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 5px;
    height: 2px;
    background: var(--gold-500);
    transition: right .2s ease;
}
.primary-nav > a:hover::after, .primary-nav > a:focus-visible::after, .nav-login:hover::after, .nav-login:focus-visible::after { right: 0; }
.nav-login, .footer-button { border: 0; background: transparent; color: inherit; padding: 0; font-weight: inherit; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: white; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--navy-900); }

.button {
    display: inline-flex;
    min-height: 50px;
    padding: 13px 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--navy-900);
    border-radius: 12px;
    background: var(--navy-900);
    color: white;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(7,28,67,.16);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(7,28,67,.22); background: var(--navy-800); }
.button-secondary { background: white; color: var(--navy-900); border-color: var(--gold-500); box-shadow: none; }
.button-secondary:hover, .button-secondary:focus-visible { background: #fff9ee; }
.button-small { min-height: 42px; padding: 9px 15px; border-radius: 10px; }
.button-light { background: white; color: var(--navy-900); border-color: white; box-shadow: none; }
.button-light:hover, .button-light:focus-visible { background: var(--gold-300); }

.section-shell, .content-section, .enrol-section {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}
.hero {
    min-height: 700px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
    align-items: center;
    gap: 70px;
    padding-top: 72px;
    padding-bottom: 72px;
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 540px;
    height: 540px;
    right: -120px;
    top: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(210,154,47,.22), rgba(234,244,251,.55) 48%, transparent 70%);
}
.eyebrow {
    margin: 0 0 12px;
    color: var(--gold-600);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hero h1, .section-heading h2, .split-layout h2, .enrol-section h2 {
    margin: 0;
    color: var(--navy-950);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.07;
    letter-spacing: -.03em;
}
.hero h1 { max-width: 760px; font-size: clamp(3rem, 5.6vw, 5.35rem); }
.hero-lead { max-width: 720px; margin: 26px 0 0; color: var(--muted); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 34px; color: var(--navy-800); font-size: .88rem; font-weight: 750; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--gold-600); }
.hero-panel {
    padding: 25px;
    border: 1px solid rgba(7,28,67,.1);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(255,255,255,.98), rgba(234,244,251,.88));
    box-shadow: var(--shadow);
}
.panel-topline { display: flex; align-items: center; gap: 8px; color: var(--navy-900); font-size: .8rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(23,114,69,.12); }
.panel-badge { margin-left: auto; padding: 5px 8px; border-radius: 999px; background: #fff4d8; color: #8b5c05; }
.score-ring {
    width: 190px;
    height: 190px;
    margin: 30px auto;
    padding: 17px;
    border-radius: 50%;
    background: conic-gradient(var(--gold-500) 0 72%, #dbe8f2 72% 100%);
}
.score-ring > div { width: 100%; height: 100%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: white; box-shadow: inset 0 0 0 1px rgba(7,28,67,.05); }
.score-ring strong { color: var(--navy-900); font-size: 2.2rem; line-height: 1; }
.score-ring span { color: var(--muted); font-size: .82rem; }
.progress-list { display: grid; gap: 16px; }
.progress-label { display: flex; justify-content: space-between; gap: 12px; color: var(--navy-800); font-size: .82rem; }
.progress-track { height: 8px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: #dce9f2; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy-700), var(--gold-500)); }
.dashboard-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.dashboard-footer strong { color: var(--navy-900); }

.stat-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--navy-900);
    color: white;
}
.stat-band div { padding: 28px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat-band div:last-child { border-right: 0; }
.stat-band strong { display: block; color: var(--gold-300); font-size: 2rem; line-height: 1.1; }
.stat-band span { font-size: .86rem; opacity: .85; }

.content-section { padding-top: 100px; padding-bottom: 100px; }
.section-tint { width: 100%; max-width: none; padding-left: max(20px, calc((100% - var(--container))/2)); padding-right: max(20px, calc((100% - var(--container))/2)); background: linear-gradient(180deg, var(--blue-50), white); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .split-layout h2, .enrol-section h2 { font-size: clamp(2.25rem, 4vw, 3.8rem); }
.section-heading > p:last-child, .section-copy { color: var(--muted); font-size: 1.06rem; }
.pathway-switch { display: inline-flex; gap: 8px; margin-bottom: 22px; padding: 6px; border: 1px solid var(--border); border-radius: 14px; background: var(--blue-50); }
.pathway-tab { padding: 12px 18px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 800; }
.pathway-tab.is-active { background: var(--navy-900); color: white; box-shadow: 0 8px 18px rgba(7,28,67,.18); }
.pathway-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 52px;
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow);
}
.credential-chip, .topic-count, .mock-label { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #fff3d4; color: #805408; font-size: .73rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.pathway-summary h3 { margin: 18px 0 12px; color: var(--navy-900); font-family: Georgia, serif; font-size: 2rem; line-height: 1.15; }
.pathway-summary p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-600); font-weight: 900; }
.text-link { color: var(--navy-800); font-weight: 900; }
.text-link span { color: var(--gold-600); }
.domain-chart { display: grid; align-content: center; gap: 20px; padding: 26px; border-radius: var(--radius-md); background: var(--blue-50); }
.domain-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; color: var(--navy-800); font-size: .9rem; }
.domain-row strong { color: var(--gold-600); }
.domain-row i { grid-column: 1 / -1; display: block; height: 10px; border-radius: 99px; background: #d9e7f2; overflow: hidden; }
.domain-row i::after { content: ""; display: block; width: var(--bar); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--navy-700), var(--gold-500)); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { min-height: 270px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.94); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--gold-300); box-shadow: var(--shadow); }
.feature-number { color: var(--gold-600); font-family: Georgia, serif; font-size: 1.1rem; font-weight: 800; }
.feature-card h3 { margin: 30px 0 10px; color: var(--navy-900); font-size: 1.3rem; }
.feature-card p { color: var(--muted); }
.topic-count { margin-top: 12px; background: var(--blue-100); color: var(--navy-700); }

.split-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 74px; align-items: center; }
.tool-list { display: grid; gap: 12px; margin-top: 32px; }
.tool-list > div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.tool-list > div > span { width: 38px; height: 38px; display: grid; place-content: center; border-radius: 50%; background: var(--navy-900); color: var(--gold-300); font-weight: 900; }
.tool-list p { margin: 0; color: var(--muted); }
.tool-list strong { display: block; color: var(--navy-900); }
.question-preview { padding: 30px; border-radius: var(--radius-lg); background: var(--navy-900); color: white; box-shadow: 0 24px 60px rgba(7,28,67,.24); }
.question-meta { display: flex; justify-content: space-between; gap: 18px; color: var(--gold-300); font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.question-preview h3 { margin: 24px 0; font-size: 1.2rem; line-height: 1.55; }
.answer-stack { display: grid; gap: 9px; }
.answer-stack button { padding: 13px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.07); color: white; text-align: left; }
.answer-stack .preview-correct { border-color: var(--gold-500); background: rgba(210,154,47,.18); }
.explanation-preview { margin-top: 20px; padding: 18px; border-radius: 12px; background: white; color: var(--ink); }
.explanation-preview strong { color: var(--gold-600); }
.explanation-preview p { margin: 5px 0 0; color: var(--muted); font-size: .92rem; }

.section-dark { width: 100%; max-width: none; padding-left: max(20px, calc((100% - var(--container))/2)); padding-right: max(20px, calc((100% - var(--container))/2)); background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); color: white; }
.light-heading h2 { color: white; }
.light-heading > p:last-child { color: rgba(255,255,255,.72); }
.mock-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mock-grid article { padding: 36px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); background: rgba(255,255,255,.06); }
.mock-grid h3 { margin: 18px 0 8px; font-size: 1.8rem; }
.mock-grid p, .mock-grid li { color: rgba(255,255,255,.72); }
.mock-grid ul { padding-left: 20px; margin: 22px 0 28px; }
.mock-label { background: rgba(237,208,150,.14); color: var(--gold-300); }

.eligibility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.eligibility-grid article { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.eligibility-icon { width: 52px; height: 52px; display: grid; place-content: center; border-radius: 14px; background: var(--blue-100); color: var(--navy-900); font-weight: 900; }
.eligibility-grid h3 { color: var(--navy-900); }
.eligibility-grid p { color: var(--muted); }

.faq-list { display: grid; gap: 12px; max-width: 920px; }
details { border: 1px solid var(--border); border-radius: 14px; background: white; }
summary { padding: 20px 24px; color: var(--navy-900); font-weight: 850; cursor: pointer; }
details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

.enrol-section { margin-top: 30px; margin-bottom: 90px; padding: 48px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 38px; border-radius: var(--radius-lg); background: linear-gradient(110deg, #fff6df, var(--blue-100)); border: 1px solid var(--gold-300); }
.enrol-section p:not(.eyebrow) { color: var(--muted); }
.enrol-actions { display: flex; flex-direction: column; gap: 12px; }

.site-footer { padding: 60px max(20px, calc((100% - var(--container))/2)) 24px; background: var(--navy-950); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { width: 320px; padding: 8px; border-radius: 10px; background: white; }
.footer-brand p, .site-footer a, .footer-button { color: rgba(255,255,255,.68); font-size: .9rem; }
.site-footer h2 { margin-top: 0; color: var(--gold-300); font-size: .92rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a, .footer-button { display: block; margin: 10px 0; text-align: left; }
.site-footer a:hover, .footer-button:hover { color: white; }
.footer-bottom { margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .78rem; }
.footer-bottom p:last-child { max-width: 650px; text-align: right; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,12,30,.76); backdrop-filter: blur(7px); }
.modal-card { position: relative; z-index: 1; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 34px; border-radius: 22px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal-wide { width: min(760px, 100%); }
.modal-card h2 { margin-top: 0; color: var(--navy-900); font-family: Georgia, serif; font-size: 2rem; }
.modal-card p { color: var(--muted); }
.modal-card code { color: var(--navy-800); background: var(--blue-100); padding: 2px 5px; border-radius: 5px; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--blue-100); color: var(--navy-900); font-size: 1.7rem; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.sample-stem { color: var(--ink) !important; font-size: 1.05rem; font-weight: 650; }
.sample-options { display: grid; gap: 10px; margin-top: 20px; }
.sample-options button { padding: 14px 16px; border: 1px solid var(--border); border-radius: 11px; background: white; color: var(--ink); text-align: left; }
.sample-options button:hover { border-color: var(--gold-500); background: #fffaf0; }
.sample-options button.is-correct { border-color: #59a97d; background: #eef9f3; color: #0d633a; }
.sample-options button.is-incorrect { border-color: #d58a8a; background: #fff1f1; color: #8a2626; }
.sample-feedback { margin-top: 18px; padding: 16px; border-radius: 11px; background: var(--blue-50); color: var(--ink); }
.sample-feedback strong { color: var(--navy-900); }

:focus-visible { outline: 3px solid rgba(210,154,47,.65); outline-offset: 3px; }

@media (max-width: 1080px) {
    .menu-toggle { display: block; }
    .primary-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 1px);
        display: none;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        border: 1px solid var(--border);
        border-radius: 0 0 18px 18px;
        background: white;
        box-shadow: var(--shadow);
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav > a:not(.button), .nav-login { padding: 10px; text-align: left; }
    .primary-nav > a::after, .nav-login::after { display: none; }
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-panel { max-width: 650px; }
    .feature-grid, .eligibility-grid { grid-template-columns: repeat(2, 1fr); }
    .split-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
    .announcement { display: none; }
    .nav-wrap { width: min(100% - 28px, var(--container)); min-height: 72px; }
    .brand { flex-basis: 240px; }
    .brand img { width: 240px; }
    .section-shell, .content-section, .enrol-section { width: min(100% - 30px, var(--container)); }
    .hero { padding-top: 52px; padding-bottom: 56px; gap: 40px; }
    .hero h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
    .hero::before { width: 320px; height: 320px; }
    .hero-actions .button { width: 100%; }
    .stat-band { grid-template-columns: repeat(2, 1fr); }
    .stat-band div:nth-child(2) { border-right: 0; }
    .stat-band div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
    .content-section { padding-top: 76px; padding-bottom: 76px; }
    .section-tint, .section-dark { width: 100%; padding-left: 15px; padding-right: 15px; }
    .pathway-switch { width: 100%; }
    .pathway-tab { flex: 1; }
    .pathway-panel { grid-template-columns: 1fr; padding: 26px; gap: 30px; }
    .feature-grid, .eligibility-grid, .mock-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: auto; }
    .question-meta { flex-direction: column; gap: 4px; }
    .enrol-section { grid-template-columns: 1fr; padding: 32px 24px; }
    .enrol-actions .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .footer-bottom p:last-child { text-align: left; }
}

@media (max-width: 480px) {
    .brand img { width: 205px; }
    .hero-lead { font-size: 1rem; }
    .trust-row { display: grid; }
    .score-ring { width: 160px; height: 160px; }
    .stat-band strong { font-size: 1.65rem; }
    .stat-band span { font-size: .76rem; }
    .pathway-switch { flex-direction: column; }
    .domain-chart { padding: 18px; }
    .footer-grid { grid-template-columns: 1fr; }
    .modal-card { padding: 28px 20px; }
}

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