:root {
    --ink: #123936;
    --muted: #526862;
    --green: #17634c;
    --green-dark: #114d3c;
    --mint: #e8f1e9;
    --paper: #f8faf6;
    --line: #dce5dc;
    --white: #fff;
    --red: #ab302b;
    --radius: 18px;
    --shadow: 0 12px 42px rgba(20, 49, 35, 0.06);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select {
    font: inherit;
}
button,
a,
input,
select,
summary {
    -webkit-tap-highlight-color: transparent;
}
button,
summary {
    cursor: pointer;
}
button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
[hidden] {
    display: none !important;
}
img {
    max-width: 100%;
    object-fit: contain;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1,
h2,
h3 {
    line-height: 1.18;
}
h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    letter-spacing: -1.2px;
    margin-bottom: 18px;
}
h3 {
    font-size: 1.25rem;
}
p {
    margin-bottom: 16px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #bd7515;
    outline-offset: 4px;
}
a:hover {
    text-decoration: underline;
}
.container {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto;
}
.section {
    padding-block: 78px;
}
.eyebrow {
    font-size: 0.71rem;
    letter-spacing: 1.8px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--green);
    margin-bottom: 18px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 15px 23px;
    min-height: 48px;
    border: 1px solid var(--green);
    border-radius: 9px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.16s,
        transform 0.16s;
}
.button:hover {
    background: var(--green-dark);
    text-decoration: none;
}
.button span {
    font-size: 1.2rem;
}
.button-small {
    padding: 11px 18px;
    font-size: 0.83rem;
    min-height: 44px;
}
.button-outline {
    color: var(--green);
    background: transparent;
    width: 100%;
    justify-content: space-between;
}
.button-outline:hover {
    color: #fff;
}
.text-link {
    font-size: 0.92rem;
    font-weight: 700;
    border-bottom: 1px solid var(--green);
    padding-bottom: 5px;
}
.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 20;
    background: white;
    padding: 12px;
}
.skip-link:focus {
    top: 12px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 84px;
}
.wordmark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.wordmark img {
    width: 150px;
    height: 52px;
}
.wordmark b {
    color: var(--green);
}
nav {
    display: flex;
    gap: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
}
nav a {
    padding: 12px 0;
}
.hero {
    padding: 76px 0 58px;
    background: #f0f5ec;
    border-bottom: 1px solid var(--line);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr);
    gap: 72px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(2.8rem, 4.6vw, 4.3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2.5px;
    margin-bottom: 23px;
}
.hero h1 em {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: var(--green);
}
.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    margin-right: 8px;
}
.hero-lead {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.hero-description {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.8;
    max-width: 610px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.hero-aside {
    background: var(--ink);
    border-radius: 22px;
    padding: 32px;
    color: #fff;
    box-shadow: var(--shadow);
}
.aside-kicker {
    font-size: 0.64rem;
    letter-spacing: 1.8px;
    color: #c6dbc9;
}
.scholarship-number {
    font-size: 6.7rem;
    line-height: 1.12;
    letter-spacing: -7px;
    margin: 19px 0 14px;
    font-weight: 700;
}
.scholarship-number span {
    font-size: 1.55rem;
    letter-spacing: -0.4px;
    margin-left: 12px;
    font-weight: 400;
}
.hero-aside > p {
    font-size: 0.93rem;
    color: #d4e3d7;
}
.aside-stats {
    border-top: 1px solid #42615b;
    border-bottom: 1px solid #42615b;
    padding: 23px 0;
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 12px;
}
.aside-stats div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.aside-stats strong {
    font-size: 1.8rem;
    line-height: 1.3;
}
.aside-stats span {
    font-size: 0.73rem;
    color: #d4e3d7;
}
.aside-bottom {
    display: flex;
    gap: 10px;
    margin-top: 23px;
}
.aside-bottom span {
    border: 1px solid #59756e;
    border-radius: 30px;
    padding: 4px 13px;
    font-size: 0.74rem;
}
.partners {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-block: 25px;
    border-bottom: 1px solid var(--line);
}
.partners > p {
    font-size: 0.76rem;
    color: var(--muted);
    margin: 0;
    min-width: 190px;
}
.partners strong {
    color: var(--ink);
}
.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 34%;
    font-size: 0.8rem;
    line-height: 1.4;
}
.partner img {
    max-height: 64px;
}
.brand-fallback {
    display: block;
}
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}
.section-heading h2 {
    max-width: 630px;
}
.filters {
    display: flex;
    border: 1px solid var(--line);
    padding: 4px;
    border-radius: 9px;
    background: white;
    margin-bottom: 18px;
    flex-shrink: 0;
}
.filters button {
    min-height: 40px;
    border: 0;
    background: transparent;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.8rem;
    color: var(--muted);
}
.filters button[aria-pressed="true"] {
    background: var(--green);
    color: white;
}
.section-intro {
    max-width: 780px;
    color: var(--muted);
    font-size: 0.93rem;
    margin-bottom: 32px;
}
.programme-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}
.programme-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--line);
    border-top: 4px solid var(--green);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    min-width: 0;
}
.master-card {
    border-top-color: #9a7139;
}
.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 24px;
}
.badge {
    display: inline-block;
    background: var(--mint);
    color: var(--green);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.73rem;
    font-weight: 700;
}
.master-card .badge {
    background: #f5eee2;
    color: #735023;
}
.places {
    font-size: 0.75rem;
    color: var(--muted);
}
.places strong {
    font-size: 1rem;
    color: var(--ink);
}
.programme-card h3 {
    font-size: 1.55rem;
    letter-spacing: -0.6px;
    margin-bottom: 15px;
    min-height: 92px;
}
.location {
    font-size: 0.81rem;
    color: var(--muted);
    min-height: 42px;
}
.programme-facts {
    border-block: 1px solid var(--line);
    padding-block: 19px;
    margin: 0 0 13px;
}
.programme-facts div + div {
    margin-top: 16px;
}
.programme-facts dt {
    font-size: 0.73rem;
    color: var(--muted);
    margin-bottom: 3px;
}
.programme-facts dd {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
}
.programme-details {
    font-size: 0.81rem;
    margin-bottom: 20px;
}
.programme-details summary {
    font-weight: 700;
    padding: 11px 0;
    min-height: 44px;
}
.programme-details p {
    margin-top: 13px;
    color: var(--muted);
}
.programme-details ul {
    padding-left: 19px;
    color: var(--muted);
}
.programme-details li + li {
    margin-top: 7px;
}
.card-actions {
    margin-top: auto;
}
.notice-link {
    display: block;
    margin-top: 15px;
    text-align: center;
    font-size: 0.75rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.notice-link span {
    display: block;
    font-size: 0.68rem;
    color: var(--muted);
}
.closed-label {
    padding: 13px;
    border-radius: 8px;
    background: #f8ece7;
    color: var(--red);
    text-align: center;
    font-weight: 700;
    font-size: 0.83rem;
}
.how-section {
    background: #edf2ec;
    border-block: 1px solid var(--line);
}
.steps {
    list-style: none;
    margin: 32px 0 38px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}
.steps li {
    display: flex;
    gap: 15px;
}
.step-number {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    color: var(--green);
    line-height: 1.1;
    padding-top: 2px;
}
.steps h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}
.steps p {
    font-size: 0.83rem;
    color: var(--muted);
    margin: 0;
}
.schedule {
    border: 1px solid #d4dfd3;
    border-radius: 12px;
    background: white;
    overflow: hidden;
}
.schedule > summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    list-style: none;
    font-weight: 700;
}
.schedule > summary::-webkit-details-marker {
    display: none;
}
.schedule summary small {
    display: block;
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 4px;
}
.schedule[open] > summary {
    border-bottom: 1px solid var(--line);
}
.schedule-body {
    padding: 24px;
    font-size: 0.85rem;
}
.table-scroll {
    overflow-x: auto;
    width: 100%;
    margin: 20px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
}
table {
    border-collapse: collapse;
    width: 100%;
    min-width: 650px;
    font-size: 0.76rem;
    text-align: left;
}
caption {
    text-align: left;
    padding: 12px 15px;
    color: var(--muted);
    background: #fafcf8;
}
th,
td {
    padding: 14px;
    border-top: 1px solid var(--line);
}
thead th {
    background: #f1f6ef;
}
tbody th {
    font-weight: 600;
    max-width: 220px;
}
tbody td {
    white-space: nowrap;
}
.application-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr);
    gap: 70px;
    align-items: start;
}
.application-aside > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 0.94rem;
}
.help-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    margin-top: 30px;
    background: #f0f4ec;
    font-size: 0.81rem;
    color: var(--muted);
}
.help-card h3 {
    font-size: 0.96rem;
    color: var(--ink);
}
.help-card ul {
    padding-left: 18px;
}
.help-card li + li {
    margin-top: 9px;
}
.help-card p {
    margin-bottom: 0;
}
.help-contact {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--muted);
}
.help-contact a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
}
.application-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
    min-width: 0;
}
fieldset {
    border: 0;
    margin: 0 0 30px;
    padding: 0;
    min-width: 0;
}
legend {
    width: 100%;
    font-size: 1.08rem;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
    padding: 0 0 15px;
    margin-bottom: 22px;
}
legend span {
    font-size: 0.73rem;
    background: var(--mint);
    padding: 6px 8px;
    border-radius: 5px;
    margin-right: 9px;
    color: var(--green);
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 20px;
}
.field {
    min-width: 0;
    margin-bottom: 17px;
}
label {
    font-size: 0.79rem;
    font-weight: 700;
    display: block;
    margin-bottom: 7px;
}
label > span {
    color: var(--red);
}
input:not([type="file"]),
select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 1px solid #bccbc0;
    border-radius: 7px;
    padding: 11px 12px;
    color: var(--ink);
    background: #fff;
    font-size: 16px;
}
select {
    padding-right: 30px;
    text-overflow: ellipsis;
}
input:focus,
select:focus {
    border-color: var(--green);
}
[aria-invalid="true"] {
    border-color: var(--red) !important;
}
.helper {
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 7px 0 0;
}
.field-error {
    display: block;
    color: var(--red);
    font-size: 0.76rem;
    line-height: 1.6;
    margin-top: 4px;
}
.field-error:empty {
    display: none;
}
.upload-field {
    padding: 17px;
    margin-top: 14px;
    border: 1px dashed #b5c8b7;
    border-radius: 9px;
    background: #fbfcf9;
}
.upload-field label {
    line-height: 1.6;
}
.cycle-label {
    display: inline-block;
    color: var(--green);
    margin-left: 4px;
}
.upload-field input {
    display: block;
    margin-top: 13px;
    width: 100%;
    min-width: 0;
    font-size: 0.76rem;
    color: var(--muted);
    border-radius: 5px;
}
input::file-selector-button {
    border: 1px solid #b8c9b9;
    border-radius: 5px;
    background: white;
    color: var(--ink);
    padding: 9px 12px;
    margin-right: 10px;
    min-height: 42px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}
.submit-area {
    border-top: 1px solid var(--line);
    padding-top: 18px;
}
.submit-button {
    width: 100%;
    margin-top: 18px;
}
.submit-status {
    min-height: 0;
    text-align: center;
}
.submit-status:empty {
    display: none;
}
.alert {
    font-size: 0.85rem;
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 25px;
    background: #f4f3e6;
    border: 1px solid #e6dcc0;
}
.alert p:last-child {
    margin-bottom: 0;
}
.alert ul {
    padding-left: 18px;
}
.alert-error {
    background: #fff3ef;
    border-color: #efc7b8;
    color: #862e23;
}
.alert-success {
    background: var(--mint);
    border-color: var(--line);
}
.site-footer {
    background: var(--ink);
    color: white;
    padding: 48px 0 20px;
}
.site-footer .eyebrow {
    color: #c3d7c5;
}
.site-footer h2 {
    font-size: 1.9rem;
    max-width: 450px;
    letter-spacing: -0.6px;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-contacts a {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 1.3rem;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #46635c;
    margin-top: 25px;
    padding-top: 20px;
    font-size: 0.72rem;
    color: #ceded2;
}
.confirmation {
    max-width: 700px;
    margin: 70px auto;
    padding: 40px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
}
.confirmation h1 {
    font-size: 2.3rem;
}
.confirmation dl {
    margin: 25px 0;
}
.confirmation dt {
    font-size: 0.8rem;
    color: var(--muted);
}
.confirmation dd {
    margin: 0 0 16px;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.confirmation .button {
    margin: 8px 12px 8px 0;
}
.confirmation .text-link {
    display: inline-block;
}
@media (min-width: 1400px) {
    .hero {
        padding-block: 88px;
    }
    .hero-grid {
        gap: 95px;
    }
}
@media (max-width: 1000px) {
    .container {
        width: calc(100% - 40px);
    }
    nav {
        gap: 18px;
    }
    .hero-grid {
        gap: 35px;
        grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr);
    }
    .hero h1 {
        font-size: 3.2rem;
    }
    .hero-aside {
        padding: 25px;
    }
    .scholarship-number {
        font-size: 5.5rem;
    }
    .scholarship-number span {
        font-size: 1.15rem;
    }
    .programme-grid {
        gap: 14px;
    }
    .programme-card {
        padding: 20px;
    }
    .programme-card h3 {
        font-size: 1.32rem;
    }
    .section-heading {
        align-items: flex-start;
    }
    .application-grid {
        gap: 30px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    }
    .application-card {
        padding: 25px;
    }
    .steps {
        gap: 20px;
    }
    .button {
        gap: 14px;
    }
}
@media (max-width: 760px) {
    html {
        scroll-padding-top: 82px;
    }
    .header-inner {
        min-height: 72px;
        gap: 12px;
    }
    nav {
        display: none;
    }
    .wordmark img {
        width: 130px;
        height: 43px;
    }
    .hero {
        padding: 45px 0 34px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero h1 {
        font-size: clamp(2.6rem, 7vw, 3.6rem);
        letter-spacing: -1.8px;
    }
    .hero-aside {
        max-width: none;
        padding: 26px;
    }
    .scholarship-number {
        font-size: 5.8rem;
        margin-block: 12px;
    }
    .hero-aside > p {
        margin-bottom: 8px;
    }
    .aside-stats {
        grid-template-columns: 1fr 1fr;
        margin-top: 18px;
        padding: 17px 0;
    }
    .aside-bottom {
        margin-top: 17px;
    }
    .partners {
        gap: 16px;
        flex-wrap: wrap;
        padding-block: 24px;
    }
    .partners > p {
        width: 100%;
        text-align: center;
        min-width: 0;
    }
    .partner {
        max-width: calc(50% - 8px);
        flex: 1;
        font-size: 0.67rem;
    }
    .partner img {
        max-height: 57px;
    }
    .section {
        padding-block: 48px;
    }
    .section-heading {
        display: block;
    }
    .section-heading h2 {
        margin-bottom: 22px;
    }
    .filters {
        width: max-content;
        margin-bottom: 20px;
    }
    .programme-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .programme-card {
        padding: 24px;
    }
    .programme-card h3 {
        min-height: 0;
        font-size: 1.7rem;
    }
    .location {
        min-height: 0;
    }
    .card-top {
        margin-bottom: 18px;
    }
    .programme-facts {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 14px;
    }
    .programme-facts div + div {
        margin-top: 0;
    }
    .programme-facts dd {
        font-size: 0.83rem;
    }
    .steps {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .schedule > summary {
        padding: 18px;
    }
    .schedule-body {
        padding: 17px;
    }
    .application-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .application-aside {
        max-width: none;
    }
    .help-card {
        margin-top: 18px;
    }
    .help-contact {
        margin-top: 18px;
    }
    .application-card {
        padding: 24px;
    }
    .footer-grid {
        display: block;
    }
    .footer-contacts {
        margin-top: 25px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    .confirmation {
        margin: 30px auto;
        padding: 25px;
    }
    .confirmation h1 {
        font-size: 1.85rem;
    }
}
@media (max-width: 420px) {
    .container {
        width: calc(100% - 28px);
    }
    .header-inner > .button {
        padding: 9px 12px;
        font-size: 0.76rem;
        gap: 9px;
    }
    .wordmark img {
        width: 116px;
    }
    .hero h1 {
        font-size: 2.65rem;
    }
    .hero-actions {
        gap: 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .application-card {
        padding: 19px;
    }
    .programme-card {
        padding: 20px;
    }
    .programme-facts {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .hero-aside {
        padding: 23px;
    }
    .scholarship-number {
        font-size: 5.7rem;
    }
    .scholarship-number span {
        font-size: 1.3rem;
    }
    .upload-field {
        padding: 14px;
    }
    .footer-contacts a {
        font-size: 1.2rem;
    }
    h2 {
        letter-spacing: -0.8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
    }
}
