/* Hopfile: sending screens (home hero uploader, transfer mockups) */

/* Hero */
.al-send-hero {
    padding: 10.5rem 0 6rem;
}

.al-send-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    align-items: center;
    gap: 5rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.al-send-hero-grid:has(#upload_header.d-none) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1040px;
}

.al-send-hero .al-hero-title {
    margin: 1rem 0 1.25rem;
    font-size: clamp(2.4rem, 5vw, 4rem);
    text-align: left;
}

.al-send-hero .al-hero-subtitle {
    margin: 0 0 2rem;
    max-width: 520px;
    text-align: left;
}

.al-send-proof,
.al-send-list {
    display: grid;
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--al-ink);
    font-weight: 500;
}

.al-send-proof li,
.al-send-list li {
    position: relative;
    padding-left: 2rem;
}

/* Font Awesome swaps the <i> for an <svg> */
.al-send-proof li > :is(i, svg):first-child,
.al-send-list li > :is(i, svg):first-child {
    position: absolute;
    top: .1rem;
    left: 0;
    box-sizing: border-box;
    width: 1.35rem;
    height: 1.35rem;
    padding: .34rem;
    border-radius: 50%;
    font-size: .65rem;
    color: var(--al-primary);
    background: var(--al-primary-soft);
}

.al-send-list {
    margin: 1.5rem 0 1.75rem;
}

/* Uploader card */
.al-uploader {
    position: relative;
    padding: 1.25rem;
    border: 1px solid var(--al-line);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 0 0 8px rgba(15, 127, 107, .06), var(--al-shadow);
    transition: box-shadow .2s var(--al-ease), border-color .2s var(--al-ease);
}

.al-uploader.upload-drag-over-active {
    border-color: var(--al-primary);
    box-shadow: 0 0 0 8px rgba(15, 127, 107, .16), var(--al-shadow);
}

.al-uploader > .card-body {
    padding: 0;
}

.al-uploader .mt-5:has(> #upload_previews_wrapper.d-none) {
    margin-top: 0 !important;
}

.al-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    padding: 2.75rem 1.5rem 2.25rem;
    border: 2px dashed #cfe5df;
    border-radius: 1.1rem;
    text-align: center;
    background: linear-gradient(180deg, #fbfefd, #f3faf8);
}

#upload_previews_wrapper:not(.d-none) ~ .al-drop,
.al-uploader:has(#upload_previews_wrapper:not(.d-none)) .al-drop {
    min-height: 0;
    padding: 1rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.al-uploader:has(#upload_previews_wrapper:not(.d-none)) .al-drop-icon,
.al-uploader:has(#upload_previews_wrapper:not(.d-none)) .al-drop-title {
    display: none;
}

.al-drop-icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #16a085, #0f7f6b);
    box-shadow: 0 12px 24px -12px rgba(15, 127, 107, .6);
}

.al-drop-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--al-navy);
}

.al-drop-folder {
    padding: 0;
    border: 0;
    background: none;
    font-size: .9rem;
    font-weight: 600;
    color: var(--al-muted);
}

.al-drop-folder:hover {
    color: var(--al-primary);
}

.al-uploader #upload_previews_wrapper {
    margin-top: 1.5rem;
}

.al-uploader #upload_previews_wrapper > .row:first-child > div {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
}

@media (min-width: 992px) {
    .al-send-hero-grid:has(#upload_header.d-none) #upload_previews_wrapper > .row:first-child > div:not(*) {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.al-uploader #upload_previews_wrapper .row.mt-5 > div {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
}

.al-uploader .submit-transfer-button {
    padding: .85rem 1rem;
    border-radius: 10px;
    font-weight: 700;
}

/* How it works */
.al-send-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.al-send-step {
    padding: 1.5rem;
    border: 1px solid var(--al-line);
    border-radius: 1.25rem;
    background: #fff;
}

.al-send-step h3 {
    margin: .75rem 0 .5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--al-navy);
}

.al-send-step p {
    margin: 0;
    color: var(--al-muted);
    line-height: 1.6;
}

.al-send-step-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 250px;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: var(--al-gradient-soft);
}

.al-send-stats {
    margin: 3rem 0 0;
    text-align: center;
    color: var(--al-muted);
    font-size: 1.05rem;
}

.al-send-stats strong {
    color: var(--al-navy);
}

/* Options grid */
.al-send-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.al-send-option {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: .6rem;
    padding: 1.5rem;
    border: 1px solid var(--al-line);
    border-radius: 1.25rem;
    background: #fff;
}

/* icon sits beside the title, no tile */
.al-send-option-icon {
    display: inline-flex;
    color: var(--al-primary);
}

.al-send-option p {
    grid-column: 1 / -1;
    margin-top: .5rem !important;
}

.al-send-option h3 {
    margin-bottom: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--al-navy);
}

.al-send-option p {
    margin: 0;
    color: var(--al-muted);
    font-size: .95rem;
    line-height: 1.55;
}

/* Frames for split mockups */
.al-send-frame {
    display: grid;
    place-items: center;
    min-height: 440px;
    padding: 2rem;
}

.al-send-frame .al-tv {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
}

.al-send-cta-visual {
    display: grid;
    place-items: center;
    padding: 2rem 3rem 2rem 0;
}

.al-send-cta-visual .al-tv {
    width: 100%;
    max-width: 340px;
    transform: rotate(2deg);
}

/* Transfer mockups */
.al-tv {
    font-size: .85rem;
    color: var(--al-ink);
    text-align: left;
}

.al-tv-card {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    width: 100%;
    max-width: 320px;
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--al-shadow-soft);
}

.al-tv-card.is-page {
    align-items: center;
    gap: .55rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.al-tv-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: .4rem;
    border-bottom: 1px solid var(--al-line);
}

.al-tv-head strong {
    color: var(--al-navy);
}

.al-tv-head small,
.al-tv-file small,
.al-tv-row small,
.al-tv-log small {
    color: var(--al-muted);
}

.al-tv-file {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .6rem;
    width: 100%;
    padding: .5rem .6rem;
    border: 1px solid var(--al-line);
    border-radius: .7rem;
    text-align: left;
    overflow: hidden;
}

.al-tv-file i {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: .5rem;
    color: var(--al-primary);
    background: rgba(15, 127, 107, .08);
}

.al-tv-file b {
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.al-tv-file em {
    position: absolute;
    left: 0;
    bottom: 0;
    width: var(--progress);
    height: 3px;
    background: var(--al-primary);
}

.al-tv-seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: .25rem;
    border-radius: .7rem;
    background: var(--al-soft);
}

.al-tv-seg b {
    padding: .4rem;
    border-radius: .5rem;
    text-align: center;
    font-weight: 600;
    color: var(--al-muted);
}

.al-tv-seg b.is-active {
    color: var(--al-navy);
    background: #fff;
    box-shadow: var(--al-shadow-sm);
}

.al-tv-row,
.al-tv-log {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .65rem;
    padding: .35rem 0;
}

.al-tv-row > i,
.al-tv-log > i {
    width: 1rem;
    color: var(--al-primary);
    text-align: center;
}

.al-tv-row span,
.al-tv-log span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    font-weight: 600;
}

.al-tv-toggle {
    position: relative;
    width: 2rem;
    height: 1.15rem;
    border-radius: 999px;
    background: #d5dbe4;
}

.al-tv-toggle::after {
    content: "";
    position: absolute;
    top: .15rem;
    left: .15rem;
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
}

.al-tv-toggle.is-on {
    background: var(--al-primary);
}

.al-tv-toggle.is-on::after {
    transform: translateX(.85rem);
}

.al-tv-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .5rem; border-top: 1px solid var(--al-line); }
.al-tv-chips > span { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border: 1px solid var(--al-line); border-radius: 999px; font-size: .75rem; font-weight: 600; color: var(--al-muted); }
.al-tv-chips > span.is-on { border-color: rgba(15, 127, 107, .35); color: var(--al-primary-dark); background: var(--al-primary-soft); }

.al-tv-code { display: flex; flex-direction: column; padding: .75rem .85rem; border-radius: .7rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; line-height: 1.6; color: #cbd5e1; background: var(--al-navy); white-space: nowrap; overflow: hidden; }
.al-tv-code b { font-weight: 500; color: #5eead4; }

.al-tv-button {
    display: block;
    width: 100%;
    margin-top: .25rem;
    padding: .65rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    background: var(--al-primary);
}

.al-tv-button.is-dark {
    background: var(--al-navy);
}

.al-tv-total {
    color: var(--al-muted);
}

.al-tv-total strong {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--al-navy);
    letter-spacing: -.03em;
}

.al-tv-spark {
    width: 100%;
    height: 38px;
}

.al-tv-spark path {
    fill: none;
    stroke: var(--al-primary);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.al-tv-toast {
    position: absolute;
    right: -.5rem;
    bottom: -.5rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--al-navy);
    background: #fff;
    box-shadow: var(--al-shadow);
    white-space: nowrap;
}

.al-tv-toast i {
    color: var(--al-primary);
}

.al-tv-toast.is-success i {
    color: #16a34a;
}

.al-send-step-visual .al-tv-toast {
    right: .75rem;
    bottom: .75rem;
}

.al-tv-brand {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    font-size: 1.1rem;
    color: #fff;
    background: #1d2433;
}

.al-tv-brand.is-rose {
    background: #e2779a;
}

.al-tv-title {
    font-size: 1.1rem;
    color: var(--al-navy);
    line-height: 1.25;
}

.al-tv-text,
.al-tv-expiry {
    color: var(--al-muted);
}

.al-tv-expiry {
    font-size: .75rem;
}

.al-tv-drop {
    width: 100%;
    margin: .4rem 0;
    padding: 1.1rem;
    border: 2px dashed #cfe5df;
    border-radius: .8rem;
    font-weight: 700;
    color: var(--al-primary);
    background: #f6fbfa;
}

.al-tv-received {
    display: grid;
    width: 100%;
    gap: .35rem;
}

.al-tv-received span {
    display: flex;
    justify-content: space-between;
    padding: .45rem .65rem;
    border-radius: .6rem;
    background: var(--al-soft);
}

.al-tv-received small {
    color: var(--al-muted);
}

.al-tv-browser {
    width: 100%;
    max-width: 380px;
    border-radius: 1rem;
    background: #f1f4f8;
    box-shadow: var(--al-shadow-lg);
    overflow: hidden;
}

.al-tv-browser .al-tv-card {
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.al-tv-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .8rem;
}

.al-tv-dots {
    display: flex;
    gap: .3rem;
}

.al-tv-dots i {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: #cfd6e0;
}

.al-tv-url {
    flex: 1;
    overflow: hidden;
    padding: .3rem .6rem;
    border-radius: 999px;
    font-size: .75rem;
    color: var(--al-muted);
    background: #fff;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.al-tv-url i {
    margin-right: .25rem;
    color: #16a34a;
}

.al-tv-url b {
    color: var(--al-navy);
}

@media (max-width: 991.98px) {
    .al-send-hero {
        padding: 8.5rem 0 3.5rem;
    }

    .al-send-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
        padding-left: 15px;
        padding-right: 15px;
    }

    .al-send-hero .al-hero-title,
    .al-send-hero .al-hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .al-send-hero-text .al-kicker {
        display: table;
        margin: 0 auto;
    }

    .al-send-proof {
        justify-content: center;
    }

    .al-send-steps,
    .al-send-options {
        grid-template-columns: 1fr;
    }

    .al-send-frame {
        min-height: 0;
        padding: 1.5rem 0;
    }

    .al-send-cta-visual {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .al-send-options {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer: sibling product */
.al-footer-sibling {
    margin-top: -.25rem;
    font-size: .85rem;
    color: var(--al-muted);
}

.al-footer-sibling a {
    font-weight: 600;
    color: var(--al-ink);
    text-decoration: underline;
    text-decoration-color: var(--al-line);
    text-underline-offset: 3px;
}

/* Hero figures. The note shares this block, so it reveals with the numbers and never on its own. */
.al-send-figures {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    margin-bottom: 1.75rem;
}

.al-send-figures-row {
    display: flex;
    gap: 2.5rem;
}

.al-send-figures-row > div {
    display: flex;
    flex-direction: column;
}

.al-send-figures strong {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--al-navy);
}

.al-send-figures span {
    color: var(--al-muted);
    font-weight: 500;
}

.al-send-figures-note {
    margin: 0;
    font-size: .9rem;
    color: var(--al-muted);
}

/* Steps: same height visuals, aligned titles */
.al-send-step-visual {
    height: 300px;
    min-height: 0;
    overflow: hidden;
}

.al-send-step-visual .al-tv-toast {
    display: none;
}

.al-send-step-num {
    color: var(--al-primary);
}

/* Comparison */
.al-send-compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--al-line);
    border-radius: 1.25rem;
    background: #fff;
}

.al-send-compare {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.al-send-compare th,
.al-send-compare td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--al-line);
    text-align: left;
    vertical-align: top;
    color: var(--al-ink);
}

.al-send-compare tbody tr:last-child th,
.al-send-compare tbody tr:last-child td {
    border-bottom: 0;
}

.al-send-compare thead th {
    font-size: .95rem;
    font-weight: 700;
    color: var(--al-navy);
}

.al-send-compare thead th .al-brand-lockup,
.al-send-compare thead th svg {
    max-height: 1.6rem;
}

.al-send-compare tbody th {
    width: 22%;
    font-weight: 600;
    color: var(--al-muted);
}

.al-send-compare td small {
    display: block;
    margin-top: .15rem;
    font-size: .8rem;
    color: var(--al-muted);
}

.al-send-compare .is-us {
    background: var(--al-primary-soft);
}

.al-send-compare td.is-us strong {
    font-size: 1.15rem;
    color: var(--al-navy);
}

.al-send-compare-source {
    margin: .65rem 0 0;
    padding-left: .25rem;
    font-size: .75rem;
    text-align: left;
    color: var(--al-muted);
}

.al-features-hero .al-proof-chips {
    justify-content: flex-start;
}

.al-send-compare-more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .25rem .5rem;
    width: fit-content;
    max-width: 100%;
    margin: 2.75rem auto 0;
    color: var(--al-ink, #0f172a);
    font-size: 1rem;
    text-align: center;
    text-decoration: none !important;
}

.al-send-compare-more:hover {
    color: var(--al-ink, #0f172a);
}

.al-send-compare-more strong {
    color: var(--al-primary, #3f7f6e);
    font-weight: 700;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: text-decoration-color .2s ease;
}

.al-send-compare-more:hover strong {
    text-decoration-color: currentColor;
}

.al-send-compare-more strong i {
    margin-left: .2rem;
    font-size: .75rem;
    transition: transform .2s ease;
}

.al-send-compare-more:hover strong i {
    transform: translateX(2px);
}

@media (max-width: 575.98px) {
    .al-send-figures-row {
        justify-content: center;
    }

    .al-send-figures-note {
        text-align: center;
    }
}

/* Desktop: the next section shows above the fold, so the page reads as longer than the hero */
@media (min-width: 992px) {
    /* Anchored to the top: opening the uploader options or adding files must not move the text */
    .al-send-hero {
        display: flex;
        align-items: flex-start;
        min-height: calc(100vh - 8rem);
        padding: calc(9rem + max(0px, (100vh - 46rem) / 2)) 0 2rem;
    }

    .al-send-hero > .container {
        width: 100%;
    }

    .al-send-hero-grid {
        align-items: start;
    }

    .al-send-hero + .al-section {
        padding-top: 2rem;
    }

    .al-send-hero .al-drop {
        min-height: 360px;
        justify-content: center;
        padding-top: 3.5rem;
        padding-bottom: 3.25rem;
    }
}

/* Mobile: the uploader right under the title, the figures after it */
@media (max-width: 991.98px) {
    .al-send-hero {
        padding: 7.5rem 0 3rem;
    }

    .al-send-hero-grid {
        gap: 0;
        padding-left: 22px;
        padding-right: 22px;
    }

    .al-uploader {
        padding: 1rem;
        box-shadow: 0 0 0 5px rgba(15, 127, 107, .06), var(--al-shadow);
    }

    .al-uploader .al-drop {
        padding: 2rem 1.25rem 1.75rem;
    }

    .al-send-hero-text:not(.d-none) {
        display: contents;
    }

    .al-send-hero-text .al-kicker,
    .al-send-hero .al-hero-subtitle {
        display: none;
    }

    .al-send-hero .al-hero-title {
        order: 1;
        margin: 0 auto 2rem;
        font-size: clamp(1.9rem, 8vw, 2.4rem);
    }

    .al-send-hero-uploader {
        order: 2;
    }

    .al-send-figures {
        order: 3;
        align-items: center;
        gap: .15rem;
        margin: 1.75rem 0 0;
    }

    .al-send-figures-row {
        justify-content: center;
    }

    .al-send-figures-row > div {
        align-items: center;
        text-align: center;
    }

    .al-send-figures strong {
        font-size: 1.75rem;
    }

    .al-send-figures-note {
        margin: 0;
        text-align: center;
    }

    .al-send-figures-guest {
        display: none;
    }

    .al-features-hero .al-proof-chips {
        order: 3;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .al-features-hero .al-hero-actions {
        order: 3;
        justify-content: center;
        margin-top: 1.75rem;
    }
}

@media (min-width: 992px) {
    .al-features-hero .al-send-hero-text .al-hero-actions {
        justify-content: flex-start;
        margin: 1.75rem 0 0;
    }
}

.al-uploader-hint-note {
    margin-left: .45rem;
    padding-left: .45rem;
    border-left: 1px solid rgba(15, 127, 107, .25);
    font-weight: 500;
    color: var(--al-muted);
}

/* Mockups of the feature pages: password screen, link ready to share */
.al-tv-input {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid var(--al-line);
    border-radius: 10px;
    letter-spacing: .2em;
    text-align: left;
    color: var(--al-navy);
}

.al-tv-ready {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    color: var(--al-navy);
}

.al-tv-ready i {
    display: grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    font-size: .65rem;
    color: #fff;
    background: var(--al-primary);
}

.al-tv-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .35rem .35rem .75rem;
    border: 1.5px solid var(--al-primary);
    border-radius: 12px;
    background: rgba(15, 127, 107, .04);
}

.al-tv-link b {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--al-navy);
}

.al-tv-link em {
    flex: none;
    padding: .4rem .7rem;
    border-radius: 9px;
    font-style: normal;
    font-weight: 700;
    color: #fff;
    background: var(--al-primary);
}

.al-tv-share {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .4rem;
}

.al-tv-share span {
    padding: .45rem .3rem;
    border: 1px solid var(--al-line);
    border-radius: 9px;
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    color: var(--al-navy);
}

/* Uploader settings, once files are added: labelled fields, then options that fold */
.al-up-heading {
    margin: 0 0 .75rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--al-muted);
}

.al-up-heading:not(:first-child) {
    margin-top: 1.5rem;
}

.al-up-label {
    margin-bottom: .35rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--al-navy);
}

.al-up-label small {
    margin-left: .25rem;
    font-weight: 500;
    color: var(--al-muted);
}

.al-up-settings .form-control,
.al-up-settings .custom-select {
    height: auto;
    padding: .6rem .85rem;
    border-radius: 10px;
}

.al-up-url .input-group-text {
    border-radius: 10px 0 0 10px;
    font-size: .875rem;
    color: var(--al-muted);
    background: #f6f8fb;
}

.al-up-url .form-control {
    border-radius: 0 10px 10px 0 !important;
}

.al-up-url.is-locked {
    opacity: .6;
}

.al-up-option {
    border: 1px solid var(--al-line);
    border-radius: 12px;
    background: #fff;
}

.al-up-option ~ .al-up-option {
    margin-top: .5rem;
}

.al-up-option summary {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .75rem .9rem;
    font-weight: 600;
    color: var(--al-navy);
    cursor: pointer;
    list-style: none;
}

.al-up-option summary::-webkit-details-marker {
    display: none;
}

.al-up-option-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    font-size: .85rem;
    color: var(--al-primary);
    background: rgba(15, 127, 107, .08);
}

.al-up-option summary > span {
    flex: 1;
}

.al-up-option summary > small {
    font-size: .82rem;
    font-weight: 500;
    color: var(--al-muted);
}

.al-up-option summary > small.is-set {
    font-weight: 700;
    color: var(--al-primary);
}

.al-up-option summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .7rem;
    color: var(--al-muted);
    transition: transform .2s var(--al-ease);
}

.al-up-option[open] {
    border-color: rgba(15, 127, 107, .35);
}

.al-up-option[open] summary::after {
    transform: rotate(180deg);
}

.al-up-option-body {
    padding: 0 .9rem .95rem;
}

.al-up-more-block + .al-up-more-block,
.al-up-option-body > .form-group + .al-up-more-block {
    margin-top: 1rem;
}

/* Files list next to the settings */
#upload_previews_files > .row:first-child {
    margin: 0 0 .25rem;
    padding: .55rem .25rem .55rem .9rem !important;
    border-radius: 10px;
    background: #f6f8fb !important;
    font-weight: 600 !important;
}

#upload_previews_files > .row:first-child small {
    font-weight: 500;
    color: var(--al-muted);
}

/* Once files are added: list, then the button, then the folded settings */
#upload_previews_wrapper:not(.d-none) {
    display: flex;
    flex-direction: column;
}

#upload_previews_wrapper > .row:first-child {
    display: contents;
}

#upload_previews_wrapper #upload_previews_files {
    order: 1;
    padding: 0;
}

#upload_previews_wrapper > .row.mt-5 {
    order: 3;
    margin: 1rem 0 0 !important;
}

#upload_previews_wrapper > .row.mt-5 > div {
    padding: 0;
}

#upload_previews_wrapper #upload_previews_settings {
    order: 4;
    margin: .85rem 0 0 !important;
    padding: 0;
}

.al-uploader .mt-5:has(> #upload_previews_wrapper:not(.d-none)) {
    margin-top: 1rem !important;
}

#upload_previews_wrapper #upload_previews_basics {
    order: 2;
}

.al-up-basics {
    display: flex;
    flex-direction: column;
    margin-top: .75rem;
    border: 1px solid var(--al-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s var(--al-ease), box-shadow .2s var(--al-ease);
}

.al-up-basics:focus-within {
    border-color: rgba(15, 127, 107, .45);
    box-shadow: 0 0 0 3px rgba(15, 127, 107, .1);
}

.al-up-basics input {
    width: 100%;
    padding: .65rem .9rem;
    border: 0;
    background: transparent;
    color: var(--al-navy);
    outline: 0;
}

.al-up-basics input::placeholder {
    color: var(--al-muted);
    opacity: .8;
}

.al-up-basics-title {
    font-weight: 700;
}

.al-up-basics-message {
    border-top: 1px solid var(--al-line) !important;
    font-size: .88rem;
}

#upload_previews {
    max-height: 168px;
    overflow-y: auto;
}

#upload_previews > .row {
    margin: .4rem 0 !important;
    padding: 0 .25rem 0 .9rem;
    font-size: .9rem;
}

.al-up-customize,
.al-up-email-invite {
    border: 1px solid var(--al-line);
    border-radius: 12px;
}

.al-up-email-invite {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .6rem;
    padding: .7rem .9rem;
    text-decoration: none !important;
    transition: border-color .2s var(--al-ease), background-color .2s var(--al-ease);
}

.al-up-email-invite:hover {
    border-color: rgba(15, 127, 107, .35);
    background: rgba(15, 127, 107, .04);
}

.al-up-email-invite small {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .8rem;
    color: var(--al-muted);
}

.al-up-email-invite::after {
    content: "\f061";
    flex: none;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .7rem;
    color: var(--al-muted);
}

.al-up-customize > summary {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem .9rem;
    cursor: pointer;
    list-style: none;
}

.al-up-customize > summary::-webkit-details-marker {
    display: none;
}

.al-up-customize > summary::after {
    content: "\f078";
    flex: none;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .7rem;
    color: var(--al-muted);
    transition: transform .2s var(--al-ease);
}

.al-up-customize[open] > summary::after {
    transform: rotate(180deg);
}

.al-up-customize-title {
    flex: none;
    font-weight: 700;
    color: var(--al-navy);
}

.al-up-customize-title i,
.al-up-customize-title svg {
    margin-right: .35rem;
    color: var(--al-primary);
}

.al-up-customize > summary small {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .8rem;
    color: var(--al-muted);
}

.al-up-customize-body {
    padding: .25rem .9rem .9rem;
}

.al-up-customize-body .form-group {
    margin-bottom: .85rem !important;
}

.al-up-customize-body .al-up-option {
    border-radius: 10px;
}

.al-up-customize-body .al-up-option summary {
    padding: .55rem .75rem;
}

.al-up-customize-body .al-up-option-icon {
    width: 1.75rem;
    height: 1.75rem;
}

/* Feature cards: fewer than four stay centred */
.al-features-overview-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.al-features-overview-grid > .al-feature-card {
    flex: 0 1 calc((100% - 3.75rem) / 4);
    min-width: 230px;
}

/* Link / e-mail choice: one segmented pill, the chosen side in white */
.al-up-type {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
    padding: 3px;
    border-radius: 10px;
    background: #f1f5f9;
}

.al-up-type label {
    flex: 1;
    margin: 0;
    cursor: pointer;
}

.al-up-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.al-up-type span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    height: 34px;
    border-radius: 7px;
    font-size: .85rem;
    font-weight: 600;
    color: #64748b;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.al-up-type span :is(i, svg) {
    font-size: .75rem;
}

.al-up-type label:hover span {
    color: #0f172a;
}

.al-up-type input:checked + span {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}

.al-up-type input:checked + span :is(i, svg) {
    color: var(--primary);
}

.al-up-type input:focus-visible + span {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
}

/* Notifications: the tools orbiting around Hopfile, on a night band that breaks the white / soft rhythm */
.al-integrations {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, .72);
    background: radial-gradient(circle at 22% 50%, rgba(22, 160, 133, .3), transparent 55%), radial-gradient(circle at 90% 10%, rgba(41, 128, 185, .22), transparent 45%), var(--al-navy);
}

.al-integrations .al-section-title { color: #fff; }
.al-integrations .al-kicker { color: #5eead4; background: rgba(94, 234, 212, .12); }
.al-integrations .al-split-text > p { color: rgba(255, 255, 255, .72); }
.al-integrations .al-send-list { font-weight: 400; color: rgba(255, 255, 255, .72); }
.al-integrations .al-send-list li > :is(i, svg):first-child { color: #5eead4; background: rgba(94, 234, 212, .12); }
.al-integrations-note { margin: 0; font-size: .875rem; color: rgba(255, 255, 255, .55); }
.al-integrations-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.al-integrations .al-link-arrow { color: #5eead4; }

/* Light variant, alone in a hero */
.al-galaxy.is-light .al-galaxy-ring { border-color: rgba(15, 127, 107, .22); }
.al-galaxy.is-light .al-galaxy-logo { box-shadow: 0 0 0 6px rgba(15, 127, 107, .05), 0 12px 28px rgba(14, 21, 38, .12); }
.al-galaxy.is-light .al-galaxy-ping { box-shadow: 0 14px 34px rgba(14, 21, 38, .16); }
.al-galaxy.is-light::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(22, 160, 133, .16), transparent 70%); }

.al-galaxy {
    --orbit: 80s;
    position: relative;
    width: min(100%, 480px);
    aspect-ratio: 1;
    margin: 0 auto;
}

.al-galaxy-ring {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, .16);
    border-radius: 50%;
    animation: al-orbit var(--orbit) linear infinite var(--dir, normal);
}

.al-galaxy-ring.is-inner { inset: 21%; }
.al-galaxy-ring.is-outer { --orbit: 120s; --dir: reverse; inset: 4%; }

.al-galaxy-ring ul { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.al-galaxy-item { position: absolute; inset: 0; transform: rotate(var(--a)); pointer-events: none; }

.al-galaxy-logo {
    position: absolute;
    top: 0;
    left: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    border-radius: 18px;
    font-size: 1.6rem;
    color: var(--c);
    background: #fff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 14px 30px rgba(0, 0, 0, .35);
    transform: rotate(calc(-1 * var(--a)));
    animation: al-orbit-back var(--orbit) linear infinite var(--dir, normal);
    pointer-events: auto;
}

.al-galaxy-logo > svg:not(.svg-inline--fa) { width: 46%; height: 46%; }
.al-galaxy-ping-icon.is-svg { background: #f4f1f4; }
.al-galaxy-ping-icon.is-svg svg { width: 55%; height: 55%; }

.al-galaxy-logo.is-label { width: auto; min-width: 58px; margin-left: -36px; padding: 0 .85rem; font-size: .95rem; font-weight: 800; letter-spacing: -.01em; }

.al-galaxy-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 96px;
    height: 96px;
    margin: -48px 0 0 -48px;
}

.al-galaxy-core img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 28px; box-shadow: 0 18px 45px rgba(22, 160, 133, .45); }

.al-galaxy-core::before,
.al-galaxy-core::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: rgba(94, 234, 212, .35);
    animation: al-core-pulse 3s ease-out infinite;
}

.al-galaxy-core::after { animation-delay: 1.5s; }

.al-galaxy-pings {
    position: absolute;
    top: 66%;
    left: 50%;
    z-index: 2;
    width: max-content;
    max-width: 92%;
    transform: translateX(-50%);
}

.al-galaxy-ping {
    position: absolute;
    top: 0;
    left: 50%;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem .9rem .5rem .5rem;
    border-radius: 999px;
    font-size: .85rem;
    line-height: 1.3;
    color: var(--al-ink);
    white-space: nowrap;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    opacity: 0;
    transform: translate(-50%, 10px);
    animation: al-ping 9s ease-in-out infinite;
}

.al-galaxy-ping:nth-child(2) { animation-delay: 3s; }
.al-galaxy-ping:nth-child(3) { animation-delay: 6s; }
.al-galaxy-ping strong { font-weight: 700; }

.al-galaxy-ping-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: .85rem;
    color: #fff;
    background: var(--c);
}

@keyframes al-orbit { to { rotate: 360deg; } }
@keyframes al-orbit-back { to { rotate: -360deg; } }
@keyframes al-core-pulse { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
@keyframes al-ping {
    0% { opacity: 0; transform: translate(-50%, 10px); }
    5%, 30% { opacity: 1; transform: translate(-50%, 0); }
    35%, 100% { opacity: 0; transform: translate(-50%, -6px); }
}

@media (max-width: 575.98px) {
    .al-galaxy-logo { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 14px; font-size: 1.25rem; }
    .al-galaxy-logo.is-label { min-width: 46px; margin-left: -30px; padding: 0 .6rem; font-size: .8rem; }
    .al-galaxy-core { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
    .al-galaxy-core img, .al-galaxy-core::before, .al-galaxy-core::after { border-radius: 21px; }
    .al-galaxy-ping { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
    .al-galaxy-ring, .al-galaxy-logo, .al-galaxy-core::before, .al-galaxy-core::after { animation: none; }
    .al-galaxy-ping { animation: none; }
    .al-galaxy-ping:first-child { opacity: 1; transform: translate(-50%, 0); }
}
