/* --- Landing page (waiting) --- */
:root {
    --landing-accent: #fd671c;
    --landing-accent-hover: #e55a12;
    --landing-text: #ffffff;
    --landing-muted: rgba(255, 255, 255, 0.72);
    --landing-font: "Inter", system-ui, sans-serif;
    --landing-display: "Syne", var(--landing-font);
}

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

html {
    height: 100%;
}

body.landing {
    margin: 0;
    min-height: 100%;
    font-family: var(--landing-font);
    color: var(--landing-text);
    background-color: #0f0f0f;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.landing__bg {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.landing__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.landing__bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(253, 103, 28, 0.12) 0%, transparent 55%),
        linear-gradient(
            180deg,
            rgba(10, 10, 10, 0.55) 0%,
            rgba(10, 10, 10, 0.72) 45%,
            rgba(10, 10, 10, 0.88) 100%
        );
}

.landing__main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 2.5rem 1.5rem 5rem;
}

.landing__content {
    width: 100%;
    max-width: 36rem;
    text-align: center;
}

@media (min-width: 768px) {
    .landing__content {
        max-width: 80%;
    }
}

.landing__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto 2rem;
}

.landing__logo {
    width: clamp(64px, 12vw, 88px);
    height: auto;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.4));
}

.landing__name {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0;
    line-height: 1.1;
}

.landing__name-main {
    font-family: var(--landing-display);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.landing__name-sub {
    font-size: clamp(0.62rem, 1.4vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--landing-muted);
}

.landing__title {
    margin: 0 0 1.25rem;
    font-family: var(--landing-display);
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

.landing__title-accent {
    color: var(--landing-accent);
}

.landing__text {
    margin: 0 0 2rem;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.65;
    color: var(--landing-muted);
}

/* --- Toast notification --- */
.landing__toast {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    z-index: 200;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: min(92vw, 28rem);
    padding: 1rem 1.15rem;
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translate(-50%, -12px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.landing__toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.landing__toast.is-hiding {
    opacity: 0;
    transform: translate(-50%, -8px);
}

.landing__toast--success {
    color: #ffffff;
    background-color: rgba(26, 26, 26, 0.92);
    border: 1px solid rgba(58, 125, 92, 0.55);
}

.landing__toast--error {
    color: #ffffff;
    background-color: rgba(26, 26, 26, 0.92);
    border: 1px solid rgba(253, 103, 28, 0.45);
}

.landing__toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50%;
}

.landing__toast--success .landing__toast-icon {
    color: #ffffff;
    background-color: #3a7d5c;
}

.landing__toast--error .landing__toast-icon {
    color: #ffffff;
    background-color: var(--landing-accent);
}

.landing__toast-text {
    font-size: 0.92rem;
    line-height: 1.45;
}

.landing__form {
    max-width: 32rem;
    margin-inline: auto;
    text-align: left;
}

.landing__form-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.landing__form-row {
    display: flex;
    gap: 0.5rem;
    padding: 0.35rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    backdrop-filter: blur(12px);
}

.landing__input {
    flex: 1;
    min-width: 0;
    padding: 0.875rem 1rem;
    font-family: var(--landing-font);
    font-size: 1rem;
    color: var(--landing-text);
    background: transparent;
    border: none;
    outline: none;
}

.landing__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.landing__submit {
    flex-shrink: 0;
    padding: 0.875rem 1.25rem;
    font-family: var(--landing-font);
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--landing-accent);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.landing__submit:hover {
    background-color: var(--landing-accent-hover);
}

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

.landing__form-note {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
}

.landing__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.landing__social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.landing__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--landing-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.landing__social-link--linkedin:hover {
    color: #0a66c2;
    border-color: rgba(10, 102, 194, 0.4);
    background-color: rgba(10, 102, 194, 0.12);
}

.landing__social-link--youtube:hover {
    color: #ff0000;
    border-color: rgba(255, 0, 0, 0.4);
    background-color: rgba(255, 0, 0, 0.12);
}

.landing__footer {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.landing__footer p {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 560px) {
    .landing__form-row {
        flex-direction: column;
        padding: 0.5rem;
    }

    .landing__submit {
        width: 100%;
    }
}
