:root {
    --navy: #063873;
    --deep-navy: #022d62;
    --ink: #09235f;
    --slate: #667991;
    --aqua: #3bc3c8;
    --aqua-soft: #d8f6f4;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    background: #f8fbfd;
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

.landing {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 27% 48%, rgba(166, 224, 240, .28), transparent 31%),
        linear-gradient(110deg, #f8fbfd 0%, #fff 51%, #f8fbfd 100%);
}

.landing__header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1380px, calc(100% - 10vw));
    margin: 0 auto;
    padding-top: clamp(30px, 5vh, 64px);
}

.brand {
    width: clamp(260px, 24vw, 390px);
    height: auto;
}

.landing__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(520px, 1.08fr) minmax(480px, .92fr);
    align-items: center;
    width: min(1500px, 100%);
    min-height: calc(100vh - 205px);
    margin: 0 auto;
    padding: 8px clamp(50px, 5vw, 90px) 120px;
}

.visual {
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 38px 20px 42px 0;
}

.visual__halo {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 2%;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(145deg, #d8f7f7, #9adce9);
    opacity: .9;
}

.visual__dots {
    position: absolute;
    z-index: 0;
    right: 1%;
    bottom: 1%;
    width: 125px;
    height: 125px;
    background-image: radial-gradient(#34bec4 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: .45;
}

.visual__frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 9px solid rgba(255, 255, 255, .94);
    border-radius: 42px 42px 120px 42px;
    background: #dce7ec;
    box-shadow: 0 28px 55px rgba(4, 42, 79, .22);
    transform: rotate(-1.2deg);
}

.visual__frame::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    content: "";
    pointer-events: none;
}

.visual__art {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-preview {
    position: absolute;
    z-index: 2;
    top: 7%;
    bottom: 7%;
    left: 4%;
    display: flex;
    flex-direction: column;
    width: 37%;
    padding: clamp(12px, 1.45vw, 23px);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: clamp(14px, 1.6vw, 24px);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 35px rgba(1, 23, 58, .25);
    backdrop-filter: blur(8px);
}

.login-preview__logo {
    width: 65%;
    height: auto;
    margin: 0 auto clamp(4px, .55vw, 8px);
}

.login-preview__title {
    color: #101a35;
    font-size: clamp(13px, 1.25vw, 20px);
    line-height: 1.1;
    text-align: center;
}

.login-preview__subtitle {
    margin-top: clamp(2px, .35vw, 6px);
    color: #7d8ba3;
    font-size: clamp(7px, .65vw, 10px);
    line-height: 1.2;
    text-align: center;
}

.login-preview__environment {
    align-self: center;
    margin: clamp(5px, .7vw, 10px) 0;
    padding: 3px 10px;
    border-radius: 20px;
    background: #142653;
    color: #fff;
    font-size: clamp(6px, .6vw, 9px);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.login-preview__label {
    margin: 0 0 3px 2px;
    color: #34415c;
    font-size: clamp(7px, .62vw, 10px);
    font-weight: 700;
}

.login-preview__field {
    display: flex;
    gap: 6px;
    align-items: center;
    min-height: clamp(25px, 2.5vw, 39px);
    margin-bottom: clamp(5px, .65vw, 10px);
    padding: 5px 9px;
    border: 1px solid #d8e2f0;
    border-radius: 9px;
    background: #f4f7fd;
    color: #8794a9;
    font-size: clamp(7px, .65vw, 10px);
}

.login-preview__field svg {
    flex: 0 0 auto;
    width: clamp(10px, 1vw, 15px);
    fill: none;
    stroke: #8da0ba;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.login-preview__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(26px, 2.55vw, 40px);
    margin-top: auto;
    border-radius: 9px;
    background: #142653;
    color: #fff;
    font-size: clamp(8px, .75vw, 12px);
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.login-preview__button:hover,
.login-preview__button:focus-visible {
    outline: none;
    background: #087a9d;
    transform: translateY(-1px);
}

.message {
    position: relative;
    z-index: 3;
    max-width: 620px;
    padding: 0 0 0 38px;
    transform: translateY(-24px);
}

.message__eyebrow {
    display: inline-block;
    min-width: 220px;
    padding: 10px 28px 9px;
    border-radius: 30px;
    background: linear-gradient(100deg, #b8edeb, #9fe0db);
    color: #064173;
    font-size: clamp(18px, 1.7vw, 27px);
    letter-spacing: .42em;
    text-align: center;
    text-transform: uppercase;
}

.message h1 {
    margin: 10px 0 6px;
    color: #071564;
    font-size: clamp(48px, 5vw, 82px);
    line-height: 1;
    letter-spacing: -.04em;
}

.message__lead,
.message__invitation {
    color: var(--slate);
}

.message__lead {
    max-width: 590px;
    margin: 14px 0 22px;
    font-size: clamp(23px, 2vw, 31px);
    line-height: 1.18;
}

.message__divider {
    display: block;
    width: 80px;
    height: 3px;
    margin-bottom: 27px;
    background: var(--aqua);
}

.message__invitation {
    max-width: 585px;
    margin: 0 0 24px;
    font-size: clamp(20px, 1.7vw, 28px);
    line-height: 1.25;
}

.destination {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 42px;
    gap: 18px;
    align-items: center;
    width: 100%;
    min-height: 88px;
    padding: 14px 25px;
    border: 1px solid #c8eff0;
    border-radius: 25px;
    background: linear-gradient(100deg, rgba(221, 248, 248, .96), rgba(194, 239, 238, .92));
    color: #07366e;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(31, 122, 147, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.destination:hover,
.destination:focus-visible {
    outline: none;
    box-shadow: 0 14px 30px rgba(21, 96, 130, .16);
    transform: translateY(-2px);
}

.destination svg {
    width: 55px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.destination strong {
    min-width: 0;
    font-size: clamp(16px, 1.55vw, 26px);
    overflow-wrap: anywhere;
}

.destination .destination__arrow {
    width: 38px;
    margin-left: auto;
    stroke-width: 2.7;
}

.benefit {
    display: grid;
    grid-template-columns: 74px minmax(0, auto);
    gap: 16px;
    align-items: center;
    justify-content: start;
    width: 100%;
    max-width: 100%;
    margin: 20px 0 0;
    padding: 0;
}

.benefit__icon {
    display: block;
    width: 74px;
    height: 62px;
    fill: none;
    stroke: #073b73;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

.benefit__icon circle {
    fill: var(--aqua);
    stroke: none;
}

.benefit__icon .benefit__check {
    stroke: #fff;
    stroke-width: 5;
}

.benefit strong {
    display: block;
    margin: 0;
    max-width: 290px;
    font-size: clamp(17px, 1.3vw, 22px);
    line-height: 1.15;
}

.waves {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 155px;
}

.waves svg {
    width: 100%;
    height: 100%;
}

.waves__aqua { fill: #3cc5ca; }
.waves__blue { fill: #03366d; }

@media (max-width: 1050px) {
    .landing__content {
        grid-template-columns: 1fr;
        padding: 35px 7vw 180px;
    }

    .message {
        grid-row: 1;
        max-width: 740px;
        margin: 0 auto;
        padding: 20px 0;
        text-align: center;
        transform: translateY(-12px);
    }

    .message__divider {
        margin-right: auto;
        margin-left: auto;
    }

    .message__invitation {
        margin-right: auto;
        margin-left: auto;
    }

    .benefit {
        max-width: 420px;
        margin: 20px auto 0;
        text-align: left;
    }

    .visual {
        grid-row: 2;
        width: min(760px, 100%);
        margin: 10px auto 0;
        padding: 28px 0 35px;
    }

    .visual__halo {
        top: 0;
        right: 50%;
        width: min(70vw, 520px);
        transform: translateX(50%);
    }
}

@media (max-width: 640px) {
    .landing__header {
        width: calc(100% - 40px);
        padding-top: 24px;
    }

    .brand {
        width: 235px;
    }

    .landing__content {
        padding: 20px 20px 140px;
    }

    .message {
        transform: none;
    }

    .message__eyebrow {
        min-width: 170px;
        font-size: 15px;
    }

    .message h1 {
        font-size: 45px;
    }

    .message__lead {
        font-size: 21px;
    }

    .message__invitation {
        font-size: 18px;
    }

    .destination {
        grid-template-columns: 40px minmax(0, 1fr) 28px;
        gap: 10px;
        min-height: 72px;
        padding: 12px 16px;
        border-radius: 20px;
    }

    .destination svg {
        width: 40px;
    }

    .destination .destination__arrow {
        width: 26px;
    }

    .destination strong {
        font-size: 14px;
        overflow-wrap: normal;
        white-space: nowrap;
    }

    .benefit {
        grid-template-columns: 58px minmax(0, auto);
        gap: 10px;
        padding: 0;
    }

    .benefit__icon {
        width: 58px;
        height: 50px;
    }

    .benefit strong {
        max-width: 220px;
        font-size: 16px;
    }

    .visual {
        padding: 18px 0 24px;
    }

    .visual__frame {
        border-width: 5px;
        border-radius: 25px 25px 62px 25px;
        box-shadow: 0 18px 35px rgba(4, 42, 79, .2);
        transform: none;
    }

    .login-preview {
        top: 5%;
        bottom: 5%;
        left: 3%;
        width: 40%;
        padding: 10px;
        border-radius: 13px;
    }

    .login-preview__logo {
        width: 60%;
        margin-bottom: 2px;
    }

    .login-preview__subtitle,
    .login-preview__environment,
    .login-preview__label {
        display: none;
    }

    .login-preview__title {
        margin-bottom: 7px;
        font-size: 12px;
    }

    .login-preview__field {
        min-height: 25px;
        margin-bottom: 6px;
        font-size: 7px;
    }

    .login-preview__button {
        min-height: 26px;
        font-size: 8px;
    }

    .visual__dots {
        display: none;
    }

    .waves {
        height: 105px;
    }

    .waves span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .destination {
        transition: none;
    }
}
