.reset-modern-page {
    --reset-ink: #0a2b20;
    --reset-muted: #697d75;
    --reset-green: #079866;
    --reset-lime: #b9f55f;
    display: grid;
    grid-template-columns: minmax(430px, .96fr) minmax(0, 1.04fr);
    min-height: 680px;
    overflow: hidden;
    border: 1px solid rgba(9, 72, 50, .1);
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 32px 80px rgba(9, 52, 38, .13);
    font-family: "Aptos", "Avenir Next", "Segoe UI Variable", sans-serif;
    animation: reset-rise 620ms cubic-bezier(.2, .75, .25, 1) both;
}

@keyframes reset-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.reset-modern-page *,
.reset-modern-page *::before,
.reset-modern-page *::after { box-sizing: border-box; }

.reset-panel {
    display: flex;
    flex-direction: column;
    padding: clamp(2rem, 4.5vw, 4rem);
    color: var(--reset-ink);
    background:
        radial-gradient(circle at 0 100%, rgba(31, 184, 130, .08), transparent 28%),
        #fff;
}

.reset-brand {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: var(--reset-ink);
}

.reset-brand:hover { color: var(--reset-ink); }
.reset-brand__mark { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(8, 93, 62, .12); border-radius: 17px; background: #eff9f5; }
.reset-brand__mark img { width: 44px; height: 44px; display: block; }
.reset-brand > span:last-child strong,
.reset-brand > span:last-child small { display: block; }
.reset-brand > span:last-child strong { font-size: 1.35rem; font-weight: 850; letter-spacing: -.03em; }
.reset-brand > span:last-child small { margin-top: .05rem; color: #7a8e86; font-size: .68rem; }

.reset-panel__content {
    width: min(510px, 100%);
    margin: auto;
    padding: 2.2rem 0 1rem;
}

.reset-back { display: inline-flex; align-items: center; gap: .42rem; margin-bottom: 1.5rem; color: #70857d; font-size: .72rem; font-weight: 750; }
.reset-back:hover { color: #087d55; }
.reset-back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.reset-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1.2rem; border: 1px solid rgba(8, 137, 91, .13); border-radius: 16px; color: #078458; background: #eaf9f3; }
.reset-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.reset-panel__header { margin-bottom: 1.6rem; }
.reset-eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; color: #087d55; font-size: .68rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.reset-eyebrow span { width: 22px; height: 2px; border-radius: 99px; background: #20b17d; }
.reset-panel__header h1 { margin: 0; color: var(--reset-ink); font-size: clamp(2.3rem, 4vw, 3.5rem); font-weight: 850; letter-spacing: -.06em; line-height: 1; }
.reset-panel__header > p:last-child { margin: .9rem 0 0; color: var(--reset-muted); line-height: 1.65; }

.reset-field > label { display: block; margin-bottom: .42rem; color: #365249; font-size: .76rem; font-weight: 800; }
.reset-field__control { position: relative; }
.reset-field__control > span { position: absolute; z-index: 1; left: .95rem; top: 50%; width: 20px; height: 20px; display: grid; place-items: center; color: #71877e; transform: translateY(-50%); pointer-events: none; }
.reset-field__control svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.reset-field__control input { width: 100%; min-height: 53px; padding: .78rem .95rem .78rem 3rem; border: 1px solid rgba(66, 100, 88, .23); border-radius: 14px; color: var(--reset-ink); background: #f8fbfa; font-family: inherit; font-size: .9rem; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.reset-field__control input:focus { border-color: #19aa77; background: #fff; box-shadow: 0 0 0 4px rgba(25, 170, 119, .1); }
.reset-field__control:focus-within > span { color: #099665; }
.reset-field--error input { border-color: #d85252; background: #fff7f7; }
.reset-error { margin: .35rem 0 0; color: #c63f3f; font-size: .69rem; font-weight: 700; }

.reset-submit { width: 100%; min-height: 55px; margin-top: 1.1rem; display: flex; align-items: center; justify-content: center; gap: .65rem; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(100deg, #087c54, #0bae76); box-shadow: 0 16px 32px rgba(8, 137, 91, .2); font-family: inherit; font-size: .9rem; font-weight: 850; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease; }
.reset-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(8, 137, 91, .28); }
.reset-submit svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.reset-security { display: flex; align-items: flex-start; justify-content: center; gap: .38rem; margin: 1rem 0 0; color: #94a49e; font-size: .62rem; line-height: 1.45; text-align: center; }
.reset-security svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.reset-guide {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: clamp(2.5rem, 4.8vw, 4.2rem);
    color: #effff7;
    background: linear-gradient(145deg, #063b2a, #075f42 65%, #087b54);
}

.reset-guide__grid,
.reset-guide__glow { position: absolute; z-index: -1; pointer-events: none; }
.reset-guide__grid { inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.reset-guide__glow { width: 440px; height: 440px; top: -260px; right: -170px; border-radius: 50%; background: radial-gradient(circle, rgba(185,245,95,.34), transparent 68%); }

.reset-guide__content { width: min(560px, 100%); margin: auto; padding: 2rem 0; }
.reset-guide__eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; color: rgba(239,255,247,.67); font-size: .68rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.reset-guide__eyebrow span { width: 22px; height: 2px; border-radius: 99px; background: var(--reset-lime); }
.reset-guide__content h2 { max-width: 560px; margin: 0; color: #fff; font-size: clamp(2.3rem, 4vw, 3.55rem); font-weight: 850; letter-spacing: -.06em; line-height: 1.03; }

.reset-steps { display: grid; gap: .65rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.reset-steps li { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: .85rem; padding: .85rem; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: rgba(255,255,255,.045); }
.reset-steps li > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: rgba(239,255,247,.58); font-size: .66rem; font-weight: 900; }
.reset-steps li.is-current { border-color: rgba(185,245,95,.2); background: rgba(185,245,95,.07); }
.reset-steps li.is-current > span { color: #0a5037; border-color: var(--reset-lime); background: var(--reset-lime); }
.reset-steps strong,
.reset-steps p { display: block; }
.reset-steps strong { font-size: .82rem; }
.reset-steps p { margin: .16rem 0 0; color: rgba(239,255,247,.52); font-size: .68rem; line-height: 1.45; }

.reset-guide__note { display: flex; align-items: center; gap: .65rem; margin-top: auto; padding-top: 1.4rem; }
.reset-guide__note > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #0b533a; background: var(--reset-lime); }
.reset-guide__note svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reset-guide__note strong,
.reset-guide__note small { display: block; }
.reset-guide__note strong { font-size: .74rem; }
.reset-guide__note small { margin-top: .1rem; color: rgba(239,255,247,.5); font-size: .62rem; }

html.theme-dark .reset-modern-page { border-color: rgba(163,215,193,.13); background: #0b2019; box-shadow: 0 32px 80px rgba(0,0,0,.3); }
html.theme-dark .reset-panel { --reset-ink: #effff7; --reset-muted: #a8beb5; background: radial-gradient(circle at 0 100%, rgba(31,184,130,.07), transparent 28%), #0c211a; }
html.theme-dark .reset-brand { color: #effff7; }
html.theme-dark .reset-brand__mark { border-color: rgba(172,217,199,.16); background: #102c22; }
html.theme-dark .reset-brand__mark img { content: url("../img/examus-logo-dark.svg"); }
html.theme-dark .reset-panel__header h1,
html.theme-dark .reset-field > label { color: #effff7; }
html.theme-dark .reset-field__control input { color: #effff7; border-color: rgba(172,217,199,.2); background: #102c22; }
html.theme-dark .reset-field__control input:focus { background: #123529; }

.reset-modern-page--done {
    min-height: 640px;
}

.reset-done-panel {
    background:
        radial-gradient(circle at 10% 90%, rgba(31, 184, 130, .1), transparent 32%),
        radial-gradient(circle at 100% 0, rgba(185, 245, 95, .08), transparent 24%),
        #fff;
}

.reset-done-content {
    width: min(540px, 100%);
    padding-block: 1rem;
}

.reset-done-icon {
    position: relative;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin-bottom: 1.45rem;
    border: 1px solid rgba(8, 137, 91, .16);
    border-radius: 22px;
    color: #087d55;
    background: linear-gradient(145deg, #eaf9f3, #f5fff9);
    box-shadow: 0 18px 36px rgba(8, 137, 91, .11);
}

.reset-done-icon > svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reset-done-icon > span {
    position: absolute;
    right: -7px;
    bottom: -7px;
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #073c2a;
    background: var(--reset-lime);
}

.reset-done-icon > span svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reset-done-header {
    margin-bottom: 1.35rem;
}

.reset-done-header h1 {
    max-width: 500px;
    font-size: clamp(2.65rem, 4.3vw, 4rem);
}

.reset-done-header > p:last-child {
    max-width: 520px;
}

.reset-done-message {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: .85rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(67, 111, 95, .13);
    border-radius: 16px;
    background: rgba(239, 248, 244, .75);
}

.reset-done-message > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #0a8d60;
    background: #fff;
    box-shadow: 0 8px 20px rgba(8, 77, 54, .08);
}

.reset-done-message svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reset-done-message strong {
    display: block;
    color: #183d30;
    font-size: .78rem;
}

.reset-done-message p {
    margin: .16rem 0 0;
    color: #758981;
    font-size: .68rem;
    line-height: 1.4;
}

.reset-done-actions {
    display: grid;
    grid-template-columns: 1.22fr .9fr;
    gap: .7rem;
    margin-top: 1rem;
}

.reset-done-action {
    min-height: 53px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .75rem 1rem;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: .76rem;
    font-weight: 850;
    text-align: center;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.reset-done-action:hover {
    transform: translateY(-2px);
}

.reset-done-action--primary {
    color: #fff;
    border-color: #078a5d;
    background: linear-gradient(100deg, #087c54, #0bae76);
    box-shadow: 0 14px 30px rgba(8, 137, 91, .2);
}

.reset-done-action--primary:hover {
    color: #fff;
    box-shadow: 0 18px 36px rgba(8, 137, 91, .28);
}

.reset-done-action--primary svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reset-done-action--secondary {
    color: #486158;
    border-color: rgba(64, 98, 86, .2);
    background: rgba(247, 251, 249, .88);
}

.reset-done-action--secondary:hover {
    color: #087d55;
    border-color: rgba(8, 137, 91, .32);
    background: #fff;
}

.reset-done-steps li.is-complete {
    border-color: rgba(185, 245, 95, .18);
    background: rgba(185, 245, 95, .05);
}

.reset-done-steps li.is-complete > span {
    color: #b9f55f;
    border-color: rgba(185, 245, 95, .32);
    background: rgba(185, 245, 95, .09);
}

.reset-done-steps li.is-complete > span svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html.theme-dark .reset-done-panel {
    background:
        radial-gradient(circle at 10% 90%, rgba(31, 184, 130, .08), transparent 32%),
        radial-gradient(circle at 100% 0, rgba(185, 245, 95, .04), transparent 24%),
        #0c211a;
}

html.theme-dark .reset-done-icon {
    color: #6ee0ab;
    border-color: rgba(110, 224, 171, .2);
    background: linear-gradient(145deg, #123428, #102c22);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .2);
}

html.theme-dark .reset-done-icon > span {
    border-color: #0c211a;
}

html.theme-dark .reset-done-message {
    border-color: rgba(172, 217, 199, .14);
    background: rgba(18, 49, 38, .78);
}

html.theme-dark .reset-done-message > span {
    color: #70e0ac;
    background: #0c211a;
}

html.theme-dark .reset-done-message strong {
    color: #effff7;
}

html.theme-dark .reset-done-message p {
    color: #9db5ab;
}

html.theme-dark .reset-done-action--secondary {
    color: #c4d8cf;
    border-color: rgba(172, 217, 199, .22);
    background: rgba(255, 255, 255, .04);
}

html.theme-dark .reset-done-action--secondary:hover {
    color: #effff7;
    border-color: rgba(110, 224, 171, .42);
    background: rgba(110, 224, 171, .08);
}

.reset-done-action:focus-visible {
    outline: 3px solid rgba(25, 170, 119, .28);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .reset-modern-page { grid-template-columns: 1fr; }
    .reset-panel__content { width: min(580px,100%); padding-top: 3rem; }
    .reset-guide { min-height: 650px; }
}

@media (max-width: 720px) {
    .reset-modern-page { border-radius: 25px; }
    .reset-panel,
    .reset-guide { padding: 1.4rem; }
    .reset-brand__mark { width: 52px; height: 52px; }
    .reset-brand__mark img { width: 40px; height: 40px; }
    .reset-panel__content { padding: 2.5rem 0 .5rem; }
    .reset-panel__header h1 { font-size: 2.55rem; }
    .reset-guide { min-height: 610px; }
    .reset-guide__content h2 { font-size: 2.4rem; }
    .reset-modern-page--done { min-height: auto; }
    .reset-done-content { padding-block: 1.2rem; }
    .reset-done-header h1 { font-size: 2.65rem; }
    .reset-done-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .reset-modern-page { animation: none; }
    .reset-submit,
    .reset-field__control input { transition: none; }
}
