@font-face {
    font-family: HelveticaNeueCyr;
    src: url('assets/helvetica-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: HelveticaNeueCyr;
    src: url('assets/helvetica-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    color: #000;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.placeholder {
    display: grid;
    min-height: 100svh;
    place-items: center;
    font:
        20px Arial,
        sans-serif;
}

.document-layout,
.document-footer {
    max-width: 1200px;
    margin: 0 auto;
}

.document-layout {
    padding: 68px 0 66px;
}

.document {
    max-width: 960px;
    margin: 0 20px;
    font:
        300 20px/1.55 HelveticaNeueCyr,
        Arial,
        sans-serif;
}

.document p {
    margin: 0;
    padding: 0;
}

.document strong {
    font-weight: 700;
}

.document a {
    color: #ff8562;
    text-decoration: none;
}

.document a:focus-visible {
    outline: 2px solid #2015ff;
    outline-offset: 4px;
}

.document-footer {
    display: flex;
    padding: 30px 0;
}

.back-link {
    display: inline-flex;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 40px);
    margin: 0 20px;
    padding: 26px 32px;
    overflow: hidden;
    border-radius: 180px;
    color: #111827;
    background: linear-gradient(0.159turn, #dfca69 0%, #ffdb4c 57%, #ffdd2d 100%);
    font:
        700 18px/1.4 HelveticaNeueCyr,
        Arial,
        sans-serif;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease-in-out;
}

.back-link::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: #111827;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.back-link:focus-visible {
    outline: 2px solid #2015ff;
    outline-offset: 4px;
}

@media (hover: hover) {
    .back-link:hover,
    .back-link:focus-visible {
        color: #fff;
    }

    .back-link:hover::after,
    .back-link:focus-visible::after {
        opacity: 1;
    }
}

@media screen and (max-width: 1200px) {
    .document-layout,
    .document-footer {
        max-width: 960px;
    }

    .document {
        max-width: 780px;
        margin: 0 10px;
        font-size: 18px;
    }

    .back-link {
        max-width: calc(100% - 20px);
        margin: 0 10px;
    }
}

@media screen and (max-width: 960px) {
    .document-layout,
    .document-footer {
        max-width: 640px;
    }

    .document {
        max-width: none;
        margin: 0 20px;
    }

    .back-link {
        max-width: calc(100% - 40px);
        margin: 0 20px;
    }
}

@media screen and (max-width: 640px) {
    .document {
        font-size: 16px;
        line-height: 1.45;
    }

    .back-link {
        white-space: normal;
    }
}

@media print {
    html,
    body {
        min-width: 1200px;
        max-width: 1200px;
        margin: 0 auto;
    }
}

[data-domain],
[data-site-url],
[data-email] {
    overflow-wrap: anywhere;
}

.landing-page {
    color: #1d1d1f;
    background: #fafaf7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

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

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

.landing-page a:focus-visible {
    outline: 3px solid #5c67e8;
    outline-offset: 5px;
}

.page-width {
    width: min(1200px, calc(100% - 80px));
    margin-inline: auto;
}

.site-header,
.site-brand,
.site-nav,
.hero-actions {
    display: flex;
    align-items: center;
}

.site-header {
    justify-content: space-between;
    gap: 24px;
    padding-block: 16px;
    border-bottom: 1px solid #e5e5df;
}

.site-brand {
    gap: 10px;
    min-width: 0;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.6px;
}

.brand-mark {
    display: grid;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 11px;
    background: #f6d431;
}

.brand-mark img {
    display: block;
}

.site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 28px;
    font-size: 13px;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 24px;
    padding-block: 20px;
}

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

.eyebrow {
    margin: 0 0 12px;
    color: #6e6e73;
    font-size: 14px;
    font-weight: 500;
}

.hero h1 {
    margin: 0;
    font-size: clamp(40px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -2.1px;
}

.hero h1 span {
    display: block;
}

.hero-accent {
    color: #ac8600;
}

.hero-description {
    max-width: 40ch;
    margin: 18px 0 22px;
    color: #6e6e73;
    font-size: 16px;
    line-height: 1.55;
}

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

.primary-link,
.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.15s ease;
}

.primary-link {
    background: #f6d431;
}

.secondary-link {
    border-color: #d2d2cc;
}

.hero-visual {
    display: grid;
    place-items: center;
}

.hero-image {
    display: block;
    width: 100%;
    max-width: 380px;
    height: auto;
}

.possibilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 24px;
    scroll-margin-top: 24px;
}

.possibility {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e9e9e3;
    border-radius: 24px;
    background: #fff;
}

.possibility:first-child {
    border-color: #eee5bd;
    background: linear-gradient(145deg, #fff8d7, #fffdf4);
}

.possibility-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 11px;
    background: #f4f4ef;
}

.possibility:first-child .possibility-icon {
    background: #f6d431;
}

.possibility-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.possibility h2 {
    margin: 12px 0 8px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.6px;
}

.possibility p {
    margin: 0;
    color: #6e6e73;
    font-size: 14px;
    line-height: 1.5;
}

.site-footer {
    padding-block: 20px;
    border-top: 1px solid #e2e2dc;
    background: #f0f0eb;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.footer-label {
    margin: 0 0 10px;
    color: #6e6e73;
    font-size: 12px;
    font-weight: 500;
}

.footer-contact > a {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.footer-domain {
    margin: 20px 0 0;
    color: #6e6e73;
    font-size: 13px;
}

.document-links a {
    display: block;
    padding-block: 4px;
    color: #4b4b50;
    font-size: 13px;
    line-height: 1.5;
}

@media (hover: hover) {
    .site-nav a:hover,
    .footer-contact a:hover,
    .document-links a:hover {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .primary-link:hover {
        background: #ebc727;
    }

    .secondary-link:hover {
        background: #eeeee7;
    }
}

@media screen and (max-width: 960px) {
    .page-width {
        width: calc(100% - 48px);
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-block: 52px;
    }

    .hero-copy {
        max-width: 620px;
        margin-inline: auto;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(40px, 6.5vw, 58px);
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        max-width: 460px;
    }

    .possibility {
        padding: 24px;
    }

    .possibility h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 760px) {
    .page-width {
        width: calc(100% - 40px);
    }

    .site-header {
        flex-wrap: wrap;
        gap: 18px;
        padding-block: 18px;
    }

    .site-nav {
        justify-content: flex-start;
        gap: 10px 20px;
        font-size: 12px;
    }

    .hero {
        gap: 30px;
        padding-block: 42px;
    }

    .hero h1 {
        font-size: clamp(36px, 8.2vw, 48px);
        letter-spacing: -1.4px;
    }

    .eyebrow {
        margin-bottom: 14px;
        font-size: 14px;
    }

    .hero-description {
        margin-block: 22px 26px;
        font-size: 16px;
    }

    .hero-image {
        max-width: 380px;
    }

    .possibilities,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .possibilities {
        gap: 14px;
        padding-bottom: 44px;
    }

    .possibility {
        padding: 26px;
        border-radius: 22px;
    }

    .possibility h2 {
        margin-top: 20px;
        font-size: 22px;
    }

    .site-footer {
        padding-block: 30px;
    }

    .footer-content {
        gap: 30px;
    }
}
