
:root {
    --page: #f7f9fc;
    --surface: #ffffff;
    --surface-soft: #f3f6fb;
    --surface-blue: #eef3ff;
    --surface-violet: #f2efff;
    --ink: #111827;
    --navy: #101a3b;
    --muted: #667085;
    --line: #e4e9f2;
    --line-strong: #d5dce9;
    --blue: #2146c7;
    --blue-2: #3158d7;
    --violet: #4b3fc2;
    --green: #067647;
    --green-bg: #ecfdf3;
    --danger: #b42318;
    --danger-bg: #fff1f0;
    --amber: #a15c07;
    --focus: 0 0 0 4px rgba(33, 70, 199, .12);
    --shadow: 0 24px 74px rgba(16, 24, 40, .12);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 3% 0%, rgba(33, 70, 199, .10), transparent 31rem),
        radial-gradient(circle at 97% 5%, rgba(75, 63, 194, .09), transparent 34rem),
        linear-gradient(180deg, #fbfcfe 0%, var(--page) 52%, #eef2f8 100%);
    font-family:
        Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}
button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

[hidden] {
    display: none !important;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.08rem;
    height: 1.08rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-page {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding:
        max(20px, env(safe-area-inset-top))
        max(16px, env(safe-area-inset-right))
        max(20px, env(safe-area-inset-bottom))
        max(16px, env(safe-area-inset-left));
}

.auth-wrap {
    width: min(100%, 1120px);
}

.auth-toolbar {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.toolbar-link,
.language-toggle {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 14px;
    color: #536078;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 22px rgba(16, 24, 40, .045);
    font-size: .8rem;
    font-weight: 850;
    cursor: pointer;
    transition:
        color .18s ease,
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.toolbar-link:hover,
.language-toggle:hover {
    transform: translateY(-1px);
    color: var(--blue);
    border-color: #c7d4f4;
    background: #fff;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
}

.feature-panel {
    position: relative;
    overflow: hidden;
    min-height: 690px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #dfe6f3;
    padding: clamp(30px, 5vw, 50px);
    background:
        radial-gradient(circle at 8% 4%, rgba(33, 70, 199, .13), transparent 21rem),
        radial-gradient(circle at 90% 88%, rgba(75, 63, 194, .11), transparent 22rem),
        linear-gradient(145deg, #eef3ff 0%, #f8f9ff 52%, #f2efff 100%);
}
.feature-panel::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -190px;
    bottom: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(75, 63, 194, .16), transparent 68%);
    pointer-events: none;
}

.feature-content,
.feature-footer,
.feature-brand {
    position: relative;
    z-index: 1;
}

.feature-brand img,
.mobile-brand img,
.reset-brand img {
    width: auto;
    height: 46px;
    max-width: 230px;
    object-fit: contain;
}

.feature-content {
    margin: 44px 0;
}

.feature-badge,
.form-eyebrow,
.reset-badge {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #dce5fb;
    border-radius: 999px;
    padding: 7px 11px;
    color: var(--blue);
    background: rgba(255, 255, 255, .72);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.feature-title {
    max-width: 500px;
    margin: 22px 0 0;
    color: var(--navy);
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    line-height: 1.06;
    letter-spacing: -.045em;
}

.gradient-text {
    color: transparent;
    background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
}

.feature-copy {
    max-width: 480px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.75;
}

.feature-list {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border: 1px solid rgba(213, 220, 233, .88);
    border-radius: 15px;
    padding: 14px;
    background: rgba(255, 255, 255, .70);
}

.feature-item-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--blue);
    background: var(--surface-blue);
}

.feature-item strong {
    display: block;
    color: var(--navy);
    font-size: .84rem;
}

.feature-item p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.55;
}

.feature-footer {
    margin: 0;
    color: var(--muted);
    font-size: .73rem;
    line-height: 1.65;
}

.form-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 52px);
}

.mobile-brand {
    display: none;
    justify-content: center;
    margin-bottom: 28px;
}

.form-title {
    margin: 11px 0 0;
    color: var(--navy);
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.form-copy {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.7;
}

.notice {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid;
    border-radius: 13px;
    padding: 12px 13px;
    font-size: .82rem;
    line-height: 1.55;
}

.notice ul {
    margin: 0;
    padding-inline-start: 18px;
}

.notice-success {
    color: var(--green);
    border-color: #a8e7c5;
    background: var(--green-bg);
}

.notice-error {
    color: var(--danger);
    border-color: #fecaca;
    background: var(--danger-bg);
}

.google-button {
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 0 16px;
    color: #344054;
    background: var(--surface-soft);
    font-size: .84rem;
    font-weight: 900;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.google-button:hover {
    transform: translateY(-1px);
    border-color: #c7d4f4;
    background: #fff;
}

.google-icon {
    width: 20px;
    height: 20px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 21px 0;
    color: #8490a6;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--line);
}

.auth-form {
    display: grid;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field {
    min-width: 0;
}

.field-label {
    display: block;
    margin: 0 0 7px;
    color: #344054;
    font-size: .79rem;
    font-weight: 850;
}

.input-wrap {
    position: relative;
}

.field-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--blue);
    pointer-events: none;
}
.control {
    width: 100%;
    min-height: 49px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    outline: none;
    padding: 12px 14px 12px 42px;
    color: var(--ink);
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(16, 24, 40, .025);
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}
.control.password-control {
    padding-right: 76px;
}
.control:hover {
    border-color: #b9c4d6;
}

.control:focus {
    border-color: var(--blue);
    box-shadow: var(--focus);
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    min-width: 58px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    cursor: pointer;
    color: var(--blue);
    background: var(--surface-blue);
    font-size: .72rem;
    font-weight: 900;
}
.password-toggle:hover {
    background: #e0e9ff;
}

.password-meta {
    display: grid;
    gap: 7px;
    margin-top: 8px;
}

.password-strength {
    width: 100%;
    height: 6px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #e6eaf1;
    appearance: none;
    -webkit-appearance: none;
}

.password-strength::-webkit-progress-bar {
    border-radius: inherit;
    background: #e6eaf1;
}

.password-strength::-webkit-progress-value {
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--violet));
}

.password-strength::-moz-progress-bar {
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--violet));
}

.password-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: .7rem;
}

.password-match,
.caps-lock {
    min-height: 18px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
}

.password-match[data-state="success"] {
    color: var(--green);
}

.password-match[data-state="error"] {
    color: var(--danger);
}

.caps-lock {
    color: var(--amber);
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .8rem;
    cursor: pointer;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--blue);
}

.text-link {
    color: var(--blue);
    font-size: .78rem;
    font-weight: 900;
}

.text-link:hover {
    color: var(--violet);
}

.terms-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 12px;
    color: var(--muted);
    background: var(--surface-soft);
    font-size: .76rem;
    line-height: 1.6;
    cursor: pointer;
}

.terms-card input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin: 2px 0 0;
    accent-color: var(--blue);
}

.submit-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2) 52%, var(--violet));
    box-shadow: 0 12px 28px rgba(33, 70, 199, .19);
    font-size: .84rem;
    font-weight: 900;
    transition:
        transform .18s ease,
        filter .18s ease,
        box-shadow .18s ease;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 16px 34px rgba(33, 70, 199, .24);
}

.submit-button:disabled {
    cursor: wait;
    opacity: .68;
    transform: none;
    filter: none;
}

.loading-label {
    display: none;
}

[aria-busy="true"] .default-label {
    display: none;
}

[aria-busy="true"] .loading-label {
    display: inline;
}

.form-footer {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: .82rem;
    text-align: center;
}

.form-note {
    margin: 16px 0 0;
    color: #7b879d;
    font-size: .68rem;
    line-height: 1.65;
    text-align: center;
}

.reset-wrap {
    width: min(100%, 540px);
}

.reset-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(244, 247, 255, .97));
    box-shadow: var(--shadow);
}

.reset-card::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -175px;
    right: -105px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(49, 88, 215, .14), transparent 68%);
    pointer-events: none;
}

.reset-body {
    position: relative;
    z-index: 1;
    padding: clamp(24px, 6vw, 40px);
}

.reset-brand {
    display: flex;
    justify-content: center;
}

.reset-badge {
    margin: 22px auto 0;
}

.reset-title {
    margin: 17px 0 0;
    color: var(--navy);
    font-size: clamp(1.8rem, 6vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: -.035em;
    text-align: center;
}

.reset-copy {
    max-width: 430px;
    margin: 12px auto 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.7;
    text-align: center;
}

.reset-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.submit-button:focus-visible,
.toolbar-link:focus-visible,
.language-toggle:focus-visible,
.google-button:focus-visible,
.password-toggle:focus-visible,
.text-link:focus-visible,
.control:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 40px #fff inset !important;
    -webkit-text-fill-color: var(--ink) !important;
    caret-color: var(--ink);
}

@media (max-width: 960px) {
    .auth-wrap {
        width: min(100%, 610px);
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .feature-panel {
        display: none;
    }

    .mobile-brand {
        display: flex;
    }
}

@media (max-width: 640px) {
    .auth-page {
        place-items: start center;
        padding-top: max(14px, env(safe-area-inset-top));
    }

    .auth-toolbar {
        margin-bottom: 9px;
    }

    .auth-shell,
    .reset-card {
        border-radius: 22px;
    }

    .form-panel,
    .reset-body {
        padding: 24px 18px 22px;
    }

    .mobile-brand img,
    .reset-brand img {
        height: 42px;
        max-width: 62vw;
    }

    .language-label {
        display: none;
    }

    .language-toggle {
        width: 42px;
        padding: 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-height: 740px) and (min-width: 961px) {
    .auth-page {
        place-items: start center;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .feature-panel {
        min-height: 620px;
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .feature-content {
        margin: 26px 0;
    }

    .feature-title {
        font-size: 2.55rem;
    }

    .feature-list {
        margin-top: 20px;
    }

    .form-panel {
        padding-top: 34px;
        padding-bottom: 34px;
    }
}

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

/* Final premium interaction and accessibility layer. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .24;
    background-image:
        linear-gradient(rgba(49, 88, 231, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 88, 231, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 30%, #000, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 72%);
}

.auth-shell,
.reset-card {
    position: relative;
}

.auth-shell::before {
    content: "";
    position: absolute;
    inset: 0 12% auto;
    height: 1px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #42cbe0, #5b79ff, #8b68e8, transparent);
}

.control:-webkit-autofill,
.control:-webkit-autofill:hover,
.control:-webkit-autofill:focus {
    -webkit-text-fill-color: #17233d;
    box-shadow: 0 0 0 1000px #fff inset, var(--pa-focus);
    transition: background-color 9999s ease-out 0s;
}

.password-toggle {
    min-width: 52px;
    min-height: 40px;
    isolation: isolate;
}

.password-toggle::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-inline-end: 6px;
    display: inline-block;
    border: 1.5px solid currentColor;
    border-radius: 50% 50% 45% 45%;
    opacity: .7;
    transform: rotate(45deg);
}

.password-toggle[data-visible="true"]::before {
    background: currentColor;
    box-shadow: inset 0 0 0 2px #edf2ff;
}

.submit-button,
.google-button,
.toolbar-link,
.language-toggle,
.password-toggle {
    touch-action: manipulation;
}

@media (max-width: 390px) {
    .auth-page {
        padding-inline: 8px;
    }

    .form-panel,
    .reset-body {
        padding-inline: 15px;
    }

    .form-options {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before {
        opacity: .16;
    }

    .control:-webkit-autofill {
        transition: none;
    }
}

/* =========================================================
   HumanProse Auth — Prism Access
   Login / Register / Reset
========================================================= */
:root {
    --pa-page: #f4f7fb;
    --pa-ink: #14213d;
    --pa-muted: #65748c;
    --pa-navy: #091733;
    --pa-navy-2: #13264f;
    --pa-blue: #3158e7;
    --pa-blue-2: #5878ff;
    --pa-violet: #7658d8;
    --pa-cyan: #22b9d0;
    --pa-green: #1aa579;
    --pa-rose: #d94f87;
    --pa-amber: #b66b11;
    --pa-line: rgba(105, 128, 177, .18);
    --pa-line-strong: rgba(78, 103, 164, .26);
    --pa-shadow-sm: 0 12px 34px rgba(20, 33, 61, .065);
    --pa-shadow-md: 0 30px 82px rgba(20, 33, 61, .13);
    --pa-focus: 0 0 0 4px rgba(49, 88, 231, .12);
}

html,
body,
button,
input,
a {
    font-family:
        "Segoe UI Variable Text",
        "Segoe UI Variable",
        "Aptos",
        "Segoe UI",
        -apple-system,
        BlinkMacSystemFont,
        system-ui,
        Arial,
        sans-serif;
}
body {
    color: var(--pa-ink);
    background:
        radial-gradient(circle at 2% -2%, rgba(49, 88, 231, .11), transparent 29rem),
        radial-gradient(circle at 98% 4%, rgba(118, 88, 216, .085), transparent 31rem),
        linear-gradient(180deg, #fcfdff 0%, var(--pa-page) 50%, #edf1f7 100%);
    font-size: 16px;
    font-weight: 440;
    font-kerning: normal;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    color: #fff;
    background: rgba(49, 88, 231, .58);
}

.auth-page {
    padding:
        max(22px, env(safe-area-inset-top))
        max(16px, env(safe-area-inset-right))
        max(22px, env(safe-area-inset-bottom))
        max(16px, env(safe-area-inset-left));
}

.auth-wrap {
    width: min(1160px, 100%);
}

.auth-toolbar {
    margin-bottom: 14px;
}

.toolbar-link,
.language-toggle {
    min-height: 42px;
    border-color: rgba(105, 128, 177, .17);
    color: #4d5d77;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 24px rgba(20, 33, 61, .045);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family:
        "Segoe UI Variable Display",
        "Segoe UI Variable",
        "Aptos Display",
        "Segoe UI",
        system-ui,
        sans-serif;
    font-weight: 710;
    letter-spacing: -.01em;
}

.toolbar-link:hover,
.language-toggle:hover {
    color: var(--pa-blue);
    border-color: rgba(49, 88, 231, .22);
    background: rgba(255, 255, 255, .96);
}

.auth-shell {
    overflow: hidden;
    border-color: rgba(117, 143, 204, .17);
    border-radius: 34px;
    background: rgba(255, 255, 255, .985);
    box-shadow:
        var(--pa-shadow-md),
        inset 0 1px 0 rgba(255, 255, 255, .95);
}

.feature-panel {
    isolation: isolate;
    color: #fff;
    background:
        radial-gradient(circle at 86% 7%, rgba(34, 185, 208, .19), transparent 19rem),
        radial-gradient(circle at 7% 95%, rgba(118, 88, 216, .22), transparent 23rem),
        linear-gradient(140deg, var(--pa-navy) 0%, var(--pa-navy-2) 58%, #142c52 100%);
}

.feature-panel::before {
    opacity: .14;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to right, #000, transparent 90%);
    -webkit-mask-image: linear-gradient(to right, #000, transparent 90%);
}

.feature-panel::after {
    width: 390px;
    height: 390px;
    top: -250px;
    right: -150px;
    background: radial-gradient(circle, rgba(88, 120, 255, .34), transparent 69%);
}

.feature-brand img,
.mobile-brand img,
.reset-brand img {
    height: 44px;
    max-width: min(215px, 58vw);
    filter:
        drop-shadow(0 9px 20px rgba(49, 88, 231, .10))
        drop-shadow(0 8px 16px rgba(34, 185, 208, .06));
}

.feature-badge {
    border-color: rgba(156, 181, 242, .18);
    color: #bdeff6;
    background: rgba(255, 255, 255, .075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .065);
    font-family:
        "Segoe UI Variable Display",
        "Segoe UI Variable",
        "Aptos Display",
        "Segoe UI",
        system-ui,
        sans-serif;
    font-weight: 760;
    letter-spacing: .11em;
}

.feature-title {
    max-width: 590px;
    color: #fff;
    font-family:
        "Segoe UI Variable Display",
        "Segoe UI Variable",
        "Aptos Display",
        "Segoe UI",
        system-ui,
        sans-serif;
    font-size: clamp(2rem, 4.7vw, 3.55rem);
    font-weight: 780;
    line-height: 1.01;
    letter-spacing: -.052em;
    text-wrap: balance;
}
.gradient-text {
    background:
        linear-gradient(90deg, #8ce1ee 0%, #92adff 48%, #c3a3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-copy {
    max-width: 570px;
    color: #b9c7da;
    font-size: clamp(.96rem, 1.7vw, 1.06rem);
    font-weight: 450;
    line-height: 1.8;
}

.feature-item {
    border-color: rgba(155, 180, 235, .13);
    border-radius: 17px;
    background: rgba(255, 255, 255, .055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.feature-item-icon {
    color: #8ce1ee;
    border-color: rgba(140, 225, 238, .16);
    background: rgba(140, 225, 238, .08);
}

.feature-item strong {
    color: #f8fbff;
    font-family:
        "Segoe UI Variable Display",
        "Segoe UI Variable",
        "Aptos Display",
        "Segoe UI",
        system-ui,
        sans-serif;
    font-weight: 730;
    letter-spacing: -.012em;
}

.feature-item p,
.feature-footer {
    color: #9daec6;
}

.form-panel {
    background:
        radial-gradient(circle at 100% 0%, rgba(88, 120, 255, .065), transparent 18rem),
        linear-gradient(145deg, #fff 0%, #fbfcff 100%);
}

.form-eyebrow {
    color: var(--pa-blue);
    font-family:
        "Segoe UI Variable Display",
        "Segoe UI Variable",
        "Aptos Display",
        "Segoe UI",
        system-ui,
        sans-serif;
    font-weight: 790;
    letter-spacing: .13em;
}

.form-title,
.reset-title {
    color: var(--pa-navy);
    font-family:
        "Segoe UI Variable Display",
        "Segoe UI Variable",
        "Aptos Display",
        "Segoe UI",
        system-ui,
        sans-serif;
    font-weight: 780;
    letter-spacing: -.044em;
    text-wrap: balance;
}
.form-copy,
.reset-copy {
    color: var(--pa-muted);
    font-weight: 450;
    line-height: 1.75;
}

.notice {
    border-radius: 15px;
    box-shadow: 0 10px 28px rgba(20, 33, 61, .045);
}

.google-button {
    min-height: 52px;
    border-color: rgba(105, 128, 177, .20);
    border-radius: 14px;
    color: #34435d;
    background:
        linear-gradient(145deg, #fff, #f7f9fd);
    box-shadow:
        0 8px 22px rgba(20, 33, 61, .045),
        inset 0 1px 0 rgba(255, 255, 255, .96);
    font-family:
        "Segoe UI Variable Display",
        "Segoe UI Variable",
        "Aptos Display",
        "Segoe UI",
        system-ui,
        sans-serif;
    font-weight: 710;
}

.google-button:hover {
    border-color: rgba(49, 88, 231, .24);
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 33, 61, .07);
}

.divider {
    color: #8390a4;
}

.divider::before,
.divider::after {
    background: rgba(105, 128, 177, .16);
}

.field-label {
    color: #34435d;
    font-size: .82rem;
    font-weight: 720;
}

.control {
    min-height: 51px;
    border-color: rgba(105, 128, 177, .24);
    border-radius: 14px;
    color: #17233d;
    background: rgba(255, 255, 255, .995);
    box-shadow:
        inset 0 1px 2px rgba(20, 33, 61, .025),
        0 1px 0 rgba(255, 255, 255, .9);
}

.control:hover {
    border-color: rgba(75, 102, 166, .38);
}

.control:focus {
    border-color: var(--pa-blue);
    box-shadow: var(--pa-focus);
}

.field-icon {
    color: var(--pa-blue);
}

.password-toggle {
    min-height: 35px;
    border-radius: 10px;
    color: var(--pa-blue);
    background: #edf2ff;
    font-family:
        "Segoe UI Variable Display",
        "Segoe UI Variable",
        "Aptos Display",
        "Segoe UI",
        system-ui,
        sans-serif;
    font-weight: 720;
}

.password-toggle:hover {
    background: #e3ebff;
}

.form-options {
    color: #56657d;
}

.checkbox-label,
.terms-card {
    color: #53627a;
}

.checkbox-label input,
.terms-card input {
    accent-color: var(--pa-blue);
}

.text-link {
    color: var(--pa-blue);
    font-weight: 720;
}

.text-link:hover {
    color: #2344ba;
}

.password-meta {
    border-color: rgba(105, 128, 177, .15);
    border-radius: 15px;
    background:
        linear-gradient(145deg, #f8faff, #f3f6fb);
}

.password-strength {
    border-radius: 999px;
    background: #e6ebf4;
}

.password-strength::-webkit-progress-bar {
    border-radius: inherit;
    background: #e6ebf4;
}

.password-strength::-webkit-progress-value {
    border-radius: inherit;
    background:
        linear-gradient(90deg, var(--pa-blue), var(--pa-blue-2), var(--pa-violet));
}

.password-strength::-moz-progress-bar {
    border-radius: inherit;
    background:
        linear-gradient(90deg, var(--pa-blue), var(--pa-blue-2), var(--pa-violet));
}

.password-meta-row {
    color: #65748c;
}

.password-meta-row span:last-child {
    color: #42516a;
    font-weight: 720;
}

.password-match[data-state="success"] {
    color: #08734f;
}

.password-match[data-state="error"],
.caps-lock {
    color: #a7550d;
}

.terms-card {
    border-color: rgba(105, 128, 177, .15);
    border-radius: 15px;
    background: #f7f9fd;
}

.submit-button {
    min-height: 52px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, #3158e7 0%, #5878ff 54%, #7658d8 100%);
    box-shadow:
        0 15px 34px rgba(49, 88, 231, .22),
        inset 0 1px 0 rgba(255, 255, 255, .15);
    font-family:
        "Segoe UI Variable Display",
        "Segoe UI Variable",
        "Aptos Display",
        "Segoe UI",
        system-ui,
        sans-serif;
    font-weight: 750;
    letter-spacing: -.008em;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.035);
    box-shadow: 0 19px 40px rgba(49, 88, 231, .27);
}

.submit-button:focus-visible,
.google-button:focus-visible,
.toolbar-link:focus-visible,
.language-toggle:focus-visible,
.password-toggle:focus-visible,
.text-link:focus-visible {
    outline: none;
    box-shadow: var(--pa-focus);
}

/* Reset page */
.reset-wrap {
    width: min(100%, 570px);
}

.reset-card {
    overflow: hidden;
    border-color: rgba(117, 143, 204, .17);
    border-radius: 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(88, 120, 255, .085), transparent 19rem),
        linear-gradient(145deg, #fff, #f8faff);
    box-shadow:
        var(--pa-shadow-md),
        inset 0 1px 0 rgba(255, 255, 255, .95);
}

.reset-card::before {
    content: "";
    position: absolute;
    inset: 0 11% auto;
    height: 2px;
    z-index: 2;
    background:
        linear-gradient(90deg, transparent, #63d8ea, #6687ff, #9b79e8, transparent);
}

.reset-body {
    padding: clamp(27px, 6vw, 43px);
}

.reset-brand img {
    height: 45px;
}

.reset-badge {
    border-color: rgba(49, 88, 231, .15);
    color: var(--pa-blue);
    background: #edf2ff;
    font-family:
        "Segoe UI Variable Display",
        "Segoe UI Variable",
        "Aptos Display",
        "Segoe UI",
        system-ui,
        sans-serif;
    font-weight: 760;
}

form[aria-busy="true"] {
    opacity: .82;
}

@media (max-width: 760px) {
    .auth-shell {
        border-radius: 26px;
    }

    .form-panel {
        padding: 26px 22px 28px;
    }

    .mobile-brand img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .auth-page {
        padding-inline: 11px;
    }

    .auth-toolbar {
        padding-inline: 3px;
    }

    .toolbar-link,
    .language-toggle {
        min-height: 40px;
    }

    .auth-shell,
    .reset-card {
        border-radius: 23px;
    }

    .form-panel {
        padding: 23px 17px 25px;
    }

    .form-title {
        font-size: 1.95rem;
    }

    .reset-body {
        padding: 25px 18px;
    }

    .reset-title {
        font-size: 1.95rem;
    }

    .control {
        min-height: 50px;
    }

    .submit-button,
    .google-button {
        min-height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .submit-button:hover,
    .toolbar-link:hover,
    .google-button:hover {
        transform: none !important;
    }
}

.password-toggle {
    min-width: 52px;
    min-height: 40px;
}

.control:-webkit-autofill,
.control:-webkit-autofill:hover,
.control:-webkit-autofill:focus {
    -webkit-text-fill-color: #17233d;
    box-shadow: 0 0 0 1000px #fff inset, var(--pa-focus);
}
