:root {
    --navy-950: #050d17;
    --navy-900: #071321;
    --navy-850: #0a1a2d;
    --navy-800: #0b2340;
    --blue: #247ad6;
    --blue-light: #82baff;
    --plaster: #f1f0eb;
    --paper: #f8f7f3;
    --ink: #11213a;
    --muted: #6f7b8d;
    --gold: #d7af6a;
    --line-dark: rgba(255, 255, 255, 0.13);
    --line-light: rgba(17, 33, 58, 0.15);
    --display: Georgia, "Times New Roman", serif;
    --sans: Inter, "Segoe UI", Arial, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    width: 100%;
    height: 100%;
    min-width: 320px;
    overflow: hidden;
    background: var(--navy-950);
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--navy-950);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    color: inherit;
    font: inherit;
}

button {
    cursor: pointer;
}

:where(a, button, input):focus-visible {
    outline: 2px solid var(--blue-light);
    outline-offset: 4px;
}

.access-skip {
    position: fixed;
    z-index: 100;
    top: 14px;
    left: 14px;
    padding: 10px 14px;
    background: #fff;
    color: var(--ink);
    font-size: 0.75rem;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.access-skip:focus {
    transform: translateY(0);
}

.access-layout {
    display: grid;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.42fr) minmax(410px, 0.92fr);
}

.access-visual {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(34px, 4.5vw, 68px) clamp(38px, 6vw, 96px);
    background:
        radial-gradient(circle at 84% 28%, rgba(36, 122, 214, 0.26), transparent 31%),
        radial-gradient(circle at 15% 92%, rgba(130, 186, 255, 0.08), transparent 27%),
        linear-gradient(142deg, var(--navy-950), var(--navy-850) 58%, #07182a);
    color: #fff;
    isolation: isolate;
}

.access-visual::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 70%, rgba(255, 255, 255, 0.025) 70% 70.15%, transparent 70.15%),
        linear-gradient(0deg, rgba(5, 13, 23, 0.35), transparent 40%);
    content: "";
}

.access-visual::after {
    position: absolute;
    z-index: -1;
    top: -28%;
    right: -20%;
    width: min(62vw, 820px);
    aspect-ratio: 1;
    border: 1px solid rgba(130, 186, 255, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgba(130, 186, 255, 0.018),
        0 0 0 180px rgba(130, 186, 255, 0.012);
    content: "";
}

.access-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(130, 186, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(130, 186, 255, 0.14) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(135deg, #000 0%, transparent 72%);
}

.access-visual-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: fit-content;
}

.access-visual-brand img {
    display: block;
    width: 178px;
    height: auto;
}

.access-visual-copy {
    position: relative;
    z-index: 2;
    width: min(100%, 790px);
    margin-block: auto;
    padding-block: 48px;
}

.access-kicker {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--blue-light);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.access-kicker::before {
    width: 35px;
    height: 1px;
    background: var(--gold);
    content: "";
}

.access-visual h1 {
    max-width: 770px;
    margin: 28px 0 24px;
    font-family: var(--display);
    font-size: clamp(3.65rem, 6.25vw, 7rem);
    font-weight: 400;
    letter-spacing: -0.06em;
    line-height: 0.94;
}

.access-visual-copy > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(0.95rem, 1.15vw, 1.08rem);
    line-height: 1.7;
}

.access-registration {
    display: inline-block;
    margin-top: 27px;
    padding-left: 15px;
    border-left: 2px solid var(--blue);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.access-visual-mark {
    position: absolute;
    right: clamp(-130px, -7vw, -70px);
    bottom: clamp(-130px, -9vw, -82px);
    display: grid;
    width: clamp(330px, 33vw, 520px);
    aspect-ratio: 1;
    place-items: center;
    opacity: 0.22;
    pointer-events: none;
}

.access-visual-mark::before,
.access-visual-mark::after,
.access-visual-mark > span {
    position: absolute;
    border: 1px solid rgba(130, 186, 255, 0.4);
    border-radius: 50%;
    content: "";
}

.access-visual-mark::before {
    inset: 0;
}

.access-visual-mark::after {
    inset: 18%;
}

.access-visual-mark > span {
    inset: 34%;
    background: rgba(36, 122, 214, 0.12);
}

.access-visual-mark img {
    position: relative;
    z-index: 1;
    width: 24%;
    height: auto;
}

.access-visual > small {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.32);
    font-size: 0.53rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.access-entry {
    position: relative;
    display: grid;
    min-width: 0;
    height: 100%;
    min-height: 0;
    place-items: center;
    overflow: hidden;
    padding: 76px clamp(30px, 4.4vw, 72px) 48px;
    background:
        radial-gradient(circle at 100% 0, rgba(36, 122, 214, 0.09), transparent 28%),
        linear-gradient(145deg, var(--paper), var(--plaster));
}

.access-entry::before {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: radial-gradient(rgba(17, 33, 58, 0.24) 0.6px, transparent 0.6px);
    background-size: 8px 8px;
    content: "";
    pointer-events: none;
}

.access-form-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 470px);
}

.access-form-brand {
    display: block;
    width: fit-content;
    margin-bottom: 34px;
}

.access-form-brand img {
    display: block;
    width: 166px;
    height: auto;
}

.access-form-heading > span {
    display: block;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.access-form-heading h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(2.15rem, 3.1vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1.02;
}

.access-form-heading p {
    margin: 0 0 29px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.access-error {
    display: grid;
    margin: 0 0 21px;
    padding: 14px 15px;
    border: 1px solid rgba(183, 118, 15, 0.3);
    background: rgba(215, 175, 106, 0.1);
    color: #6d4c17;
    grid-template-columns: 24px 1fr;
    gap: 11px;
}

.access-error > span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    background: var(--gold-dark, #b7760f);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
}

.access-error p {
    margin: 1px 0 0;
    font-size: 0.72rem;
    line-height: 1.5;
}

.access-form-shell form {
    display: grid;
}

.access-form-shell form > label {
    margin: 0 0 8px;
    color: rgba(17, 33, 58, 0.72);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.access-input {
    display: grid;
    min-height: 56px;
    align-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(17, 33, 58, 0.19);
    background: rgba(255, 255, 255, 0.7);
    grid-template-columns: 52px 1fr;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.access-input:focus-within {
    border-color: rgba(36, 122, 214, 0.78);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(36, 122, 214, 0.08);
}

.access-input-icon {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    border-right: 1px solid rgba(17, 33, 58, 0.1);
    color: rgba(17, 33, 58, 0.46);
}

.access-icon-email::before {
    width: 16px;
    height: 11px;
    border: 1.5px solid currentColor;
    content: "";
}

.access-icon-email::after {
    position: absolute;
    top: 23px;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: rotate(45deg);
    transform-origin: center;
}

.access-icon-lock::after {
    width: 14px;
    height: 11px;
    margin-top: 5px;
    border: 1.5px solid currentColor;
    content: "";
}

.access-icon-lock::before {
    position: absolute;
    top: 17px;
    width: 8px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    content: "";
}

.access-input input {
    min-width: 0;
    height: 54px;
    padding: 0 17px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.86rem;
}

.access-input input::placeholder {
    color: rgba(17, 33, 58, 0.38);
}

.access-options {
    display: flex;
    align-items: center;
    margin: 0 0 23px;
    color: rgba(17, 33, 58, 0.64);
    font-size: 0.72rem;
}

.access-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.access-remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--blue);
}

.access-form-shell button {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 58px;
    align-items: center;
    padding: 0 58px;
    border: 0;
    background: var(--blue);
    box-shadow: 0 16px 34px rgba(36, 122, 214, 0.2);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.25s ease, transform 0.3s var(--ease), box-shadow 0.25s ease;
}

.access-form-shell button:hover {
    background: #1769bf;
    box-shadow: 0 18px 38px rgba(36, 122, 214, 0.27);
    transform: translateY(-2px);
}

.access-form-shell button:active {
    transform: translateY(0);
}

.access-button-lock {
    position: absolute;
    left: 21px;
    width: 13px;
    height: 10px;
    border: 1.5px solid #fff;
}

.access-button-lock::before {
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 7px;
    height: 7px;
    border: 1.5px solid #fff;
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
    content: "";
    transform: translateX(-50%);
}

.access-button-arrow {
    position: absolute;
    top: 50%;
    right: 22px;
    width: 18px;
    height: 12px;
    transform: translateY(-50%);
    transition: transform 0.25s var(--ease);
}

.access-button-arrow::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 1px;
    background: currentColor;
    content: "";
}

.access-button-arrow::after {
    position: absolute;
    top: 3px;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    content: "";
    transform: rotate(45deg);
}

.access-form-shell button:hover .access-button-arrow {
    transform: translate(3px, -50%);
}

.access-registration-note {
    margin: 16px 0 0;
    color: rgba(17, 33, 58, 0.5);
    font-size: 0.68rem;
    line-height: 1.5;
    text-align: center;
}

.access-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 1180px) {
    .access-layout {
        grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
    }

    .access-visual {
        padding-inline: 46px;
    }

    .access-visual h1 {
        font-size: clamp(3.3rem, 5.7vw, 5.5rem);
    }

    .access-entry {
        padding-inline: 34px;
    }
}

@media (max-width: 920px) {
    .access-layout {
        display: block;
    }

    .access-visual {
        display: none;
    }

    .access-entry {
        width: 100%;
        height: 100vh;
        height: 100svh;
        min-height: 0;
        overflow: hidden;
        padding: clamp(26px, 5vh, 48px) 24px;
    }

    .access-form-shell {
        width: min(100%, 500px);
    }
}

@media (max-width: 560px) {
    .access-entry {
        padding: clamp(20px, 4vh, 30px) 18px;
    }

    .access-form-brand {
        margin-bottom: 20px;
    }

    .access-form-brand img {
        width: 142px;
    }

    .access-form-heading > span {
        margin-bottom: 8px;
    }

    .access-form-heading h2 {
        margin-bottom: 8px;
        font-size: 2rem;
    }

    .access-form-heading p {
        margin-bottom: 18px;
    }

    .access-input {
        min-height: 50px;
        margin-bottom: 12px;
    }

    .access-input input {
        height: 48px;
    }

    .access-icon-email::after {
        top: 20px;
    }

    .access-icon-lock::before {
        top: 14px;
    }

    .access-options {
        margin-bottom: 15px;
    }

    .access-form-shell button {
        min-height: 52px;
    }

    .access-registration-note {
        margin-top: 12px;
    }
}

@media (max-width: 920px) and (max-height: 620px) {
    .access-entry {
        padding-block: 18px;
    }

    .access-form-brand {
        margin-bottom: 13px;
    }

    .access-form-brand img {
        width: 126px;
    }

    .access-form-heading > span {
        margin-bottom: 6px;
    }

    .access-form-heading h2 {
        margin-bottom: 6px;
        font-size: 1.82rem;
    }

    .access-form-heading p {
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .access-form-shell form > label {
        margin-bottom: 5px;
    }

    .access-input {
        min-height: 45px;
        margin-bottom: 8px;
    }

    .access-input input {
        height: 43px;
    }

    .access-icon-email::after {
        top: 18px;
    }

    .access-icon-lock::before {
        top: 12px;
    }

    .access-options {
        margin-bottom: 10px;
    }

    .access-form-shell button {
        min-height: 48px;
    }

    .access-registration-note {
        margin-top: 9px;
    }
}

@media (max-width: 920px) and (max-height: 480px) {
    .access-form-brand,
    .access-form-heading > span,
    .access-form-heading p,
    .access-registration-note {
        display: none;
    }

    .access-form-heading h2 {
        margin-bottom: 13px;
        font-size: 1.72rem;
    }
}

@media (min-width: 921px) and (max-height: 780px) {
    .access-visual {
        padding-block: 30px;
    }

    .access-visual-copy {
        padding-block: 24px;
    }

    .access-visual h1 {
        margin-block: 19px 16px;
        font-size: clamp(3.25rem, 5.8vw, 5.8rem);
    }

    .access-entry {
        padding-block: 58px 30px;
    }

    .access-form-brand {
        margin-bottom: 22px;
    }

    .access-form-heading p {
        margin-bottom: 20px;
    }

    .access-input {
        min-height: 50px;
        margin-bottom: 13px;
    }

    .access-input input {
        height: 49px;
    }

    .access-options {
        margin-bottom: 17px;
    }

    .access-form-shell button {
        min-height: 53px;
    }

}

@media (min-width: 921px) and (max-height: 640px) {
    .access-visual-brand img {
        width: 145px;
    }

    .access-visual-copy {
        padding-block: 12px;
    }

    .access-visual h1 {
        margin-block: 15px 0;
        font-size: clamp(2.9rem, 5vw, 4.5rem);
    }

    .access-visual-copy > p,
    .access-registration {
        display: none;
    }

    .access-entry {
        padding-block: 20px;
    }

    .access-form-brand {
        margin-bottom: 12px;
    }

    .access-form-brand img {
        width: 132px;
    }

    .access-form-heading > span {
        margin-bottom: 5px;
    }

    .access-form-heading h2 {
        margin-bottom: 5px;
        font-size: 1.8rem;
    }

    .access-form-heading p {
        margin-bottom: 10px;
        line-height: 1.35;
    }

    .access-form-shell form > label {
        margin-bottom: 5px;
    }

    .access-input {
        min-height: 44px;
        margin-bottom: 8px;
    }

    .access-input input {
        height: 42px;
    }

    .access-icon-email::after {
        top: 17px;
    }

    .access-icon-lock::before {
        top: 11px;
    }

    .access-options {
        margin-bottom: 9px;
    }

    .access-form-shell button {
        min-height: 47px;
    }

    .access-registration-note {
        margin-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
