.af-signup-page .af-public-main {
    background: transparent;
}

.af-signup-page .af-hero-band.af-signup-band {
    position: relative;
    overflow: visible;
    padding-block: 2.5rem 3.25rem;
    background:
        radial-gradient(ellipse 62% 70% at 78% 10%, rgba(6, 80, 234, 0.1), transparent 58%),
        linear-gradient(180deg, #f8fafc 0%, #eef4fb 46%, #f3f6fa 100%);
}

.af-signup-page .af-hero-band.af-signup-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 78%);
}

.af-signup-page .af-home-wrap.af-signup {
    width: min(64rem, calc(100% - 4rem));
}

.af-signup {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    align-items: stretch;
}

.af-signup__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.af-signup__copy h1 {
    margin: 0 0 0.85rem;
    color: var(--af-navy);
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.af-signup__copy .af-hero__eyebrow {
    margin-block-end: 0.85rem;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
}

.af-signup__copy .af-hero__body {
    margin-block-end: 1.15rem;
    max-width: none;
}

.af-signup__bullets {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.af-signup__bullets li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--af-text-secondary);
    font-family: inherit;
    font-size: 1.0625rem;
    line-height: 1.55;
    font-weight: 500;
}

.af-signup__tick {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--af-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 0;
}

.af-signup__tick .af-icon {
    display: block;
    color: #fff;
    stroke-width: 2.4;
}

.af-signup__aside {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    background: transparent;
    padding: 0;
}

.af-signup__preview {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 13.5rem;
    margin-block-end: 1rem;
    border-radius: 0.9rem;
    border: 1px solid #d7e3f4;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 42%),
        linear-gradient(135deg, #edf3ff 0%, #f8fafc 58%, #eef5ff 100%);
    overflow: hidden;
}

.af-signup__preview-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.75rem;
    background: #0f172a;
    color: #e2e8f0;
}

.af-signup__preview-bar i {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #64748b;
}

.af-signup__preview-bar i:nth-child(1) { background: #f87171; }
.af-signup__preview-bar i:nth-child(2) { background: #fbbf24; }
.af-signup__preview-bar i:nth-child(3) { background: #34d399; }

.af-signup__preview-bar em {
    margin-inline-start: 0.45rem;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.af-signup__preview-body {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0.7rem;
    min-height: 8.5rem;
    padding: 0.75rem;
}

.af-signup__preview-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding-block-start: 0.15rem;
}

.af-signup__preview-nav span {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 0.5rem;
    background: #fff;
    color: var(--af-primary);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.af-signup__preview-nav span:first-child {
    background: var(--af-primary);
    color: #fff;
}

.af-signup__preview-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0.55rem;
    align-content: stretch;
}

.af-signup__preview-tile {
    background: #fff;
    border: 1px solid #e2eaf6;
    border-radius: 0.7rem;
    padding: 0.55rem 0.6rem 0.6rem;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.af-signup__preview-tile--wide {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
}

.af-signup__preview-tile--wide .af-signup__preview-bars {
    flex: 1 1 auto;
    min-height: 2.6rem;
}

.af-signup__preview-tile small {
    display: block;
    margin-block-end: 0.4rem;
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 700;
}

.af-signup__preview-tile b {
    display: block;
    height: 0.38rem;
    border-radius: 999px;
    background: #e2e8f0;
}

.af-signup__preview-tile b + b {
    width: 62%;
    margin-block-start: 0.28rem;
    background: #dbeafe;
}

.af-signup__preview-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 2.4rem;
}

.af-signup__preview-bars i {
    flex: 1 1 0;
    border-radius: 0.3rem 0.3rem 0 0;
    background: #c7d7f5;
}

.af-signup__preview-bars i:nth-child(1) { height: 42%; }
.af-signup__preview-bars i:nth-child(2) { height: 68%; background: #93b4f3; }
.af-signup__preview-bars i:nth-child(3) { height: 54%; }
.af-signup__preview-bars i:nth-child(4) { height: 88%; background: var(--af-primary); }
.af-signup__preview-bars i:nth-child(5) { height: 60%; }

.af-signup__aside-foot {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.85rem 0 0;
    padding-block-start: 0;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
}

.af-signup__aside-foot span {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    background: #e8f0ff;
    color: var(--af-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.af-signup__panel {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.af-signup__card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 1.15rem;
    box-shadow:
        0 24px 56px rgba(15, 23, 42, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    padding: 2.15rem 2rem 1.85rem;
}

.af-signup__card--empty {
    padding-block: 2.6rem 2.2rem;
}

.af-signup__title {
    margin: 0;
    color: var(--af-navy);
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
}

.af-signup__lead {
    margin: 0.45rem 0 1.45rem;
    color: var(--af-text-secondary);
    font-size: 0.95rem;
    text-align: center;
}

.af-signup__form {
    display: grid;
    gap: 1.2rem;
}

.af-signup__form .af-field {
    margin-block-end: 0;
    gap: 0.45rem;
}

.af-signup__form .af-field__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--af-navy);
}

.af-signup__form .af-input-wrap {
    position: relative;
    display: block;
    height: 3rem;
}

.af-signup__form .af-input-wrap > .af-icon {
    position: absolute;
    top: 50%;
    inset-inline-start: 0.9rem;
    transform: translateY(-50%);
    margin: 0;
    color: #94a3b8;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}

.af-signup__form .af-input-wrap .af-input {
    display: block;
    width: 100%;
    height: 3rem;
    min-height: 3rem;
    padding-inline: 2.7rem 2.75rem;
    border-radius: 0.5rem;
    border-color: #d9e0ea;
    background: #fff;
    box-shadow: none;
    line-height: 1.25;
}

.af-signup__form .af-input-wrap .af-input:hover {
    border-color: #b7c3d6;
}

.af-signup__form .af-input-wrap .af-input:focus {
    border-color: var(--af-primary);
    box-shadow: 0 0 0 4px rgba(6, 80, 234, 0.12);
}

.af-signup__form .af-field.is-error .af-input {
    border-color: var(--af-danger);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.af-signup__form .af-field.is-error .af-input-wrap > .af-icon {
    color: var(--af-danger);
}

.af-signup__form .af-field__error {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
}

.af-signup__form .af-field__error[hidden] {
    display: none !important;
}

.af-signup__toggle {
    position: absolute;
    inset-inline-end: 0.4rem;
    inset-block-start: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    cursor: pointer;
}

.af-signup__toggle [hidden] {
    display: none !important;
}

.af-signup__toggle .af-icon {
    position: static;
    display: block;
    transform: none;
}

.af-signup__toggle:hover,
.af-signup__toggle:focus-visible {
    color: var(--af-navy);
}

.af-signup__rules {
    background: #f3f7ff;
    border: 0;
    border-radius: 0.75rem;
    padding: 0.95rem 1rem;
}

.af-signup__rules strong {
    display: block;
    color: var(--af-navy);
    font-size: 0.86rem;
    margin-block-end: 0.6rem;
}

.af-signup__rules ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.42rem;
}

.af-signup__rules li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--af-text-secondary);
    font-family: inherit;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.af-signup__rule-ico {
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 0;
}

.af-signup__rule-idle {
    width: 0.85rem;
    height: 0.85rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    background: transparent;
}

.af-signup__rule-ok,
.af-signup__rule-bad {
    display: none;
}

.af-signup__rule-ico .af-icon {
    display: block;
    width: 10px;
    height: 10px;
}

.af-signup__rules li.is-met {
    color: #166534;
}

.af-signup__rules li.is-met .af-signup__rule-ico {
    background: #16a34a;
    color: #fff;
}

.af-signup__rules li.is-met .af-signup__rule-idle,
.af-signup__rules li.is-unmet .af-signup__rule-idle {
    display: none;
}

.af-signup__rules li.is-met .af-signup__rule-ok,
.af-signup__rules li.is-unmet .af-signup__rule-bad {
    display: block;
}

.af-signup__rules li.is-unmet {
    color: #b91c1c;
}

.af-signup__rules li.is-unmet .af-signup__rule-ico {
    background: #ef4444;
    color: #fff;
}

.af-signup__consent-row {
    display: grid;
    gap: 0.25rem;
}

.af-signup__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--af-navy);
    font-size: 0.9rem;
}

.af-signup__consent input {
    width: 1.05rem;
    height: 1.05rem;
    margin-block-start: 0.12rem;
    accent-color: var(--af-primary);
}

.af-signup__consent a,
.af-signup__consent strong {
    color: var(--af-primary);
    font-weight: 700;
}

.af-signup__consent-row.is-error .af-signup__consent {
    color: var(--af-navy);
}

.af-signup__submit {
    width: 100%;
    min-height: 3rem;
    justify-content: center;
    font-weight: 700;
    font-size: 0.98rem;
    border-radius: 0.5rem;
}

.af-signup__or {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-block: 1.15rem 0.95rem;
    color: var(--af-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.af-signup__or::before,
.af-signup__or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.af-signup__social {
    display: grid;
    gap: 0.65rem;
}

.af-signup__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 3rem;
    border: 1px solid #d9e0ea;
    border-radius: 0.5rem;
    background: #fff;
    color: var(--af-navy);
    font-weight: 600;
    text-decoration: none;
}

.af-signup__social-btn:hover {
    border-color: #b7c3d6;
    background: #f8fafc;
}

.af-signup__foot {
    margin: 1.2rem 0 0;
    text-align: center;
    color: var(--af-text-secondary);
    font-size: 0.92rem;
}

.af-signup__foot a {
    color: var(--af-primary);
    font-weight: 700;
}

.af-signup__empty {
    display: grid;
    justify-items: center;
    text-align: center;
}

.af-signup__empty-ico {
    width: 3.5rem;
    height: 3.5rem;
    margin-block-end: 1rem;
    border-radius: 1rem;
    background: var(--af-primary-soft);
    color: var(--af-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.af-signup__empty .af-signup__lead {
    max-width: 20rem;
    margin-block-end: 0;
}

.af-signup__closed-action {
    margin-block-start: 1.35rem;
    width: 100%;
}

.af-signup__closed-action .af-btn {
    width: 100%;
    min-height: 3rem;
    justify-content: center;
}


@media (min-width: 768px) {
    .af-signup-page .af-hero-band.af-signup-band { padding-block: 2.5rem 3rem; }
    .af-signup { gap: 2rem; }
    .af-signup__card { padding: 2.1rem 2rem 1.8rem; }
}

@media (min-width: 1100px) {
    .af-signup-page .af-home-wrap.af-signup {
        grid-template-columns: minmax(22rem, 34rem) 26.25rem;
        justify-content: center;
        gap: 2.25rem;
        align-items: stretch;
    }

    .af-signup-page .af-signup__copy,
    .af-signup-page .af-signup__panel,
    .af-signup-page .af-signup__aside,
    .af-signup-page .af-signup__card {
        height: 100%;
        align-self: stretch;
    }

    .af-signup-page .af-signup__preview {
        flex: 1 1 auto;
        min-height: 14rem;
    }

    .af-signup-page .af-signup__card {
        padding: 2.15rem 2rem 1.85rem;
    }
}

@media (max-width: 767px) {
    .af-signup-page .af-home-wrap.af-signup {
        width: 100%;
        max-width: none;
    }
    .af-signup-page .af-hero-band.af-signup-band {
        padding-block: 1.15rem 2rem;
        padding-inline: 0.85rem;
    }
    .af-signup {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        width: 100%;
    }
    .af-signup__copy { display: none; }
    .af-signup__panel,
    .af-signup__card {
        width: 100%;
        max-width: none;
    }
    .af-signup__panel { order: -1; }
    .af-signup__card {
        border-radius: 1rem;
        padding: 1.5rem 1.15rem 1.35rem;
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    }
    .af-signup__title { font-size: 1.45rem; }
    .af-signup__submit,
    .af-signup__social-btn,
    .af-signup__closed-action .af-btn {
        width: 100%;
    }
}
