/* Первый экран по референсу. Подключается только на главной странице. */
@font-face {
    font-family: 'Inter Hero';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/assets/fonts/inter-hero-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Inter Hero';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/assets/fonts/inter-hero-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+2000-206F;
}

@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('/assets/fonts/caveat-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('/assets/fonts/caveat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+2000-206F;
}

.landing-home .landing-header > .landing-container,
.landing-home .hero-inner,
.landing-home .landing-stats > .landing-container {
    max-width: 1400px;
    padding-left: 36px;
    padding-right: 36px;
}

.landing-home .landing-header > .landing-container { height: 84px; }
.landing-home .landing-logo { font-size: 24px; gap: 13px; }
.landing-home .landing-logo-mark { width: 35px; height: 35px; }
.landing-home .landing-nav { gap: 10px; margin-right: 12px; }
.landing-home .landing-nav-link { font-size: 16px; }
.landing-home #header-login-btn { padding: 12px 25px; font-size: 16px; }

.landing-home .hero {
    padding: 132px 0 32px;
    overflow: clip;
    background: #fefeff;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url('/assets/img/hero-silk-wave.webp') center top / max(100%, 1500px) auto no-repeat;
    -webkit-mask-image: linear-gradient(#000 88%, transparent);
    mask-image: linear-gradient(#000 88%, transparent);
}

.landing-home .hero-inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 96px;
    align-items: center;
}

.landing-home .hero-content { max-width: 650px; }

.landing-home .hero-badge {
    padding: 9px 18px 9px 10px;
    gap: 15px;
    font-size: 16px;
    font-weight: 400;
    border-color: #e9e4f3;
    margin-bottom: 26px;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 3px 7px #4e24890a, 0 1px 2px #4e24890c;
}

.landing-home .hero-badge-dot { width: 22px; height: 22px; }
.landing-home .hero-badge-dot::after { inset: 6px; }

.landing-home .hero-title {
    font-family: 'Inter Hero', 'Inter', sans-serif;
    font-size: clamp(64px, 5.2vw, 92px);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.04em;
    margin: 0 0 16px;
}

.hero-title-dark,
.landing-home .hero-accent {
    display: inline-block;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-title-dark {
    background-color: #080810;
    background-image: linear-gradient(157deg, transparent 38%, #30303c 40%, #090912 47%, transparent 52%),
        linear-gradient(12deg, #08080f 23%, #232330 26%, #08080f 35%, #0d0d17 70%);
}

.landing-home .hero-accent {
    position: relative;
    padding-bottom: 6px;
    white-space: nowrap;
    background-color: #a467ed;
    background-image: url('/assets/img/hero-title-texture.svg'), linear-gradient(105deg, #6852ff 2%, #a561eb 48%, #ee78bc 98%);
    background-size: 100% 100%;
}

.landing-home .hero-accent::after { content: none; }

.hero-title-swish {
    position: absolute;
    width: 29%;
    height: auto;
    right: 0;
    bottom: -14px;
}

.landing-home .hero-subtitle {
    font-size: 22px;
    line-height: 1.42;
    letter-spacing: -.015em;
    color: #616171;
    max-width: 550px;
    margin-bottom: 31px;
}

.landing-home .hero-actions { flex-wrap: nowrap; gap: 18px; margin-bottom: 24px; }
.landing-home .hero-actions .btn {
    min-height: 58px;
    padding: 16px 34px;
    font-size: 17px;
    white-space: nowrap;
    gap: 13px;
}

.landing-home #hero-cta-btn {
    gap: 24px;
    background: linear-gradient(165deg, #08080f 35%, #13121e 64%, #06060c);
    box-shadow: 0 12px 24px -16px #9c68de66;
}

.landing-home #hero-samples-btn { min-width: 288px; border-color: #dedee9; background: #ffffffb3; }
.landing-home .hero-facts { font-size: 16px; gap: 8px 30px; color: #787787; }
.landing-home .hero-fact { gap: 9px; }
.landing-home .hero-fact:last-child { flex-basis: 100%; }
.landing-home .hero-fact svg { color: #a350ff; width: 18px; height: 18px; }

.landing-home .hero-visual { max-width: 544px; margin-right: 30px; }
.landing-home .hero-card {
    padding: 26px;
    border-color: #e8d9fb;
    border-radius: 28px;
    background: rgba(255, 255, 255, .89);
    box-shadow: 0 26px 58px -26px #a47fbd55, 0 1px 2px #a284c00a;
}

.landing-home .hero-card-head { gap: 11px; padding-bottom: 22px; margin-bottom: 21px; }
.landing-home .hero-card-dots { gap: 5px; }
.landing-home .hero-card-dots i { width: 11px; height: 11px; background: #dfdce8; }
.landing-home .hero-card-title { font-size: 14px; font-weight: 400; letter-spacing: -.015em; }
.landing-home .hero-card-text { font-size: 18px; line-height: 1.57; margin-bottom: 20px; letter-spacing: -.015em; }
.landing-home .hero-card-text b { font-weight: 700; }
.landing-home .hero-card-chips { margin-bottom: 22px; }
.landing-home .hero-chip { padding: 9px 13px; font-size: 14px; gap: 9px; font-weight: 400; }
.landing-home .hero-chip-avatar { width: 19px; height: 19px; }
.landing-home .hero-chip-brand { background: #f5f1ffb3; color: #6f4dff; border-color: #d5c5ff; }
.landing-home .hero-card-player { gap: 14px; padding: 17px 14px; border-radius: 19px; background: #f6f3f9; }
.landing-home .hero-card-play { width: 49px; height: 49px; background: linear-gradient(150deg, #050509, #131220); }
.landing-home .hero-eq { height: 42px; }
.landing-home .hero-eq i { background: linear-gradient(#9270ff, #d65ee2); }
.landing-home .hero-card-time { font-size: 15px; }
.landing-home .hero-float { right: -28px; bottom: -14px; padding: 15px 20px; font-size: 14px; gap: 12px; border-color: #eeebf3; }
.landing-home .hero-float svg { width: 19px; height: 19px; }

.hero-ambient-eq {
    position: absolute;
    top: 190px;
    left: calc(50% - 115px);
    height: 157px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: .18;
    pointer-events: none;
}
.hero-ambient-eq i { width: 11px; border-radius: 8px; background: linear-gradient(#8472ff, #cf8cf2); height: 28%; }
.hero-ambient-eq i:nth-child(3), .hero-ambient-eq i:nth-child(7) { height: 53%; }
.hero-ambient-eq i:nth-child(4) { height: 76%; }
.hero-ambient-eq i:nth-child(5) { height: 98%; }
.hero-ambient-eq i:nth-child(6) { height: 65%; }
.hero-ambient-eq i:nth-child(1), .hero-ambient-eq i:nth-child(9) { opacity: .3; }

.hero-note {
    position: absolute;
    z-index: 2;
    top: 127px;
    right: max(28px, calc((100vw - 1710px) / 2));
    color: #c7a4ff;
    font-family: 'Caveat', cursive;
    width: 285px;
    font-size: 35px;
    line-height: 1.02;
    white-space: nowrap;
    transform: rotate(-12deg);
    pointer-events: none;
}
.hero-note span:nth-child(2) { padding-left: 20px; }
.hero-note span:nth-child(4) { padding-left: 43px; }
.hero-note svg { display: block; width: 34px; height: 36px; margin: 5px 30px 0 auto; transform: rotate(12deg); }

.landing-home .landing-stats { padding: 0 0 20px; background: radial-gradient(ellipse at 50% 40%, #f7f2ff 0%, #fff 72%); }
.landing-home .landing-stats-inner {
    border: 1px solid #e9e0ff;
    border-radius: 30px;
    padding: 10px 0;
    gap: 0;
    background: #ffffffb3;
    box-shadow: 0 12px 35px -26px #b58ae24d;
}
.landing-home .landing-stat { padding: 20px 22px; background: transparent; }
.landing-home .landing-stat + .landing-stat { border-left: 1px solid #eee7fb; }
.landing-home .landing-stat-value { font-size: 30px; margin-bottom: 7px; }
.landing-home .landing-stat-label { font-size: 15px; letter-spacing: -.02em; }

/* Не даём дорожкам нижних примеров расширять страницу при сужении окна. */
.landing-home .sample-card { min-width: 0; }
.landing-home .sample-wave { overflow: hidden; }

@media (max-width: 1500px) {
    .landing-home .hero-inner { gap: 50px; }
    .landing-home .hero-visual { margin-right: 12px; }
    .landing-home .hero-actions { gap: 12px; }
    .landing-home .hero-actions .btn { padding: 16px 23px; font-size: 15px; }
    .landing-home #hero-cta-btn { gap: 14px; }
    .landing-home #hero-samples-btn { min-width: 0; }
    .hero-note { top: 105px; right: 28px; width: 230px; font-size: 27px; }
}

@media (max-width: 1200px) and (min-width: 1061px) {
    .landing-home .hero-inner { gap: 28px; }
    .landing-home .hero-title { font-size: 64px; }
    .landing-home .hero-subtitle { font-size: 19px; }
    .landing-home .hero-actions .btn { padding: 15px 16px; font-size: 13px; min-height: 52px; }
    .landing-home #hero-cta-btn { gap: 9px; }
    .landing-home .hero-card { padding: 22px; }
    .landing-home .hero-card-text { font-size: 15px; }
    .landing-home .hero-chip { font-size: 12px; padding: 8px 10px; }
    .landing-home .hero-facts { font-size: 13px; gap: 8px 16px; }
}

@media (max-width: 1060px) {
    .landing-home .hero { padding-top: 126px; padding-bottom: 54px; }
    .landing-home .hero-inner { grid-template-columns: 1fr; gap: 52px; }
    .landing-home .hero-content { max-width: 660px; }
    .landing-home .hero-title { font-size: 80px; }
    .landing-home .hero-visual { max-width: 580px; justify-self: center; margin-right: 0; }
    .hero-backdrop { background-size: auto 100%; background-position: 58% top; opacity: .85; }
    .hero-ambient-eq { display: none; }
    .hero-note { top: 520px; right: 40px; font-size: 28px; }
    .landing-home .landing-stat:nth-child(3) { border-left: 0; }
    .landing-home .landing-stat:nth-child(n+3) { border-top: 1px solid #eee7fb; }
}

@media (max-width: 720px) {
    .landing-home .landing-header > .landing-container,
    .landing-home .hero-inner,
    .landing-home .landing-stats > .landing-container { padding-left: 22px; padding-right: 22px; }
    .landing-home .landing-header > .landing-container { height: 74px; }
    .landing-home .landing-logo { font-size: 21px; gap: 10px; }
    .landing-home .landing-logo-mark { width: 31px; height: 31px; }
    .landing-home .hero { padding-top: 108px; padding-bottom: 45px; }
    .landing-home .hero-inner { gap: 40px; }
    .landing-home .hero-badge { font-size: 12.5px; gap: 9px; padding: 8px 12px 8px 8px; margin-bottom: 26px; }
    .landing-home .hero-badge-dot { width: 18px; height: 18px; }
    .landing-home .hero-badge-dot::after { inset: 5px; }
    .landing-home .hero-title { font-size: clamp(42px, 10.2vw, 72px); letter-spacing: -.05em; line-height: 1.05; margin-bottom: 29px; }
    .hero-title-swish { bottom: -9px; }
    .landing-home .hero-subtitle { font-size: 17px; line-height: 1.55; margin-bottom: 25px; }
    .landing-home .hero-actions { flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
    .landing-home .hero-actions .btn { min-height: 52px; font-size: 15px; }
    .landing-home .hero-facts { font-size: 12px; gap: 8px 15px; }
    .landing-home .hero-fact { gap: 6px; }
    .landing-home .hero-fact svg { width: 15px; height: 15px; }
    .hero-note { display: none; }
    .landing-home .hero-card { padding: 20px; border-radius: 23px; }
    .landing-home .hero-card-head { padding-bottom: 16px; margin-bottom: 16px; gap: 8px; }
    .landing-home .hero-card-title { font-size: 12px; }
    .landing-home .hero-card-dots i { width: 9px; height: 9px; }
    .landing-home .hero-card-text { font-size: 14px; margin-bottom: 15px; }
    .landing-home .hero-card-chips { gap: 6px; margin-bottom: 18px; }
    .landing-home .hero-chip { font-size: 11px; padding: 7px 9px; gap: 6px; }
    .landing-home .hero-chip-avatar { width: 15px; height: 15px; }
    .landing-home .hero-card-player { padding: 12px; gap: 11px; border-radius: 15px; }
    .landing-home .hero-card-play { width: 38px; height: 38px; }
    .landing-home .hero-eq { height: 34px; gap: 2px; }
    .landing-home .hero-card-time { font-size: 12px; }
    .landing-home .hero-float { right: 0; bottom: -18px; padding: 10px 14px; font-size: 12px; }
    .landing-home .landing-stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 23px; padding: 0; }
    .landing-home .landing-stat { padding: 22px 12px; }
    .landing-home .landing-stat-value { font-size: 25px; }
    .landing-home .landing-stat-label { font-size: 12px; }
    /* Дорожки примеров также должны помещаться в узкий экран. */
    .landing-home .sample-wave { gap: 1px; }
}

@media (prefers-contrast: more) {
    .hero-title-dark, .landing-home .hero-accent { background: none; color: #101018; -webkit-text-fill-color: currentColor; }
}
