:root {
    color-scheme: light;
    --brand: #1596a8;
    --brand-dark: #0c6573;
    --ink: #1d2a35;
    --muted: #667784;
    --line: #d9e3e7;
    --danger: #c53636;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #eef4f5;
}

.reset-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr);
}

.reset-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 7vw, 100px);
    color: #fff;
    background: linear-gradient(145deg, #073f4a, var(--brand) 65%, #3fb4a8);
}

.brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 18px;
    font-size: 28px;
    font-weight: 800;
    background: rgba(255,255,255,.14);
}

.eyebrow, .step {
    margin: 24px 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.reset-brand h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; }
.reset-brand > p:not(.eyebrow) { max-width: 560px; font-size: 18px; line-height: 1.65; opacity: .9; }
.security-note { margin-top: 28px; padding: 14px 16px; border-radius: 10px; background: rgba(0,0,0,.15); }

.reset-panel { display: grid; place-items: center; padding: 32px; }
.reset-card { width: min(100%, 510px); padding: clamp(28px, 5vw, 52px); border-radius: 20px; background: #fff; box-shadow: 0 22px 60px rgba(24,54,65,.13); }
.reset-card h2 { margin: 8px 0 12px; font-size: 31px; }
.step { color: var(--brand); }
.lead, .privacy { color: var(--muted); line-height: 1.6; }
.privacy { margin: 20px 0 0; font-size: 13px; }
.back-link { color: var(--brand-dark); font-weight: 650; text-decoration: none; }

label { display: block; margin: 22px 0 8px; font-weight: 700; }
input:not([type="hidden"]) { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; font: inherit; outline: none; }
input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(21,150,168,.13); }
.otp-input { text-align: center; font-size: 25px !important; font-weight: 750 !important; letter-spacing: .42em; }

button { width: 100%; min-height: 50px; margin-top: 24px; border: 0; border-radius: 9px; color: #fff; background: var(--brand); font: inherit; font-weight: 750; cursor: pointer; }
button:hover { background: var(--brand-dark); }
.validation { display: block; margin-top: 7px; color: var(--danger); font-size: 13px; }
.validation ul { margin: 8px 0; padding-left: 20px; }
.notice { margin: 18px 0; padding: 14px; border-left: 4px solid var(--brand); border-radius: 7px; color: #24545c; background: #eaf7f8; line-height: 1.5; }

@media (max-width: 820px) {
    .reset-shell { grid-template-columns: 1fr; }
    .reset-brand { min-height: 270px; padding: 38px 28px; }
    .reset-brand h1 { font-size: 34px; }
    .security-note { display: none; }
    .reset-panel { padding: 22px 14px 38px; }
}
