.public-body {
    background:
        radial-gradient(circle at top left, rgba(79, 225, 255, 0.26), transparent 28%),
        radial-gradient(circle at 78% 24%, rgba(198, 129, 255, 0.2), transparent 22%),
        linear-gradient(180deg, #fbfcff 0%, #eef3ff 100%);
}

.landing-access-page {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 4% 6%, rgba(101, 202, 255, 0.26), transparent 22%),
        radial-gradient(circle at 94% 14%, rgba(193, 138, 255, 0.2), transparent 20%),
        linear-gradient(180deg, #ffffff 0%, #fbfcff 44%, #f7f9ff 100%);
}

.landing-access-shell {
    width: min(1220px, calc(100% - 40px));
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 24px 0 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
    gap: 42px;
    align-items: center;
}

.landing-access-visual {
    position: relative;
    display: grid;
    gap: 28px;
    align-content: center;
    min-width: 0;
    min-height: calc(100vh - 64px);
    min-height: calc(100dvh - 64px);
    padding: clamp(12px, 3vw, 28px) 0;
    color: #172246;
    isolation: isolate;
}

.landing-access-visual::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 12%;
    z-index: -1;
    width: 120px;
    height: 360px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(100, 200, 255, 0.22), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.landing-access-visual::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: 12%;
    z-index: -1;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(159, 103, 247, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
    pointer-events: none;
}

.landing-access-visual__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(690px, 100%);
    padding: 14px 18px;
    border: 1px solid rgba(113, 126, 185, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 40px rgba(22, 34, 70, 0.06);
    backdrop-filter: blur(18px);
}

.landing-access-visual__brand img {
    width: min(176px, 42vw);
    height: auto;
}

.landing-access-visual__brand span,
.landing-access-visual__copy span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(74, 122, 255, 0.08);
    color: #4764f8;
    font-size: 0.84rem;
    font-weight: 850;
}

.landing-access-visual__copy {
    display: grid;
    gap: 18px;
    max-width: 690px;
}

.landing-access-visual__copy h1 {
    max-width: 730px;
    color: #182554;
    font-size: clamp(3rem, 5.2vw, 4.85rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.landing-access-visual__copy p {
    max-width: 610px;
    color: #5a678a;
    font-size: 1.12rem;
    line-height: 1.75;
    font-weight: 600;
}

.landing-access-preview {
    position: relative;
    width: min(700px, 100%);
    display: grid;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(83, 122, 255, 0.18);
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 50%, rgba(76, 205, 255, 0.2), transparent 28%),
        radial-gradient(circle at 92% 20%, rgba(159, 103, 247, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92));
    box-shadow: 0 24px 60px rgba(43, 61, 126, 0.1);
}

.landing-access-preview__top,
.landing-access-preview__flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.landing-access-preview__top span {
    color: #4764f8;
    font-size: 0.86rem;
    font-weight: 850;
}

.landing-access-preview__top strong {
    color: #182554;
    font-size: 1rem;
}

.landing-access-preview__body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
    gap: 16px;
}

.landing-access-preview__post,
.landing-access-preview__metrics span {
    border: 1px solid rgba(113, 126, 185, 0.13);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 34px rgba(22, 34, 70, 0.06);
}

.landing-access-preview__post {
    display: grid;
    gap: 10px;
    padding: 22px;
}

.landing-access-preview__post small {
    color: #667391;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.landing-access-preview__post strong {
    color: #182554;
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}

.landing-access-preview__post p {
    color: #5a678a;
    line-height: 1.55;
}

.landing-access-preview__metrics {
    display: grid;
    gap: 10px;
}

.landing-access-preview__metrics span {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 16px;
    color: #25325e;
    font-size: 0.92rem;
    font-weight: 800;
}

.landing-access-preview__metrics span:first-child {
    color: #1f7b4d;
    background: rgba(218, 247, 232, 0.82);
}

.landing-access-preview__flow {
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #536280;
    font-size: 0.88rem;
    font-weight: 850;
}

.landing-access-preview__flow i {
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #65caff, #9f67f7);
}

.landing-access-panel {
    display: grid;
    align-content: center;
    justify-self: center;
    width: min(100%, 470px);
    min-width: 0;
    padding: clamp(28px, 4.6vw, 42px);
    border: 1px solid rgba(113, 126, 185, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 28px 70px rgba(43, 61, 126, 0.12);
    backdrop-filter: blur(18px);
    color: #101a34;
}

.landing-access-panel__logo {
    width: 154px;
    height: auto;
    margin-bottom: 34px;
}

.landing-access-panel__head {
    display: grid;
    gap: 10px;
}

.landing-access-panel__head span {
    color: #3158ef;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-access-panel__head h2 {
    color: #182554;
    font-size: clamp(2rem, 3.6vw, 2.72rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.landing-access-panel__head p {
    color: #66708c;
    line-height: 1.6;
    font-weight: 650;
}

.landing-access-form {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.landing-access-form .form-row {
    gap: 10px;
}

.landing-access-form .form-row label {
    color: #56627d;
    font-size: 0.76rem;
    letter-spacing: 0.09em;
}

.landing-access-form .form-row input {
    min-height: 62px;
    border-radius: 18px;
    border: 1px solid #d8e2f4;
    background: #ffffff;
    color: #081226;
    font-size: 1.6rem;
    font-weight: 850;
    letter-spacing: 0.3em;
    text-align: center;
    box-shadow: 0 20px 44px rgba(20, 38, 84, 0.08);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.landing-access-form .form-row input:focus {
    outline: none;
    border-color: rgba(49, 88, 239, 0.7);
    box-shadow:
        0 0 0 4px rgba(49, 88, 239, 0.1),
        0 24px 48px rgba(20, 38, 84, 0.12);
    transform: translateY(-1px);
}

.landing-access-error,
.landing-access-help {
    min-height: 22px;
    font-size: 0.9rem;
    line-height: 1.45;
    font-weight: 700;
}

.landing-access-error {
    color: #b33242;
}

.landing-access-help {
    color: #687693;
}

.landing-access-submit {
    min-height: 58px;
    border-radius: 999px;
    background: linear-gradient(90deg, #336fff 0%, #9a63fa 100%);
    box-shadow: 0 22px 42px rgba(49, 88, 239, 0.24);
}

.landing-access-panel__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #dfe6f4;
    color: #6a7590;
    font-size: 0.88rem;
    font-weight: 750;
}

.landing-access-panel__footer a {
    color: #3158ef;
}

.public-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 26px 0 38px;
}

.public-header,
.public-hero,
.metric-card,
.card-public,
.public-footer {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(90, 108, 154, 0.1);
    box-shadow: none;
}

.public-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    border-radius: var(--radius-lg);
}

.brand-mark {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.public-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--text-soft);
}

.nav-pill.is-active,
.nav-pill:hover {
    background: rgba(53, 93, 255, 0.1);
    color: var(--brand-blue);
}

.public-main {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.public-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 18px;
    padding: 38px;
    border-radius: var(--radius-lg);
}

.public-hero-login {
    align-items: start;
}

.hero-title {
    margin-top: 16px;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-lead {
    max-width: 620px;
    margin-top: 14px;
    font-size: 1rem;
}

.public-metrics {
    display: grid;
    gap: 14px;
}

.metric-card {
    display: grid;
    gap: 4px;
    padding: 18px;
    border-radius: var(--radius-md);
}

.metric-card strong {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.metric-card span {
    color: var(--text-soft);
    font-weight: 600;
}

.card-grid-public .ui-card {
    min-height: 180px;
}

.form-card-login {
    align-self: stretch;
}

.form-card-signup {
    max-width: 620px;
}

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

.public-form-grid__full {
    grid-column: 1 / -1;
}

.public-form-grid__half,
.public-form-grid__quarter {
    grid-column: span 1;
}

.public-signup-notes {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.public-signup-notes .metric-card strong {
    font-size: 1.35rem;
}

.public-signup-plan-note,
.form-info {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(90, 108, 154, 0.12);
    background: rgba(238, 244, 255, 0.72);
    color: var(--text-soft);
    font-weight: 600;
}

.public-auth-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0 2px;
}

.public-auth-divider::before {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    border-top: 1px solid rgba(90, 108, 154, 0.14);
}

.public-auth-divider span {
    position: relative;
    z-index: 1;
    padding: 0 10px;
    background: #fff;
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 700;
}

.form-help {
    color: var(--text-soft);
    font-size: 0.85rem;
}

.form-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--brand-blue);
}

.public-success-card {
    display: grid;
    gap: 16px;
    justify-items: start;
    align-content: center;
}

.public-success-card h2 {
    color: var(--title-color);
    font-size: 1.7rem;
    letter-spacing: -0.04em;
}

.public-success-badge {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #1d66ff 0%, #7d3cf4 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
}

.public-success-actions {
    width: 100%;
    display: grid;
    gap: 12px;
}

.public-footer {
    margin-top: 22px;
    padding: 18px 22px;
    border-radius: var(--radius-lg);
}

.legal-public-page {
    background: linear-gradient(180deg, #fbfcff 0%, #eef3ff 100%);
}

.legal-public-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 42px;
}

.legal-public-header,
.legal-public-footer,
.legal-public-hero,
.legal-public-content {
    border: 1px solid rgba(90, 108, 154, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 46px rgba(18, 31, 67, 0.07);
}

.legal-public-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
}

.legal-public-brand img {
    width: 142px;
    display: block;
}

.legal-public-nav,
.legal-public-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.legal-public-nav a,
.legal-public-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: #25325c;
    font-size: 0.9rem;
    font-weight: 800;
}

.legal-public-nav a[aria-current="page"],
.legal-public-nav a:hover,
.legal-public-footer a:hover {
    color: var(--brand-blue);
    background: rgba(53, 93, 255, 0.09);
}

.legal-public-main {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.legal-public-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: end;
    padding: 34px;
}

.legal-public-eyebrow {
    display: inline-flex;
    width: fit-content;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--brand-blue);
    background: rgba(53, 93, 255, 0.1);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.legal-public-hero h1 {
    margin-top: 14px;
    color: #071a4d;
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.legal-public-hero p {
    max-width: 760px;
    margin-top: 14px;
    color: #58678f;
    font-size: 1.06rem;
    line-height: 1.65;
    font-weight: 650;
}

.legal-public-hero span {
    display: inline-block;
    margin-top: 14px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 800;
}

.legal-public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.legal-public-actions .button {
    min-height: 44px;
}

.legal-public-content {
    display: grid;
    gap: 18px;
    padding: 34px;
}

.legal-public-intro,
.legal-public-section p,
.legal-public-section li {
    color: #24365f;
    font-size: 1rem;
    line-height: 1.75;
}

.legal-public-intro {
    max-width: 900px;
    font-weight: 700;
}

.legal-public-section {
    display: grid;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(90, 108, 154, 0.14);
}

.legal-public-section h2 {
    color: #071a4d;
    font-size: clamp(1.18rem, 2vw, 1.65rem);
    line-height: 1.25;
    letter-spacing: 0;
}

.legal-public-section ul {
    display: grid;
    gap: 8px;
    margin: 2px 0 0;
    padding-left: 22px;
}

.legal-public-section li::marker {
    color: var(--brand-blue);
}

.legal-public-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 18px 20px;
}

.legal-public-footer p {
    color: #62708f;
    font-weight: 800;
}

.public-body-auth {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% 20%, rgba(79, 225, 255, 0.12), transparent 26%),
        radial-gradient(circle at 82% 18%, rgba(198, 129, 255, 0.15), transparent 22%),
        linear-gradient(135deg, #081120 0%, #0f1730 36%, #111d39 100%);
}

.auth-login-shell {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px;
    overflow: hidden;
}

.auth-login-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.auth-login-backdrop__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.95;
}

.auth-login-backdrop__glow--cyan {
    top: -90px;
    left: -40px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(79, 225, 255, 0.34), rgba(79, 225, 255, 0.08) 54%, transparent 74%);
    animation: authGlowFloat 12s ease-in-out infinite;
}

.auth-login-backdrop__glow--violet {
    right: -60px;
    bottom: -90px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(140, 92, 255, 0.28), rgba(198, 129, 255, 0.08) 56%, transparent 74%);
    animation: authGlowFloat 14s ease-in-out infinite reverse;
}

.auth-login-backdrop__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.74), transparent 92%);
    opacity: 0.28;
}

.auth-login-layout {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 32px;
    align-items: center;
}

.auth-login-visual,
.auth-login-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    backdrop-filter: blur(18px);
}

.auth-login-visual {
    display: grid;
    gap: 28px;
    padding: 34px;
    background:
        linear-gradient(145deg, rgba(15, 24, 47, 0.82), rgba(11, 18, 35, 0.72)),
        linear-gradient(135deg, rgba(79, 225, 255, 0.08), rgba(198, 129, 255, 0.08));
    box-shadow:
        0 34px 70px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #f3f7ff;
}

.auth-login-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.auth-login-brand__logo {
    width: min(210px, 42vw);
    height: auto;
    filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.18));
}

.auth-login-brand__chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-login-copy {
    display: grid;
    gap: 14px;
}

.auth-login-copy__eyebrow {
    color: var(--brand-cyan);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.auth-login-copy__title {
    margin: 0;
    font-size: clamp(2.8rem, 5.4vw, 4.8rem);
    line-height: 0.94;
    letter-spacing: -0.07em;
}

.auth-login-copy__lead {
    max-width: 600px;
    color: rgba(235, 242, 255, 0.76);
    font-size: 1.04rem;
    line-height: 1.7;
}

.auth-login-scene {
    position: relative;
    min-height: 320px;
    perspective: 1600px;
    transform-style: preserve-3d;
}

.auth-login-scene__halo,
.auth-login-scene__ring,
.auth-login-scene__orb {
    position: absolute;
    border-radius: 50%;
}

.auth-login-scene__halo {
    inset: 30px auto auto 70px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(79, 225, 255, 0.2), rgba(53, 93, 255, 0.08) 58%, transparent 72%);
    filter: blur(4px);
    animation: authHaloPulse 7s ease-in-out infinite;
}

.auth-login-scene__ring {
    border: 1px solid rgba(255, 255, 255, 0.12);
    transform-style: preserve-3d;
}

.auth-login-scene__ring--outer {
    inset: 8px auto auto 28px;
    width: 344px;
    height: 344px;
    transform: rotateX(73deg) rotateZ(0deg);
    animation: authSpinSlow 18s linear infinite;
}

.auth-login-scene__ring--inner {
    inset: 44px auto auto 66px;
    width: 270px;
    height: 270px;
    border-color: rgba(79, 225, 255, 0.18);
    transform: rotateX(74deg) rotateZ(0deg);
    animation: authSpinSlow 12s linear infinite reverse;
}

.auth-login-scene__card {
    position: absolute;
    left: 88px;
    top: 44px;
    width: min(100%, 420px);
    border-radius: 28px;
    transform-style: preserve-3d;
}

.auth-login-scene__card--back,
.auth-login-scene__card--mid {
    height: 232px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.auth-login-scene__card--back {
    transform: rotateX(70deg) rotateY(-18deg) translate3d(0, 6px, -70px);
    opacity: 0.48;
}

.auth-login-scene__card--mid {
    transform: rotateX(70deg) rotateY(-18deg) translate3d(0, 0, -28px);
    opacity: 0.7;
}

.auth-login-scene__card--front {
    display: grid;
    gap: 18px;
    padding: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        linear-gradient(135deg, rgba(79, 225, 255, 0.24), rgba(140, 92, 255, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 32px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transform: rotateX(66deg) rotateY(-18deg) translate3d(0, -8px, 26px);
    animation: authCardFloat 8s ease-in-out infinite;
}

.auth-login-scene__card-head {
    display: flex;
    gap: 8px;
}

.auth-login-scene__card-head span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
}

.auth-login-scene__card-body {
    display: grid;
    gap: 10px;
}

.auth-login-scene__card-body strong {
    font-size: 2rem;
    letter-spacing: -0.06em;
}

.auth-login-scene__card-body p {
    max-width: 260px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.94rem;
    line-height: 1.6;
}

.auth-login-scene__bars {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.auth-login-scene__bar {
    position: relative;
    display: block;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-login-scene__bar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    animation: authBarSweep 4.6s ease-in-out infinite;
}

.auth-login-scene__bar--blue::after {
    background: linear-gradient(90deg, rgba(53, 93, 255, 0.12), rgba(53, 93, 255, 1), rgba(79, 225, 255, 0.6));
}

.auth-login-scene__bar--violet::after {
    animation-delay: 0.75s;
    background: linear-gradient(90deg, rgba(140, 92, 255, 0.12), rgba(140, 92, 255, 1), rgba(198, 129, 255, 0.54));
}

.auth-login-scene__bar--cyan::after {
    animation-delay: 1.35s;
    background: linear-gradient(90deg, rgba(79, 225, 255, 0.12), rgba(79, 225, 255, 1), rgba(255, 255, 255, 0.48));
}

.auth-login-scene__orb {
    background: linear-gradient(135deg, rgba(79, 225, 255, 1), rgba(53, 93, 255, 0.84));
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.14);
}

.auth-login-scene__orb--one {
    right: 76px;
    top: 50px;
    width: 26px;
    height: 26px;
    animation: authOrbFloat 7s ease-in-out infinite;
}

.auth-login-scene__orb--two {
    left: 64px;
    bottom: 34px;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, rgba(198, 129, 255, 1), rgba(140, 92, 255, 0.86));
    animation: authOrbFloat 6s ease-in-out infinite reverse;
}

.auth-login-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.auth-login-point {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-login-point strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.auth-login-point p {
    color: rgba(235, 242, 255, 0.68);
    font-size: 0.92rem;
    line-height: 1.6;
}

.auth-login-panel {
    display: grid;
    gap: 20px;
    align-content: start;
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.18);
}

.auth-login-panel__head {
    display: grid;
    gap: 8px;
}

.auth-login-panel__eyebrow {
    color: var(--brand-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-login-panel__head h2 {
    font-size: 2.4rem;
    letter-spacing: -0.06em;
}

.auth-login-panel__head p {
    color: var(--text-soft);
    line-height: 1.6;
}

.auth-login-form {
    gap: 18px;
}

.auth-login-form .form-row {
    gap: 10px;
}

.auth-login-form .form-row label {
    color: #44506f;
}

.auth-login-form .form-row input {
    min-height: 58px;
    border-radius: 18px;
    border: 1px solid rgba(90, 108, 154, 0.16);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.auth-login-form .form-row input:focus {
    outline: none;
    border-color: rgba(53, 93, 255, 0.42);
    box-shadow:
        0 0 0 4px rgba(53, 93, 255, 0.08),
        0 12px 24px rgba(53, 93, 255, 0.08);
    transform: translateY(-1px);
}

.auth-login-form__check-row {
    margin-top: 2px;
}

.auth-login-check {
    min-height: 44px;
    padding-left: 2px;
}

.auth-login-submit {
    min-height: 56px;
    font-size: 0.98rem;
    background: linear-gradient(135deg, #2553ff 0%, #4963ff 44%, #6f3eff 100%);
    box-shadow: 0 24px 38px rgba(53, 93, 255, 0.22);
}

.auth-login-divider span {
    background: rgba(255, 255, 255, 0.97);
}

.auth-login-secondary {
    min-height: 54px;
    border-color: rgba(53, 93, 255, 0.16);
}

@keyframes authGlowFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(18px, -12px, 0) scale(1.08);
    }
}

@keyframes authHaloPulse {
    0%,
    100% {
        opacity: 0.7;
        transform: scale(0.96);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes authSpinSlow {
    from {
        transform: rotateX(73deg) rotateZ(0deg);
    }
    to {
        transform: rotateX(73deg) rotateZ(360deg);
    }
}

@keyframes authCardFloat {
    0%,
    100% {
        transform: rotateX(66deg) rotateY(-18deg) translate3d(0, -8px, 26px);
    }
    50% {
        transform: rotateX(66deg) rotateY(-14deg) translate3d(0, -16px, 36px);
    }
}

@keyframes authBarSweep {
    0% {
        transform: translateX(-100%);
    }
    58%,
    100% {
        transform: translateX(0);
    }
}

@keyframes authOrbFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-16px) scale(1.08);
    }
}

@media (max-width: 900px) {
    .public-hero {
        grid-template-columns: 1fr;
    }

    .landing-access-page {
        background:
            radial-gradient(circle at 0 6%, rgba(101, 202, 255, 0.22), transparent 24%),
            radial-gradient(circle at 100% 18%, rgba(193, 138, 255, 0.18), transparent 22%),
            linear-gradient(180deg, #ffffff 0%, #fbfcff 44%, #f7f9ff 100%);
    }

    .landing-access-shell {
        width: min(100% - 28px, 720px);
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 18px 0 32px;
    }

    .landing-access-visual {
        min-height: auto;
        gap: 24px;
        padding: 0;
    }

    .landing-access-panel {
        width: 100%;
        justify-self: stretch;
    }

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

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

@media (max-width: 640px) {
    .public-shell {
        width: min(100% - 20px, 1120px);
        padding-top: 18px;
    }

    .landing-access-visual__brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-access-visual__brand img {
        width: 146px;
    }

    .landing-access-visual__copy h1 {
        font-size: 2.62rem;
    }

    .landing-access-visual__copy p {
        font-size: 1rem;
    }

    .landing-access-preview {
        padding: 18px;
        border-radius: 22px;
    }

    .landing-access-preview__body {
        grid-template-columns: 1fr;
    }

    .landing-access-preview__flow {
        gap: 9px;
        font-size: 0.78rem;
    }

    .landing-access-preview__flow i {
        width: 16px;
    }

    .landing-access-panel__logo {
        width: 138px;
        margin-bottom: 24px;
    }

    .landing-access-panel__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-header,
    .public-hero,
    .public-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

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

    .public-form-grid__half,
    .public-form-grid__quarter {
        grid-column: 1 / -1;
    }

    .legal-public-shell {
        width: min(100% - 20px, 1120px);
        padding-top: 18px;
    }

    .legal-public-header,
    .legal-public-footer,
    .legal-public-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .legal-public-hero {
        grid-template-columns: 1fr;
        padding: 24px 18px;
    }

    .legal-public-content {
        padding: 24px 18px;
    }

    .legal-public-actions,
    .legal-public-actions .button {
        width: 100%;
    }

    .auth-login-shell {
        padding: 16px;
    }

    .auth-login-layout {
        gap: 18px;
    }

    .auth-login-visual,
    .auth-login-panel {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .auth-login-brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-login-brand__logo {
        width: 170px;
    }

    .auth-login-copy__title {
        font-size: 2.7rem;
    }

    .auth-login-scene {
        min-height: 250px;
    }

    .auth-login-scene__ring--outer {
        width: 260px;
        height: 260px;
        left: 12px;
    }

    .auth-login-scene__ring--inner {
        width: 200px;
        height: 200px;
        left: 44px;
        top: 42px;
    }

    .auth-login-scene__card {
        left: 48px;
        width: calc(100% - 72px);
    }

    .auth-login-scene__orb--one {
        right: 24px;
    }

    .auth-login-panel__head h2 {
        font-size: 2rem;
    }
}

@media print {
    .legal-public-page {
        background: #ffffff;
    }

    .legal-public-shell {
        width: 100%;
        padding: 0;
    }

    .legal-public-header,
    .legal-public-actions,
    .legal-public-footer {
        display: none;
    }

    .legal-public-main {
        margin: 0;
    }

    .legal-public-hero,
    .legal-public-content {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .legal-public-hero {
        display: block;
        margin-bottom: 20px;
    }

    .legal-public-section {
        break-inside: avoid;
    }
}

/* Login v4: simple first, visual second. */
.public-body-auth {
    min-height: 100vh;
    overflow-x: hidden;
    background: #eef4ff;
}

.auth-v2 {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    background:
        linear-gradient(90deg, #ffffff 0%, #ffffff 43%, transparent 43%),
        linear-gradient(135deg, #eef7ff 0%, #f7f4ff 52%, #eef3ff 100%);
}

.auth-v2,
.auth-v2 * {
    min-width: 0;
}

.auth-v2__form {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: start;
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    padding: clamp(28px, 5vh, 54px) clamp(28px, 4.6vw, 58px) 44px;
    background: #ffffff;
    box-shadow: 22px 0 60px rgba(18, 31, 67, 0.07);
}

.auth-v2__logo {
    width: 148px;
    height: auto;
    margin-bottom: 8px;
}

.auth-v2__head {
    display: grid;
    gap: 8px;
    max-width: 360px;
    margin-bottom: 22px;
}

.auth-v2__head span {
    color: var(--brand-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-v2__head h1 {
    color: #081633;
    font-size: 2.34rem;
    line-height: 1;
    letter-spacing: 0;
}

.auth-v2__head p {
    color: #5d6886;
    line-height: 1.55;
}

.auth-v2__fields {
    display: grid;
    gap: 15px;
    width: 100%;
    max-width: 380px;
}

.auth-v2__fields .form-row {
    gap: 9px;
}

.auth-v2__fields .form-row label {
    color: #50607f;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.auth-v2__fields .form-row input {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #d8e2f4;
    background: #f8fbff;
    color: #091733;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.auth-v2__fields .form-row input:focus {
    outline: none;
    border-color: rgba(53, 93, 255, 0.55);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(53, 93, 255, 0.09);
}

.auth-v2__remember {
    margin-top: 2px;
}

.auth-v2__remember .form-check {
    color: #293653;
    font-size: 0.82rem;
}

.auth-v2__submit {
    min-height: 52px;
    margin-top: 2px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2956ff 0%, #5470ff 58%, #7d45f8 100%);
    box-shadow: 0 20px 34px rgba(53, 93, 255, 0.24);
}

.auth-v2__secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 380px;
    margin-top: 16px;
    color: #687796;
    font-size: 0.9rem;
}

.auth-v2__secondary span {
    display: inline;
    color: inherit;
    font-size: inherit;
    font-weight: 600;
}

.auth-v2__secondary span::before,
.auth-v2__secondary span::after {
    content: none;
}

.auth-v2__secondary a {
    color: var(--brand-blue);
    font-weight: 800;
}

.auth-v2__stage {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.55) 28%, transparent 60%),
        linear-gradient(135deg, rgba(79, 225, 255, 0.18) 0%, rgba(255, 255, 255, 0.44) 45%, rgba(198, 129, 255, 0.2) 100%);
}

.auth-v2__stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 8% 84%, rgba(30, 211, 238, 0.44) 0 7px, transparent 8px),
        radial-gradient(circle at 22% 72%, rgba(54, 93, 255, 0.34) 0 4px, transparent 5px),
        radial-gradient(circle at 34% 92%, rgba(139, 92, 246, 0.32) 0 10px, transparent 11px),
        radial-gradient(circle at 48% 78%, rgba(30, 211, 238, 0.28) 0 5px, transparent 6px),
        radial-gradient(circle at 62% 90%, rgba(54, 93, 255, 0.28) 0 9px, transparent 10px),
        radial-gradient(circle at 76% 70%, rgba(139, 92, 246, 0.28) 0 6px, transparent 7px),
        radial-gradient(circle at 92% 88%, rgba(30, 211, 238, 0.34) 0 12px, transparent 13px);
    background-size: 170px 145px;
    background-repeat: repeat;
    clip-path: inset(100% 0 0 0);
    opacity: 0;
    animation: authV2BackgroundFill 52s ease-in-out infinite;
}

.auth-v2__dots {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.auth-v2__starfall {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.auth-v2__starfall span {
    --x: 50%;
    --size: 8px;
    --delay: 0s;
    --duration: 28s;
    --fall: 86vh;
    --color: rgba(54, 93, 255, 0.58);
    position: absolute;
    left: var(--x);
    top: -12vh;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 28%),
        var(--color);
    box-shadow:
        0 0 calc(var(--size) * 2.4) color-mix(in srgb, var(--color), transparent 36%),
        0 10px 28px rgba(54, 93, 255, 0.16);
    opacity: 0;
    animation: authV2Starfall var(--duration) linear infinite;
    animation-delay: var(--delay);
}

.auth-v2__starfall span:nth-child(1) { --x: 8%; --size: 7px; --delay: -1s; --duration: 40s; --fall: 88vh; --color: rgba(30, 211, 238, 0.72); }
.auth-v2__starfall span:nth-child(2) { --x: 16%; --size: 13px; --delay: -5.2s; --duration: 45s; --fall: 96vh; --color: rgba(54, 93, 255, 0.56); }
.auth-v2__starfall span:nth-child(3) { --x: 25%; --size: 5px; --delay: -2.7s; --duration: 38s; --fall: 82vh; --color: rgba(139, 92, 246, 0.56); }
.auth-v2__starfall span:nth-child(4) { --x: 34%; --size: 18px; --delay: -8.4s; --duration: 50s; --fall: 101vh; --color: rgba(30, 211, 238, 0.46); }
.auth-v2__starfall span:nth-child(5) { --x: 43%; --size: 9px; --delay: -4.1s; --duration: 41s; --fall: 91vh; --color: rgba(54, 93, 255, 0.66); }
.auth-v2__starfall span:nth-child(6) { --x: 52%; --size: 15px; --delay: -10.5s; --duration: 54s; --fall: 104vh; --color: rgba(139, 92, 246, 0.5); }
.auth-v2__starfall span:nth-child(7) { --x: 61%; --size: 6px; --delay: -6s; --duration: 40s; --fall: 87vh; --color: rgba(30, 211, 238, 0.66); }
.auth-v2__starfall span:nth-child(8) { --x: 69%; --size: 20px; --delay: -13s; --duration: 58s; --fall: 108vh; --color: rgba(54, 93, 255, 0.38); }
.auth-v2__starfall span:nth-child(9) { --x: 78%; --size: 8px; --delay: -2.1s; --duration: 45s; --fall: 93vh; --color: rgba(139, 92, 246, 0.58); }
.auth-v2__starfall span:nth-child(10) { --x: 90%; --size: 12px; --delay: -9.2s; --duration: 46s; --fall: 98vh; --color: rgba(30, 211, 238, 0.58); }
.auth-v2__starfall span:nth-child(11) { --x: 4%; --size: 17px; --delay: -12s; --duration: 56s; --fall: 110vh; --color: rgba(54, 93, 255, 0.42); }
.auth-v2__starfall span:nth-child(12) { --x: 19%; --size: 6px; --delay: -7.4s; --duration: 38s; --fall: 85vh; --color: rgba(30, 211, 238, 0.74); }
.auth-v2__starfall span:nth-child(13) { --x: 30%; --size: 11px; --delay: -3.6s; --duration: 50s; --fall: 99vh; --color: rgba(139, 92, 246, 0.5); }
.auth-v2__starfall span:nth-child(14) { --x: 40%; --size: 21px; --delay: -14.6s; --duration: 64s; --fall: 112vh; --color: rgba(30, 211, 238, 0.36); }
.auth-v2__starfall span:nth-child(15) { --x: 49%; --size: 7px; --delay: -6.8s; --duration: 40s; --fall: 90vh; --color: rgba(54, 93, 255, 0.68); }
.auth-v2__starfall span:nth-child(16) { --x: 58%; --size: 14px; --delay: -11.2s; --duration: 54s; --fall: 104vh; --color: rgba(139, 92, 246, 0.48); }
.auth-v2__starfall span:nth-child(17) { --x: 66%; --size: 5px; --delay: -1.8s; --duration: 37s; --fall: 83vh; --color: rgba(30, 211, 238, 0.72); }
.auth-v2__starfall span:nth-child(18) { --x: 74%; --size: 16px; --delay: -8.9s; --duration: 50s; --fall: 102vh; --color: rgba(54, 93, 255, 0.46); }
.auth-v2__starfall span:nth-child(19) { --x: 84%; --size: 10px; --delay: -4.9s; --duration: 41s; --fall: 92vh; --color: rgba(139, 92, 246, 0.58); }
.auth-v2__starfall span:nth-child(20) { --x: 95%; --size: 23px; --delay: -16s; --duration: 66s; --fall: 114vh; --color: rgba(30, 211, 238, 0.32); }
.auth-v2__starfall span:nth-child(21) { --x: 12%; --size: 5px; --delay: -9.9s; --duration: 38s; --fall: 86vh; --color: rgba(54, 93, 255, 0.72); }
.auth-v2__starfall span:nth-child(22) { --x: 22%; --size: 19px; --delay: -15.1s; --duration: 61s; --fall: 110vh; --color: rgba(139, 92, 246, 0.34); }
.auth-v2__starfall span:nth-child(23) { --x: 37%; --size: 8px; --delay: -5.9s; --duration: 45s; --fall: 94vh; --color: rgba(30, 211, 238, 0.62); }
.auth-v2__starfall span:nth-child(24) { --x: 47%; --size: 12px; --delay: -2.9s; --duration: 46s; --fall: 97vh; --color: rgba(54, 93, 255, 0.58); }
.auth-v2__starfall span:nth-child(25) { --x: 56%; --size: 6px; --delay: -12.7s; --duration: 40s; --fall: 88vh; --color: rgba(139, 92, 246, 0.6); }
.auth-v2__starfall span:nth-child(26) { --x: 64%; --size: 22px; --delay: -18s; --duration: 69s; --fall: 116vh; --color: rgba(30, 211, 238, 0.3); }
.auth-v2__starfall span:nth-child(27) { --x: 71%; --size: 9px; --delay: -7.9s; --duration: 41s; --fall: 90vh; --color: rgba(54, 93, 255, 0.62); }
.auth-v2__starfall span:nth-child(28) { --x: 81%; --size: 15px; --delay: -10.9s; --duration: 50s; --fall: 103vh; --color: rgba(139, 92, 246, 0.44); }
.auth-v2__starfall span:nth-child(29) { --x: 88%; --size: 6px; --delay: -3.3s; --duration: 38s; --fall: 84vh; --color: rgba(30, 211, 238, 0.76); }
.auth-v2__starfall span:nth-child(30) { --x: 97%; --size: 13px; --delay: -6.4s; --duration: 45s; --fall: 95vh; --color: rgba(54, 93, 255, 0.54); }
.auth-v2__starfall span:nth-child(n+31) { --size: 4px; --duration: 37s; --fall: 82vh; --color: rgba(255, 255, 255, 0.82); }
.auth-v2__starfall span:nth-child(3n+31) { --x: 15%; --delay: -3s; }
.auth-v2__starfall span:nth-child(3n+32) { --x: 54%; --delay: -7s; }
.auth-v2__starfall span:nth-child(3n+33) { --x: 86%; --delay: -11s; }

.auth-v2__logo-field {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    width: min(520px, 76%);
    aspect-ratio: 1 / 1;
    isolation: isolate;
}

.auth-v2__logo-field::before {
    content: "";
    position: absolute;
    width: 74%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.4) 35%, transparent 66%),
        conic-gradient(from 130deg, rgba(30, 211, 238, 0.8), rgba(54, 93, 255, 0.82), rgba(139, 92, 246, 0.72), rgba(30, 211, 238, 0.8));
    opacity: 0.26;
    filter: blur(18px);
    animation: authV2Aura 8s ease-in-out infinite;
}

.auth-v2__halo {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(54, 93, 255, 0.22);
    box-shadow:
        0 0 46px rgba(30, 211, 238, 0.18),
        inset 0 0 34px rgba(139, 92, 246, 0.08);
}

.auth-v2__halo--outer {
    width: 84%;
    aspect-ratio: 1;
    animation: authV2HaloSpin 44s linear infinite;
}

.auth-v2__halo--inner {
    width: 58%;
    aspect-ratio: 1;
    border-color: rgba(30, 211, 238, 0.28);
    animation: authV2HaloSpin 34s linear infinite reverse;
}

.auth-v2__stage-logo {
    position: relative;
    z-index: 2;
    width: min(340px, 72%);
    height: auto;
    object-fit: contain;
    transform-origin: center;
    filter: drop-shadow(0 30px 38px rgba(16, 35, 95, 0.16));
    animation:
        authV2LogoSpin 34s linear infinite,
        authV2LogoFloat 12s ease-in-out infinite;
}

.auth-v2__tagline {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: clamp(30px, 5vh, 58px);
    transform: translateX(-50%);
    width: min(520px, calc(100% - 48px));
    color: var(--brand-blue);
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
}

@keyframes authV2LogoFloat {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -12px;
    }
}

@keyframes authV2LogoSpin {
    0% {
        rotate: 0deg;
    }

    100% {
        rotate: 360deg;
    }
}

@keyframes authV2HaloSpin {
    100% {
        transform: rotate(360deg) scaleX(0.84);
    }
}

@keyframes authV2Aura {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.22;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.34;
    }
}

@keyframes authV2BackgroundFill {
    0% {
        clip-path: inset(100% 0 0 0);
        transform: translateY(0);
        opacity: 0;
    }
    12% {
        opacity: 0.36;
    }
    58% {
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
        opacity: 0.62;
    }
    72% {
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
        opacity: 0.58;
    }
    100% {
        clip-path: inset(0 0 0 0);
        transform: translateY(105%);
        opacity: 0;
    }
}

@keyframes authV2Starfall {
    0% {
        transform: translate3d(0, -10vh, 0) scale(0.62);
        opacity: 0;
    }
    12% {
        opacity: 0.9;
    }
    56% {
        transform: translate3d(0, var(--fall), 0) scale(1);
        opacity: 0.88;
    }
    74% {
        transform: translate3d(0, calc(var(--fall) + 8vh), 0) scale(1.04);
        opacity: 0.72;
    }
    100% {
        transform: translate3d(0, 122vh, 0) scale(0.88);
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .auth-v2 {
        grid-template-columns: 1fr;
        background: #ffffff;
    }

    .auth-v2__form {
        min-height: auto;
        padding: 24px 24px 26px;
        box-shadow: none;
        overflow: hidden;
    }

    .auth-v2__logo {
        width: 148px;
        margin-bottom: 8px;
    }

    .auth-v2__fields,
    .auth-v2__secondary,
    .auth-v2__head {
        width: 100%;
        max-width: 100%;
    }

    .auth-v2__stage {
        min-height: 320px;
    }

    .auth-v2__logo-field {
        width: min(360px, 82%);
    }
}

@media (max-width: 520px) {
    .auth-v2__form {
        padding: 20px 18px 22px;
        justify-items: start;
        width: 100%;
        max-width: 100%;
    }

    .auth-v2__fields,
    .auth-v2__secondary,
    .auth-v2__head {
        max-width: calc(100vw - 36px);
    }

    .auth-v2__head h1 {
        font-size: 2.2rem;
    }

    .auth-v2__tagline {
        bottom: 24px;
        font-size: 0.9rem;
    }
}
