/* =========================================================
   Allinks design layer (loaded after the AltumCode styles)
   ========================================================= */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter/InterVariable-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+21B5, U+2713, U+2715, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter/InterVariable.woff2") format("woff2");
    unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02D9, U+02DB, U+02DD-1FFF, U+2070-2073, U+2075-20AB, U+20AD-2121, U+2123-218F, U+219A-2211, U+2213-2214, U+2216-21B4, U+21B6-2712, U+2714, U+2716-FEFE, U+FF00-FFFC;
}

:root {
    --al-primary: #2980b9;
    --al-primary-dark: #1f6a9e;
    --al-primary-soft: #eef6fc;
    --al-accent: #8e44ad;
    --al-accent-soft: #f6effa;
    --al-navy: #0e1526;
    --al-ink: #1d2433;
    --al-ink-2: #3a4356;
    --al-muted: #5d6779;
    --al-muted-2: #98a1b2;
    --al-line: #e7ebf1;
    --al-soft: #f6f8fb;
    --al-gradient: linear-gradient(92deg, #2980b9 10%, #8e44ad 90%);
    --al-gradient-hero: linear-gradient(180deg, #2980b9 0%, #3a8fc6 38%, #a9cfe9 68%, #ffffff 92%);
    --al-gradient-soft: linear-gradient(135deg, #eef6fc 0%, #f6effa 100%);
    --al-shadow-sm: 0 1px 2px rgba(27, 37, 89, .05), 0 1px 3px rgba(27, 37, 89, .07);
    --al-shadow: 0 14px 40px -18px rgba(27, 37, 89, .22);
    --al-shadow-lg: 0 40px 80px -30px rgba(21, 58, 87, .45);
    --al-radius: 1rem;
    --al-ease: cubic-bezier(.2, .8, .2, 1);
}

body {
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.al-gradient-text {
    background: var(--al-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn {
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn-primary {
    box-shadow: 0 6px 16px -6px rgba(41, 128, 185, .55);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -8px rgba(41, 128, 185, .6);
}

.btn.is-loading {
    pointer-events: none;
    opacity: .75;
}

.btn-al-gradient {
    color: #fff;
    background: var(--al-gradient);
    border: 0;
    box-shadow: 0 10px 25px -10px rgba(142, 68, 173, .6);
}

.btn-al-gradient:hover {
    color: #fff;
    transform: translateY(-1px);
    filter: saturate(1.15);
}

/* Signature highlight (violet underline that fills on hover) */
.surlign {
    padding: 0 0 .02em;
    background-image: linear-gradient(90deg, #2980b9, #8e44ad);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% .08em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Buttons */
.al-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .8rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s var(--al-ease), box-shadow .2s var(--al-ease), background-color .2s ease, color .2s ease, border-color .2s ease;
}

.al-btn:hover {
    transform: translateY(-2px);
}

.al-btn:active {
    transform: translateY(0);
}

.al-btn-lg {
    padding: 1rem 1.75rem;
    font-size: 1.05rem;
}

.al-btn-block {
    display: flex;
    width: 100%;
}

.al-btn-primary {
    color: #fff !important;
    background: var(--al-primary);
    box-shadow: 0 10px 24px -10px rgba(41, 128, 185, .7);
}

.al-btn-primary:hover {
    background: var(--al-primary-dark);
}

.al-btn-accent {
    color: #fff !important;
    background: var(--al-accent);
    box-shadow: 0 12px 28px -10px rgba(142, 68, 173, .75);
}

.al-btn-accent:hover {
    background: #7d3a99;
    box-shadow: 0 16px 32px -12px rgba(142, 68, 173, .85);
}

.al-btn-outline {
    color: var(--al-primary) !important;
    border-color: rgba(41, 128, 185, .35);
    background: #fff;
}

.al-btn-outline:hover {
    border-color: var(--al-primary);
    background: var(--al-primary-soft);
}

.al-btn-white {
    color: var(--al-navy) !important;
    background: #fff;
    box-shadow: 0 14px 30px -12px rgba(0, 15, 55, .45);
}

.al-btn-glass {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
}

.al-btn-glass:hover {
    background: rgba(255, 255, 255, .22);
}

/* =========================================================
   Onboarding
   ========================================================= */

.al-onboarding-body {
    min-height: 100vh;
    background:
        radial-gradient(40% 50% at 12% 8%, rgba(41, 128, 185, .13), transparent 70%),
        radial-gradient(36% 46% at 90% 4%, rgba(142, 68, 173, .1), transparent 70%),
        #f8fafd;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.al-ob {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.al-ob-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
}

.al-ob-logo img {
    max-height: 2rem;
}

.al-ob-logo span {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--al-ink);
}

.al-ob-logo:hover {
    text-decoration: none;
}

.al-ob-progress {
    flex: 1;
    max-width: 420px;
    margin: 0 auto;
    height: 6px;
    border-radius: 99px;
    background: rgba(41, 128, 185, .12);
    overflow: hidden;
}

.al-ob-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: var(--al-gradient);
    transition: width .4s cubic-bezier(.2, .8, .2, 1);
}

.al-ob-skip {
    color: var(--al-muted);
    font-size: .875rem;
    font-weight: 500;
}

.al-ob-layout {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 560px) 360px;
    justify-content: center;
    align-items: start;
    gap: 5rem;
    padding: 2rem 2rem 4rem;
}

.al-ob-form {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: var(--al-shadow);
    padding: 2.75rem;
}

.al-ob-step {
    display: none;
}

.al-ob-step.is-active {
    display: block;
    animation: al-fade-up .35s ease both;
}

@keyframes al-fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.al-ob-kicker {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--al-primary);
    margin-bottom: .5rem;
}

.al-ob-title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--al-ink);
    margin-bottom: .5rem;
}

.al-ob-subtitle {
    color: var(--al-muted);
    margin-bottom: 2rem;
}

/* One field scale across every step */
.al-ob-step label:not(.al-ob-url):not(.al-ob-social):not(.al-ob-avatar),
.al-ob-field-title {
    font-size: .875rem;
    font-weight: 600;
    color: var(--al-ink, #0f172a);
}

.al-ob-step .form-control {
    font-size: .95rem;
}

.al-ob-step input.form-control {
    height: 46px;
}

.al-ob-url {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--al-line);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
    margin-bottom: .5rem;
    cursor: text;
}

.al-ob-url:focus-within {
    border-color: var(--al-primary);
    box-shadow: 0 0 0 4px rgba(41, 128, 185, .12);
}

.al-ob-url-prefix {
    display: flex;
    align-items: center;
    padding: 0 .25rem 0 1rem;
    color: var(--al-muted);
    font-weight: 500;
    white-space: nowrap;
    background: transparent;
}

.al-ob-url-select {
    border: 0;
    outline: 0;
    padding-right: .5rem;
    max-width: 55%;
    cursor: pointer;
}

.al-ob-url input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 1rem 1rem 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--al-ink);
}

.al-ob-url-status {
    min-height: 1.5rem;
    font-size: .875rem;
    color: var(--al-muted);
}

.al-ob-url-status.is-success {
    color: #16a34a;
}

.al-ob-url-status.is-error {
    color: #dc2626;
}

.al-ob-hint {
    font-size: .875rem;
    color: var(--al-muted);
}

.al-ob-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.al-ob-actions .al-ob-skip-step {
    margin-left: auto;
}

.al-ob-actions .al-ob-skip-step + .btn-lg {
    margin-left: 0 !important;
}

.al-ob-actions .btn-lg {
    margin-left: auto;
    padding: .8rem 1.75rem;
    border-radius: .9rem;
}

.al-ob-avatar-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.al-ob-avatar {
    margin: 0;
    cursor: pointer;
}

.al-ob-avatar-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px dashed #b0d4ee;
    background: #eef6fc center / cover no-repeat;
    color: var(--al-primary);
    font-size: 1.4rem;
    transition: transform .15s ease;
}

.al-ob-avatar:hover .al-ob-avatar-img {
    transform: scale(1.04);
}

.al-ob-avatar-img.has-image {
    border-style: solid;
    border-color: #fff;
    box-shadow: var(--al-shadow);
}

.al-ob-avatar-img.has-image i {
    display: none;
}

.al-ob-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.al-ob-social {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
    padding: 0 .9rem;
    border: 1px solid var(--al-line);
    border-radius: .8rem;
    background: var(--al-soft);
    transition: border-color .15s ease, background-color .15s ease;
}

.al-ob-social:focus-within {
    border-color: var(--al-primary);
    background: #fff;
}

.al-ob-social i {
    color: var(--al-muted);
}

.al-ob-social input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: .7rem 0;
    font-size: .925rem;
}

.al-ob-link {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: .5rem;
    margin-bottom: .5rem;
}

.al-ob-themes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 1rem;
    max-height: 420px;
    overflow-y: auto;
    padding: .25rem;
}

.al-ob-theme {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
}

.al-ob-theme-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    aspect-ratio: 9 / 15;
    padding: 18% 14% 0;
    border-radius: 1rem;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: var(--al-shadow-sm);
    outline: 3px solid transparent;
    outline-offset: 2px;
    transition: transform .15s ease, outline-color .15s ease;
}

.al-ob-theme:hover .al-ob-theme-screen {
    transform: translateY(-2px);
}

.al-ob-theme.is-active .al-ob-theme-screen {
    outline-color: var(--al-primary);
}

.al-ob-theme-dot {
    width: 26%;
    aspect-ratio: 1;
    border-radius: 50%;
    opacity: .9;
    margin-bottom: 4px;
}

.al-ob-theme-btn {
    display: block;
    width: 100%;
    height: 12%;
    max-height: 16px;
}

.al-ob-theme-name {
    font-size: .8rem;
    font-weight: 600;
    color: var(--al-ink);
}

.al-ob-error {
    color: #dc2626;
    font-size: .9rem;
    margin-top: 1rem;
}

/* Phone preview */
.al-ob-preview {
    position: sticky;
    top: 2rem;
}

.al-phone {
    width: 320px;
    height: 640px;
    border-radius: 3rem;
    padding: 12px;
    background: #0f172a;
    box-shadow: var(--al-shadow-lg);
}

.al-phone-screen {
    height: 100%;
    border-radius: 2.4rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem 1.5rem;
    background: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
    background-size: cover !important;
    background-position: center !important;
    transition: background .3s ease;
}

.al-pv-avatar {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35) center / cover no-repeat;
    border: 3px solid rgba(255, 255, 255, .8);
    margin-bottom: .9rem;
}

.al-pv-name {
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
    margin: 0 0 .25rem;
    text-align: center;
    word-break: break-word;
}

.al-pv-description {
    font-size: .8rem;
    color: #fff;
    opacity: .9;
    text-align: center;
    margin: 0 0 .75rem;
    max-height: 3.6em;
    overflow: hidden;
}

.al-pv-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.al-pv-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    overflow: hidden;
}

.al-pv-link {
    display: block;
    padding: .8rem 1rem;
    background: #fff;
    color: #0f172a;
    border-radius: .6rem;
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.al-pv-link.is-placeholder {
    opacity: .55;
}

.al-pv-url {
    margin: auto 0 0;
    padding-top: 1rem;
    font-size: .7rem;
    font-weight: 600;
    color: #fff;
    opacity: .85;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

@media (max-width: 991.98px) {
    .al-ob-layout {
        grid-template-columns: minmax(0, 560px);
        gap: 2rem;
        padding: 1rem 1rem 3rem;
    }

    .al-ob-preview {
        display: none;
    }

    .al-ob-form {
        padding: 1.75rem;
    }

    .al-ob-header {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .al-ob-title {
        font-size: 1.5rem;
    }

    .al-ob-socials,
    .al-ob-link {
        grid-template-columns: 1fr;
    }

    .al-ob-link {
        padding-bottom: .5rem;
        border-bottom: 1px dashed var(--al-line);
    }
}

/* Brand mark */
.al-brand-mark {
    width: 1.15em;
    height: 1.15em;
    border-radius: 28%;
    flex-shrink: 0;
}

.app-sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: .45em;
}

.app-sidebar-brand .al-brand-mark,
.al-nav-brand img {
    transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), filter .3s ease;
}

.app-sidebar-brand:hover .al-brand-mark,
.al-nav-brand:hover img {
    transform: rotate(-10deg) scale(1.12);
    filter: drop-shadow(0 4px 10px rgba(41, 128, 185, .35));
}

@media (prefers-reduced-motion: reduce) {
    .app-sidebar-brand:hover .al-brand-mark,
    .al-nav-brand:hover img { transform: none; }
}

/* Checkout */
.al-pay-aside {
    top: 1.5rem;
}

.al-pay-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    margin-bottom: 2.25rem;
}

.al-pay-back {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-bottom: .85rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--al-muted);
}

.al-pay-back:hover {
    color: var(--al-ink);
    text-decoration: none;
}

.al-pay-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--al-ink);
}

.al-pay-title span {
    background: var(--al-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.al-pay-subtitle {
    max-width: 560px;
    margin: .5rem 0 0;
    font-size: .95rem;
    color: var(--al-muted);
}

.al-pay-progress {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.al-pay-progress li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--al-muted);
}

.al-pay-progress li + li::before {
    content: '';
    width: 1.5rem;
    height: 1px;
    margin-right: .05rem;
    background: var(--al-line);
}

.al-pay-progress li > span {
    display: inline-grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    font-size: .68rem;
    background: var(--al-soft);
    border: 1px solid var(--al-line);
}

.al-pay-progress li.is-done > span {
    color: #fff;
    background: #27ae60;
    border-color: #27ae60;
}

.al-pay-progress li.is-active {
    color: var(--al-ink);
}

.al-pay-progress li.is-active > span {
    color: #fff;
    background: var(--al-primary);
    border-color: var(--al-primary);
}

.al-pay-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2.25rem 0 .75rem;
}

.al-pay > .row > div > .al-pay-section-head:first-child {
    margin-top: 0;
}

.al-pay-section-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--al-ink);
}

.al-pay-section-title span {
    display: inline-grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    font-size: .75rem;
    color: var(--al-primary);
    background: var(--al-primary-soft);
}

.al-pay .custom-radio-box {
    padding: .3rem .5rem !important;
}

.al-pay .custom-radio-box input + .card {
    position: relative;
    border: 1px solid var(--al-line) !important;
    border-radius: 14px;
    box-shadow: var(--al-shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.al-pay .custom-radio-box .card-body {
    min-height: 68px;
    padding: .9rem 1.1rem .9rem 3rem;
}

.al-pay .custom-radio-box input + .card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: -.55rem;
    border-radius: 50%;
    border: 1.5px solid #c5cdd9;
    background: #fff;
    transition: border .2s ease;
}

.al-pay .custom-radio-box input:hover + .card {
    border-color: #c9d6e6 !important;
}

.al-pay .custom-radio-box input:checked + .card {
    border-color: var(--al-primary) !important;
    background: linear-gradient(0deg, rgba(41, 128, 185, .04), rgba(41, 128, 185, .04)), #fff;
    box-shadow: 0 0 0 3px rgba(41, 128, 185, .12);
}

.al-pay .custom-radio-box input:checked + .card::before {
    border: 5px solid var(--al-primary);
}

.al-pay .custom-radio-box input:focus-visible + .card {
    outline: 2px solid var(--al-primary);
    outline-offset: 2px;
}

.al-pay .custom-radio-box .card-title {
    font-size: .95rem;
    font-weight: 600;
    color: var(--al-ink);
}

.al-pay-option-note {
    margin-top: .1rem;
    font-size: .8rem;
    color: var(--al-muted);
}

.al-pay .custom-radio-box-main-text {
    font-size: 1.1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--al-ink);
}

.al-pay .custom-radio-box-main-icon {
    font-size: 1.1rem;
    color: var(--al-muted);
}

.al-pay .payment-price-savings .badge {
    padding: .3rem .55rem;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 700;
    color: #1e8449;
    background: #e8f8ef;
}

.al-pay-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.al-pay-aside > h2 {
    font-size: .8rem !important;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--al-muted);
}

.al-pay-aside > h2 i {
    display: none;
}

.al-pay-aside > .card {
    border: 1px solid var(--al-line);
    border-radius: 16px;
    box-shadow: var(--al-shadow);
    overflow: hidden;
}

.al-pay-summary-plan {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: -.25rem 0 1.25rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--al-line);
}

.al-pay-summary-plan-icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    color: #fff;
    background: var(--al-gradient);
}

.al-pay-summary-plan-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.al-pay-summary-plan-text span {
    font-size: .75rem;
    color: var(--al-muted);
}

.al-pay-summary-plan-text strong {
    font-size: 1.05rem;
    color: var(--al-ink);
}

.al-pay-summary-plan a {
    font-size: .82rem;
    font-weight: 600;
}

.al-pay-summary-rows {
    font-size: .875rem;
}

.al-pay-summary-rows small {
    font-size: .75rem;
}

.al-pay-aside .card-footer {
    padding: 1.1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--al-line);
}

.al-pay-aside .card-footer > .d-flex:first-child {
    align-items: baseline;
    font-size: 1.05rem;
}

.al-pay-aside .card-footer > .d-flex:first-child #summary_total {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
    color: var(--al-ink);
}

.al-pay-aside .card-footer .btn-lg {
    height: 52px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
}

.al-pay-aside #code_button {
    height: 40px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--al-muted);
    border: 1px dashed #cfd7e3 !important;
    border-radius: 10px;
    background: transparent;
}

.al-pay-aside #code_button:hover {
    color: var(--al-ink);
    background: var(--al-soft);
}

.al-pay-included-toggle .al-when-expanded,
.al-pay-included-toggle.collapsed .al-when-collapsed {
    display: inline;
}

.al-pay-included-toggle .al-when-collapsed,
.al-pay-included-toggle.collapsed .al-when-expanded {
    display: none;
}

.al-pay-consent {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin-bottom: 0;
    font-size: .76rem;
    line-height: 1.45;
    color: var(--al-muted);
    cursor: pointer;
}

.al-pay-consent input {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: .1rem;
    accent-color: var(--al-ink, #101828);
    cursor: pointer;
}

.al-pay-legal {
    margin: .75rem 0 0;
    font-size: .72rem;
    line-height: 1.45;
    text-align: center;
    color: #98a2b3;
}

.al-pay-legal a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #d0d5dd;
    text-underline-offset: 2px;
}

.al-pay-legal a:hover {
    color: var(--al-muted);
}

.al-pay-included-card {
    margin: 0 .5rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--al-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--al-shadow-sm);
}

.al-pay-included-card .al-pay-included-title {
    display: none;
}

.al-pay-included-card .al-pay-included-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    margin-bottom: 0;
}

.al-pay-included-card .collapse .al-pay-included-list,
.al-pay-included-card .collapsing .al-pay-included-list {
    padding-top: 0;
}

.al-pay-included-card .al-pay-included-toggle {
    display: inline-block;
    margin-top: .6rem;
}

.al-pay-included-compare {
    display: inline-block;
    margin: .6rem 0 0 1.25rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--al-muted);
}

.al-pay-included-compare:hover {
    color: var(--al-ink);
    text-decoration: none;
}

.al-pay-included-toggle + .al-pay-included-compare {
    margin-left: 1.25rem;
}

.al-pay-included > .al-pay-included-list + .al-pay-included-compare {
    margin-left: 0;
}

@media (max-width: 575.98px) {
    .al-pay-included-card .al-pay-included-list { grid-template-columns: 1fr; }
}

.al-pay-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem 1.75rem;
    margin: 3rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--al-line);
    font-size: .82rem;
    color: var(--al-muted);
}

.al-pay-trust i {
    margin-right: .25rem;
    color: var(--al-primary);
}

.al-pay-trust strong {
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .al-pay-title { font-size: 1.4rem; }
    .al-pay-progress li:not(.is-active) { font-size: 0; gap: 0; }
    .al-pay .custom-radio-box .card-body { padding-left: 2.75rem; }
}

.al-pay-reassurance {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .35rem 1.1rem;
    margin-top: .85rem;
    font-size: .8rem;
    font-weight: 500;
    color: var(--gray-600);
}

.al-pay-reassurance i {
    color: #27ae60;
}

.al-pay-included-title {
    margin-bottom: .75rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.al-pay-included-list {
    margin: 0 0 .75rem;
    padding: 0;
    list-style: none;
}

.al-pay-included-list li {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    padding: .3rem 0;
    font-size: .9rem;
    font-weight: 500;
}

.al-pay-included-list i {
    font-size: .75rem;
    color: var(--primary);
}

.al-pay-included-toggle {
    font-size: .85rem;
    font-weight: 600;
}

.al-pay-included-toggle i {
    transition: transform .2s;
}

.al-pay-included-toggle:not(.collapsed) i {
    transform: rotate(180deg);
}

/* =========================================================
   Colour system: one action colour (brand blue), neutral greys,
   the blue → purple gradient only as a fine brand detail
   ========================================================= */
.al-btn {
    transition: background-color .2s var(--al-ease), border-color .2s var(--al-ease), box-shadow .2s var(--al-ease), color .2s var(--al-ease), transform .2s var(--al-ease);
}

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

.al-btn-primary,
.al-btn-accent {
    color: #fff !important;
    background: var(--al-primary);
    box-shadow: 0 1px 2px rgba(14, 21, 38, .12), 0 8px 20px -12px rgba(41, 128, 185, .55);
}

.al-btn-primary:hover,
.al-btn-accent:hover {
    background: var(--al-primary-dark);
    box-shadow: 0 1px 2px rgba(14, 21, 38, .14), 0 12px 24px -12px rgba(41, 128, 185, .6);
}

.al-btn-outline {
    color: var(--al-ink) !important;
    border-color: var(--al-line);
    background: #fff;
}

.al-btn-outline:hover {
    color: var(--al-ink) !important;
    border-color: #cfd6e0;
    background: var(--al-soft);
}

.al-gradient-text {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: var(--al-navy);
}

/* =========================================================
   Onboarding, premium pass
   ========================================================= */
.al-ob-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

.al-ob-stepper {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: .35rem;
    list-style: none;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--al-line), 0 6px 18px -12px rgba(14, 21, 38, .2);
}

.al-ob-stepper li {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .85rem .35rem .4rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--al-muted-2);
    transition: background-color .25s var(--al-ease), color .25s var(--al-ease);
}

.al-ob-stepper li.is-active {
    color: var(--al-navy);
    background: var(--al-soft);
}

.al-ob-stepper li.is-done {
    color: var(--al-ink-2);
    cursor: pointer;
}

.al-ob-stepper li.is-done:hover {
    background: var(--al-soft);
}

.al-ob-stepper-dot {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: .7rem;
    color: var(--al-muted-2);
    box-shadow: inset 0 0 0 1.5px currentColor;
    transition: background-color .25s var(--al-ease), color .25s var(--al-ease), box-shadow .25s var(--al-ease);
}

.al-ob-stepper-dot b { font-weight: 700; }
.al-ob-stepper-dot :is(i, svg) { display: none; width: .6rem; font-size: .6rem; }

.al-ob-stepper li.is-active .al-ob-stepper-dot {
    color: #fff;
    background: var(--al-primary);
    box-shadow: none;
}

.al-ob-stepper li.is-done .al-ob-stepper-dot {
    color: #fff;
    background: #16a34a;
    box-shadow: none;
}

.al-ob-stepper li.is-done .al-ob-stepper-dot b { display: none; }
.al-ob-stepper li.is-done .al-ob-stepper-dot :is(i, svg) { display: block; }

.al-ob-layout {
    align-items: center;
    align-content: center;
}

.al-ob-form {
    border: 1px solid var(--al-line);
    box-shadow: 0 1px 2px rgba(14, 21, 38, .04), 0 30px 60px -40px rgba(14, 21, 38, .3);
}

.al-ob-kicker {
    color: var(--al-muted);
}

.al-ob-title {
    color: var(--al-navy);
}

.al-ob-enter-hint {
    font-size: .8rem;
    color: var(--al-muted-2);
}

.al-ob-enter-hint kbd {
    margin-left: .2rem;
    padding: .15rem .45rem;
    border-radius: .4rem;
    font-family: inherit;
    font-size: .75rem;
    font-weight: 600;
    color: var(--al-ink-2);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--al-line), 0 1px 0 var(--al-line);
}

@media (max-width: 991.98px) {
    .al-ob-enter-hint { display: none; }
}

/* Live preview */
.al-ob-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.al-ob-live {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--al-muted);
}

.al-phone {
    position: relative;
    background: #1c2233;
    box-shadow: 0 1px 2px rgba(14, 21, 38, .08), 0 50px 80px -40px rgba(41, 85, 140, .45), inset 0 0 0 1.5px #3a4256;
}

.al-phone-island {
    position: absolute;
    top: 24px;
    left: 50%;
    z-index: 2;
    width: 92px;
    height: 26px;
    border-radius: 99px;
    background: #0b0f1a;
    transform: translateX(-50%);
}

.al-pv-link.is-placeholder {
    color: transparent !important;
    background: rgba(255, 255, 255, .38) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
    user-select: none;
}

/* Done */
.al-ob-done {
    text-align: center;
}

.al-ob-done .al-ob-subtitle {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.al-ob-done-check {
    display: inline-block;
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
}

.al-ob-done-check svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.al-ob-done-check circle {
    stroke: #16a34a;
    stroke-width: 2.5;
    fill: #f0fdf4;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: al-ob-draw .6s .1s cubic-bezier(.65, 0, .35, 1) forwards;
}

.al-ob-done-check path {
    stroke: #16a34a;
    stroke-width: 3.5;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: al-ob-draw .4s .6s cubic-bezier(.65, 0, .35, 1) forwards;
}

@keyframes al-ob-draw {
    to { stroke-dashoffset: 0; }
}

.al-ob-share {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .4rem .4rem 1.1rem;
    border: 1px solid var(--al-line);
    border-radius: 1rem;
    background: var(--al-soft);
}

.al-ob-share-url {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    font-weight: 600;
    color: var(--al-navy);
}

.al-ob-share-copy {
    flex-shrink: 0;
    border-radius: .75rem;
    background: #fff;
    border: 1px solid var(--al-line);
}

.al-ob-share-copy.is-copied {
    color: #16a34a;
    border-color: #bbf7d0;
}

.al-ob-done .al-ob-actions {
    justify-content: center;
}

.al-ob-done .al-ob-actions .btn-lg {
    margin-left: 0;
}

@media (max-width: 767.98px) {
    .al-ob-header { grid-template-columns: auto 1fr; }
    .al-ob-stepper-name { display: none; }
    .al-ob-stepper li { padding: .3rem; }
    .al-ob-stepper { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
    .al-ob-done-check circle, .al-ob-done-check path { animation: none; stroke-dashoffset: 0; }
}

/* =========================================================
   Upsell language (shared): one "Pro" badge, neutral locks that warm up on hover
   ========================================================= */
.al-pro-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .55rem;
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--al-navy);
    background: linear-gradient(90deg, #eef6fc, #f6effa);
    box-shadow: inset 0 0 0 1px rgba(41, 128, 185, .14);
    white-space: nowrap;
}

.al-pro-badge :is(i, svg) {
    color: #8e44ad;
    font-size: .65rem;
}

/* Onboarding done: share row + stacked actions */
.al-ob-share {
    padding-left: .9rem;
    gap: .6rem;
}

.al-ob-share-icon {
    flex-shrink: 0;
    font-size: .8rem;
    color: var(--al-muted);
}

.al-ob-share-copy {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .8rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--al-navy);
    white-space: nowrap;
    transition: border-color .2s ease, color .2s ease;
}

.al-ob-share-copy :is(i, svg) {
    font-size: .8rem;
    color: var(--al-muted);
}

.al-ob-share-copy:hover {
    color: var(--al-primary);
    border-color: rgba(41, 128, 185, .4);
}

.al-ob-share-copy:hover :is(i, svg) {
    color: var(--al-primary);
}

.al-ob-done-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    margin-top: 1.5rem;
}

.al-ob-done-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .7rem 1.6rem;
    white-space: nowrap;
}

.al-ob-done-actions .btn-primary :is(i, svg) {
    font-size: .85rem;
    transition: transform .2s ease;
}

.al-ob-done-actions .btn-primary:hover :is(i, svg) {
    transform: translateX(3px);
}

.al-ob-done-hint {
    margin: -.3rem 0 0;
    max-width: 22rem;
    font-size: .85rem;
    color: var(--al-muted);
    text-align: center;
}

.al-ob-done-view {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--al-muted) !important;
    white-space: nowrap;
    text-decoration: none !important;
}

.al-ob-done-view :is(i, svg) {
    font-size: .75rem;
}

.al-ob-done-view:hover {
    color: var(--al-primary) !important;
}

/* Brand lockup (mark + wordmark) */
.al-lockup {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    line-height: 1;
}

.al-lockup-mark {
    width: 1.2em;
    height: 1.2em;
    border-radius: 28%;
    flex-shrink: 0;
}

a:hover > .al-lockup .al-lockup-mark,
a.al-lockup:hover .al-lockup-mark {
    transform: rotate(-8deg) scale(1.06);
}

.al-lockup-mark {
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

@media (prefers-reduced-motion: reduce) {
    .al-lockup-mark { transition: none; }
}

/* Onboarding: availability inside the address field */
.al-ob-url-badge {
    display: flex;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
    gap: .3rem;
    margin-right: .6rem;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.al-ob-url-badge:empty { display: none; }
.al-ob-url-badge :is(i, svg) { font-size: .7rem; }

.al-ob-url.is-success .al-ob-url-badge {
    font-weight: 600;
    color: #16a34a;
    animation: al-ob-pop .25s var(--al-ease, ease) both;
}

.al-ob-url.is-error .al-ob-url-badge {
    padding: .3rem .6rem;
    border-radius: 99px;
    background: rgba(220, 38, 38, .08);
    color: #dc2626;
    animation: al-ob-pop .25s var(--al-ease, ease) both;
}

.al-ob-url.is-error,
.al-ob-url.is-error:focus-within {
    border-color: #fca5a5;
    box-shadow: none;
}

.al-ob-url-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--al-line);
    border-top-color: var(--al-primary);
    border-radius: 50%;
    animation: al-ob-spin .7s linear infinite;
}

@keyframes al-ob-spin { to { transform: rotate(360deg); } }
@keyframes al-ob-pop { from { opacity: 0; transform: scale(.85); } }

.al-ob-url-status:empty { min-height: 0; margin: 0; }
.al-ob-url-status.is-error { margin: .25rem 0 0; }

/* Onboarding: discreet custom domain hint under the address field */
.al-ob-domain-tip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: .9rem 0 0;
    font-size: .82rem;
    color: var(--al-muted) !important;
    text-decoration: none !important;
}

.al-ob-domain-tip-icon {
    display: inline-flex;
    flex-shrink: 0;
    font-size: .75rem;
    color: var(--al-muted);
}

.al-ob-domain-tip-text b {
    font-weight: 600;
    color: var(--al-navy);
}

.al-ob-domain-tip-arrow {
    flex-shrink: 0;
    font-size: .65rem;
    opacity: 0;
    transform: translateX(-3px);
    transition: opacity .2s ease, transform .2s ease;
}

a.al-ob-domain-tip:hover {
    color: var(--al-primary) !important;
}

a.al-ob-domain-tip:hover .al-ob-domain-tip-arrow {
    opacity: 1;
    transform: none;
}

/* Onboarding: import from Linktree (discreet link that unfolds) */
.al-ob-import {
    margin-top: .9rem;
}

.al-ob-import-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: .85rem;
    color: var(--al-muted);
    cursor: pointer;
}

.al-ob-import-toggle:focus {
    outline: 0;
}

.al-ob-import-toggle :is(i, svg) {
    font-size: .75rem;
    color: var(--al-primary);
}

.al-ob-import-toggle b {
    font-weight: 600;
    color: var(--al-primary);
}

.al-ob-import-toggle:hover b {
    text-decoration: underline;
}

.al-ob-import.is-open .al-ob-import-toggle {
    display: none;
}

.al-ob-import-body {
    display: none;
    padding: 1rem;
    border: 1px solid rgba(41, 128, 185, .25);
    border-radius: 16px;
    background: #fff;
    animation: al-ob-pop .25s var(--al-ease, ease) both;
}

.al-ob-import.is-open .al-ob-import-body {
    display: block;
}

.al-ob-import-field {
    display: flex;
    gap: .5rem;
}

.al-ob-import-field input {
    flex: 1;
    min-width: 0;
    height: 2.75rem;
    padding: 0 .9rem;
    border: 1px solid #e0e5f2;
    border-radius: 12px;
    font-size: .95rem;
    color: var(--al-navy);
    background: var(--al-canvas, #f7f8fb);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.al-ob-import-field input:focus {
    outline: 0;
    border-color: var(--al-primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--al-primary-soft, #eef6fc);
}

.al-ob-import-field .btn {
    flex-shrink: 0;
    height: 2.75rem;
    padding: 0 1.2rem;
    border-radius: 12px;
}

.al-ob-import-field .btn.is-loading {
    opacity: .7;
    pointer-events: none;
}

.al-ob-import-status {
    margin: .6rem 0 0;
    font-size: .8rem;
    color: var(--al-muted);
}

.al-ob-import-status.is-error {
    color: #dc2626;
}

.al-ob-import-status.is-success {
    font-weight: 500;
    color: #15803d;
}

.al-ob-import-status.is-success i {
    margin-right: .25rem;
}

/* Success flash: floating toast instead of a green system bar */
.al-toast {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    left: 50%;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: .65rem;
    max-width: calc(100vw - 2rem);
    padding: .6rem 1.1rem .6rem .6rem;
    border-radius: 14px;
    background: rgba(14, 21, 38, .94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.35;
    color: #fff;
    box-shadow: 0 18px 40px -12px rgba(14, 21, 38, .45);
    transform: translateX(-50%);
    pointer-events: none;
    animation: al-toast 4.6s cubic-bezier(.22, 1, .36, 1) both;
}

.al-toast a { color: #93c5fd; }

.al-toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(74, 222, 128, .16);
    font-size: .72rem;
    color: #4ade80;
}

@keyframes al-toast {
    0% { opacity: 0; transform: translate(-50%, -12px) scale(.97); }
    8%, 85% { opacity: 1; transform: translate(-50%, 0) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -8px); visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
    .al-toast { animation-timing-function: steps(1, end); }
}

/* Onboarding: live preview behind a floating toggle on phones/tablets */
.al-ob-preview-fab,
.al-ob-preview-close {
    display: none;
}

@media (max-width: 991.98px) {
    .al-ob-layout {
        padding-bottom: 6.5rem;
    }

    body:not(.al-ob-preview-open) .al-ob-preview {
        display: none;
    }

    body.al-ob-preview-open {
        overflow: hidden;
    }

    body.al-ob-preview-open .al-ob-preview {
        position: fixed;
        inset: 0;
        z-index: 1045;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .75rem;
        padding: calc(3.5rem + env(safe-area-inset-top)) 1rem calc(5.5rem + env(safe-area-inset-bottom));
        background: rgba(11, 20, 55, .55);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        animation: al-ob-preview-in .25s ease;
    }

    body.al-ob-preview-open .al-ob-live {
        color: rgba(255, 255, 255, .8);
    }

    body.al-ob-preview-open .al-phone {
        width: min(320px, calc((100dvh - 11rem) * .5), 86vw);
        height: min(640px, calc(100dvh - 11rem));
        border-radius: 2.6rem;
        padding: 10px;
    }

    .al-ob-preview-close {
        position: absolute;
        top: calc(.75rem + env(safe-area-inset-top));
        right: .75rem;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .16);
        color: #fff;
    }

    body.al-ob-preview-open .al-ob-preview-close {
        display: flex;
    }

    .al-ob-preview-fab {
        position: fixed;
        left: 50%;
        bottom: calc(1rem + env(safe-area-inset-bottom));
        z-index: 1046;
        display: inline-flex;
        align-items: center;
        gap: .6rem;
        height: 50px;
        padding: 0 1.3rem 0 .45rem;
        border: 0;
        border-radius: 999px;
        background: #0e1526;
        color: #fff;
        font-size: .95rem;
        font-weight: 600;
        white-space: nowrap;
        box-shadow: 0 14px 30px -12px rgba(11, 20, 55, .6);
        transform: translateX(-50%);
    }

    .al-ob-preview-fab:focus {
        outline: none;
    }

    .al-ob-preview-fab-thumb {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, .85);
        background: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
        background-size: cover !important;
        background-position: center !important;
    }

    .al-ob-preview-fab-close,
    body.al-ob-preview-open .al-ob-preview-fab-open {
        display: none;
    }

    body.al-ob-preview-open .al-ob-preview-fab-close {
        display: inline;
    }

    body.al-ob-preview-open .al-ob-preview-fab {
        background: #fff;
        color: #0e1526;
    }

    /* The success step has its own share actions */
    body.al-ob-is-done .al-ob-preview-fab {
        display: none;
    }
}

@keyframes al-ob-preview-in {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* No glow halo around focused fields or open menus: the border colour is enough */
.form-control:focus,
.custom-select:focus,
.custom-file-input:focus ~ .custom-file-label,
.select2-container--focus .select2-selection,
.select2-container--open .select2-selection,
.btn:focus,
.btn.focus,
.btn:not(:disabled):not(.disabled):active:focus,
.btn:not(:disabled):not(.disabled).active:focus,
.page-link:focus,
.custom-control-input:focus ~ .custom-control-label::before,
.modal-content .form-control:focus,
.al-auth-card .form-control:focus,
.al-auth-card .btn-primary:focus,
.al-ob-url:focus-within,
.al-ob-social:focus-within,
.al-ob-import-field input:focus,
.al-dn-search:focus-within,
.al-block-picker-input:focus,
.al-blog-search input:focus,
.al-site-tools #search .form-control:focus,
.al-claim-field:focus-within {
    box-shadow: none !important;
}

.form-control:focus,
.custom-select:focus,
.select2-container--focus .select2-selection,
.select2-container--open .select2-selection {
    border-color: var(--al-primary, #2980b9) !important;
}

.btn:focus-visible,
.page-link:focus-visible {
    outline: 2px solid var(--al-primary, #2980b9);
    outline-offset: 2px;
}

/* Onboarding: steps done and "copied" in brand blue; green stays for "address available" and the final success */
.al-ob-stepper li.is-done .al-ob-stepper-dot { background: var(--al-primary, #2980b9); border-color: var(--al-primary, #2980b9); }
.al-ob-share-copy.is-copied { border-color: rgba(41, 128, 185, .4); background: #e3f0fa; color: #1f6fa8; }

/* Onboarding preview: links keep their height; a long list fades out at the bottom instead of being squeezed */
.al-pv-links {
    flex: 1 1 auto;
    min-height: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent);
    mask-image: linear-gradient(180deg, #000 85%, transparent);
}

.al-pv-link { flex-shrink: 0; }
.al-pv-avatar, .al-pv-name, .al-pv-description, .al-pv-socials, .al-pv-url { flex-shrink: 0; }

/* Linktree import capped by the free blocks limit */
.al-ob-import-limit { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .75rem; margin-top: .6rem; padding: .7rem .85rem; border-radius: 12px; background: #f5f9fd; border: 1px solid rgba(31, 122, 194, .25); color: var(--al-ink, #0f172a); font-size: .82rem; line-height: 1.45; }
.al-ob-import-limit > span { flex: 1 1 220px; }
.al-ob-import-limit .btn { flex-shrink: 0; border-radius: 10px; font-weight: 600; white-space: nowrap; }
.al-ob-import-limit > .fa-gift, .al-ob-import-limit > svg { color: var(--al-primary, #1f7ac2); flex-shrink: 0; }
