:root {
    --bg: #050403;
    --bg-soft: #0b0705;
    --panel: rgba(15, 9, 6, .82);

    --text: #f5eee9;
    --muted: #aa9b92;

    --accent: #df824d;
    --accent-soft: #f29a65;
    --accent-deep: #8f4729;

    --line: rgba(223,130,77,.22);
    --line-soft: rgba(255,255,255,.07);

    --max: 1180px;

    --shadow:
        0 24px 70px rgba(0,0,0,.42);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 82% 14%,
            rgba(223,130,77,.09),
            transparent 28%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(223,130,77,.05),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #020202 0%,
            #080503 52%,
            #030202 100%
        );

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

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

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

button,
input {
    font: inherit;
}

/* =========================================================
   WRAPPER
========================================================= */

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(
        calc(100% - 28px),
        var(--max)
    );

    margin-inline: auto;
}

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

.site-header {
    border-bottom:
        1px solid var(--line-soft);
}

.header-inner {
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;
}

.logo-link {
    flex: 0 0 auto;
}

.logo {
    width: 76px;
    height: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.top-btn {
    min-height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 11px;

    border-radius: 8px;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.top-btn:hover {
    transform: translateY(-1px);
}

.top-btn-login {
    border:
        1px solid rgba(255,255,255,.11);

    background:
        rgba(255,255,255,.025);

    color:
        #d9cdc6;
}

.top-btn-register {
    border:
        1px solid var(--accent);

    background:
        var(--accent-soft);

    color:
        #1c0d06;
}

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

.hero {
    flex: 1;

    display: flex;
    align-items: center;

    padding:
        48px
        0
        58px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;

    gap: 40px;

    align-items: center;
}

.hero-copy {
    min-width: 0;
}

.eyebrow {
    margin-bottom: 16px;

    color: var(--accent-soft);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .19em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;

    max-width: 780px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(42px, 13vw, 66px);

    line-height:
        .99;

    font-weight:
        400;

    letter-spacing:
        -.035em;

    overflow-wrap:
        break-word;
}

.hero-title .accent {
    color:
        var(--accent-soft);
}

.hero-description {
    max-width:
        610px;

    margin:
        22px
        0
        0;

    color:
        var(--muted);

    font-size:
        clamp(15px, 4vw, 17px);

    line-height:
        1.65;
}

.hero-description strong {
    color:
        #eadfd8;

    font-weight:
        500;
}

/* =========================================================
   SIDE BLOCK
========================================================= */

.hero-side {
    width: 100%;

    padding:
        24px;

    border:
        1px solid var(--line);

    border-radius:
        18px;

    background:
        linear-gradient(
            150deg,
            rgba(223,130,77,.07),
            rgba(5,4,3,.42)
        );

    box-shadow:
        var(--shadow);
}

.hero-side-label {
    margin-bottom:
        12px;

    color:
        var(--accent);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .2em;

    text-transform:
        uppercase;
}

.hero-side-title {
    margin:
        0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(28px, 8vw, 38px);

    line-height:
        1.08;

    font-weight:
        400;
}

.hero-side-text {
    margin:
        15px
        0
        0;

    color:
        #95877e;

    font-size:
        14px;

    line-height:
        1.6;
}

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

.site-footer {
    border-top:
        1px solid var(--line-soft);
}

.footer-inner {
    min-height:
        72px;

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    flex-direction:
        column;

    gap:
        14px;

    padding:
        18px
        0;
}

.footer-values {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        17px;
}

.footer-values span {
    position:
        relative;

    color:
        #766a63;

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        .13em;

    text-transform:
        uppercase;
}

.footer-values span:not(:last-child)::after {
    content:
        "•";

    position:
        absolute;

    right:
        -12px;

    color:
        var(--accent);
}

.footer-brand {
    color:
        #5f554f;

    font-size:
        10px;

    letter-spacing:
        .16em;
}

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

.auth-page {
    min-height:
        100vh;

    display:
        grid;

    place-items:
        center;

    padding:
        18px;
}

.auth-card {
    width:
        min(
            100%,
            430px
        );

    padding:
        28px 20px;

    border:
        1px solid var(--line);

    border-radius:
        20px;

    background:
        rgba(10,7,5,.88);

    box-shadow:
        var(--shadow);
}

.auth-logo {
    width:
        88px;

    margin:
        0 auto 24px;
}

.auth-title {
    margin:
        0 0 9px;

    text-align:
        center;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(32px, 9vw, 40px);

    line-height:
        1.05;

    font-weight:
        400;
}

.auth-subtitle {
    margin:
        0 auto 26px;

    max-width:
        330px;

    color:
        var(--muted);

    text-align:
        center;

    font-size:
        14px;

    line-height:
        1.55;
}

.form-group {
    margin-bottom:
        15px;
}

.form-label {
    display:
        block;

    margin-bottom:
        7px;

    color:
        #cabdb5;

    font-size:
        12px;

    font-weight:
        700;
}

.form-input {
    width:
        100%;

    min-height:
        48px;

    padding:
        0 14px;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius:
        10px;

    outline:
        none;

    background:
        rgba(255,255,255,.035);

    color:
        white;

    font-size:
        14px;
}

.form-input:focus {
    border-color:
        rgba(223,130,77,.65);
}

.auth-submit {
    width:
        100%;

    min-height:
        48px;

    margin-top:
        5px;

    border:
        0;

    border-radius:
        10px;

    background:
        var(--accent-soft);

    color:
        #1b0d06;

    font-weight:
        800;

    cursor:
        pointer;
}

.auth-footer {
    margin-top:
        20px;

    color:
        var(--muted);

    text-align:
        center;

    font-size:
        13px;

    line-height:
        1.7;
}

.auth-footer a {
    color:
        var(--accent-soft);

    font-weight:
        700;
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 700px) {

    .container {
        width:
            min(
                calc(100% - 44px),
                var(--max)
            );
    }

    .header-inner {
        min-height:
            84px;
    }

    .logo {
        width:
            88px;
    }

    .top-btn {
        min-height:
            36px;

        padding:
            0 16px;

        font-size:
            12px;
    }

    .hero {
        padding:
            66px
            0
            76px;
    }

    .hero-title {
        font-size:
            clamp(
                54px,
                8vw,
                72px
            );
    }

    .hero-description {
        font-size:
            17px;
    }

    .hero-side {
        max-width:
            520px;

        padding:
            30px;
    }

    .footer-inner {
        flex-direction:
            row;

        align-items:
            center;

        padding:
            0;
    }

    .auth-card {
        padding:
            36px;
    }
}

/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 980px) {

    .header-inner {
        min-height:
            88px;
    }

    .logo {
        width:
            96px;
    }

    .hero {
        padding:
            72px
            0
            88px;
    }

    .hero-grid {
        grid-template-columns:
            minmax(0, 1.45fr)
            minmax(280px, .55fr);

        gap:
            80px;
    }

    .hero-title {
        font-size:
            clamp(
                58px,
                5vw,
                76px
            );
    }

    .hero-side {
        max-width:
            none;

        box-shadow:
            none;

        background:
            transparent;

        border:
            0;

        border-left:
            1px solid var(--line);

        border-radius:
            0;

        padding:
            4px
            0
            4px
            30px;
    }

    .hero-side-title {
        font-size:
            32px;
    }
}

/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {

    .hero-title {
        font-size:
            78px;
    }
}
