:root {
    --bg-0: #091015;
    --bg-1: #0d161c;
    --bg-2: #101c23;
    --panel: rgba(13, 22, 28, 0.82);
    --panel-edge: rgba(122, 153, 164, 0.14);
    --panel-glow: rgba(43, 211, 196, 0.08);
    --ink: #eef5f4;
    --ink-soft: #b7c6c4;
    --ink-muted: #7f9290;
    --accent: #59d6c9;
    --accent-strong: #33c3b5;
    --accent-ink: #062523;
    --line: rgba(122, 153, 164, 0.18);
    --line-strong: rgba(122, 153, 164, 0.28);
    --danger: #ff9d9d;
    --danger-bg: rgba(255, 157, 157, 0.1);
    --shadow: 0 40px 120px rgba(0, 0, 0, 0.46);
}

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

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

html {
    background:
        radial-gradient(circle at top left, rgba(89, 214, 201, 0.14), transparent 24%),
        radial-gradient(circle at 85% 18%, rgba(89, 214, 201, 0.08), transparent 20%),
        radial-gradient(circle at bottom left, rgba(211, 169, 93, 0.12), transparent 22%),
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 46%, var(--bg-2) 100%);
    background-color: var(--bg-0);
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(89, 214, 201, 0.14), transparent 24%),
        radial-gradient(circle at 85% 18%, rgba(89, 214, 201, 0.08), transparent 20%),
        radial-gradient(circle at bottom left, rgba(211, 169, 93, 0.12), transparent 22%),
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 46%, var(--bg-2) 100%);
}

body.page-is-loading {
    overflow: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.refined-login-page {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    padding:
        calc(32px + env(safe-area-inset-top, 0px))
        calc(20px + env(safe-area-inset-right, 0px))
        calc(32px + env(safe-area-inset-bottom, 0px))
        calc(20px + env(safe-area-inset-left, 0px));
}

.auth-public-header {
    width: min(100%, 1100px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(125, 158, 170, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(10, 18, 23, 0.84) 0%, rgba(8, 14, 18, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 26px 70px rgba(0, 0, 0, 0.24);
}

.auth-public-brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.auth-public-brand {
    display: inline-flex;
    align-items: center;
}

.auth-public-logo {
    width: 176px;
    height: auto;
    display: block;
}

.auth-public-nav-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(89, 214, 201, 0.24);
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(89, 214, 201, 0.12) 0%, rgba(89, 214, 201, 0.04) 100%),
        rgba(12, 21, 27, 0.7);
    text-decoration: none;
}

.auth-public-nav-button:hover {
    color: var(--ink);
    text-decoration: none;
}

.auth-public-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-public-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    text-decoration: none;
}

.auth-public-login:hover {
    color: var(--ink);
    text-decoration: none;
}

.auth-public-login-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
    opacity: 0.95;
}

.auth-page-loader {
    position: fixed;
    inset: 0;
    z-index: 2600;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(89, 214, 201, 0.1), transparent 18%),
        linear-gradient(180deg, rgba(5, 10, 14, 0.96) 0%, rgba(7, 16, 21, 0.98) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 1;
    visibility: visible;
    transition: opacity 420ms ease, visibility 0s linear 420ms;
}

body:not(.page-is-loading) .auth-page-loader {
    opacity: 0;
    visibility: hidden;
}

.auth-page-loader-mark {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0;
    transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

body:not(.page-is-loading) .auth-page-loader-mark {
    transform: translateY(-10px);
}

.auth-page-loader-wordmark {
    z-index: 2;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--ink);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: -0.06em;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.26);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.985);
    transition: opacity 220ms ease, transform 260ms ease;
}

body.page-fonts-ready .auth-page-loader-wordmark {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.auth-page-loader-wordmark span {
    color: var(--accent);
}

.auth-page-loader-orb {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(188px, 22vw, 260px);
    aspect-ratio: 1;
    margin-bottom: 0;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

.auth-page-loader-orb-core,
.auth-page-loader-orb-sheen {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.auth-page-loader-orb-core {
    background:
        radial-gradient(circle at 70% 34%, rgba(96, 228, 220, 0.72) 0%, rgba(58, 155, 165, 0.34) 26%, rgba(13, 35, 42, 0.22) 58%, rgba(4, 8, 11, 0.08) 100%),
        linear-gradient(115deg, rgba(3, 7, 10, 0.98) 0%, rgba(7, 18, 24, 0.94) 34%, rgba(16, 63, 74, 0.78) 72%, rgba(74, 191, 199, 0.82) 100%);
    box-shadow:
        inset -34px -24px 44px rgba(0, 0, 0, 0.3),
        inset 16px 16px 28px rgba(255, 255, 255, 0.018),
        0 0 0 1px rgba(255, 255, 255, 0.02),
        0 0 22px rgba(89, 214, 201, 0.12);
    animation: authLoaderOrbPulse 2.8s ease-in-out infinite;
}

.auth-page-loader-orb-sheen {
    inset: 10%;
    background:
        radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 18%, rgba(255, 255, 255, 0) 42%);
    mix-blend-mode: screen;
    opacity: 0.24;
    animation: authLoaderOrbGlow 2.8s ease-in-out infinite;
}

body:not(.page-is-loading) .refined-login-page {
    opacity: 1;
    transform: translateY(0);
}

body.page-is-loading .refined-login-page {
    opacity: 0;
    transform: translateY(18px);
}

body.page-is-loading .refined-login-page,
body:not(.page-is-loading) .refined-login-page {
    transition: opacity 420ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes authLoaderOrbPulse {

    0%,
    100% {
        transform: scale(0.96);
        box-shadow:
            inset -32px -20px 40px rgba(0, 0, 0, 0.22),
            inset 18px 18px 36px rgba(255, 255, 255, 0.035),
            0 0 0 1px rgba(255, 255, 255, 0.03),
            0 0 18px rgba(89, 214, 201, 0.08),
            0 0 44px rgba(89, 214, 201, 0.04);
    }

    50% {
        transform: scale(1);
        box-shadow:
            inset -32px -20px 40px rgba(0, 0, 0, 0.18),
            inset 18px 18px 36px rgba(255, 255, 255, 0.045),
            0 0 0 1px rgba(255, 255, 255, 0.03),
            0 0 34px rgba(89, 214, 201, 0.18),
            0 0 78px rgba(89, 214, 201, 0.12);
    }
}

@keyframes authLoaderOrbGlow {

    0%,
    100% {
        opacity: 0.24;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.46;
        transform: scale(1.02);
    }
}

.refined-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(110px);
    opacity: 0.6;
}

.refined-shape-1 {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -120px;
    background: rgba(89, 214, 201, 0.14);
}

.refined-shape-2 {
    width: 340px;
    height: 340px;
    bottom: -120px;
    left: -100px;
    background: rgba(211, 169, 93, 0.12);
}

.refined-grid {
    position: relative;
    z-index: 2;
    width: min(100%, 1120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
}

.refined-grid-auth-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
}

.refined-grid-auth-split .refined-card-compact {
    width: min(100%, 460px);
    justify-self: end;
}

.refined-grid-single {
    width: min(100%, 460px);
    grid-template-columns: 1fr;
    justify-items: center;
}

.refined-grid-blocked {
    width: min(100%, 700px);
    grid-template-columns: 1fr;
}

.refined-intro {
    padding: 18px 6px 18px 2px;
}

.refined-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.refined-title {
    margin: 0 0 16px;
    max-width: 13ch;
    color: var(--ink);
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    font-weight: 400;
}

.refined-copy {
    max-width: 42ch;
    margin: 0 0 22px;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
}

.refined-points {
    display: grid;
    gap: 12px;
}

.refined-point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-soft);
    font-size: 0.93rem;
    font-weight: 400;
}

.refined-point-mark {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, #88efe6 100%);
    box-shadow: 0 0 0 6px rgba(89, 214, 201, 0.08);
}

.refined-card {
    position: relative;
    padding: 34px 34px 30px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(16, 28, 35, 0.92) 0%, rgba(13, 22, 28, 0.88) 100%);
    border: 1px solid var(--panel-edge);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.refined-card-compact {
    max-width: 460px;
    margin: 0 auto;
}

.refined-card-blocked {
    width: min(100%, 700px);
    max-width: 700px;
    margin: 0 auto;
    padding: 38px 44px 34px;
}

.refined-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.03), transparent 28%),
        radial-gradient(circle at top right, var(--panel-glow), transparent 24%);
    pointer-events: none;
}

.refined-brand {
    position: relative;
    text-align: center;
    margin-bottom: 28px;
}

.auth-inline-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
}

.auth-inline-brand-mark {
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.auth-inline-brand-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: nowrap;
    flex: 0 0 auto;
}

.auth-inline-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--ink-soft);
    font-size: 0.94rem;
    font-weight: 500;
    text-decoration: none;
}

.auth-inline-brand-link:hover {
    color: var(--ink);
    text-decoration: none;
}

.auth-inline-brand-link-accent {
    color: var(--ink);
}

.auth-inline-brand-link-accent:hover {
    color: var(--ink);
}

.auth-inline-brand-link-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(74%) sepia(42%) saturate(731%) hue-rotate(122deg) brightness(92%) contrast(94%);
}

.refined-brand-logo {
    width: min(302px, 65%);
    height: auto;
    display: inline-block;
}

.refined-logo {
    width: 80px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(105deg, #000 10%, #2a8077 90%);
    color: var(--accent-ink);
    font-size: 1.4rem;
    font-weight: 400;
    box-shadow: 0 18px 38px rgba(51, 195, 181, 0.26);
}

.refined-brand-name {
    margin: 0;
    color: var(--ink);
    font-size: 1.45rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 400;
}

.refined-brand-sub {
    margin: 8px 0 0;
    color: var(--ink-muted);
    font-size: 0.84rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.refined-alert {
    position: relative;
    margin-bottom: 18px;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 157, 157, 0.18);
    background: var(--danger-bg);
    color: var(--danger);
    font-size: 0.86rem;
    font-weight: 400;
}

.refined-alert-success {
    border-color: rgba(118, 211, 154, 0.18);
    background: rgba(118, 211, 154, 0.1);
    color: #8de0ad;
}

.refined-alert-info {
    border-color: rgba(89, 214, 201, 0.2);
    background: rgba(89, 214, 201, 0.1);
    color: #9de9df;
}

.refined-alert-auto-dismiss {
    transition: opacity 220ms ease, transform 220ms ease, margin 220ms ease;
}

.refined-alert-auto-dismiss.is-dismissing {
    opacity: 0;
    transform: translateY(-4px);
    margin-bottom: 0;
}

.refined-form-group {
    position: relative;
    margin-bottom: 14px;
}

.refined-label {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: capitalize;
}

.refined-input {
    width: 100%;
    padding: 14px 15px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(8, 14, 18, 0.72);
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.refined-input::placeholder {
    color: #556260;
}

.refined-input:hover {
    border-color: rgba(89, 214, 201, 0.32);
}

.refined-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(89, 214, 201, 0.12);
    background: rgba(10, 17, 22, 0.9);
}

.refined-input:-webkit-autofill,
.refined-input:-webkit-autofill:hover,
.refined-input:-webkit-autofill:focus,
.refined-input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--ink);
    caret-color: var(--ink);
    border-color: rgba(122, 153, 164, 0.18);
    box-shadow:
        0 0 0 1000px rgba(10, 17, 22, 0.96) inset,
        0 0 0 1px rgba(122, 153, 164, 0.12) inset;
    transition: background-color 9999s ease-out 0s;
}

.refined-input.is-invalid {
    border-color: rgba(255, 157, 157, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 157, 157, 0.08);
}

.refined-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.refined-helper {
    margin-top: 5px;
    color: var(--ink-muted);
    font-size: 0.75rem;
    line-height: 1.5;
    font-weight: 400;
}

.refined-helper-centered {
    text-align: center;
}

.refined-field-status {
    display: none;
    margin: 5px 0 0;
    color: var(--ink-muted);
    font-size: 0.76rem;
    line-height: 1.45;
    opacity: 0;
    transition: opacity 160ms ease;
}

.refined-field-status.is-visible {
    display: block;
    opacity: 1;
}

.refined-field-status.is-error {
    color: var(--danger);
}

.refined-field-status.is-success {
    color: #8de0ad;
}

.refined-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.refined-row-end {
    justify-content: flex-end;
}

.refined-row-between {
    justify-content: space-between;
}

.refined-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.refined-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

.refined-check span {
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 400;
}

.auth-security-card {
    position: relative;
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)),
        linear-gradient(180deg, rgba(8, 14, 18, 0.82) 0%, rgba(11, 18, 23, 0.92) 100%);
    overflow: hidden;
}

.auth-security-card::before,
.auth-security-card::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(89, 214, 201, 0.28), transparent);
    opacity: 0.7;
}

.auth-security-card::before {
    top: 36%;
    transform: rotate(-5deg);
}

.auth-security-card::after {
    top: 64%;
    transform: rotate(4deg);
}

.auth-security-card {
    background-image:
        radial-gradient(circle at 15% 24%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
        radial-gradient(circle at 78% 62%, rgba(89, 214, 201, 0.1) 0 1px, transparent 1px),
        radial-gradient(circle at 48% 74%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px),
        radial-gradient(circle at 30% 52%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px),
        repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 11px),
        repeating-linear-gradient(-74deg, rgba(89, 214, 201, 0.045) 0 2px, transparent 2px 13px),
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)),
        linear-gradient(180deg, rgba(8, 14, 18, 0.82) 0%, rgba(11, 18, 23, 0.92) 100%);
    background-size: auto, auto, auto, auto, auto, auto, auto, auto;
}

.auth-security-code {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    user-select: none;
    font-family: "Courier New", "SFMono-Regular", Consolas, monospace;
}

.auth-security-code span {
    display: inline-block;
    text-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
    opacity: 0.96;
}

.auth-security-code::before,
.auth-security-code::after {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    pointer-events: none;
}

.auth-security-code::before {
    top: 28%;
    transform: rotate(2deg);
}

.auth-security-code::after {
    bottom: 26%;
    transform: rotate(-3deg);
}

.refined-card-centered {
    text-align: center;
}

.refined-kicker-centered,
.refined-title-centered,
.refined-copy-centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.refined-title-compact {
    max-width: 14ch;
}

.refined-title-verify {
    font-size: clamp(1.55rem, 2.6vw, 1.95rem);
}

.refined-title-blocked {
    max-width: 18ch;
    font-size: clamp(1.55rem, 3.2vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.refined-copy-compact {
    max-width: 34ch;
}

.refined-points-centered {
    justify-items: center;
    margin: 0 0 22px;
}

.refined-point-centered {
    justify-content: center;
    text-align: center;
}

.refined-row-center {
    justify-content: center;
}

.blocked-support {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 560px;
    margin: 6px auto 24px;
}

.blocked-support-card {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.008) 100%),
        linear-gradient(180deg, rgba(12, 22, 28, 0.9) 0%, rgba(9, 16, 21, 0.96) 100%);
    text-align: center;
}

.blocked-support-card-link:hover {
    text-decoration: none;
    border-color: rgba(89, 214, 201, 0.22);
    transform: translateY(-1px);
}

.blocked-support-label {
    color: var(--ink-muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blocked-support-line {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.45;
}

.blocked-support-link {
    font-size: 0.9rem;
}

.blocked-actions {
    margin-bottom: 0;
}

.refined-link {
    color: var(--accent);
    font-size: 0.86rem;
    font-weight: 400;
}

.refined-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.refined-btn:hover {
    transform: translateY(-1px);
}

.refined-btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    border-color: rgba(89, 214, 201, 0.18);
    color: var(--accent-ink);
    box-shadow: 0 18px 36px rgba(51, 195, 181, 0.22);
}

.refined-btn-secondary {
    margin-top: 0;
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--line);
    color: var(--ink);
}

.refined-inline-action-form {
    margin: -4px 0 16px;
}

.refined-auth-form {
    margin-bottom: 10px;
}

.refined-auth-footer-row {
    margin-bottom: 18px;
}

.refined-email-help {
    margin: 2px 0 16px;
}

.refined-email-change-form {
    margin: 0 0 18px;
    text-align: left;
}

.refined-form-group-left {
    text-align: left;
}

.refined-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--ink-muted);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.refined-meta {
    margin-top: 22px;
    text-align: center;
    color: var(--ink-muted);
    font-size: 0.84rem;
    line-height: 1.65;
    font-weight: 400;
}

.refined-meta a {
    color: var(--ink-soft);
    text-decoration: underline;
}

@media (max-width: 960px) {
    .refined-grid-auth-split {
        grid-template-columns: 1fr;
        width: min(100%, 560px);
        max-width: 560px;
        gap: 24px;
    }

    .refined-grid-auth-split .refined-intro {
        width: min(100%, 460px);
        margin: 0 auto;
    }

    .refined-grid-auth-split .refined-card-compact {
        width: min(100%, 460px);
        justify-self: center;
    }

    .refined-grid-single {
        width: min(100%, 460px);
        max-width: 460px;
        gap: 24px;
    }

    .refined-intro {
        padding: 0 6px;
        text-align: center;
    }

    .refined-title {
        max-width: none;
    }

    .refined-copy {
        max-width: none;
    }

    .refined-points {
        justify-items: center;
    }

    .refined-point {
        max-width: 34ch;
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .refined-login-page {
        padding: 18px 14px;
    }

    .auth-public-header {
        padding: 14px 16px;
        border-radius: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .auth-public-brand-wrap,
    .auth-public-actions {
        width: 100%;
        justify-content: center;
    }

    .auth-public-logo {
        width: min(176px, 42vw);
    }

    .refined-card {
        padding: 24px 18px 22px;
        border-radius: 20px;
    }

    .refined-card-blocked {
        padding: 28px 22px 24px;
    }

    .refined-brand {
        margin-bottom: 22px;
    }

    .auth-inline-brand {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        text-align: left;
    }

    .auth-inline-brand-actions {
        justify-content: flex-end;
    }

    .refined-brand-logo {
        width: min(220px, 56vw);
    }

    .refined-row {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 18px;
    }

    .refined-title {
        font-size: clamp(2rem, 12vw, 2.6rem);
        line-height: 0.98;
    }

    .refined-title-blocked {
        font-size: clamp(1.45rem, 8vw, 1.8rem);
        line-height: 1.1;
    }

    .blocked-support {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .refined-copy {
        font-size: 0.94rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .refined-points {
        gap: 10px;
        width: 100%;
        justify-items: stretch;
    }

    .refined-point {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        align-items: flex-start;
        justify-content: flex-start;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .refined-point-mark {
        flex: 0 0 10px;
        margin-top: 0.3rem;
        box-shadow: none;
    }

    .refined-form-group {
        margin-bottom: 16px;
    }

    .refined-label {
        font-size: 0.82rem;
        margin-bottom: 7px;
    }

    .refined-input {
        padding: 13px 14px;
        font-size: 0.92rem;
    }

    .refined-helper {
        font-size: 0.72rem;
    }

    .refined-btn {
        padding: 14px 16px;
        font-size: 0.92rem;
    }

    .refined-divider {
        margin: 20px 0;
        font-size: 0.76rem;
    }

    .refined-meta {
        margin-top: 18px;
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .refined-shape-1 {
        width: 280px;
        height: 280px;
        top: -120px;
        right: -120px;
    }

    .refined-shape-2 {
        width: 220px;
        height: 220px;
        bottom: -90px;
        left: -90px;
    }

    .refined-alert {
        font-size: 0.8rem;
        padding: 12px 13px;
    }
}

@media (max-width: 400px) {
    .refined-login-page {
        padding: 14px 10px;
    }

    .auth-public-nav-button {
        padding: 11px 18px;
    }

    .refined-card {
        padding: 20px 14px 18px;
        border-radius: 18px;
    }

    .refined-intro {
        padding: 0 2px;
    }

    .refined-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.12em;
        margin-bottom: 14px;
    }

    .refined-title {
        font-size: 1.9rem;
    }

    .refined-brand-logo {
        width: min(228px, 82%);
    }

    .refined-point {
        max-width: 400px;
        font-size: 0.86rem;
    }
}
