:root {
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
    color: #12233d;
    background: #eef4f8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 84% 15%, rgba(7, 152, 232, 0.12), transparent 28%),
        linear-gradient(145deg, #f7fafc 0%, #edf4f8 100%);
}

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

.mail-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.mail-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid #dfe8ef;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
}

.mail-navigation {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mail-logo {
    width: 164px;
    line-height: 0;
}

.mail-logo img,
.hero-logo {
    display: block;
    width: 100%;
    height: auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #526178;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #0798e8;
}

.mail-main {
    flex: 1;
    display: grid;
    align-items: center;
    padding: 58px 0;
}

.mail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 34px;
    align-items: stretch;
}

.brand-stage {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(40px, 6vw, 72px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 22% 16%, rgba(32, 183, 255, 0.28), transparent 34%),
        linear-gradient(145deg, #081322 0%, #12233d 62%, #17395e 100%);
    box-shadow: 0 36px 80px rgba(18, 35, 61, 0.24);
    color: #ffffff;
}

.brand-stage-grid {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom right, transparent 5%, #000 72%);
}

.brand-orbit {
    position: absolute;
    border: 1px solid rgba(85, 194, 246, 0.26);
    border-radius: 50%;
}

.brand-orbit-large {
    right: -150px;
    bottom: -145px;
    width: 410px;
    height: 410px;
}

.brand-orbit-small {
    right: -58px;
    bottom: -48px;
    width: 230px;
    height: 230px;
}

.brand-stage-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.mail-eyebrow {
    display: block;
    margin-bottom: 28px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #72cef8;
}

.hero-logo {
    width: min(330px, 82%);
    margin-bottom: 42px;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.22));
}

.brand-stage h1 {
    max-width: 650px;
    margin-bottom: 22px;
    font-size: clamp(34px, 4.3vw, 55px);
    line-height: 1.04;
    letter-spacing: -1.8px;
}

.brand-stage-content > p {
    max-width: 540px;
    font-size: 17px;
    line-height: 1.7;
    color: #cbd7e5;
}

.mail-principles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.mail-principles span {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 11px;
    font-weight: 700;
    color: #e9f4fb;
    backdrop-filter: blur(8px);
}

.access-shell {
    display: flex;
    align-items: center;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    background: rgba(18, 35, 61, 0.08);
    box-shadow: 0 32px 75px rgba(18, 35, 61, 0.15);
}

.access-card {
    width: 100%;
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid #dfe7ee;
    border-radius: 19px;
    background: #ffffff;
}

.access-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e3eaf0;
}

.access-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(145deg, #eaf7fd, #d9f1fc);
    box-shadow: inset 0 0 0 1px rgba(7, 152, 232, 0.09);
    font-size: 23px;
    font-weight: 800;
    color: #0798e8;
}

.access-label {
    display: block;
    margin-bottom: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.35px;
    text-transform: uppercase;
    color: #1769aa;
}

.access-card h2 {
    font-size: 26px;
    letter-spacing: -0.5px;
}

.access-introduction {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.65;
    color: #637187;
}

.access-steps {
    display: grid;
    gap: 9px;
    margin-bottom: 24px;
    list-style: none;
}

.access-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e2e9ef;
    border-radius: 11px;
    background: #f8fafc;
}

.access-steps span {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #e7f5fc;
    font-size: 9px;
    font-weight: 800;
    color: #1769aa;
}

.access-steps p {
    font-size: 12px;
    line-height: 1.45;
    color: #4f5f75;
}

.access-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 18px;
    border-radius: 11px;
    background: linear-gradient(135deg, #0798e8, #1674b8);
    box-shadow: 0 16px 30px rgba(7, 152, 232, 0.22);
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.access-button span:last-child {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.access-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(7, 152, 232, 0.3);
}

.access-button:hover span:last-child {
    transform: translate(2px, -2px);
}

.security-note {
    margin-top: 19px;
    padding-left: 14px;
    border-left: 2px solid #8ed1f3;
    font-size: 11px;
    line-height: 1.55;
    color: #738196;
}

.mail-footer {
    padding: 25px 0;
    border-top: 1px solid #dfe7ee;
    background: rgba(255, 255, 255, 0.6);
}

.mail-footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    color: #748196;
}

@media (max-width: 900px) {
    .mail-main {
        padding: 40px 0;
    }

    .mail-grid {
        grid-template-columns: 1fr;
    }

    .brand-stage {
        min-height: 490px;
    }
}

@media (max-width: 560px) {
    .mail-container {
        width: min(100% - 28px, 1180px);
    }

    .mail-logo {
        width: 138px;
    }

    .back-link {
        font-size: 12px;
    }

    .brand-stage {
        min-height: 470px;
        padding: 34px 26px;
        border-radius: 22px;
    }

    .hero-logo {
        margin-bottom: 34px;
    }

    .access-card {
        padding: 24px 20px;
    }

    .mail-footer-content {
        flex-direction: column;
    }
}

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