@font-face {
    font-family: "DIN Web";
    src: url("../fonts/DINWebW07-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "DIN Web";
    src: url("../fonts/DINWebW07-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "DIN Web";
    src: url("../fonts/DINWebW07-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --landing-navy: #002d55;
    --landing-green: oklch(0.7757 0.1878 123.1);
    --landing-blue: #cfdbe8;
    --landing-pale-blue: #cfdbe8;
    --landing-gray-blue: oklch(0.7585 0.0258 242.5);
    --landing-white: oklch(1 0 0);
}

.guest-page {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--landing-navy);
    background: var(--landing-white);
    font-family: "DIN Web", Arial, sans-serif;
    font-synthesis: none;
    font-size: 15px;
    line-height: 1.45;
}

.guest-page *,
.guest-page *::before,
.guest-page *::after {
    box-sizing: border-box;
}

.landing-container {
    width: min(880px, calc(100% - 48px));
    margin-inline: auto;
}

.guest-header {
    position: relative;
    z-index: 10;
    height: 102px;
    background: var(--landing-white);
}

.guest-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
}

.guest-logo {
    display: inline-flex;
    width: fit-content;
}

.guest-logo img {
    display: block;
    width: 78px;
    height: 69px;
}

.guest-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.guest-nav a,
.guest-login,
.guest-footer a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.guest-nav a {
    position: relative;
    padding-block: 8px;
    font-size: 17px;
}

.guest-nav a::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    background: var(--landing-green);
    content: "";
    opacity: 0;
    transform: scaleX(.25);
    transition: opacity .15s ease, transform .15s ease;
}

.guest-nav a:hover::after,
.guest-nav a:focus-visible::after,
.guest-nav a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.guest-login {
    position: relative;
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    justify-self: end;
    padding: 0 17px;
    border: 0;
    border-radius: 4px;
    color: var(--landing-green);
    background: var(--landing-navy);
    font-size: 17px;
    line-height: 1;
}

.guest-login::after {
    position: absolute;
    inset: -6px;
    content: "";
}

.guest-login:hover,
.guest-login:focus-visible {
    color: var(--landing-navy);
    background: var(--landing-green);
}

.guest-main {
    min-height: calc(100vh - 203px);
}

.landing-section {
    padding-block: 87px;
}

.landing-eyebrow {
    margin: 0 0 20px;
    color: var(--landing-navy);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
}

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 189px;
    min-height: 47px;
    padding: 12px 20px;
    border: 0;
    border-radius: 0;
    color: var(--landing-white);
    background: var(--landing-navy);
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.landing-button span {
    margin-left: 22px;
    font-size: 24px;
    font-weight: 400;
    line-height: .7;
}

.landing-button:hover,
.landing-button:focus-visible {
    color: var(--landing-white);
    background: color-mix(in oklch, var(--landing-navy) 86%, black);
}

.landing-button--green,
.landing-button--green:hover,
.landing-button--green:focus-visible {
    color: var(--landing-navy);
    background: var(--landing-green);
}

.guest-page :focus-visible {
    outline: 3px solid var(--landing-green);
    outline-offset: 3px;
}

.landing-hero {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    color: var(--landing-white);
    background: var(--landing-navy) url("../images/landing/hero.jpg") center / cover no-repeat;
}

.landing-hero__content {
    position: relative;
    height: 100%;
}

.landing-hero p {
    position: absolute;
    top: 33.3%;
    left: 50%;
    margin: 0;
    color: var(--landing-green);
    font-size: clamp(24px, 2.32vw, 40px);
    font-weight: 500;
    line-height: 1;
    transform: translateX(-50%);
    white-space: nowrap;
}

.landing-hero h1 {
    position: absolute;
    top: 43.5%;
    left: 50%;
    margin: 0;
    text-align: center;
    font-size: clamp(40px, 4.65vw, 80px);
    font-weight: 500;
    line-height: .96;
    letter-spacing: -.8px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.landing-hero .landing-button {
    position: absolute;
    top: 75.1%;
    left: 50%;
    display: grid;
    width: 286px;
    height: 58px;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    padding: 0 18px;
    text-align: center;
    font-size: 19px;
    font-weight: 500;
    transform: translateX(-50%);
    white-space: nowrap;
}

.landing-hero .landing-button span {
    position: static;
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.landing-intro {
    min-height: 447px;
    padding-block: 44px 59px;
    background: var(--landing-white);
}

.landing-contact__grid {
    display: grid;
    grid-template-columns: 400px 440px;
    gap: 40px;
}

.landing-intro h2 {
    margin: 0 0 21px;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
}

.landing-intro h2 span {
    color: var(--landing-green);
}

.landing-copy p {
    margin: 0 0 8px;
    line-height: 1.2;
}

.landing-copy p:last-child {
    margin-bottom: 0;
}

.landing-intro .landing-copy p {
    margin-bottom: 18px;
}

.landing-intro .landing-copy p:last-child {
    margin-bottom: 0;
}

.landing-intro .landing-button {
    display: grid;
    width: 432px;
    max-width: 100%;
    min-height: 55px;
    margin-top: 29px;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    padding: 0 18px;
    text-align: center;
    font-size: 19px;
    font-weight: 500;
}

.landing-intro .landing-button span {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.landing-intro .landing-button:hover,
.landing-intro .landing-button:focus-visible {
    background: color-mix(in oklch, var(--landing-green) 86%, white);
}

.landing-courses {
    position: relative;
    min-height: 476px;
    padding-block: 64px;
    background: var(--landing-pale-blue);
}

.landing-courses .landing-eyebrow {
    font-size: 30px;
}

.landing-courses__grid,
.landing-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 102px;
    margin-top: 32px;
}

.course-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.course-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.78;
    object-fit: cover;
}

.course-card h3 {
    margin: 20px 0 12px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
}

.course-card a {
    position: relative;
    display: grid;
    align-items: center;
    align-self: flex-start;
    width: 189px;
    max-width: 100%;
    margin-top: auto;
    min-height: 55px;
    height: 55px;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    padding: 0 16px;
    color: var(--landing-navy);
    background: var(--landing-green);
    font-size: 19px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.course-card a span {
    position: static;
    flex-shrink: 0;
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.course-card a:hover,
.course-card a:focus-visible {
    color: var(--landing-navy);
    background: color-mix(in oklch, var(--landing-green) 86%, white);
}

.landing-benefits {
    min-height: 422px;
    padding-block: 64px;
    background: var(--landing-white);
}

.landing-benefits__grid {
    gap: 78px;
    margin-top: 10px;
    text-align: center;
}

.landing-benefits article {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-benefits img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.landing-benefits h3 {
    margin: 20px 0 18px;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.landing-benefits p {
    margin: 0;
    line-height: 1.2;
}

.landing-steps {
    min-height: 649px;
    padding-block: 43px 47px;
    background: var(--landing-blue);
}

.landing-steps h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
}

.landing-steps h2 span {
    color: var(--landing-green);
}

.landing-steps__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px 37px;
    margin-top: 43px;
}

.landing-steps article {
    position: relative;
    min-height: 170px;
    padding-left: 67px;
}

.landing-steps article:nth-child(2) {
    grid-row: 2;
}

.landing-steps article:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
}

.landing-steps article:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.landing-steps article::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    content: attr(data-step);
    color: var(--landing-white);
    background: var(--landing-navy);
    font-size: 25px;
    font-weight: 500;
}

.landing-steps h3 {
    margin: 0 0 14px;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
}

.landing-steps p {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
}

.landing-steps__button {
    display: flex;
    justify-content: center;
    width: 296px;
    min-height: 55px;
    margin: 16px auto 0;
    font-size: 19px;
    font-weight: 500;
}

.landing-faq {
    padding-block: 63px 71px;
    background: var(--landing-white);
    scroll-margin-top: 24px;
}

.landing-faq__list {
    border-top: 1px solid var(--landing-navy);
}

.landing-faq details {
    border-bottom: 1px solid var(--landing-navy);
}

.landing-faq summary {
    position: relative;
    display: flex;
    min-height: 69px;
    align-items: center;
    padding: 16px 54px 16px 0;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    list-style: none;
}

.landing-faq summary::-webkit-details-marker {
    display: none;
}

.landing-faq summary::after {
    position: absolute;
    right: 15px;
    content: "+";
    color: var(--landing-green);
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
}

.landing-faq details[open] summary::after {
    content: "−";
}

.landing-faq details p {
    max-width: 760px;
    margin: -5px 54px 22px 0;
}

.landing-contact {
    width: 100%;
    aspect-ratio: 9 / 4;
    color: var(--landing-navy);
    background: var(--landing-navy) url("../images/landing/contact.webp") center top / cover no-repeat;
    scroll-margin-top: 20px;
}

.landing-contact__overlay {
    min-height: 100%;
    padding-block: 79px;
    background: color-mix(in srgb, white 70%, transparent);
}

.landing-contact__grid {
    align-items: start;
}

.landing-contact .landing-eyebrow {
    margin-bottom: 14px;
    color: var(--landing-navy);
    font-size: clamp(30px, 2.78vw, 40px);
    line-height: 1.2;
}

.landing-contact__grid > div > p:last-child {
    margin: 0;
    font-size: clamp(15px, 1.39vw, 17px);
    line-height: 1.2;
}

.landing-contact form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.landing-contact input,
.landing-contact textarea {
    width: 100%;
    min-height: 45px;
    margin: 0 0 10px;
    padding: 9px 12px;
    border: 0;
    border-radius: 0;
    color: var(--landing-navy);
    background: var(--landing-white);
    font: inherit;
}

.landing-contact textarea {
    min-height: 139px;
    resize: vertical;
}

.landing-contact input::placeholder,
.landing-contact textarea::placeholder {
    color: color-mix(in oklch, var(--landing-navy) 56%, white);
    opacity: 1;
}

.landing-contact .landing-button {
    align-self: flex-start;
    justify-content: center;
    width: 228px;
    min-height: 55px;
    margin-top: 0;
    font-size: 19px;
    font-weight: 500;
}

.contact-success,
.contact-error {
    display: block;
    margin: 0 0 8px;
    color: var(--landing-navy);
    font-weight: 700;
}

.contact-success {
    padding: 8px 10px;
    color: var(--landing-navy);
    background: var(--landing-green);
}

.contact-error:empty,
.validation-summary-valid,
.contact-honeypot {
    display: none;
}

.guest-footer {
    height: 101px;
    color: var(--landing-white);
    background: var(--landing-navy);
}

.guest-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.guest-footer nav {
    display: flex;
    gap: 32px;
}

.guest-footer a {
    font-size: 17px;
}

.guest-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guest-footer__brand span {
    color: var(--landing-white);
    font-size: 17px;
    font-weight: 400;
}

.guest-footer__brand img {
    display: block;
    width: 78px;
    height: 69px;
}

.seminar-content {
    min-height: calc(100vh - 203px);
    padding-block: 90px;
    background: var(--landing-white);
}

.seminar-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.seminar-content h1 {
    max-width: 700px;
    margin: 0 0 24px;
    font-size: 50px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.seminar-content h2 {
    margin: 0 0 24px;
    color: var(--landing-green);
    font-size: 30px;
    font-weight: 500;
}

.seminar-content p,
.seminar-content li {
    font-size: 17px;
    line-height: 1.45;
}

.seminar-content h3 {
    margin: 36px 0 14px;
    font-size: 25px;
    font-weight: 500;
}

.seminar-content ul {
    margin: 0;
    padding-left: 22px;
}

.seminar-content li + li {
    margin-top: 6px;
}

.seminar-contact {
    justify-content: center;
    margin-top: 36px;
    font-size: 19px;
    font-weight: 500;
}

.seminar-back {
    display: inline-block;
    margin-bottom: 72px;
    color: var(--landing-navy);
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .landing-container {
        width: min(100% - 32px, 560px);
    }

    .guest-header {
        height: auto;
        min-height: 92px;
        padding-block: 10px;
    }

    .guest-header__inner {
        grid-template-columns: 1fr auto;
        row-gap: 4px;
    }

    .guest-logo img {
        width: 62px;
        height: 55px;
    }

    .guest-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: space-between;
        gap: 12px;
    }

    .guest-nav a {
        font-size: 14px;
    }

    .guest-login {
        grid-column: 2;
        grid-row: 1;
    }

    .landing-section {
        padding-block: 64px;
    }

    .landing-hero {
        height: 430px;
        background-position: 58% center;
    }

    .landing-hero__content {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        padding-bottom: 52px;
    }

    .landing-hero p {
        position: static;
        margin-bottom: 11px;
        font-size: 19px;
        transform: none;
    }

    .landing-hero h1 {
        position: static;
        margin-bottom: 36px;
        font-size: 39px;
        transform: none;
        white-space: normal;
    }

    .landing-hero .landing-button {
        position: static;
        transform: none;
    }

    .landing-contact__grid,
    .landing-courses__grid,
    .landing-benefits__grid,
    .landing-steps__grid {
        grid-template-columns: 1fr;
    }

    .landing-contact__grid {
        gap: 40px;
    }

    .landing-courses__grid,
    .landing-benefits__grid {
        gap: 44px;
    }

    .course-card h3 {
        margin-top: 14px;
    }

    .landing-benefits article {
        max-width: 360px;
        margin-inline: auto;
    }

    .landing-steps__grid {
        gap: 36px;
        margin-top: 36px;
    }

    .landing-steps article,
    .landing-steps article:nth-child(2),
    .landing-steps article:nth-child(3),
    .landing-steps article:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
        min-height: 0;
    }

    .landing-contact__overlay {
        padding-block: 56px;
    }

    .landing-contact .landing-eyebrow {
        font-size: 26px;
    }

    .guest-footer {
        height: auto;
        min-height: 120px;
        padding-block: 20px;
    }

    .guest-footer__inner {
        align-items: flex-start;
    }

    .guest-footer nav {
        flex-direction: column;
        gap: 8px;
    }

    .seminar-content {
        min-height: calc(100vh - 232px);
        padding-block: 56px;
    }

    .seminar-content h1 {
        font-size: 38px;
    }

    .seminar-back {
        margin-bottom: 52px;
    }
}

@media (min-width: 768px) and (max-width: 959.98px) {
    .landing-contact__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .guest-nav a::after {
        transition: none;
    }
}
