:root {
    --bg: #060914;
    --panel: rgba(16, 24, 45, 0.86);
    --line: rgba(151, 180, 255, 0.24);
    --text: #f4f7ff;
    --muted: #aab6d7;
    --blue: #70a6ff;
    --cyan: #67f0ff;
    --green: #64ee87;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(820px 460px at 50% -160px, rgba(112, 166, 255, 0.24), transparent 70%),
        linear-gradient(145deg, #050814 0%, #08111f 48%, #050711 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.work-shell {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.work-card {
    position: relative;
    width: min(900px, 100%);
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid var(--line);
    border-radius: 32px;
    background:
        radial-gradient(680px 220px at 50% -90px, rgba(112, 166, 255, 0.18), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.028)),
        var(--panel);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.is-hidden {
    display: none;
}

.close-link {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    text-decoration: none;
    font-size: 28px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.06);
}

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

.eyebrow {
    margin: 0 0 10px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(36px, 7vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.lead {
    max-width: 700px;
    margin: 18px 0 28px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 21px);
    text-wrap: pretty;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 28px 0;
}

.needs-grid article {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-height: 118px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(7, 13, 27, 0.62);
}

.needs-grid img {
    width: 34px;
    height: 34px;
}

.needs-grid p {
    margin: 0;
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 850;
    color: #06101d;
    cursor: pointer;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.btn--primary {
    background: linear-gradient(135deg, #f7fbff 0%, #87b8ff 48%, #64f2ff 100%);
    box-shadow: 0 16px 42px rgba(103, 240, 255, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}

.btn--ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.contact-btn {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 999px;
    text-decoration: none;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 900;
}

.contact-btn img,
.contact-btn span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
}

.contact-btn--tg {
    color: #f7fbff;
    background: linear-gradient(135deg, #4d8dff, #2f6bff);
}

.lead-telegram-link {
    flex: 1 1 280px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.timeline {
    display: grid;
    gap: 14px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.timeline li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    color: var(--muted);
    background: rgba(7, 13, 27, 0.62);
}

.timeline span {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #06101d;
    font-weight: 900;
    background: var(--cyan);
}

@media (max-width: 680px) {
    .work-shell {
        align-items: start;
        padding: 14px;
    }

    .work-card {
        margin-top: 10px;
        padding: 22px;
        border-radius: 24px;
    }

    .needs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 22px 0;
    }

    .needs-grid article {
        min-height: auto;
        padding: 16px;
        border-radius: 18px;
    }

    h1 {
        max-width: calc(100% - 36px);
        font-size: clamp(34px, 11vw, 50px);
        line-height: 1.06;
        letter-spacing: -0.01em;
    }

    .lead {
        margin: 14px 0 22px;
        font-size: 16px;
    }

    .eyebrow {
        max-width: calc(100% - 48px);
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    .close-link {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .contact-btn {
        min-height: 58px;
        font-size: 18px;
    }

    .timeline {
        gap: 12px;
        margin: 22px 0;
    }

    .timeline li {
        align-items: flex-start;
        padding: 14px;
    }

    .actions .btn,
    .step-1 .btn,
    .lead-telegram-link {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .work-shell {
        padding: 10px;
    }

    .work-card {
        padding: 18px;
        border-radius: 22px;
    }

    h1 {
        font-size: clamp(31px, 10.5vw, 42px);
    }

    .btn {
        min-height: 46px;
        padding-inline: 18px;
    }

    .needs-grid img {
        width: 30px;
        height: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
