:root {
    --gos-blue: #2f63e9;
    --gos-blue-deep: #1749c7;
    --gos-cyan: #20b8b3;
    --gos-ink: #172231;
    --gos-copy: #536174;
    --gos-line: #dce4f2;
    --gos-pale: #f4f7fd;
    --gos-white: #ffffff;
    --gos-danger: #b42318;
    --gos-success: #087a55;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--gos-ink);
    background: #0c1930;
    font-family: "Manrope", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.gos-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(430px, 0.86fr) minmax(0, 1.14fr);
}

.gos-panel {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 3rem) clamp(1.4rem, 5vw, 5.5rem) 1.5rem;
    background: var(--gos-white);
    box-shadow: 24px 0 70px rgba(4, 18, 46, 0.2);
}

.gos-brand {
    display: block;
    width: min(240px, 72vw);
    aspect-ratio: 3 / 2;
    overflow: hidden;
    text-decoration: none;
}

.gos-brand img {
    display: block;
    width: 200%;
    max-width: none;
    height: 200%;
    object-fit: fill;
    transform: translate(0, 0);
}

.gos-main {
    width: 100%;
    max-width: 430px;
    margin: auto 0;
    padding: 1.5rem 0 2rem;
}

.gos-eyebrow {
    margin: 0 0 0.65rem;
    color: var(--gos-blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.gos-title {
    margin: 0;
    color: var(--gos-ink);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.gos-lead {
    max-width: 38ch;
    margin: 0.8rem 0 1.8rem;
    color: var(--gos-copy);
    font-size: 0.98rem;
    line-height: 1.65;
}

.gos-alert {
    margin: 0 0 1rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid #f1c9c5;
    border-radius: 0.65rem;
    color: var(--gos-danger);
    background: #fff5f4;
    font-size: 0.9rem;
}

.gos-alert-success {
    border-color: #afe2ce;
    color: var(--gos-success);
    background: #effbf6;
}

.gos-label {
    margin-bottom: 0.4rem;
    color: #344153;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.035em;
}

.gos-field {
    position: relative;
}

.gos-field-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1;
    display: grid;
    place-items: center;
    color: #758399;
    transform: translateY(-50%);
    pointer-events: none;
}

.gos-field .form-control {
    min-height: 52px;
    padding: 0.72rem 1rem 0.72rem 2.8rem;
    color: var(--gos-ink);
    background: var(--gos-pale);
    border: 1px solid var(--gos-line);
    border-radius: 0.65rem;
    box-shadow: none;
}

.gos-field .form-control.no-icon {
    padding-left: 1rem;
}

.gos-field .form-control::placeholder {
    color: #929dad;
}

.gos-field .form-control:hover {
    border-color: #b9c8e5;
}

.gos-field .form-control:focus {
    background: var(--gos-white);
    border-color: var(--gos-blue);
    box-shadow: 0 0 0 0.22rem rgba(47, 99, 233, 0.12);
}

.gos-field .code-input {
    padding-left: 1rem;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: 0.35em;
}

.gos-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: -0.2rem 0 1.25rem;
}

.gos-link {
    color: var(--gos-blue);
    font-weight: 700;
    text-decoration: none;
}

.gos-link:hover,
.gos-link:focus-visible {
    color: var(--gos-blue-deep);
    text-decoration: underline;
}

.gos-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--gos-white);
    background: linear-gradient(135deg, var(--gos-blue) 0%, var(--gos-blue-deep) 100%);
    border: 0;
    border-radius: 0.65rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(47, 99, 233, 0.22);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.gos-button:hover,
.gos-button:focus-visible {
    color: var(--gos-white);
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(47, 99, 233, 0.28);
}

.gos-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.15rem 0;
    color: #8490a2;
    font-size: 0.78rem;
}

.gos-divider::before,
.gos-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--gos-line);
}

.gos-provider {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: var(--gos-ink);
    background: var(--gos-white);
    border: 1px solid var(--gos-line);
    border-radius: 0.65rem;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.gos-provider:hover {
    color: var(--gos-blue-deep);
    background: var(--gos-pale);
    border-color: #b9c8e5;
}

.gos-meta {
    margin: 1.35rem 0 0;
    color: var(--gos-copy);
    font-size: 0.88rem;
}

.gos-footer {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #8994a4;
    font-size: 0.75rem;
}

.gos-footer svg {
    color: var(--gos-cyan);
}

.gos-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: #0c1930;
}

.gos-visual video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.78);
    pointer-events: none;
}

.gos-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(18, 39, 79, 0.42), rgba(18, 39, 79, 0.02) 35%),
        linear-gradient(180deg, rgba(7, 18, 37, 0.03) 35%, rgba(7, 18, 37, 0.86) 100%);
}

.gos-visual-copy {
    position: absolute;
    right: clamp(1.5rem, 5vw, 5rem);
    bottom: clamp(2rem, 6vh, 4.5rem);
    left: clamp(1.5rem, 5vw, 5rem);
    z-index: 2;
    max-width: 600px;
    color: var(--gos-white);
}

.gos-visual-kicker {
    margin: 0 0 0.7rem;
    color: #7fe4de;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gos-visual-title {
    max-width: 17ch;
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.gos-visual-rule {
    width: 54px;
    height: 4px;
    margin-top: 1.25rem;
    background: linear-gradient(90deg, var(--gos-cyan), var(--gos-blue));
    border-radius: 99px;
}

.gos-resend {
    color: var(--gos-copy);
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .gos-shell {
        display: flex;
        min-height: 100vh;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .gos-panel {
        width: min(100%, 470px);
        min-height: auto;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
        padding: 1.5rem;
        border-radius: 1.1rem;
        box-shadow: 0 28px 80px rgba(4, 18, 46, 0.34);
    }

    .gos-main {
        margin: 0;
        padding: 0.9rem 0 1.5rem;
    }

    .gos-brand {

    }

    .gos-visual {
        position: fixed;
        inset: 0;
        min-height: 100vh;
        z-index: 0;
    }

    .gos-visual video {
        transform: scale(1.52);
    }

    .gos-scrim {
        background: rgba(8, 25, 57, 0.54);
    }

    .gos-visual-copy {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .gos-title {
        font-size: 2.15rem;
    }

    .gos-panel {
        padding: 1.25rem;
    }
}

@media (max-height: 760px) and (min-width: 992px) {
    .gos-panel {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .gos-brand {
        width: 180px;
    }

    .gos-main {
        padding: 0.75rem 0 1rem;
    }

    .gos-lead {
        margin-bottom: 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gos-visual video {
        display: none;
    }

    .gos-visual {
        background:
            radial-gradient(circle at 70% 25%, rgba(32, 184, 179, 0.35), transparent 32%),
            linear-gradient(145deg, #1d55cd, #0b1830 72%);
    }

    .gos-button {
        transition: none;
    }
}
