:root {
    color-scheme: light;
    --navy: #0d2440;
    --blue: #1656bc;
    --pale: #edf4fc;
    --line: #d5e2ef;
    font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--navy);
    background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
h1, h2, h3, p { margin-block: 0 .75em; }
h1, h2, h3 { line-height: 1.13; }
h1 { font-size: clamp(2.5rem, 6vw, 5.15rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.8rem); letter-spacing: -.035em; }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: normal; line-height: 1.28; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid #c67b16; outline-offset: 4px; }
.wrap { width: min(1240px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 1rem; top: -100px; background: white; z-index: 3; padding: .75rem; }
.skip:focus { top: .5rem; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.masthead, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; text-decoration: none; color: var(--navy); }
.brand strong { display: block; font-size: 1.4rem; line-height: 1; letter-spacing: .09em; }
.brand small { display: block; font-size: .76rem; }
.mark { display: grid; place-items: center; width: 2.65rem; aspect-ratio: 1; border-radius: .55rem; color: white; background: var(--blue); font-size: 1.55rem; font-weight: 800; }
.languages { display: flex; gap: .25rem; }
.languages a { padding: .35rem .65rem; font-weight: 650; border-radius: .4rem; text-decoration: none; }
.languages a[aria-current] { background: var(--pale); }
.navigation { display: flex; align-items: center; gap: .2rem 1.25rem; flex-wrap: wrap; padding-block: .55rem .75rem; }
.navigation a { color: var(--navy); text-decoration: none; font-size: .9rem; font-weight: 600; padding-block: .3rem; }
.navigation a:hover, .navigation a[aria-current] { text-decoration: underline; color: var(--blue); }
.hero { min-height: 34rem; position: relative; isolation: isolate; display: grid; align-items: center; background: var(--pale); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 45%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, #edf4fc 14%, #edf4fcf8 34%, #edf4fcbd 53%, #edf4fc00 78%); }
[dir="rtl"] .hero::after { background: linear-gradient(to left, #edf4fc 14%, #edf4fcf8 34%, #edf4fcbd 53%, #edf4fc00 78%); }
[dir="rtl"] .hero-photo { transform: scaleX(-1); }
.hero-content { padding-block: 4.5rem; }
.hero h1 { max-width: 12ch; margin-block-end: .25em; }
.hero p, .page-heading p { max-width: 50ch; font-size: 1.15rem; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-block: 1.5rem; }
.button { display: inline-flex; align-items: center; width: fit-content; min-height: 2.9rem; padding: .65rem 1.15rem; border: 1px solid var(--blue); border-radius: .45rem; background: var(--blue); color: white; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { color: white; background: #10428f; }
.button.secondary { color: var(--blue); background: white; }
.button.secondary:hover { background: var(--pale); }
.hero-link { font-weight: 700; }
.section { padding-block: clamp(2rem, 5vw, 4.4rem); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: 1rem; }
.card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: .75rem; color: var(--navy); text-decoration: none; background: white; }
.card:hover { border-color: var(--blue); box-shadow: 0 8px 24px #16375912; }
.card-photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--pale); }
.card div { padding: 1.15rem; }
.card span { color: var(--blue); font-weight: 650; }
.level h2 { font-size: 1.45rem; }
.band, .page-banner { background: var(--pale); }
.split, .page-heading { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 5vw, 5rem); align-items: center; padding-block: 3rem; }
.page-heading h1 { font-size: clamp(2.25rem, 5vw, 4rem); margin-block: .35em; overflow-wrap: anywhere; }
.page-heading > div:only-child { grid-column: 1 / -1; }
.banner-photo { width: 100%; max-height: 20rem; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .75rem; }
.note { padding: .75rem 1rem; background: var(--pale); border-inline-start: 3px solid var(--blue); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: .6rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); text-align: start; }
thead, tbody tr:nth-child(even) { background: var(--pale); }
tbody tr:last-child > * { border-bottom: 0; }
td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.form-panel { max-width: 46rem; padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .75rem; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 1rem; }
label { display: grid; gap: .3rem; font-weight: 650; }
label.check { display: flex; align-items: start; gap: .65rem; font-weight: 500; }
input, select, textarea { width: 100%; min-width: 0; font: inherit; border: 1px solid #849ab1; padding: .55rem .7rem; border-radius: .35rem; background: #fff; color: var(--navy); }
input[type="checkbox"] { width: auto; margin-block-start: .35rem; }
button:disabled { opacity: .65; cursor: default; }
footer { background: var(--navy); color: white; }
footer a { color: #c1dbff; }
footer a:hover { color: white; }
@media (max-width: 720px) {
    .wrap { width: calc(100% - 2rem); }
    .navigation { gap: .2rem .8rem; }
    .hero { display: block; min-height: 0; }
    .hero-photo { position: static; display: block; aspect-ratio: 16 / 8; height: auto; }
    .hero::after { display: none; }
    .hero-content { padding-block: 2rem; }
    .split, .page-heading { grid-template-columns: 1fr; padding-block: 2rem; }
    th, td { padding: .55rem; }
}
