:root {
    --login-ink: #10273f;
    --login-ink-2: #1c4167;
    --login-accent: #f5b400;
    --login-accent-deep: #df9d00;
    --login-surface: #ffffff;
    --login-bg: #f2f5f8;
    --login-text: #172435;
    --login-muted: #738297;
    --login-border: #dce4ec;
    --login-danger: #c43b45;
    --login-success: #1b7f5a;
    --login-shadow: 0 32px 80px rgba(10, 31, 51, 0.16);
    --login-radius: 18px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--login-text);
    background: var(--login-bg);
    font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
}

.login-shell {
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 100vh;
    min-height: 100svh;
}

.brand-panel {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: #0d2135;
}

.brand-carousel,
.brand-carousel__dots,
.brand-panel__glow,
.brand-panel__grid {
    position: absolute;
}

.brand-carousel {
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #0d2135;
    touch-action: pan-y;
}

.brand-slide {
    position: absolute;
    inset: 0;
    isolation: isolate;
    overflow: hidden;
    opacity: 0;
    background: #0d2135;
    transform: scale(1.035);
    transition: opacity 0.45s ease, transform 3s ease;
    will-change: opacity, transform;
}

.brand-slide::before,
.brand-slide::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.brand-slide::after {
    inset: 0;
    z-index: 0;
    background: linear-gradient(96deg, rgba(4, 16, 28, 0.52) 0%, rgba(4, 16, 28, 0.18) 48%, rgba(4, 16, 28, 0.34) 100%);
}

.slide-layout {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.slide-eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: var(--slide-accent, #f5b400);
}

.slide-layout h1,
.slide-layout h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4.8vw, 70px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 800;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.slide-layout h1 span,
.slide-layout h2 em {
    color: var(--slide-accent, #f5b400);
    font-style: normal;
}

.slide-layout p {
    max-width: 580px;
    margin: 20px 0 0;
    color: rgba(239, 247, 255, 0.78);
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.8;
}

.slide-tags,
.slide-flow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.slide-tags span,
.slide-badge {
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.09);
    font-size: 12px;
    backdrop-filter: blur(10px);
}

.slide-flow {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
}

.slide-flow i {
    display: block;
    width: 38px;
    height: 1px;
    background: linear-gradient(90deg, var(--slide-accent), rgba(255, 255, 255, 0.18));
}

.slide-badge {
    align-self: flex-start;
    margin-top: 28px;
    color: #172435;
    background: var(--slide-accent);
    border-color: transparent;
    font-weight: 800;
}

.brand-slide--1 {
    --slide-accent: #ffd166;
    background:
        radial-gradient(circle at 79% 20%, rgba(255, 199, 71, 0.42), transparent 25%),
        radial-gradient(circle at 12% 84%, rgba(221, 91, 47, 0.28), transparent 30%),
        linear-gradient(135deg, #10273f 0%, #174564 53%, #7a4327 100%);
}

.brand-slide--1::before {
    top: 17%;
    right: 12%;
    width: min(28vw, 380px);
    height: min(28vw, 380px);
    border: 1px solid rgba(255, 220, 140, 0.28);
    border-radius: 50%;
    box-shadow: inset 0 0 0 42px rgba(255, 220, 140, 0.035);
}

.brand-slide--2 {
    --slide-accent: #70e0c5;
    background:
        radial-gradient(circle at 72% 28%, rgba(70, 218, 183, 0.33), transparent 28%),
        radial-gradient(circle at 12% 17%, rgba(61, 130, 220, 0.34), transparent 24%),
        linear-gradient(135deg, #071c2b 0%, #0d4b58 57%, #17666c 100%);
}

.brand-slide--2::before {
    right: -10%;
    bottom: -25%;
    width: min(44vw, 620px);
    height: min(44vw, 620px);
    border: 1px solid rgba(150, 255, 230, 0.22);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(112, 224, 197, 0.11), transparent 65%);
}

.brand-slide--3 {
    --slide-accent: #f4c76a;
    background:
        radial-gradient(circle at 78% 23%, rgba(255, 213, 112, 0.34), transparent 24%),
        radial-gradient(circle at 18% 77%, rgba(171, 82, 174, 0.3), transparent 29%),
        linear-gradient(135deg, #20152e 0%, #3b1f43 54%, #745321 100%);
}

.brand-slide--3::before {
    top: -13%;
    left: 44%;
    width: min(34vw, 460px);
    height: min(34vw, 460px);
    border: 1px solid rgba(255, 219, 140, 0.24);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent);
}

.brand-slide--4 {
    --slide-accent: #8fd8ff;
    background:
        radial-gradient(circle at 76% 20%, rgba(100, 190, 255, 0.34), transparent 26%),
        radial-gradient(circle at 16% 78%, rgba(65, 205, 180, 0.24), transparent 28%),
        linear-gradient(135deg, #0a1a36 0%, #173f68 55%, #1f6272 100%);
}

.brand-slide--4::before {
    top: 13%;
    left: -8%;
    width: min(36vw, 500px);
    height: min(24vw, 330px);
    border: 1px solid rgba(168, 226, 255, 0.24);
    border-radius: 40px;
    transform: rotate(18deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent);
}

.brand-slide--5 {
    --slide-accent: #ffb58a;
    background:
        radial-gradient(circle at 78% 24%, rgba(255, 182, 112, 0.35), transparent 25%),
        radial-gradient(circle at 18% 74%, rgba(225, 84, 103, 0.26), transparent 28%),
        linear-gradient(135deg, #21151f 0%, #5b2834 55%, #8a5c28 100%);
}

.brand-slide--5::before {
    top: -24%;
    left: 50%;
    width: min(42vw, 590px);
    height: min(42vw, 590px);
    border: 1px solid rgba(255, 207, 150, 0.22);
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 181, 138, 0.12), transparent 68%);
}
.slide-layout--one {
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: clamp(120px, 13vh, 180px) clamp(48px, 7vw, 108px) clamp(165px, 18vh, 245px);
}

.slide-layout--two {
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    padding: clamp(145px, 17vh, 220px) clamp(48px, 7vw, 108px) clamp(105px, 13vh, 160px);
}

.slide-layout--two .slide-flow {
    justify-content: flex-end;
}

.slide-layout--three {
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: clamp(145px, 17vh, 220px) clamp(48px, 7vw, 108px) clamp(105px, 13vh, 160px);
}

.slide-layout--three h2 {
    max-width: 680px;
}

.slide-layout--four {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(145px, 16vh, 210px) clamp(48px, 8vw, 120px) clamp(130px, 15vh, 190px);
}

.slide-layout--four p {
    max-width: 520px;
}

.slide-layout--four .slide-tags {
    justify-content: center;
}

.slide-layout--five {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(120px, 13vh, 180px) clamp(48px, 8vw, 120px) clamp(165px, 18vh, 245px);
}

.slide-layout--five .slide-badge {
    align-self: center;
}
.brand-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.brand-carousel__dots {
    left: 50%;
    bottom: clamp(22px, 3vw, 42px);
    z-index: 4;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    transform: translateX(-50%);
}

.brand-carousel__dot {
    position: relative;
    width: 32px;
    height: 5px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.brand-carousel__dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.brand-carousel__dot.is-active {
    width: 58px;
    background: rgba(245, 180, 0, 0.22);
    box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.12);
}

.brand-carousel__dot.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--login-accent);
    transform: scaleX(0);
    transform-origin: left center;
    animation: carousel-progress 3s linear forwards;
}

.brand-carousel__dots.is-paused .brand-carousel__dot.is-active::after {
    animation-play-state: paused;
}

@keyframes carousel-progress {
    to {
        transform: scaleX(1);
    }
}

.brand-carousel__dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.brand-panel__glow {
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 22%, rgba(245, 180, 0, 0.22), transparent 26%),
        radial-gradient(circle at 8% 88%, rgba(45, 142, 172, 0.2), transparent 28%);
}

.brand-panel__grid {
    z-index: 1;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 88%);
}

.brand-panel__content {
    position: relative;
    z-index: 3;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(28px, 4.5vw, 64px) clamp(32px, 5vw, 84px);
    color: #f8fbff;
}

.brand-top,
.brand-bottom,
.brand-lockup,
.brand-trust,
.feature-item {
    display: flex;
    align-items: center;
}

.brand-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

.brand-lockup {
    justify-self: start;
    gap: 14px;
    color: #fff;
    text-decoration: none;
    pointer-events: auto;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 28px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(14px);
}

.brand-mark svg {
    width: 27px;
    height: 27px;
    color: var(--login-accent);
}

.brand-lockup strong,
.brand-lockup small {
    display: block;
}

.brand-lockup strong {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.brand-lockup small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 9px;
    letter-spacing: 0.21em;
}

.brand-badge {
    grid-column: 2;
    justify-self: center;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    letter-spacing: 0.08em;
    backdrop-filter: blur(10px);
}

.brand-main {
    width: min(690px, 100%);
    margin: auto 0;
    padding: 48px 0;
}

.brand-kicker,
.login-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.brand-kicker {
    color: #ffd466;
}

.brand-kicker::before,
.login-kicker::before {
    content: "";
    width: 30px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.brand-main h1 {
    margin: 22px 0 20px;
    color: #fff;
    font-size: clamp(40px, 4.5vw, 68px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.brand-main h1 span {
    color: var(--login-accent);
}

.brand-main > p {
    max-width: 640px;
    margin: 0;
    color: rgba(239, 247, 255, 0.76);
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 38px;
}

.feature-item {
    align-items: flex-start;
    gap: 11px;
    min-height: 92px;
    padding: 16px 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.feature-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 32px;
    height: 32px;
    color: var(--login-accent);
    border-radius: 10px;
    background: rgba(245, 180, 0, 0.12);
}

.feature-icon svg {
    width: 17px;
    height: 17px;
}

.feature-item strong,
.feature-item span {
    display: block;
}

.feature-item strong {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.feature-item span {
    margin-top: 5px;
    color: rgba(236, 245, 255, 0.6);
    font-size: 11px;
    line-height: 1.55;
}

.brand-bottom {
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 38px;
}

.brand-trust {
    flex-wrap: wrap;
    gap: 12px 20px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 12px;
}

.brand-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.brand-trust svg {
    width: 15px;
    height: 15px;
    color: var(--login-accent);
}

.brand-note {
    color: rgba(255, 255, 255, 0.46);
    font-size: 11px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.login-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 56px clamp(24px, 2.4vw, 40px) 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 8%, rgba(245, 180, 0, 0.1), transparent 24%),
        linear-gradient(145deg, #f8fafc 0%, #eef3f7 100%);
}

.login-panel::before,
.login-panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.login-panel::before {
    top: -150px;
    right: -120px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(16, 39, 63, 0.08);
}

.login-panel::after {
    bottom: -180px;
    left: -120px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(245, 180, 0, 0.2);
}

.login-card {
    position: relative;
    z-index: 1;
    width: min(100%, 462px);
    padding: clamp(28px, 2.8vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: var(--login-radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--login-shadow);
    backdrop-filter: blur(20px);
    animation: card-in 0.65s cubic-bezier(0.2, 0.75, 0.28, 1) both;
}

@keyframes card-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-brand {
    display: none;
}

.login-heading {
    margin-bottom: 30px;
}

.login-kicker {
    color: var(--login-accent-deep);
    font-size: 11px;
}

.login-heading h2 {
    margin: 13px 0 10px;
    color: var(--login-ink);
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.login-heading p {
    margin: 0;
    color: var(--login-muted);
    font-size: 14px;
    line-height: 1.7;
}

.login-heading strong {
    color: var(--login-ink-2);
    font-weight: 700;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    padding: 13px 14px;
    border: 1px solid #f0c9cc;
    border-radius: 12px;
    color: var(--login-danger);
    background: #fff5f5;
    font-size: 13px;
    line-height: 1.55;
}

.alert svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 1px;
}

.login-form {
    display: grid;
    gap: 19px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    color: #31445b;
    font-size: 13px;
    font-weight: 700;
}

.input-wrap {
    position: relative;
}

.input-wrap > svg {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    width: 18px;
    height: 18px;
    color: #91a0b1;
    transform: translateY(-50%);
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-wrap input {
    width: 100%;
    height: 52px;
    padding: 0 46px;
    border: 1px solid var(--login-border);
    border-radius: 13px;
    outline: none;
    color: var(--login-text);
    background: #f9fbfd;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.input-wrap input::placeholder {
    color: #a4afbb;
}

.input-wrap input:hover {
    border-color: #c4d0dc;
}

.input-wrap input:focus {
    border-color: var(--login-ink-2);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(28, 65, 103, 0.09);
}

.input-wrap:focus-within > svg {
    color: var(--login-ink-2);
}

.input-wrap input:autofill,
.input-wrap input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #f9fbfd inset;
    -webkit-text-fill-color: var(--login-text);
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: #8795a5;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: var(--login-ink-2);
    background: #edf3f8;
    outline: none;
}

.password-toggle svg {
    width: 18px;
    height: 18px;
}

.password-toggle .eye-off {
    display: none;
}

.password-toggle.is-visible .eye-on {
    display: none;
}

.password-toggle.is-visible .eye-off {
    display: block;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: -2px;
    font-size: 13px;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #5d6d80;
    cursor: pointer;
    user-select: none;
}

.remember input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.checkbox-mark {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 1px solid #c6d1dc;
    border-radius: 5px;
    background: #fff;
    transition: all 0.18s ease;
}

.checkbox-mark svg {
    width: 12px;
    height: 12px;
    color: #fff;
    opacity: 0;
    transform: scale(0.65);
    transition: all 0.18s ease;
}

.remember input:checked + .checkbox-mark {
    border-color: var(--login-ink-2);
    background: var(--login-ink-2);
}

.remember input:checked + .checkbox-mark svg {
    opacity: 1;
    transform: scale(1);
}

.remember input:focus-visible + .checkbox-mark {
    box-shadow: 0 0 0 4px rgba(28, 65, 103, 0.12);
}

.text-link {
    color: var(--login-ink-2);
    text-decoration: none;
    font-weight: 700;
}

.text-link:hover {
    color: var(--login-accent-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 54px;
    margin-top: 2px;
    overflow: hidden;
    border: 0;
    border-radius: 13px;
    color: #172435;
    background: linear-gradient(135deg, #ffc938 0%, var(--login-accent) 52%, #e8a900 100%);
    box-shadow: 0 14px 26px rgba(229, 160, 0, 0.23);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.login-button::after {
    content: "";
    position: absolute;
    top: -80%;
    left: -30%;
    width: 26%;
    height: 260%;
    background: rgba(255, 255, 255, 0.36);
    transform: rotate(24deg);
    transition: left 0.45s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(229, 160, 0, 0.3);
    filter: saturate(1.05);
}

.login-button:hover::after {
    left: 110%;
}

.login-button:focus-visible {
    outline: 3px solid rgba(245, 180, 0, 0.34);
    outline-offset: 3px;
}

.login-button:disabled {
    cursor: wait;
    opacity: 0.82;
    transform: none;
}

.login-button svg {
    width: 17px;
    height: 17px;
}

.button-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(23, 36, 53, 0.25);
    border-top-color: #172435;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.login-button.is-loading .button-spinner {
    display: block;
}

.login-button.is-loading .button-arrow {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.login-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 25px;
    color: var(--login-muted);
    font-size: 13px;
}

.login-actions a {
    color: var(--login-ink-2);
    text-decoration: none;
    font-weight: 800;
}

.login-actions a:hover {
    color: var(--login-accent-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf1f5;
    color: #8b98a8;
    font-size: 12px;
}

.security-note svg {
    width: 15px;
    height: 15px;
    color: var(--login-success);
}

.login-footer {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: min(100%, 462px);
    margin-top: 17px;
    color: #8b98a8;
    font-size: 11px;
    line-height: 1.1;
}

.login-footer__copyright,
.login-footer__admin {
    white-space: nowrap;
}

.login-footer__copyright::after {
    content: "|";
    display: inline-block;
    margin: 0 5px;
    color: #c4ced9;
}

.login-footer a {
    text-decoration: none;
}

.login-footer a:hover {
    color: var(--login-ink-2);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1120px) {
    .login-shell {
        grid-template-columns: 2fr 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 390px;
        gap: 9px;
        margin-top: 28px;
    }

    .feature-item {
        min-height: 0;
        padding: 12px 13px;
    }

    .brand-main h1 {
        font-size: clamp(38px, 4.7vw, 54px);
    }
}

@media (max-width: 1100px) {
    .brand-carousel__dots {
        display: none;
    }

    .login-shell {
        display: block;
    }

    .brand-panel {
        min-height: 270px;
        border-radius: 0 0 28px 28px;
    }

    .brand-panel__content {
        min-height: 270px;
        padding: 24px 28px 28px;
    }

    .slide-layout,
    .slide-layout--two,
    .slide-layout--three,
    .slide-layout--four,
    .slide-layout--five {
        align-items: flex-start;
        justify-content: flex-end;
        text-align: left;
        padding: 88px 28px 30px;
    }

    .slide-layout--one,
    .slide-layout--five {
        justify-content: center;
        padding: 82px 28px 44px;
    }

    .slide-layout h1,
    .slide-layout h2 {
        max-width: 92%;
        font-size: clamp(26px, 6.5vw, 42px);
    }

    .slide-layout p,
    .slide-tags,
    .slide-flow,
    .slide-badge {
        display: none;
    }

    .slide-eyebrow {
        margin-bottom: 10px;
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .brand-main {
        margin: auto 0 0;
        padding: 34px 0 0;
    }

    .brand-kicker,
    .brand-main > p,
    .feature-grid,
    .brand-bottom {
        display: none;
    }

    .brand-main h1 {
        margin: 0;
        font-size: clamp(30px, 8.5vw, 46px);
    }

    .brand-main h1 br {
        display: none;
    }

    .brand-badge {
        display: none;
    }

    .login-panel {
        justify-content: flex-start;
        min-height: auto;
        padding: 0 22px 19px;
        background: #f2f5f8;
        overflow: visible;
    }

    .login-card {
        width: min(100%, 520px);
        margin-top: -24px;
        padding: 30px;
    }

    .login-footer {
        width: min(100%, 520px);
        margin-top: 13px;
    }
}

@media (max-width: 520px) {
    .brand-panel {
        min-height: 224px;
        border-radius: 0 0 22px 22px;
    }

    .brand-panel__content {
        min-height: 224px;
        padding: 20px 20px 24px;
    }

    .slide-layout,
    .slide-layout--two,
    .slide-layout--three,
    .slide-layout--four,
    .slide-layout--five {
        padding: 76px 20px 22px;
    }

    .slide-layout--one,
    .slide-layout--five {
        padding: 72px 20px 36px;
    }

    .slide-layout h1,
    .slide-layout h2 {
        font-size: 24px;
        line-height: 1.15;
    }

    .brand-lockup strong {
        font-size: 17px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .brand-main h1 {
        font-size: 30px;
        line-height: 1.18;
    }

    .login-panel {
        padding-right: 14px;
        padding-left: 14px;
    }

    .login-card {
        padding: 26px 20px 24px;
        border-radius: 16px;
    }

    .login-heading {
        margin-bottom: 24px;
    }

    .login-heading h2 {
        font-size: 29px;
    }

    .form-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .login-footer {
        padding: 0 6px;
        font-size: 10px;
    }
}

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