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

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

body {
    font-family: "Segoe UI", sans-serif;
    color: #1c1917;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
}

.alert {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 14px;
}

.field {
    display: block;
    margin-bottom: 14px;
}

.field span,
.remember span {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d6d3d1;
    background: #fff;
    color: #1c1917;
}

.field input:focus {
    outline: 2px solid #18181b;
    outline-offset: 1px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 18px;
    font-size: 14px;
}

.remember span {
    margin: 0;
    font-weight: 500;
}

.submit {
    width: 100%;
    height: 44px;
    border: 0;
    cursor: pointer;
}

.switch {
    margin: 18px 0 0;
    font-size: 14px;
    text-align: center;
    color: #57534e;
}

.admin-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #f4f4f5;
    padding: 24px;
}

.admin-card {
    width: min(420px, 100%);
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
}

.admin-card .kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #71717a;
}

.admin-card h1 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 650;
}

.admin-card .quiet {
    margin: 0 0 22px;
    color: #52525b;
    font-size: 14px;
    line-height: 1.5;
}

.admin-body .field input,
.admin-body .submit {
    border-radius: 6px;
}

.admin-body .submit {
    background: #18181b;
    color: #fff;
}

.admin-body .submit:hover {
    background: #27272a;
}

.partner-body {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 196, 87, 0.55), transparent 28%),
        radial-gradient(circle at 92% 88%, rgba(14, 143, 123, 0.28), transparent 32%),
        #fff6ee;
    padding: 28px 20px;
}

.wash {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    display: block;
    border-radius: 999px;
}

.orb-a {
    width: 280px;
    height: 280px;
    top: -80px;
    left: -60px;
    background: #ff5a36;
    opacity: 0.85;
}

.orb-b {
    width: 220px;
    height: 220px;
    right: -40px;
    top: 18%;
    background: #ffc857;
    opacity: 0.9;
}

.orb-c {
    width: 320px;
    height: 320px;
    right: 12%;
    bottom: -140px;
    background: #14b8a6;
    opacity: 0.55;
}

.partner-shell {
    position: relative;
    z-index: 1;
    width: min(1040px, 100%);
    margin: 0 auto;
    min-height: calc(100vh - 56px);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
    align-items: stretch;
}

.partner-shell-single {
    grid-template-columns: minmax(280px, 460px);
    place-content: center;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 48px 40px;
    border-radius: 28px;
    color: #fffaf5;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 26%),
        linear-gradient(145deg, #e23d2b 0%, #f08a24 48%, #0f766e 100%);
    box-shadow: 0 24px 50px rgba(226, 61, 43, 0.18);
}

.hero::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -40px;
    bottom: -50px;
    border: 18px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.brand {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.brand span {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.hero h1 {
    margin: 0 0 14px;
    max-width: 12ch;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    font-weight: 750;
}

.lede {
    margin: 0 0 28px;
    max-width: 36ch;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 250, 245, 0.92);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chips span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 13px;
    font-weight: 650;
}

.panel {
    align-self: center;
    padding: 32px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 50px rgba(68, 34, 14, 0.12);
}

.panel h2 {
    margin: 0 0 6px;
    font-size: 28px;
}

.card-note {
    margin: 0 0 20px;
    color: #78716c;
    font-size: 14px;
}

.partner-body .field input {
    border-radius: 14px;
    border-color: #fed7aa;
    background: #fffaf5;
}

.partner-body .field input:focus {
    outline-color: #e23d2b;
}

.partner-body .submit {
    height: 48px;
    border-radius: 999px;
    color: #fff;
    font-weight: 750;
    background: linear-gradient(90deg, #e23d2b, #f08a24);
    box-shadow: 0 10px 20px rgba(226, 61, 43, 0.25);
}

.partner-body .submit:hover {
    filter: brightness(1.05);
}

.partner-body .switch a {
    color: #c2410c;
    font-weight: 700;
}

.panel .brand {
    color: #e23d2b;
}

.panel .brand span {
    background: #ffedd5;
    color: #9a3412;
}

@media (max-width: 860px) {
    .partner-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero {
        padding: 28px 22px;
    }

    .hero h1 {
        max-width: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .orb {
        animation: drift 14s ease-in-out infinite;
    }

    .orb-b {
        animation-delay: -4s;
    }

    .orb-c {
        animation-delay: -8s;
    }
}

@keyframes drift {
    50% {
        transform: translateY(16px);
    }
}
