*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #000000;
    --bg-elevated: #0a0a0a;
    --bg-grouped: #111111;
    --fill-primary: rgba(255, 255, 255, 0.06);
    --fill-secondary: rgba(255, 255, 255, 0.04);
    --text: #f5f5f5;
    --text-secondary: #8e8e8e;
    --text-tertiary: #636363;
    --accent: #ffffff;
    --accent-hover: #e8e8e8;
    --accent-dim: rgba(255, 255, 255, 0.14);
    --accent-glow: rgba(255, 255, 255, 0.28);
    --separator: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.06);
    --error: #ff453a;
    --success: #30d158;
    --radius-sm: 10px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 22px;
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
}

html {
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.47;
    background: var(--bg);
    overflow-x: clip;
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1;
    overflow-x: hidden;
    overflow-y: auto;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 70% at 50% -20%, rgba(255, 255, 255, 0.05), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(255, 255, 255, 0.025), transparent),
        radial-gradient(ellipse 50% 40% at 0% 80%, rgba(255, 255, 255, 0.012), transparent);
    pointer-events: none;
}

.sl-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(210, 210, 210, 0.78);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 18px rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transform: translate3d(0, 0, 0) translate(-50%, -50%);
    transition: opacity 0.18s var(--ease), background 0.18s var(--ease);
    mix-blend-mode: normal;
}

.sl-cursor-dot.is-visible {
    opacity: 1;
}

.hero-ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: var(--bg);
}

.hero-ambient::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse 98% 92% at 50% 44%, transparent 28%, rgba(0, 0, 0, 0.48) 68%, rgba(0, 0, 0, 0.9) 100%),
        radial-gradient(ellipse 84% 70% at 50% 46%, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.36) 46%, transparent 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0.88) 100%);
}

.hero-ambient-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 48% 24%;
    display: block;
    transform: scale(1.08);
}

.hero-ambient-blur {
    z-index: 0;
    filter: blur(12px) contrast(1.04) brightness(0.78);
    transform: scale(1.14);
}

.hero-ambient-focus {
    z-index: 1;
    filter: contrast(1.05) brightness(0.82);
    -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 36%, black 30%, transparent 74%);
    mask-image: radial-gradient(ellipse 78% 68% at 50% 36%, black 30%, transparent 74%);
}

#stars-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.28;
    -webkit-mask-image: radial-gradient(
        ellipse min(440px, 92vw) min(560px, 78vh) at 50% 50%,
        transparent 42%,
        black 88%
    );
    mask-image: radial-gradient(
        ellipse min(440px, 92vw) min(560px, 78vh) at 50% 50%,
        transparent 42%,
        black 88%
    );
}

.page {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    padding: 24px;
    animation: enter 0.9s var(--ease-out) both;
}

@keyframes enter {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.logo {
    text-align: center;
    margin-bottom: 44px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-inline: clamp(16px, 4vw, 40px);
    box-sizing: border-box;
}

.logo-mark {
    width: 116px;
    height: auto;
    display: block;
    margin: 0 auto 8px;
    object-fit: contain;
    transition: transform 0.5s var(--ease-out);
}

.logo:hover .logo-mark {
    transform: scale(1.04);
}

.logo h1 {
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
    margin: 0;
}

.logo h1 + .logo-tagline-line {
    margin-top: 22px;
}

.logo-tagline-line {
    color: var(--text);
    font-size: clamp(28px, 6.8vw, 72px);
    font-weight: 500;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.logo-tagline-line + .logo-tagline-line {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.55);
}

.logo-tagline-sub {
    display: block;
    margin: 10px 0 0;
    font-size: clamp(13px, 2.4vw, 17px);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.card {
    background: rgba(8, 8, 8, 0.85);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 28px 28px;
    backdrop-filter: saturate(140%) blur(40px);
    -webkit-backdrop-filter: saturate(140%) blur(40px);
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.06) inset,
        0 20px 60px rgba(0, 0, 0, 0.6);
}

.forms-wrap {
    display: grid;
}

.form-panel {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease-out), visibility 0.45s;
    pointer-events: none;
}

.form-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.form-panel h2 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
    text-align: center;
    line-height: 1.2;
}

.alert {
    padding: 11px 14px;
    border-radius: var(--radius);
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: center;
    animation: alertIn 0.4s var(--ease-out);
}

@keyframes alertIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.alert-error {
    background: rgba(255, 69, 58, 0.14);
    color: #ff6961;
    border: 0.5px solid rgba(255, 69, 58, 0.25);
}

.alert-success {
    background: rgba(48, 209, 88, 0.12);
    color: #4ade80;
    border: 0.5px solid rgba(48, 209, 88, 0.22);
}

.field-group {
    background: var(--fill-primary);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.field-group .field {
    margin-bottom: 0;
    position: relative;
}

.field-group .field + .field::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 0;
    height: 0.5px;
    background: var(--separator);
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 7px;
    padding-left: 2px;
    letter-spacing: -0.01em;
}

.field-group .field label {
    display: none;
}

.field input {
    width: 100%;
    padding: 14px 16px;
    font-size: 17px;
    font-family: inherit;
    letter-spacing: -0.02em;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    outline: none;
    transition: background 0.2s var(--ease);
}

.field:not(.field-group .field) input {
    border-radius: var(--radius);
    background: var(--fill-primary);
    border: 0.5px solid transparent;
}

.field:not(.field-group .field) input:hover {
    background: rgba(255, 255, 255, 0.08);
}

.field input:focus {
    background: rgba(255, 255, 255, 0.09);
}

.field:not(.field-group .field) input:focus {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.field input::placeholder {
    color: var(--text-tertiary);
}

.btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 17px;
    font-weight: 500;
    font-family: inherit;
    letter-spacing: -0.02em;
    color: #000;
    background: var(--accent);
    border: none;
    border-radius: 980px;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.25s var(--ease), transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease);
}

.btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 24px var(--accent-glow);
}

.btn:active {
    transform: scale(0.98);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--accent-dim);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 0.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
    margin-top: 0;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.btn-google:focus-visible {
    box-shadow: 0 0 0 4px var(--accent-dim);
}

.btn-google-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.btn-google-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.google-login-note {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-tertiary);
    text-align: center;
}

.switch {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.switch a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s var(--ease);
}

.switch a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer {
    text-align: center;
    margin-top: 36px;
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: -0.01em;
}

.footer p {
    margin: 0;
}

.footer-impressum {
    display: block;
    margin: 8px auto 0;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 11px;
    color: var(--text-tertiary);
    cursor: pointer;
    letter-spacing: -0.01em;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s var(--ease);
}

.footer-impressum:hover {
    color: var(--text-secondary);
}

.footer-admin-access {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    opacity: 0;
    cursor: default;
    z-index: 5;
}

.privacy-consent {
    margin: 14px 0 0;
    font-size: 11px;
    line-height: 1.45;
    color: var(--text-tertiary);
    text-align: center;
    letter-spacing: -0.01em;
}

.privacy-consent-link {
    display: inline;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    transition: color 0.2s var(--ease);
}

.privacy-consent-link:hover {
    color: var(--text);
}

.impressum-overlay {
    z-index: 15;
}

.impressum-popup {
    max-width: 480px;
    max-height: min(85vh, 720px);
    display: flex;
    flex-direction: column;
    padding-bottom: 28px;
}

.impressum-popup h2 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 18px;
    text-align: center;
    line-height: 1.2;
    flex-shrink: 0;
}

.impressum-body {
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
    text-align: left;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
}

.impressum-body h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin: 20px 0 8px;
    letter-spacing: -0.01em;
}

.impressum-body h3:first-child {
    margin-top: 0;
}

.impressum-body p {
    margin: 0 0 12px;
}

.impressum-body a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.impressum-body a:hover {
    color: var(--accent-hover);
}

.impressum-list {
    margin: 0 0 12px;
    padding-left: 1.15em;
    color: var(--text-secondary);
}

.impressum-list li {
    margin-bottom: 4px;
}

.impressum-list li:last-child {
    margin-bottom: 0;
}

.impressum-stand {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Register Wizard */
.wizard-overlay {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: saturate(120%) blur(20px);
    -webkit-backdrop-filter: saturate(120%) blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.wizard-overlay.open {
    opacity: 1;
    visibility: visible;
}

.wizard-popup {
    width: 100%;
    max-width: 400px;
    background: rgba(8, 8, 8, 0.92);
    border: 0.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 28px 24px;
    box-shadow:
        0 0 0 0.5px rgba(255, 255, 255, 0.08) inset,
        0 24px 80px rgba(0, 0, 0, 0.65);
    transform: scale(0.96) translateY(20px);
    transition: transform 0.5s var(--ease-out);
}

.wizard-overlay.open .wizard-popup {
    transform: scale(1) translateY(0);
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: stepIn 0.45s var(--ease-out);
}

@keyframes stepIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wizard-step h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
    text-align: center;
    line-height: 1.2;
}

.wizard-step .hint {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.wizard-error {
    font-size: 13px;
    color: #ff6961;
    text-align: center;
    margin-bottom: 14px;
    min-height: 18px;
    letter-spacing: -0.01em;
}

.wizard-nav {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.wizard-nav .btn {
    flex: 1;
    margin-top: 0;
}

.btn-ghost {
    background: var(--fill-secondary);
    color: var(--text);
    border: 0.5px solid var(--separator);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.role-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.role-option {
    display: block;
    width: 100%;
    padding: 14px 16px;
    text-align: left;
    font-family: inherit;
    font-size: 17px;
    color: var(--text);
    background: var(--fill-primary);
    border: 0.5px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease-out);
}

.role-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.role-option.selected {
    border-color: var(--accent);
    background: var(--accent-dim);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.role-option:active {
    transform: scale(0.99);
}

.role-option strong {
    display: block;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}

.role-option span {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.wizard-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 0.5px solid var(--separator);
}

.wizard-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.35s var(--ease), transform 0.35s var(--ease-out), width 0.35s var(--ease-out);
}

.wizard-dot.active {
    background: var(--accent);
}

.wizard-close {
    position: fixed;
    top: max(18px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease-out);
}

.wizard-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent);
}

.wizard-close:active {
    transform: scale(0.94);
}

@media (max-width: 768px) {
    .page {
        padding: 20px max(16px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
        padding-top: max(20px, env(safe-area-inset-top, 0px));
    }

    .card,
    .wizard-popup {
        padding: 24px 20px 20px;
        width: 100%;
        max-width: 100%;
    }

    .company-popup {
        max-width: 100%;
        padding: 24px 20px max(18px, env(safe-area-inset-bottom, 0px));
    }

    .wizard-overlay {
        padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
        align-items: flex-end;
    }

    .field input,
    .company-field input,
    .company-field select,
    .company-field textarea {
        font-size: 16px;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 16px max(12px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
        padding-top: max(16px, env(safe-area-inset-top, 0px));
    }

    .card,
    .wizard-popup {
        padding-left: 16px;
        padding-right: 16px;
        border-radius: 18px;
    }

    .wizard-overlay.open .wizard-popup,
    .wizard-popup {
        border-radius: 18px 18px 12px 12px;
        max-height: min(90dvh, 100%);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .logo-tagline-line {
        font-size: clamp(22px, 5.8vw, 36px);
    }

    .logo-tagline-sub {
        font-size: clamp(11px, 2.8vw, 14px);
    }
}

@media (max-width: 420px) {
    .page {
        padding: 20px 16px;
    }

    .hero-ambient-img {
        object-position: 50% 20%;
    }

    .hero-ambient-blur {
        filter: blur(10px) contrast(1.04) brightness(0.76);
        transform: scale(1.16);
    }

    .hero-ambient-focus {
        -webkit-mask-image: radial-gradient(ellipse 82% 72% at 50% 38%, black 26%, transparent 76%);
        mask-image: radial-gradient(ellipse 82% 72% at 50% 38%, black 26%, transparent 76%);
    }

    .hero-ambient::after {
        background:
            radial-gradient(ellipse 100% 94% at 50% 46%, transparent 24%, rgba(0, 0, 0, 0.52) 66%, rgba(0, 0, 0, 0.92) 100%),
            radial-gradient(ellipse 88% 74% at 50% 48%, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.38) 50%, transparent 100%),
            linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.36) 50%, rgba(0, 0, 0, 0.9) 100%);
    }

    .card,
    .wizard-popup {
        padding-left: 20px;
        padding-right: 20px;
    }

    .logo-mark {
        width: 100px;
        margin-bottom: 6px;
    }

    .logo h1 + .logo-tagline-line {
        margin-top: 18px;
    }

    .logo-tagline-line {
        font-size: clamp(22px, 5.8vw, 36px);
        letter-spacing: -0.035em;
    }

    .logo-tagline-sub {
        font-size: clamp(11px, 2.8vw, 14px);
        white-space: normal;
    }

    .logo h1 {
        font-size: 26px;
    }

    .wizard-step h2 {
        font-size: 22px;
    }
}

/* Warteliste */
.waitlist-full {
    text-align: center;
    padding: 8px 0 4px;
}

.waitlist-full h2 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
}

.waitlist-full p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.waitlist-role-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 20px 0 10px;
    letter-spacing: -0.01em;
}

.waitlist-roles {
    margin-bottom: 16px;
}

.waitlist-intro {
    font-size: clamp(12px, 3.2vw, 15px);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 24px;
    text-align: center;
    letter-spacing: -0.01em;
}

.company-overlay {
    z-index: 20;
}

.company-popup {
    max-width: 420px;
    padding: 28px 26px 22px;
}

.company-popup-header {
    text-align: center;
    margin-bottom: 20px;
}

.company-popup-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: var(--accent-dim);
    border: 0.5px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-popup-icon svg {
    width: 26px;
    height: 26px;
    fill: var(--accent);
}

.company-popup h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 6px;
    line-height: 1.2;
}

.company-popup .hint {
    margin-bottom: 0;
}

.company-popup-note {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-tertiary);
    text-align: center;
}

.company-fields-card {
    background: rgba(255, 255, 255, 0.04);
    border: 0.5px solid var(--separator);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.company-field {
    padding: 14px 16px 16px;
}

.company-field + .company-field {
    border-top: 0.5px solid var(--separator);
}

.company-field label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-tertiary);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.company-field input {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-family: inherit;
    letter-spacing: -0.02em;
    border: none;
    border-radius: 0;
    background: none;
    color: var(--text);
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.company-field input:hover,
.company-field input:focus {
    background: none;
    box-shadow: none;
}

.company-field input::placeholder {
    color: var(--text-tertiary);
}

.company-upload-block {
    margin-bottom: 4px;
}

.company-upload-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.company-upload-hint {
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 0 0 10px;
    line-height: 1.4;
}

.company-upload-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 112px;
    padding: 18px 16px;
    border: 1.5px dashed rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.company-upload-drop:hover,
.company-upload-drop.dragover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.company-upload-drop.has-file {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.company-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.company-upload-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--text-secondary);
    transition: fill 0.2s var(--ease);
}

.company-upload-drop.has-file .company-upload-icon svg,
.company-upload-drop:hover .company-upload-icon svg {
    fill: var(--accent);
}

.company-upload-text {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.35;
    max-width: 240px;
    word-break: break-word;
}

.company-upload-drop.has-file .company-upload-text {
    color: var(--accent);
    font-weight: 500;
}

.company-popup-nav {
    margin-top: 18px;
}

#waitlist-panel h2 {
    font-size: clamp(15px, 4.2vw, 22px);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.25;
}
