:root {
    --surface: #ffffff;
    --surface-soft: #f7fafc;
    --surface-tint: #eef8f7;
    --border-soft: #dde6ef;
    --brand: #16b8a5;
    --brand-dark: #08796f;
    --navy: #142033;
    --text-strong: #111827;
    --text-muted: #667085;
    --focus-ring: 0 0 0 4px rgba(22, 184, 165, .16);
    --card-shadow: 0 18px 42px rgba(15, 23, 42, .08);
    --lift-shadow: 0 24px 68px rgba(15, 23, 42, .12);
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.site-body,
.admin-body {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(244, 248, 252, .95) 46%, #eef3f8),
        radial-gradient(circle at 0 0, rgba(22, 184, 165, .14), transparent 360px),
        radial-gradient(circle at 100% 18%, rgba(230, 169, 62, .10), transparent 280px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    min-height: 74px;
    padding: 12px 0;
    backdrop-filter: blur(18px);
}

.site-header::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: 74px;
    z-index: -1;
    background: rgba(255, 255, 255, .78);
    border-bottom: 1px solid rgba(221, 230, 239, .75);
}

.brand,
.admin-brand {
    min-width: 0;
}

.brand-mark {
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(22, 184, 165, .22);
}

.site-nav {
    padding: 4px;
    border: 1px solid rgba(221, 230, 239, .78);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.site-nav a {
    border-radius: 999px;
    font-weight: 750;
}

.site-nav a:hover {
    background: var(--surface-tint);
}

.nav-toggle {
    background: rgba(255, 255, 255, .85);
    border-color: rgba(221, 230, 239, .95);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.header-user-menu {
    position: relative;
    margin-left: auto;
}

.header-user-menu summary {
    list-style: none;
}

.header-user-menu summary::-webkit-details-marker {
    display: none;
}

.header-user-toggle {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    border: 1px solid rgba(22, 184, 165, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.header-user-toggle:hover,
.header-user-menu[open] .header-user-toggle {
    transform: translateY(-1px);
    border-color: rgba(22, 184, 165, .48);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}

.header-user-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(135deg, #31dac8, #15b69e);
    color: #06231f;
    font-size: 13px;
    font-weight: 900;
}

.header-user-avatar.large {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 14px;
}

.header-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 120;
    width: min(320px, calc(100vw - 28px));
    padding: 10px;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
    transform-origin: top right;
}

.header-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f7fdfc, #f8fafc);
    border: 1px solid rgba(221, 230, 239, .82);
}

.header-user-copy {
    min-width: 0;
}

.header-user-copy strong,
.header-user-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-user-copy strong {
    color: var(--text-strong);
    font-size: 15px;
    font-weight: 850;
}

.header-user-copy small {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 12px;
}

.header-user-nav {
    display: grid;
    gap: 4px;
    margin-top: 8px;
}

.header-user-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    color: #344054;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 750;
}

.header-user-nav a:hover {
    color: var(--brand-dark);
    background: var(--surface-tint);
}

.header-user-nav .logout-link {
    color: #9f1239;
    border-top: 1px solid var(--border-soft);
    border-radius: 0 0 12px 12px;
    margin-top: 4px;
}

.header-user-nav .logout-link:hover {
    color: #9f1239;
    background: #fff1f3;
}

.upload-hero {
    position: relative;
    grid-template-columns: minmax(0, .94fr) minmax(380px, 500px);
    gap: clamp(26px, 5vw, 56px);
    align-items: center;
    padding: clamp(28px, 5vw, 70px) 0 20px;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    max-width: 760px;
    color: var(--text-strong);
    font-size: clamp(38px, 5.5vw, 70px);
    line-height: .98;
    font-weight: 900;
}

.hero-text {
    max-width: 640px;
    margin: 22px 0 18px;
    color: #536174;
    font-size: clamp(16px, 1.6vw, 19px);
}

.hero-facts {
    margin-top: 16px;
}

.hero-facts span {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
}

.hero-process {
    width: min(100%, 620px);
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hero-process span {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #344054;
    background: rgba(255, 255, 255, .74);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
    font-weight: 750;
}

.hero-process i {
    color: var(--brand-dark);
}

.upload-panel {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-color: rgba(196, 210, 225, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--lift-shadow);
}

.upload-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), #e6a93e);
}

.upload-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.upload-panel-head h2 {
    color: var(--text-strong);
    font-size: 22px;
    line-height: 1.12;
}

.upload-state-pill {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    color: var(--brand-dark);
    background: var(--surface-tint);
    border: 1px solid rgba(22, 184, 165, .22);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.drop-zone {
    min-height: 220px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(238, 248, 247, .94)),
        repeating-linear-gradient(135deg, rgba(22, 184, 165, .05) 0, rgba(22, 184, 165, .05) 8px, transparent 8px, transparent 16px);
    border-radius: 14px;
}

.drop-zone:hover,
.drop-zone.dragging {
    box-shadow: var(--focus-ring);
}

.file-list,
.upload-options,
.upgrade-note {
    border-radius: 12px;
}

.upload-options summary {
    min-height: 46px;
}

.primary-button {
    min-height: 46px;
    border-radius: 12px;
}

.trust-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.trust-band > div {
    min-height: 132px;
    align-content: start;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border-soft);
    box-shadow: var(--card-shadow);
}

.trust-band i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    color: var(--brand-dark);
    background: var(--surface-tint);
    border-radius: 10px;
}

.trust-band strong {
    color: var(--text-strong);
}

.trust-band span {
    margin-top: 6px;
    line-height: 1.5;
}

.panel,
.file-table-card,
.share-link-panel,
.metric-card,
.profile-identity-panel,
.profile-settings-panel,
.access-panel,
.modal-card {
    border-radius: 16px;
    border-color: var(--border-soft);
    box-shadow: var(--card-shadow);
}

.metric-card {
    min-height: 126px;
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 20px;
    overflow: hidden;
}

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

.metric-card strong {
    color: var(--text-strong);
    font-size: clamp(24px, 3vw, 38px);
    letter-spacing: 0;
}

.admin-body {
    background: #eef3f8;
}

.admin-shell {
    gap: 0;
    min-height: 100vh;
}

.admin-sidebar {
    border-right: 1px solid rgba(221, 230, 239, .86);
    background: linear-gradient(180deg, #172033 0, #13253b 54%, #0f1a2b 100%);
    box-shadow: none;
}

.admin-sidebar .brand-mark {
    box-shadow: none;
}

.admin-nav a,
.admin-sidebar-footer a {
    min-height: 44px;
    border-radius: 12px;
}

.admin-nav a.active,
.admin-nav a:hover,
.admin-sidebar-footer a:hover {
    color: #ffffff;
    background: rgba(22, 184, 165, .18);
    border-color: rgba(22, 184, 165, .32);
}

.admin-main {
    padding: clamp(20px, 3vw, 34px);
}

.admin-topbar {
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.admin-topbar h1 {
    color: var(--text-strong);
    font-size: clamp(28px, 3vw, 42px);
}

.admin-user {
    min-height: 38px;
    padding: 8px 12px;
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
}

.section-head h2,
.panel h2,
.profile-settings-head h2 {
    color: var(--text-strong);
}

.admin-file-table {
    overflow: hidden;
}

.admin-file-table table {
    border-collapse: separate;
    border-spacing: 0;
}

.admin-file-table th {
    color: #667085;
    background: #f8fafc;
    font-size: 12px;
    letter-spacing: .02em;
}

.admin-file-table tr:hover td {
    background: #fbfefd;
}

.tab-list,
.subtab-list {
    gap: 8px;
    padding: 6px;
    background: #f2f6fa;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
}

.tab-button,
.subtab-button {
    min-height: 38px;
    border-radius: 10px;
    font-weight: 800;
}

.tab-button.is-active,
.subtab-button.is-active {
    color: var(--brand-dark);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

@media (max-width: 920px) {
    .site-header::before {
        height: 70px;
    }

    .site-nav {
        border-radius: 18px;
    }

    .header-user-dropdown {
        position: fixed;
        top: 82px;
        right: 14px;
        left: 14px;
        width: auto;
    }

    .upload-hero {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 22px;
    }

    .hero-copy h1 {
        font-size: clamp(34px, 9vw, 48px);
    }

    .hero-process {
        grid-template-columns: 1fr;
    }

    .trust-band {
        grid-template-columns: 1fr;
    }

    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        background: transparent;
        border-right: 0;
    }

    .admin-sidebar-head {
        min-height: 70px;
        padding: 12px 18px;
        background: rgba(255, 255, 255, .86);
        border-bottom: 1px solid var(--border-soft);
        backdrop-filter: blur(16px);
    }

    .admin-menu.is-open {
        width: min(100% - 28px, 390px);
        height: auto;
        max-height: calc(100dvh - 28px);
        inset: 14px 14px auto auto;
        padding: 14px;
        border-radius: 18px;
        background: #142033;
        box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    }
}

@media (max-width: 620px) {
    .site-main {
        padding-bottom: 34px;
    }

    .upload-panel {
        padding: 14px;
        border-radius: 16px;
    }

    .upload-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .upload-state-pill {
        width: fit-content;
    }

    .drop-zone {
        min-height: 178px;
    }

    .hero-facts span,
    .hero-process span {
        min-height: 42px;
    }

    .admin-main {
        padding: 16px 14px 28px;
    }

    .admin-topbar {
        padding: 14px;
    }

    .metric-card {
        min-height: 108px;
        padding: 16px;
    }
}

/* Public transfer surface inspired by modern file-transfer tools. */
.site-body:not(.admin-body) {
    background:
        linear-gradient(180deg, #ffffff 0 74px, transparent 74px),
        linear-gradient(180deg, #c8d8ff 0, #dce7ff 58%, #edf4ff 100%);
}

.site-body .site-header {
    width: 100%;
    min-height: 74px;
    padding: 0 clamp(18px, 5vw, 72px);
    display: grid;
    grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
    gap: 16px;
    background: #ffffff;
    border-bottom: 1px solid rgba(20, 32, 51, .08);
    box-shadow: none;
}

.site-body .site-header::before {
    display: none;
}

.site-body .brand {
    grid-column: 2;
    justify-self: center;
}

.site-body .brand-mark {
    width: 46px;
    height: 36px;
    color: #ffffff;
    background: #111827;
    border-radius: 14px 14px 10px 10px;
    box-shadow: none;
}

.site-body .brand strong {
    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.site-body .brand small {
    display: none;
}

.site-body .nav-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 48px;
    height: 48px;
    color: #333333;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 26px;
}

.site-body .header-auth-link {
    grid-column: 3;
    justify-self: end;
    color: #2f3137;
    text-decoration: none;
    font-size: 18px;
    font-weight: 850;
    white-space: nowrap;
}

.site-body .site-nav {
    position: fixed;
    inset: 100px auto auto 28px;
    z-index: 110;
    width: min(430px, calc(100vw - 56px));
    display: grid;
    gap: 0;
    padding: 24px 28px;
    border: 0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(42, 69, 130, .24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.site-body .site-nav:not(.is-open) {
    display: none;
}

.site-body .site-nav.is-open {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.site-body .site-nav a {
    min-height: 62px;
    display: flex;
    align-items: center;
    padding: 0;
    color: #2f3137;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(20, 32, 51, .08);
    border-radius: 0;
    box-shadow: none;
    font-size: 22px;
    font-weight: 850;
}

.site-body .site-nav a:first-child {
    color: #3468f6;
}

.site-body .site-nav a:last-child {
    border-bottom: 0;
}

.site-body .header-user-menu {
    grid-column: 3;
    justify-self: end;
}

.site-body .site-main {
    width: 100%;
    padding: 0 0 42px;
}

.transfer-desktop-scene {
    width: min(100% - 48px, 1280px);
    min-height: calc(100vh - 150px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
    gap: clamp(52px, 8vw, 118px);
    align-items: center;
    padding: clamp(54px, 8vh, 96px) 0 42px;
}

.transfer-stage {
    position: relative;
    width: min(100%, 430px);
    margin: 0;
    padding-top: 0;
}

.transfer-stage .upload-panel {
    position: relative;
    z-index: 1;
    padding: 18px;
    border: 0;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(42, 69, 130, .20);
}

.transfer-stage .upload-panel::before {
    display: none;
}

.transfer-stage .upload-panel-head {
    align-items: center;
    margin-bottom: 12px;
}

.transfer-stage .upload-panel-head h1 {
    color: #111111;
    font-size: 22px;
    line-height: 1.15;
}

.transfer-stage .eyebrow {
    color: #3468f6;
}

.transfer-mode {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
}

.transfer-mode a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #333333;
    border-radius: 9px;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
}

.transfer-mode .is-active {
    color: #3468f6;
    background: #dfe8ff;
}

.transfer-stage .drop-zone {
    min-height: 260px;
    padding: 28px 22px;
    color: #171717;
    background: #e2ebff;
    border: 0;
    border-radius: 14px;
}

.transfer-stage .drop-zone strong {
    margin-top: 10px;
    font-size: 24px;
}

.transfer-stage .drop-zone span:not(.drop-plus) {
    max-width: 320px;
    color: #2f3137;
    font-size: 17px;
    line-height: 1.45;
    text-align: center;
}

.drop-plus {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #3468f6;
    border-radius: 999px;
    font-size: 28px;
}

.transfer-stage .file-list,
.transfer-stage .upload-options,
.transfer-stage .upgrade-note {
    border: 1px solid #dfe5ef;
    background: #ffffff;
}

.transfer-stage .upgrade-note {
    color: #343942;
}

.request-panel[hidden],
[data-transfer-panel][hidden],
[data-transfer-story][hidden],
[data-transfer-note][hidden] {
    display: none !important;
}

.request-panel {
    margin-top: 0;
}

.request-login-card {
    min-height: 296px;
    display: grid;
    place-items: center;
    gap: 14px;
    padding: 28px 18px;
    color: #171717;
    background: #e2ebff;
    border-radius: 16px;
    text-align: center;
}

.request-login-card strong {
    max-width: 320px;
    font-size: 22px;
    line-height: 1.16;
}

.request-login-card span:not(.drop-plus) {
    max-width: 330px;
    color: #3d4656;
    line-height: 1.45;
}

.request-create-form {
    display: grid;
    gap: 12px;
}

.request-create-form label,
.request-upload-form label:not(.drop-zone) {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.request-create-form input,
.request-create-form textarea,
.request-create-form select,
.request-upload-form input,
.request-upload-form textarea,
.request-upload-form select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    color: #111827;
    background: #ffffff;
    border: 1px solid #dfe5ef;
    border-radius: 12px;
    font: inherit;
}

.request-create-form textarea {
    resize: vertical;
}

.compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-share-link {
    margin-bottom: 14px;
}

.register-card {
    width: min(100%, 680px);
}

.register-section {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dfe5ef;
    border-radius: 14px;
    background: #f8fbff;
}

.register-section > strong {
    color: #111827;
    font-size: 14px;
}

.required-field > span:first-child b,
.terms-row b {
    color: #dc2626;
    font-weight: 900;
}

.field-status {
    min-height: 18px;
    color: #667085;
    font-size: 12px;
    font-weight: 750;
}

.field-status.is-checking {
    color: #3468f6;
}

.field-status.is-success {
    color: #047857;
}

.field-status.is-danger {
    color: #b91c1c;
}

.login-card input.is-valid {
    border-color: rgba(4, 120, 87, .42);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .12);
}

.login-card input.is-invalid {
    border-color: rgba(220, 38, 38, .42);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .10);
}

.suggestion-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-chip {
    min-height: 30px;
    padding: 5px 10px;
    color: #1d4ed8;
    background: #eef4ff;
    border: 1px solid #c7d7fe;
    border-radius: 999px;
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.field-label-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.field-help-popover {
    position: relative;
}

.field-help-popover summary {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    color: #3468f6;
    background: #eef4ff;
    border: 1px solid #c7d7fe;
    border-radius: 999px;
    cursor: pointer;
    list-style: none;
}

.field-help-popover summary::-webkit-details-marker {
    display: none;
}

.field-help-popover > span {
    position: absolute;
    right: 0;
    z-index: 4;
    width: min(280px, 78vw);
    margin-top: 8px;
    padding: 12px;
    color: #344054;
    background: #ffffff;
    border: 1px solid #dfe5ef;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
    font-size: 13px;
    line-height: 1.45;
}

.captcha-row {
    display: flex;
    justify-content: center;
    min-height: 78px;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.terms-row {
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid #dfe5ef;
    border-radius: 14px;
    background: #ffffff;
}

.transfer-stage .primary-button {
    min-height: 56px;
    color: #ffffff;
    background: #3468f6;
    border-radius: 16px;
    box-shadow: none;
    font-size: 18px;
}

.transfer-stage .primary-button:disabled {
    color: #98a4b8;
    background: #edf2f7;
    cursor: not-allowed;
}

.transfer-note {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.transfer-note span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    color: #30415f;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 999px;
    font-weight: 750;
}

.transfer-story-panel {
    min-height: 560px;
    display: grid;
    align-content: center;
    justify-items: start;
    padding: clamp(34px, 6vw, 72px);
    color: #ffffff;
    border-radius: 42px;
    background:
        linear-gradient(135deg, rgba(20, 32, 51, .78), rgba(20, 32, 51, .18)),
        radial-gradient(circle at 80% 24%, rgba(255, 255, 255, .38), transparent 0 120px),
        radial-gradient(circle at 72% 40%, rgba(52, 104, 246, .38), transparent 0 240px),
        linear-gradient(145deg, #386df4, #8fb2ff 54%, #dce7ff);
    box-shadow: 0 36px 110px rgba(42, 69, 130, .23);
    overflow: hidden;
}

.transfer-story-panel .eyebrow {
    color: rgba(255, 255, 255, .82);
}

.transfer-story-panel h2 {
    max-width: 680px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 78px);
    line-height: .95;
    font-weight: 950;
    letter-spacing: 0;
}

.transfer-story-panel p:not(.eyebrow) {
    max-width: 560px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.4;
}

.story-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.story-metrics span {
    min-width: 170px;
    display: grid;
    gap: 4px;
    padding: 16px;
    color: #111827;
    background: rgba(255, 255, 255, .88);
    border-radius: 18px;
}

.story-metrics strong {
    font-size: 22px;
}

.story-metrics small {
    color: #536174;
    font-weight: 750;
}

.site-body .trust-band {
    width: min(100%, 900px);
    margin: 0 auto clamp(32px, 5vw, 62px);
}

.site-body .site-footer {
    width: min(100% - 32px, 1120px);
}

@media (min-width: 921px) {
    .site-body .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 920px) {
    .transfer-desktop-scene {
        width: min(100% - 28px, 1120px);
        min-height: 0;
        display: block;
        padding: 56px 0 0;
    }

    .transfer-stage {
        width: min(100%, 500px);
        margin: 0 auto;
    }

    .transfer-story-panel {
        display: none;
    }
}

@media (max-width: 620px) {
    .site-body .site-header {
        min-height: 64px;
        padding: 0 14px;
        grid-template-columns: 50px minmax(0, 1fr) auto;
    }

    .site-body .brand span:last-child {
        display: none;
    }

    .site-body .brand-mark {
        width: 42px;
        height: 32px;
    }

    .site-body .header-auth-link {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 16px;
    }

    .site-body .site-nav {
        inset: 82px 20px auto 20px;
        width: auto;
        padding: 20px 24px;
    }

    .site-body .site-nav a {
        min-height: 58px;
        font-size: 20px;
    }

    .transfer-mode a {
        min-height: 42px;
        gap: 6px;
        font-size: 14px;
    }

    .site-body .site-main {
        width: min(100% - 28px, 1120px);
        padding-top: 56px;
    }

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

    .transfer-desktop-scene {
        width: 100%;
        padding: 0;
    }

    .transfer-stage {
        width: min(100%, 500px);
        margin: 0 auto;
        padding-top: 0;
    }

    .transfer-stage .upload-panel {
        padding: 14px;
        border-radius: 24px;
    }

    .transfer-stage .upload-panel-head h1 {
        font-size: 20px;
    }

    .transfer-stage .drop-zone {
        min-height: 258px;
        padding: 26px 18px;
    }

    .transfer-stage .drop-zone strong {
        font-size: 24px;
    }

    .transfer-stage .drop-zone span:not(.drop-plus) {
        font-size: 18px;
    }

    .transfer-note {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-body .trust-band {
        margin-top: 44px;
    }
}
