:root {
    --navy: #0c2947;
    --navy-deep: #06192c;
    --red: #b51f3b;
    --blue: #2c73a8;
    --cream: #f4f0e8;
    --paper: #fff;
    --ink: #152536;
    --muted: #667585;
    --line: #dce2e7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f8f9fa; font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
body.modal-open { overflow: hidden; }
a { color: inherit; }
button { font: inherit; }
.site-header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(22px, 6vw, 88px); color: #fff; background: var(--navy-deep); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 12px; letter-spacing: .08em; }
.brand span { display: grid; width: 42px; height: 42px; place-items: center; background: var(--red); font: 700 25px Georgia, serif; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { text-decoration: none; font-size: 13px; font-weight: 800; }
.nav-apply { padding: 11px 17px; background: var(--red); }
.hero { display: grid; min-height: 620px; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); align-items: end; gap: clamp(36px, 8vw, 120px); padding: clamp(90px, 13vw, 170px) clamp(24px, 8vw, 120px) 80px; color: #fff; background: radial-gradient(circle at 78% 25%, rgba(67, 145, 188, .55), transparent 24rem), linear-gradient(125deg, #06192c 20%, #103d63 100%); }
.eyebrow { margin: 0 0 14px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.hero .eyebrow, .section-dark .eyebrow, .photo-section .eyebrow, .cta .eyebrow { color: #ef7187; }
.hero h1 { max-width: 760px; margin: 0; font: 600 clamp(52px, 8vw, 98px)/.98 Georgia, "Noto Serif SC", serif; letter-spacing: -.04em; }
.hero-intro { max-width: 680px; margin: 30px 0 35px; color: #d2deea; font-size: clamp(17px, 2vw, 22px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; border: 0; text-decoration: none; cursor: pointer; font-weight: 900; }
.button-primary { color: #fff; background: var(--red); }
.button-secondary { border: 1px solid rgba(255,255,255,.35); color: #fff; background: transparent; }
.hero-facts { display: grid; border-top: 1px solid rgba(255,255,255,.22); }
.hero-facts div { display: grid; grid-template-columns: 90px 1fr; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.hero-facts b { font: 500 54px Georgia, serif; }
.hero-facts span { color: #cbd8e4; line-height: 1.6; }
.notice-strip { display: grid; grid-template-columns: 210px 1fr; gap: 25px; padding: 30px clamp(24px, 8vw, 120px); color: #fff; background: var(--red); }
.notice-strip p { margin: 0; line-height: 1.7; }
.section { padding: 110px clamp(24px, 8vw, 120px); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .photo-section h2, .cta h2, .info-grid h2 { margin: 0; color: var(--navy-deep); font: 600 clamp(36px, 5vw, 60px)/1.08 Georgia, "Noto Serif SC", serif; }
.section-heading > p:last-child, .photo-section > div > p:last-child, .cta > p, .info-grid article > p:last-of-type { color: var(--muted); font-size: 16px; line-height: 1.8; }
.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.check-grid article { min-height: 240px; padding: 34px; background: #fff; }
.check-grid span { color: var(--red); font: 700 14px Georgia, serif; }
.check-grid h3 { margin: 35px 0 12px; font-size: 20px; }
.check-grid p { margin: 0; color: var(--muted); line-height: 1.75; }
.check-grid .downloads { color: #fff; background: var(--navy); }
.downloads p { display: grid; gap: 10px; }
.downloads a { color: #fff; font-weight: 800; }
.section-dark { color: #fff; background: var(--navy-deep); }
.section-dark .section-heading h2 { color: #fff; }
.section-dark .section-heading > p:last-child { color: #aebdcb; }
.timeline { display: grid; max-width: 1000px; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #30485e; }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid #30485e; }
.timeline b { color: #ef7187; font: 400 44px Georgia, serif; }
.timeline h3 { margin: 0 0 8px; font-size: 21px; }
.timeline p { max-width: 760px; margin: 0; color: #aebdcb; line-height: 1.8; }
.text-link { display: inline-block; margin-top: 35px; color: #fff; font-weight: 900; }
.split-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); gap: clamp(50px, 10vw, 150px); align-items: center; }
.feature-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-list li { position: relative; padding: 20px 0 20px 34px; border-bottom: 1px solid var(--line); line-height: 1.7; }
.feature-list li::before { position: absolute; left: 0; color: var(--red); content: "✓"; font-weight: 900; }
.score-card { padding: 48px; color: #fff; background: var(--blue); }
.score-card p { margin: 0; font-weight: 900; }
.score-card strong { display: block; margin: 20px 0; font: 500 92px Georgia, serif; }
.score-card span { display: block; line-height: 1.8; }
.compact-section { padding-top: 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-grid article { min-height: 370px; padding: 42px; border: 1px solid var(--line); background: #fff; }
.info-grid article + article { border-left: 0; }
.info-grid h2 { font-size: 30px; }
.info-grid a { color: var(--red); font-weight: 900; }
.photo-section { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 80px clamp(24px, 8vw, 120px); color: #fff; background: var(--navy); }
.photo-section h2 { color: #fff; font-size: clamp(34px, 4vw, 50px); }
.photo-section > div > p:last-child { color: #bfd0df; }
.photo-actions { display: flex; flex: 0 0 auto; gap: 12px; }
.photo-button { flex: 0 0 auto; color: var(--navy-deep); background: #fff; }
.advantage-button { color: #fff; background: var(--red); }
.cta { padding: 110px 24px; text-align: center; background: var(--cream); }
.cta h2 { margin: 0 auto; }
.cta > p { margin: 20px auto 30px; }
.email-link { display: block; margin-top: 24px; color: var(--navy); font-weight: 800; }
footer { padding: 30px; color: #9baabb; background: var(--navy-deep); text-align: center; font-size: 12px; }
@media (max-width: 900px) {
    .site-header nav a:not(.nav-apply) { display: none; }
    .hero { grid-template-columns: 1fr; }
    .check-grid, .info-grid { grid-template-columns: 1fr 1fr; }
    .split-section { grid-template-columns: 1fr; }
    .info-grid article + article { border-left: 1px solid var(--line); }
}

@media (max-width: 620px) {
    .site-header { min-height: 74px; }
    .brand strong { display: none; }
    .hero { min-height: auto; padding-top: 90px; }
    .hero h1 { font-size: 50px; }
    .notice-strip, .check-grid, .info-grid, .gallery-grid { grid-template-columns: 1fr; }
    .notice-strip { gap: 8px; }
    .section { padding-top: 80px; padding-bottom: 80px; }
    .photo-section { align-items: stretch; flex-direction: column; }
    .photo-actions { flex-direction: column; }
    .gallery-panel { inset: 8px; }
    .gallery-grid figure:last-child { grid-column: auto; }
}



/* ---- Actuarial science additions (2026-11-06) ---- */
.hero { background: radial-gradient(circle at 80% 22%, rgba(181, 31, 59, .45), transparent 24rem), linear-gradient(125deg, #06192c 20%, #103d63 100%); }
.hero-actions.center { justify-content: center; }
.button-outline { border: 1px solid var(--navy); color: var(--navy); background: transparent; }
mark { padding: 0 3px; color: var(--red); background: transparent; font-weight: 900; }
.lead { max-width: 720px; font-size: 18px; line-height: 1.9; }
.lead strong { color: var(--red); }
.video-section { padding-bottom: 60px; }
.video-frame { max-width: 1000px; background: var(--navy-deep); box-shadow: 0 24px 60px rgba(6, 25, 44, .22); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.score-card { background: var(--navy); }
.work-list { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.work-list li { display: flex; align-items: center; gap: 16px; font-size: 22px; font-weight: 800; }
.work-list b { display: grid; width: 42px; height: 42px; place-items: center; background: var(--red); font: 700 20px Georgia, serif; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #30485e; border: 1px solid #30485e; }
.why-grid article { padding: 30px; background: var(--navy-deep); }
.why-grid h3 { margin: 0 0 10px; color: #fff; font: 600 24px Georgia, "Noto Serif SC", serif; }
.why-grid p { margin: 0; color: #aebdcb; line-height: 1.7; }
.rank-strip { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); margin-top: 30px; background: var(--red); }
.rank-strip > div { display: grid; align-content: center; gap: 6px; padding: 26px; border-left: 1px solid rgba(255,255,255,.25); }
.rank-strip > div:first-child { border-left: 0; }
.rank-strip b { font: 600 38px Georgia, serif; }
.rank-strip span { color: #fde3e8; line-height: 1.6; }
.rank-label strong { font-size: 20px; }
.salary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.salary-grid article { padding: 38px; border-top: 5px solid var(--red); background: #fff; box-shadow: 0 10px 30px rgba(6, 25, 44, .06); }
.salary-grid .country { margin: 0 0 14px; color: var(--muted); font-weight: 900; }
.salary-grid strong { display: block; color: var(--red); font: 700 clamp(30px, 4vw, 48px)/1.1 Georgia, serif; }
.salary-grid small { color: var(--muted); font-size: 16px; }
.salary-grid article > p:last-child { margin: 14px 0 0; color: var(--ink); }
.source-note { margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.source-note.light { color: #aebdcb; }
.check-grid article { min-height: 190px; }
.aside-note { margin-top: 14px !important; padding: 14px 18px; border-left: 3px solid #ef7187; background: rgba(255,255,255,.06); }
.path-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 20px; margin-top: 50px; }
.path-grid article { padding: 32px; border: 1px solid #30485e; background: rgba(255,255,255,.04); }
.path-grid .path-core { border: 2px solid var(--red); background: rgba(181, 31, 59, .14); }
.path-tag { margin: 0 0 10px; color: #ef7187; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.path-grid h3 { margin: 0 0 18px; font: 600 24px Georgia, "Noto Serif SC", serif; }
.path-grid ul { display: grid; gap: 12px; margin: 0; padding-left: 18px; color: #d2deea; line-height: 1.7; }
.path-grid b { color: #fff; }
.small-note { margin: 16px 0 0; color: #aebdcb; font-size: 13px; }
.reason-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.reason-grid article { padding: 34px; background: #fff; }
.reason-grid .reason-highlight { border-left: 5px solid var(--red); }
.reason-grid span { color: var(--red); font: 700 26px Georgia, serif; }
.reason-grid h3 { margin: 12px 0 14px; font-size: 21px; }
.reason-grid p, .reason-grid li { color: var(--muted); line-height: 1.8; }
.reason-grid b { color: var(--ink); }
.reason-grid ul, .reason-grid ol { padding-left: 20px; }
.exam-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.exam-table th { padding: 10px; color: #fff; background: var(--red); text-align: left; }
.exam-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--muted); }
.exam-table td:first-child { color: var(--red); font-weight: 800; white-space: nowrap; }
.section-cream { background: var(--cream); }
.programme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.programme-grid.two { grid-template-columns: 1fr 1fr; }
.programme-grid article { padding: 32px; border: 1px solid var(--line); background: #fff; }
.programme-grid .programme-main { border: 2px solid var(--red); }
.programme-grid .tag { display: inline-block; padding: 4px 10px; color: #fff; background: var(--navy-deep); font-size: 12px; font-weight: 900; }
.programme-grid h3 { margin: 16px 0 12px; color: var(--navy-deep); font: 600 26px Georgia, "Noto Serif SC", serif; }
.programme-grid .mix { padding: 8px 12px; color: #fff; background: var(--red); font-size: 13px; font-weight: 800; }
.programme-grid p { color: var(--muted); line-height: 1.8; }
.sub-heading { margin: 70px 0 30px; }
.sub-heading h2 { font-size: clamp(30px, 4vw, 44px); }
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.faq-grid article { padding: 32px; border-top: 5px solid var(--red); background: #fff; box-shadow: 0 10px 30px rgba(6, 25, 44, .06); }
.faq-grid h3 { margin: 0 0 18px; font-size: 19px; line-height: 1.5; }
.faq-grid strong { display: block; color: var(--red); font: 700 24px Georgia, "Noto Serif SC", serif; }
.faq-grid p { color: var(--muted); line-height: 1.8; }
.key-point { display: flex; align-items: center; gap: 16px; margin: 30px 0 0; padding: 22px 28px; color: #fff; background: var(--red); font-size: 18px; font-weight: 800; }
.key-point span { flex: 0 0 auto; padding: 4px 10px; color: var(--navy-deep); background: #f5c542; font-size: 13px; }

@media (max-width: 900px) {
    .why-grid, .faq-grid, .programme-grid { grid-template-columns: 1fr 1fr; }
    .rank-strip { grid-template-columns: 1fr 1fr; }
    .path-grid, .reason-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .why-grid, .faq-grid, .programme-grid, .programme-grid.two, .salary-grid, .rank-strip { grid-template-columns: 1fr; }
    .rank-strip > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
    .key-point { align-items: flex-start; flex-direction: column; }
    .reason-grid article, .path-grid article { padding: 24px; }
}

.materials-panel {
    position: relative;
    max-width: 820px;
    padding: 36px 40px 48px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 16px 40px rgba(6, 25, 44, .08);
}
.materials-list { margin: 0; padding: 0; list-style: none; }
.materials-list li { display: grid; grid-template-columns: 42px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.materials-list li:last-child { border-bottom: 0; }
.materials-list span { color: var(--red); font: 700 20px Georgia, serif; }
.materials-list div { color: var(--ink); font-size: 16px; line-height: 1.7; font-weight: 700; }
.materials-note { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--red); background: #f4f6f8; color: var(--muted); font-size: 13px; font-weight: 600; }
.inline-action {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    vertical-align: middle;
}
.inline-action:hover, .inline-action:focus-visible { background: #931832; }
.materials-list a[href^="mailto:"] { color: var(--blue); }
.language-stamp {
    position: absolute;
    right: 28px;
    bottom: 22px;
    display: grid;
    width: 118px;
    height: 118px;
    place-content: center;
    transform: rotate(-14deg);
    border: 4px solid var(--red);
    color: var(--red);
    text-align: center;
    line-height: 1.25;
    background: rgba(255,255,255,.82);
}
.language-stamp b, .language-stamp span { font: 900 18px "Songti SC", "STSong", "Noto Serif SC", serif; letter-spacing: .08em; }
@media (max-width: 620px) {
    .materials-panel { padding: 24px 20px 140px; }
    .language-stamp { right: 16px; bottom: 16px; width: 100px; height: 100px; }
    .language-stamp b, .language-stamp span { font-size: 15px; }
}
.programme-grid .programme-link { display: inline-block; margin-top: 8px; padding: 10px 18px; color: #fff; background: var(--red); font-size: 14px; font-weight: 800; text-decoration: none; }
.programme-grid .programme-link:hover { background: var(--navy-deep); }
