@import url(
    "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap"
);

:root {
    --purple: #49358c;
    --dark-purple: #24204f;

    --light-blue: #e8f3ff;
    --light-green: #ddf6ee;
    --light-orange: #ed8d55;
    --light-yellow: #fff1c0;

    --white: #ffffff;
    --black: #111111;

    --text: #24204f;
    --muted-text: #666975;
    --border: #dfe5e2;

    --page-width: 1280px;
    --large-radius: 42px;
    --medium-radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: "Manrope", sans-serif;
}

p {
    line-height: 1.7;
}

a {
    color: inherit;
}

.header {
    width: min(
        var(--page-width),
        calc(100% - 48px)
    );

    height: 140px;
    margin: 0 auto;
    padding: 20px 4px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.header-logo-left {
    justify-self: start;
}

.header-logo-right {
    justify-self: end;
}

.header-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.header-logo {
    display: block;
    width: auto;
    object-fit: contain;

    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.header-logo-mindus {
    height: 92px;
}

.header-logo-unl {
    width: 250px;
    height: auto;
    max-height: 78px;
}

.header-logo-link:hover .header-logo {
    transform: translateY(-2px);
    opacity: 0.82;
}

.language-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 8px 13px;

    background: var(--light-blue);
    border-radius: 999px;
}

.language-button {
    padding: 3px 4px;

    border: 0;
    background: transparent;

    color: var(--muted-text);

    font: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: color 150ms ease;
}

.language-button:hover {
    color: var(--black);
}

.language-button.active {
    color: var(--black);
    font-weight: 800;
}

.language-button:focus-visible {
    outline: 2px solid var(--light-orange);
    outline-offset: 3px;
    border-radius: 4px;
}

.language-divider {
    color: var(--muted-text);
}

.eyebrow {
    margin-bottom: 20px;

    color: var(--purple);

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.eyebrow-light {
    color: var(--light-yellow);
}

.section-heading {
    max-width: 950px;
    margin-bottom: 60px;
}

.section-heading h2,
.about-content h2 {
    max-width: 900px;
    margin-bottom: 25px;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -3.5px;
}

.section-description {
    max-width: 700px;
    margin-bottom: 0;
    font-size: 18px;
}

.hero {
    width: min(
        var(--page-width),
        calc(100% - 48px)
    );

    min-height: 690px;
    margin: 10px auto 110px;
    padding: 75px;

    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 70px;

    overflow: hidden;

    background: var(--light-yellow);
    border-radius: var(--large-radius);
}

h1 {
    max-width: 800px;
    margin-bottom: 30px;

    font-size: clamp(52px, 6.2vw, 90px);
    line-height: 0.98;
    letter-spacing: -5.5px;
}

.hero-intro {
    max-width: 680px;
    margin-bottom: 38px;

    font-size: 21px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.button {
    min-height: 58px;
    padding: 16px 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    border: 2px solid var(--black);
    border-radius: 999px;

    color: var(--black);

    font-size: 16px;
    font-weight: 800;
    text-decoration: none;

    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: var(--light-orange);
}

.button-primary:hover {
    background: #e47f46;
}

.button-secondary {
    background: var(--light-green);
}

.button-secondary:hover {
    background: #ccefe3;
}

.hero-visual {
    position: relative;
    min-height: 500px;
}

.shape {
    position: absolute;
}

.shape-blue {
    width: 350px;
    height: 345px;

    top: 10px;
    right: 25px;

    background: var(--light-blue);

    border-radius:
        57% 43% 50% 50% /
        42% 55% 45% 58%;

    transform: rotate(8deg);
}

.shape-yellow {
    width: 250px;
    height: 220px;

    bottom: 5px;
    left: 0;

    background: var(--light-yellow);

    border-radius:
        62% 38% 44% 56% /
        52% 42% 58% 48%;

    transform: rotate(-8deg);
}

.shape-orange {
    width: 210px;
    height: 230px;

    right: 5px;
    bottom: 0;

    background: var(--light-orange);

    border-radius:
        43% 57% 56% 44% /
        61% 43% 57% 39%;

    transform: rotate(11deg);
}

.amount-card {
    position: absolute;
    z-index: 2;

    top: 125px;
    left: 50%;

    width: 285px;
    min-height: 285px;
    padding: 36px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: var(--dark-purple);
    color: var(--white);

    border-radius: 36px;

    transform:
        translateX(-50%)
        rotate(-5deg);

    box-shadow:
        18px 18px 0
        rgba(73, 53, 140, 0.18);
}

.amount-star {
    color: var(--light-yellow);
    font-size: 48px;
}

.amount {
    margin-bottom: 8px;

    font-family: "Manrope", sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.amount-text {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.45;
}

.introduction-section {
    width: min(
        var(--page-width),
        calc(100% - 48px)
    );

    margin: 0 auto;
    padding: 30px 0 130px;
}

.introduction-section .section-heading {
    margin-bottom: 0;
}

.introduction-section h2 {
    max-width: 900px;
    margin-bottom: 35px;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -3.5px;
}

.introduction-text {
    max-width: 800px;
    font-size: 19px;
}

.introduction-text p:last-child {
    margin-bottom: 0;
}

.criteria-section {
    width: min(
        var(--page-width),
        calc(100% - 48px)
    );

    margin: 0 auto 120px;
    padding: 75px;

    background: var(--light-green);
    color: var(--black);

    border-radius: var(--large-radius);

    scroll-margin-top: 30px;
}

.criteria-section .eyebrow,
.criteria-section h2,
.criteria-section .section-description {
    color: var(--black);
}

.criteria-section .section-heading {
    margin-bottom: 48px;
}

.jury-note {
    max-width: 760px;
    margin-top: 28px;
    padding: 20px 24px;

    background: rgba(255, 255, 255, 0.62);

    border-radius: 18px;
}

.jury-note p {
    margin: 0;

    color: var(--black);

    font-size: 15px;
    font-style: italic;
    line-height: 1.65;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.criterion-card {
    min-height: 175px;
    overflow: hidden;

    background: var(--white);
    color: var(--black);

    border-radius: var(--medium-radius);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.criterion-card-wide {
    grid-column: 1 / -1;
}

.criterion-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px
        rgba(17, 17, 17, 0.08);
}

.criterion-card summary {
    min-height: 175px;
    padding: 32px;

    display: grid;
    grid-template-columns: 1fr 32px;
    align-items: center;
    gap: 20px;

    color: var(--black);

    cursor: pointer;
    list-style: none;
}

.criterion-card summary::-webkit-details-marker {
    display: none;
}

.criterion-title {
    color: var(--black);

    font-family: "Manrope", sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.criterion-toggle {
    position: relative;
    width: 30px;
    height: 30px;
}

.criterion-toggle::before,
.criterion-toggle::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 22px;
    height: 2px;

    background: var(--black);

    transform: translate(-50%, -50%);

    transition: transform 180ms ease;
}

.criterion-toggle::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.criterion-card[open] .criterion-toggle::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}

.criterion-content {
    padding: 0 80px 34px 32px;
}

.criterion-content p {
    max-width: 560px;
    margin-bottom: 0;

    color: var(--black);
    font-size: 17px;
}

.criterion-card-wide .criterion-content p {
    max-width: 850px;
}

.application-section {
    width: min(
        1100px,
        calc(100% - 40px)
    );

    margin: 0 auto 120px;
    padding: 70px;

    background: var(--light-blue);

    border-radius: var(--large-radius);

    scroll-margin-top: 35px;
}

.application-closed {
    max-width: 820px;
}

.application-closed .eyebrow {
    color: var(--black);
}

.application-closed h2 {
    max-width: 780px;
    margin-bottom: 28px;

    color: var(--black);

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -3.5px;
}

.application-closed-text {
    max-width: 720px;
    margin-bottom: 42px;

    color: var(--black);

    font-size: 19px;
}

.application-dates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;

    max-width: 650px;
}

.application-date {
    padding: 24px 26px;

    display: flex;
    flex-direction: column;
    gap: 5px;

    background: var(--white);

    border-radius: 20px;
}

.application-date-label {
    color: var(--muted-text);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.application-date strong {
    color: var(--black);

    font-family: "Manrope", sans-serif;
    font-size: 24px;
    line-height: 1.2;
}

.application-form {
    padding: 38px;

    display: flex;
    flex-direction: column;
    gap: 25px;

    background: var(--white);

    border-radius: 34px;

    box-shadow:
        0 12px 35px
        rgba(36, 32, 79, 0.08);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-field label {
    color: var(--black);
    font-size: 16px;
    font-weight: 800;
}

.form-field label > span:last-child {
    color: var(--light-orange);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 17px 18px;

    border: 2px solid var(--border);
    border-radius: 15px;

    outline: none;

    background: #fffefa;
    color: var(--black);

    font: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.form-field textarea {
    min-height: 190px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    min-height: 60px;
    padding: 16px 25px;

    border: 2px solid var(--black);
    border-radius: 999px;

    background: var(--light-orange);
    color: var(--black);

    font: inherit;
    font-size: 17px;
    font-weight: 800;

    cursor: pointer;
}

.hidden-field {
    position: absolute;
    left: -10000px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

.about-section {
    width: min(
        var(--page-width),
        calc(100% - 48px)
    );

    margin: 0 auto 100px;
}

.about-card {
    padding: 80px;

    background: var(--dark-purple);
    color: var(--white);

    border-radius: var(--large-radius);
}

.about-content {
    max-width: 900px;
}

.about-content p:not(.eyebrow) {
    font-size: 18px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content strong {
    font-weight: 800;
}

.footer {
    width: min(
        var(--page-width),
        calc(100% - 48px)
    );

    margin: 0 auto;
    padding: 20px 0 45px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo-link:first-child {
    justify-self: start;
}

.footer-logo-link:last-child {
    justify-self: end;
}

.footer-logo {
    display: block;
    width: auto;
    object-fit: contain;

    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.footer-logo-mindus {
    height: 82px;
}

.footer-logo-unl {
    width: 230px;
    height: auto;
    max-height: 74px;
}

.footer-logo-link:hover .footer-logo {
    transform: translateY(-2px);
    opacity: 0.82;
}

.footer-contact-center {
    text-align: center;
}

.footer-contact-center p {
    margin: 0;

    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.footer-email {
    font-weight: 800;
    text-decoration: none;

    border-bottom: 2px solid var(--light-orange);
}

.footer-email:hover {
    color: var(--light-orange);
}

.thank-you-page {
    min-height: 100vh;
    padding: 25px;

    display: grid;
    place-items: center;

    background: var(--light-blue);
}

.thank-you-card {
    width: min(760px, 100%);
    padding: 70px;

    background: var(--white);

    border-radius: 36px;
}

.thank-you-card h1 {
    margin: 0 0 25px;

    color: var(--dark-purple);

    font-size: clamp(45px, 7vw, 78px);
    line-height: 1;
    letter-spacing: -4px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 15px 24px;

    border: 2px solid var(--black);
    border-radius: 999px;

    background: var(--light-orange);
    color: var(--black);

    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 900px) {

    .hero {
        padding: 55px 40px;
        grid-template-columns: 1fr;
    }

    .criteria-section {
        padding: 55px 40px;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .criterion-card-wide {
        grid-column: auto;
    }

    .application-section {
        padding: 55px 40px;
    }

}

@media (max-width: 600px) {

    .header,
    .hero,
    .introduction-section,
    .criteria-section,
    .about-section,
    .footer {
        width: calc(100% - 28px);
    }

    .header {
        height: auto;
        min-height: 100px;

        padding: 14px 0;

        grid-template-columns: auto auto;
        gap: 12px;
    }

    .header-logo-left {
        justify-self: start;
    }

    .header-logo-right {
        justify-self: end;
    }

    .language-switch {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
    }

    .header-logo-mindus {
        height: 62px;
    }

    .header-logo-unl {
        width: 165px;
        max-height: 55px;
    }

    .hero {
        min-height: auto;

        margin-top: 15px;
        margin-bottom: 75px;

        padding: 45px 24px;

        border-radius: 28px;
    }

    h1 {
        font-size: 47px;
        letter-spacing: -3.5px;
    }

    .hero-intro {
        font-size: 18px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 360px;
    }

    .shape-blue {
        width: 245px;
        height: 245px;
        right: 0;
    }

    .shape-yellow {
        width: 180px;
        height: 165px;
    }

    .shape-orange {
        width: 150px;
        height: 170px;
    }

    .amount-card {
        top: 88px;

        width: 215px;
        min-height: 215px;

        padding: 25px;
    }

    .amount-star {
        font-size: 35px;
    }

    .amount {
        font-size: 32px;
    }

    .amount-text {
        font-size: 13px;
    }

    .introduction-section {
        padding-bottom: 85px;
    }

    .introduction-section h2,
    .section-heading h2,
    .about-content h2,
    .application-closed h2 {
        font-size: 42px;
        letter-spacing: -2.5px;
    }

    .criteria-section {
        margin-bottom: 75px;
        padding: 45px 22px;

        border-radius: 28px;
    }

    .criteria-section .section-heading {
        margin-bottom: 36px;
    }

    .jury-note {
        margin-top: 24px;
        padding: 18px;
    }

    .jury-note p {
        font-size: 14px;
    }

    .criterion-card summary {
        min-height: 145px;
        padding: 25px;

        grid-template-columns: 1fr 28px;
        gap: 13px;
    }

    .criterion-title {
        font-size: 21px;
    }

    .criterion-content {
        padding: 0 45px 30px 25px;
    }

    .application-section {
        width: calc(100% - 24px);

        margin: 0 auto 75px;

        padding: 45px 25px;

        border-radius: 28px;
    }

    .application-closed-text {
        font-size: 17px;
    }

    .application-dates {
        grid-template-columns: 1fr;
    }

    .application-date {
        padding: 21px 22px;
    }

    .application-date strong {
        font-size: 22px;
    }

    .about-card {
        padding: 50px 28px;
        border-radius: 28px;
    }

    .footer {
        grid-template-columns: 1fr;
        justify-items: center;

        gap: 22px;

        padding: 10px 0 35px;
    }

    .footer-logo-link:first-child,
    .footer-logo-link:last-child {
        justify-self: center;
    }

    .footer-logo-mindus {
        height: 62px;
    }

    .footer-logo-unl {
        width: 165px;
        max-height: 58px;
    }

    .footer-contact-center {
        order: 2;
    }

    .footer-contact-center p {
        font-size: 17px;
    }

}