:root {
    --landing-bg: #fcfcfb;
    --landing-bg-soft: #f8f8f7;

    --landing-text: #243744;
    --landing-muted: #74808d;

    --landing-border: rgba(36, 55, 68, 0.07);
    --landing-border-strong: rgba(36, 55, 68, 0.11);

    --landing-accent: #ff6f1f;
    --landing-accent-hover: #ec6618;
    --landing-accent-soft: rgba(255, 111, 31, 0.08);
    --landing-accent-border: rgba(255, 111, 31, 0.18);

    --landing-surface: rgba(255, 255, 255, 0.82);
    --landing-surface-strong: rgba(255, 255, 255, 0.96);

    --landing-shadow-nav: 0 6px 18px rgba(24, 39, 51, 0.035);
    --landing-shadow-soft: 0 10px 24px rgba(24, 39, 51, 0.04);
    --landing-shadow-modal: 0 22px 60px rgba(24, 39, 51, 0.13);

    --landing-radius-pill: 999px;
    --landing-radius-xl: 22px;
    --landing-radius-lg: 16px;
    --landing-radius-md: 12px;
}

body {
    background:
        radial-gradient(circle at top left, rgba(255, 111, 31, 0.035), transparent 24%),
        radial-gradient(circle at top right, rgba(36, 55, 68, 0.02), transparent 18%),
        var(--landing-bg);
}

/* =========================
   BASE
   ========================= */

.landing-main {
    min-height: 100vh;
    padding: 98px 0 0 0;
    color: var(--landing-text);
}

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

/* =========================
   HEADER
   ========================= */

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 60;
    padding: 12px 16px 8px;
    pointer-events: none;
}

.landing-nav {
    width: min(680px, calc(100vw - 32px));
    margin: 0 auto;
    min-height: 58px;
    padding: 7px 10px 7px 12px;
    border-radius: var(--landing-radius-pill);
    background: var(--landing-surface);
    border: 1px solid var(--landing-border);
    box-shadow: var(--landing-shadow-nav);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.landing-brand__dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--landing-accent);
    display: inline-block;
}

.landing-brand__name {
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--landing-text);
}

.landing-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.landing-menu a {
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    color: var(--landing-muted);
    transition: color .18s ease;
}

.landing-menu a:hover {
    color: var(--landing-text);
}

.landing-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 650;
    letter-spacing: -0.012em;
    white-space: nowrap;
    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.landing-btn--ghost {
    background: transparent;
    color: var(--landing-text);
}

.landing-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.62);
    border-color: var(--landing-border);
}

.landing-btn--primary {
    background: rgba(255, 255, 255, 0.52);
    color: var(--landing-accent);
    border-color: var(--landing-accent-border);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    font-weight: 700;
}

.landing-btn--primary:hover {
    background: rgba(255, 111, 31, 0.08);
    border-color: rgba(255, 111, 31, 0.26);
    transform: translateY(-1px);
}

.landing-btn--large {
    min-height: 42px;
    padding: 0 20px;
    font-size: 11.5px;
    font-weight: 700;
}

/* =========================
   HERO
   ========================= */

.landing-hero {
    width: min(980px, 92vw);
    margin: 0 auto;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.landing-hero__inner {
    max-width: 760px;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--landing-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.landing-kicker__dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--landing-accent);
    display: inline-block;
}

.landing-title {
    margin: 0;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.03;
    letter-spacing: -0.07em;
    font-weight: 430;
    color: var(--landing-text);
    text-wrap: balance;
}

.landing-subtitle {
    max-width: 560px;
    margin: 18px auto 0;
    font-size: clamp(13px, 1vw, 16px);
    line-height: 1.52;
    letter-spacing: -0.02em;
    font-weight: 400;
    color: var(--landing-muted);
    text-wrap: balance;
}

.landing-cta {
    margin-top: 26px;
    display: flex;
    justify-content: center;
}

/* =========================
   FOOTER
   ========================= */

.siteFooter {
    margin-top: 0;
    background:
        linear-gradient(to bottom, rgba(247, 247, 245, 0), rgba(255, 255, 255, 0.55)),
        var(--landing-bg);
    border-top: 1px solid rgba(36, 55, 68, 0.045);
}

.siteFooter__inner {
    width: min(980px, 92vw);
    margin: 0 auto;
    padding: 26px 0 32px;
}

.siteFooter__brand {
    display: grid;
    gap: 14px;
    justify-items: center;
    text-align: center;
}

.siteFooter__logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 30% 30%, #ffb27d, transparent 45%),
        linear-gradient(135deg, var(--landing-accent), #ff8f49);
    box-shadow: 0 8px 18px rgba(255, 111, 31, 0.14);
}

.siteFooter__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
}

.siteFooter__link {
    color: var(--landing-muted);
    text-decoration: none;
    font-weight: 650;
    font-size: 11px;
}

.siteFooter__link:hover {
    color: var(--landing-text);
}

.siteFooter__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    align-items: center;
    color: #7f8994;
    font-size: 11px;
    line-height: 1.6;
}

.siteFooter__sep {
    opacity: .42;
}

/* =========================
   AUTH
   ========================= */

.authOverlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 39, 51, 0.30);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 100;
}

.authOverlay:target {
    opacity: 1;
    pointer-events: auto;
}

.authModal {
    width: min(390px, 92vw);
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    padding: 20px 18px;
    border: 1px solid rgba(36, 55, 68, 0.08);
    box-shadow: var(--landing-shadow-modal);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.authClose {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 18px;
    text-decoration: none;
    color: #748091;
    font-weight: 700;
}

.authHeader {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.authLogo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--landing-accent), #ff914c);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 12px;
    box-shadow: 0 8px 18px rgba(255, 111, 31, 0.14);
}

.authTitle {
    margin: 0;
    font-size: 16px;
    letter-spacing: -0.03em;
    color: var(--landing-text);
}

.authSocial {
    display: grid;
    gap: 8px;
}

.authSocialBtn {
    min-height: 38px;
    border-radius: 12px;
    background: #162432;
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    border: none;
    opacity: .98;
}

.authDivider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
    margin: 14px 0;
    font-size: 10px;
    color: var(--landing-muted);
}

.authDivider::before,
.authDivider::after {
    content: "";
    height: 1px;
    background: #e8edf1;
}

.authForm {
    display: grid;
    gap: 8px;
}

.authLabel {
    font-size: 10px;
    font-weight: 800;
    color: var(--landing-muted);
}

.authInput {
    min-height: 40px;
    border-radius: 12px;
    border: 1px solid #e6ebf0;
    padding: 0 12px;
    background: #fff;
    color: var(--landing-text);
    font-size: 11px;
}

.authInput:focus {
    outline: none;
    border-color: rgba(255, 111, 31, 0.28);
    box-shadow: 0 0 0 3px rgba(255, 111, 31, 0.07);
}

.authPrimaryBtn {
    min-height: 42px;
    margin-top: 6px;
    border-radius: 12px;
    border: none;
    background: var(--landing-accent);
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.authPrimaryBtn:hover {
    background: var(--landing-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(255, 111, 31, 0.16);
}

.authForgotLink {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(36, 55, 68, 0.62);
    text-decoration: none;
}

.authForgotLink:hover {
    color: var(--landing-text);
}

.authFooterLinks {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 6px;
    font-size: 10px;
    color: var(--landing-muted);
}

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

.authFooterLinks a:hover {
    color: var(--landing-text);
}

.authError {
    margin-top: 10px;
    padding: 8px 10px;
    background: #fdecea;
    color: #b42318;
    border-radius: 9px;
    font-size: 11px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 980px) {
    .landing-nav {
        width: min(680px, calc(100vw - 24px));
        min-height: 54px;
        padding: 7px 9px 7px 11px;
    }

    .landing-brand__name {
        font-size: 14px;
    }

    .landing-btn {
        min-height: 34px;
        padding: 0 12px;
        font-size: 10px;
    }

    .landing-btn--large {
        min-height: 40px;
        font-size: 11px;
    }

    .landing-title {
        font-size: clamp(30px, 7vw, 48px);
    }

    .landing-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .landing-header {
        padding: 10px 10px 8px;
    }

    .landing-nav {
        width: calc(100vw - 20px);
        border-radius: 20px;
    }

    .landing-brand__name {
        font-size: 13px;
    }

    .landing-menu {
        display: none;
    }

    .landing-btn {
        min-height: 34px;
        padding: 0 11px;
        font-size: 9.5px;
    }

    .landing-title {
        font-size: clamp(28px, 10vw, 40px);
        line-height: 1.08;
    }

    .landing-subtitle {
        font-size: 12.5px;
        line-height: 1.5;
        margin-top: 16px;
    }

    .landing-cta {
        margin-top: 22px;
    }
}