@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --ink: #0b2047;
    --muted: #586273;
    --blue: #1687f8;
    --blue-dark: #0873e2;
    --line: #e5e9ef;
    --surface: #ffffff;
    --canvas: #f4f7fb;
}

* { box-sizing: border-box; }

html { background: var(--canvas); }

body {
    margin: 0;
    background:
        radial-gradient(circle at 14% 10%, rgba(22, 135, 248, .08), transparent 24rem),
        radial-gradient(circle at 88% 88%, rgba(22, 135, 248, .06), transparent 28rem),
        var(--canvas);
    color: var(--ink);
    font-family: "Manrope", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-shell {
    min-height: 100svh;
    padding: 28px 24px 18px;
    display: grid;
    align-content: center;
    gap: 12px;
}

.job-card {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding: clamp(30px, 4vw, 54px);
    border: 1px solid rgba(215, 222, 232, .88);
    border-radius: 36px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 28px 80px rgba(25, 45, 76, .12);
}

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

.status-pill {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 10px 17px;
    border: 1px solid #b9d8fb;
    border-radius: 999px;
    color: #13264a;
    background: #f8fbff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.status-pill span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 6px rgba(22, 135, 248, .13);
    animation: status-pulse 2.4s ease-in-out infinite;
}

@keyframes status-pulse {
    50% { box-shadow: 0 0 0 9px rgba(22, 135, 248, 0); }
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(46px, 5vw, 68px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: .98;
}

h1 span { display: block; white-space: nowrap; }

.lead {
    max-width: 620px;
    margin: 22px 0 14px;
    color: var(--muted);
    font-size: clamp(17px, 1.8vw, 21px);
    line-height: 1.55;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 0;
}

.benefit {
    min-height: 92px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    color: #16243c;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 7px 24px rgba(37, 55, 84, .05);
}

.benefit i,
.privacy i {
    display: grid;
    place-items: center;
    color: #087cff;
    background: #edf6ff;
    border-radius: 50%;
    font-style: normal;
}

.benefit i { width: 36px; height: 36px; }
.benefit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.helper {
    margin: 0 0 16px;
    color: #6a7280;
    font-size: 14px;
    line-height: 1.55;
}

.telegram-button {
    min-height: 62px;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1993ff, #0879ed);
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.01em;
    box-shadow: 0 16px 32px rgba(8, 121, 237, .25);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, opacity .2s ease;
}

.telegram-button:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 20px 38px rgba(8, 121, 237, .32); }
.telegram-button:focus-visible { outline: 4px solid rgba(22, 135, 248, .28); outline-offset: 3px; }
.telegram-button.is-opening { opacity: .78; transform: translateY(1px); }
.telegram-button svg { width: 27px; height: 27px; flex: 0 0 auto; fill: currentColor; }

.privacy {
    margin: 18px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #546071;
    font-size: 13px;
    line-height: 1.4;
}

.privacy i { width: 34px; height: 34px; flex: 0 0 auto; }
.privacy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.team-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 782 / 468;
    border-radius: 28px;
    background: #d8e7f2;
    box-shadow: 0 24px 46px rgba(25, 46, 73, .18);
    isolation: isolate;
}

.team-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}

.team-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-photo { display: none; }

footer {
    color: #77808d;
    text-align: center;
    font-size: 12px;
}

.message-shell { min-height: 100svh; padding: 24px; display: grid; place-items: center; }
.message-card { width: min(520px, 100%); padding: 42px; border: 1px solid var(--line); border-radius: 28px; background: #fff; text-align: center; box-shadow: 0 24px 70px rgba(25, 45, 76, .11); }
.message-card h1 { font-size: 32px; line-height: 1.08; letter-spacing: -.04em; }
.message-card p { color: var(--muted); line-height: 1.6; }
.message-icon { width: 48px; height: 48px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: #eaf4ff; color: var(--blue-dark); font-size: 24px; font-weight: 800; }
.secondary-button { display: inline-flex; margin-top: 10px; padding: 13px 20px; border-radius: 12px; background: #eef5fd; color: #0d62b9; text-decoration: none; font-weight: 800; }

@media (max-width: 920px) {
    .site-shell { padding: 26px 18px 18px; }
    .job-card { grid-template-columns: 1fr; width: min(650px, 100%); padding: 28px; border-radius: 30px; }
    .desktop-photo { display: none; }
    .mobile-photo { display: block; margin-bottom: 32px; border-radius: 24px; }
    .status-pill { margin: 0 auto 24px; }
    h1 { font-size: clamp(42px, 9.6vw, 62px); }
}

@media (max-width: 560px) {
    .site-shell { padding: 0; display: block; background: #fff; }
    .job-card { min-height: calc(100svh - 42px); padding: 22px 18px 18px; border: 0; border-radius: 0; box-shadow: none; }
    .status-pill { padding: 8px 14px; font-size: 11px; margin-bottom: 20px; }
    .mobile-photo { margin: 0 0 26px; border-radius: 22px; }
    .eyebrow { margin-bottom: 12px; font-size: 11px; letter-spacing: .22em; }
    h1 { font-size: clamp(38px, 11.7vw, 50px); letter-spacing: -.06em; line-height: 1.02; }
    h1 span { white-space: nowrap; }
    .lead { margin: 18px 0 12px; font-size: 16px; line-height: 1.5; }
    .benefits { grid-template-columns: 1fr; gap: 8px; margin: 20px 0 0; }
    .benefit { min-height: 58px; padding: 9px 12px; flex-direction: row; justify-content: flex-start; gap: 13px; text-align: left; font-size: 15px; }
    .benefit i { width: 38px; height: 38px; }
    .helper { margin-bottom: 14px; padding: 0; border: 0; text-align: left; font-size: 13px; }
    .telegram-button { min-height: 60px; padding: 14px 16px; border-radius: 14px; font-size: 14px; }
    .privacy { margin-top: 14px; }
    footer { padding: 12px 0 16px; background: #fff; border-top: 1px solid var(--line); }
    .message-card { padding: 32px 22px; }
    .message-card h1 { font-size: 28px; }
}

@media (min-width: 921px) and (max-height: 760px) {
    .site-shell { padding-block: 18px 12px; }
    .job-card { padding-block: 30px; }
    .status-pill { margin-bottom: 18px; }
    .eyebrow { margin-bottom: 10px; }
    h1 { font-size: clamp(44px, 4.65vw, 60px); }
    .lead { margin-top: 16px; font-size: 17px; }
    .benefits { margin-top: 18px; }
    .benefit { min-height: 76px; }
}

@media (max-width: 360px) {
    .job-card { padding-inline: 14px; }
    h1 { font-size: 36px; }
    .telegram-button { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
