:root {
    --bg: #fffaf5;
    --bg2: #fff4ea;
    --bg3: #fff0e3;

    --text: #2a1d16;
    --muted: rgba(42, 29, 22, .72);

    --border: rgba(111, 91, 78, .16);
    --shadow: 0 22px 50px rgba(88, 46, 14, .10);
    --radius: 20px;

    --primary: #ff7a1a;
    --primary-hover: #eb6510;
    --secondary: #ffb347;
    --accent: #ffe3c2;
    --danger: #ef4444;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background:
        radial-gradient(1000px 600px at 8% 0%, rgba(255, 122, 26, .12), transparent 60%),
        radial-gradient(900px 600px at 95% 18%, rgba(255, 179, 71, .14), transparent 60%),
        radial-gradient(900px 600px at 30% 100%, rgba(255, 227, 194, .55), transparent 65%),
        linear-gradient(180deg, var(--bg), var(--bg2));
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .55;
    background:
        radial-gradient(2px 2px at 12% 18%, rgba(184, 86, 13, .18), transparent 55%),
        radial-gradient(2px 2px at 22% 72%, rgba(184, 86, 13, .14), transparent 55%),
        radial-gradient(2px 2px at 38% 28%, rgba(184, 86, 13, .12), transparent 55%),
        radial-gradient(2px 2px at 62% 22%, rgba(184, 86, 13, .10), transparent 55%),
        radial-gradient(2px 2px at 78% 56%, rgba(184, 86, 13, .14), transparent 55%),
        radial-gradient(2px 2px at 86% 18%, rgba(184, 86, 13, .18), transparent 55%),
        radial-gradient(2px 2px at 92% 80%, rgba(184, 86, 13, .14), transparent 55%),
        radial-gradient(2px 2px at 9% 88%, rgba(184, 86, 13, .10), transparent 55%);
}

.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 28px 18px 34px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.layout {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 22px;
    align-items: stretch;
}

.brand-top {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px 0 8px;
    position: relative;
    z-index: 3;
}

.brand-top img {
    height: 172px;
    width: auto;
    display: block;
    filter: drop-shadow(0 18px 36px rgba(88, 46, 14, .16));
    animation: floatLogo 4.6s ease-in-out infinite;
}

.brand-top::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 180px;
    border-radius: 999px;
    z-index: -1;
    transform: translateY(10px);
    background:
        radial-gradient(closest-side, rgba(255, 122, 26, .16), transparent 72%),
        radial-gradient(closest-side, rgba(255, 179, 71, .16), transparent 70%);
    filter: blur(2px);
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

.panel {
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.88));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.panel::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius) + 2px);
    pointer-events: none;
    opacity: .50;
    background:
        radial-gradient(420px 220px at 15% 10%, rgba(255, 122, 26, .12), transparent 65%),
        radial-gradient(420px 240px at 90% 20%, rgba(255, 179, 71, .16), transparent 70%);
}

.left,
.right {
    position: relative;
    z-index: 0;
}

.left > *,
.right > * {
    position: relative;
    z-index: 1;
}

.left {
    padding: 30px 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff0df;
    color: #b8560d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.08;
    letter-spacing: -.02em;
}

.hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

.bullets {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.bullet {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--muted);
}

.dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 999px;
    margin-top: 6px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 12px rgba(255, 122, 26, .15);
}

.footer-note {
    font-size: 12px;
    color: rgba(42, 29, 22, .55);
    border-top: 1px solid rgba(111, 91, 78, .10);
    padding-top: 14px;
}

.right {
    display: flex;
    flex-direction: column;
}

.topbar {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(111, 91, 78, .10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,250,245,.86));
}

.topbar h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -.01em;
}

.topbar small {
    color: rgba(42, 29, 22, .60);
    font-size: 12px;
}

.content {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.alert {
    display: none;
    border: 1px solid rgba(239, 68, 68, .20);
    background: rgba(239, 68, 68, .08);
    color: #7f1d1d;
    padding: 11px 13px;
    border-radius: 12px;
    font-size: 13px;
}

.alert.is-show {
    display: block;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 12px;
    color: rgba(42, 29, 22, .68);
    font-weight: 600;
}

.input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid rgba(111, 91, 78, .16);
    background: rgba(255, 255, 255, .96);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}

.input::placeholder {
    color: rgba(42, 29, 22, .38);
}

.input:focus {
    border-color: rgba(255, 122, 26, .45);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, .14);
}

.pass-wrap {
    position: relative;
}

.pass-wrap .input {
    padding-right: 46px;
}

.pass-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    display: grid;
    place-items: center;
    opacity: .78;
    transition: opacity .12s ease, background .12s ease, transform .12s ease;
}

.pass-btn:hover {
    opacity: 1;
    background: rgba(111, 91, 78, .08);
    transform: translateY(-50%) translateY(-1px);
}

.pass-btn:active {
    transform: translateY(-50%);
}

.pass-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.pass-btn.is-on {
    opacity: 1;
}

.pass-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 122, 26, .18);
    background: rgba(255, 122, 26, .10);
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(42, 29, 22, .76);
}

.check input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.hint {
    font-size: 12px;
    color: rgba(42, 29, 22, .60);
}

.hint:hover {
    text-decoration: underline;
}

.actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
}

.btn {
    min-width: 150px;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid rgba(111, 91, 78, .12);
    background: rgba(255, 255, 255, .96);
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
    transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}

.btn:hover {
    box-shadow: 0 14px 28px rgba(88, 46, 14, .10);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ff9447);
    color: #fff;
    border-color: rgba(255, 122, 26, .18);
    box-shadow: 0 14px 30px rgba(255, 122, 26, .18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary));
    box-shadow: 0 18px 36px rgba(255, 122, 26, .22);
}

.foot {
    margin-top: 14px;
    border-top: 1px solid rgba(111, 91, 78, .10);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: rgba(42, 29, 22, .56);
}

@media (max-width: 980px) {
    .wrap {
        justify-content: flex-start;
        align-items: center;
        padding: 18px 14px 26px;
    }

    .layout {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 580px;
        margin: 0 auto;
    }

    .panel {
        width: 100%;
        margin: 0 auto;
    }

    .brand-top img {
        height: 92px;
        max-width: 92vw;
    }

    .brand-top::before {
        width: min(92vw, 420px);
        height: 150px;
        left: 50%;
        transform: translate(-50%, 10px);
    }

    .hero h1 {
        font-size: 26px;
    }
}

@media (max-width: 560px) {
    .left {
        padding: 24px 20px 20px;
    }

    .content,
    .topbar {
        padding-left: 18px;
        padding-right: 18px;
    }

    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        min-width: 100%;
    }

    .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 23px;
    }
}

@media (max-width: 360px) {
    .brand-top img {
        height: 82px;
    }
}