/* Главная linkodium.com, дизайн 2026 (прототип new10). Собрано из web/linkodium.com/new10/style.css
   скриптом .misc/redesign-2026-11/build_home_css.py: классы с префиксом hp-, общие стили — в design-2026.css. */
.hp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--acc-ink); white-space: nowrap; }
.hp-link svg { width: 18px; height: 18px; transition: transform .15s; }
.hp-link:hover svg { transform: translateX(3px); }
.hp-hero { position: relative; overflow: hidden; padding: 84px 0 104px; background: #fff; }
.hp-hero-in { position: relative; z-index: 2; pointer-events: none; }
.hp-hero-txt { max-width: 580px; pointer-events: auto; }
.hp-rating-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; background: #fff; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; color: var(--text-2); transition: border-color .2s; }
.hp-rating-pill:hover { border-color: var(--line-2); }
.hp-rating-pill b { color: var(--text); }
.hp-stars { display: inline-flex; gap: 1px; color: var(--star); }
.hp-stars svg { width: 15px; height: 15px; }
.hp-stars svg.hp-half { opacity: .45; }
.hp-hero h1 { margin-top: 22px; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; font-weight: 750; letter-spacing: -0.035em; }
.hp-hero .hp-lead { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 540px; }
.hp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hp-hero-kpi { list-style: none; margin: 44px 0 0; padding: 0; display: flex; gap: 40px; }
.hp-hero-kpi b { display: block; font-size: 28px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.1; }
.hp-hero-kpi span { font-size: 14px; color: var(--text-3); }
.hp-wall { position: absolute; top: 0; bottom: 0; left: 46%; right: 0; overflow: hidden; }
.hp-wall::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 26%), linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 16%, rgba(255, 255, 255, 0) 80%, #fff 100%); }
.hp-wall-plane { position: absolute; top: -30%; left: 9%; height: 160%; display: flex; gap: 20px; transform: rotate(-11deg); transform-origin: 50% 50%; }
.hp-wcol { width: 176px; flex: none; }
.hp-wcol:nth-child(2) { margin-top: -120px; }
.hp-wcol:nth-child(4) { margin-top: -60px; }
.hp-wtrack { display: flex; flex-direction: column; gap: 20px; padding-bottom: 20px; animation: hp-wallUp 80s linear infinite; will-change: transform; }
.hp-wcol:nth-child(2) .hp-wtrack { animation-name: hp-wallDown; animation-duration: 95s; }
.hp-wcol:nth-child(3) .hp-wtrack { animation-duration: 70s; }
.hp-wcol:nth-child(4) .hp-wtrack { animation-name: hp-wallDown; animation-duration: 105s; }
@keyframes hp-wallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes hp-wallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.hp-wall:hover .hp-wtrack { animation-play-state: paused; }
.hp-tile { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--bg-soft); box-shadow: 0 24px 40px -22px rgba(19, 19, 19, .45); transition: transform .3s, box-shadow .3s; }
.hp-tile img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.hp-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(180deg, transparent, rgba(19, 19, 19, .85)); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.3; opacity: 0; transition: opacity .2s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hp-tile:hover { transform: translateY(-8px) scale(1.04); box-shadow: 0 30px 50px -20px rgba(19, 19, 19, .5); }
.hp-tile:hover span { opacity: 1; }
.hp-wall-note { position: absolute; z-index: 3; right: max(32px, calc((100% - var(--wrap)) / 2 + 32px)); bottom: 32px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-hover); font-size: 14px; line-height: 1.3; transition: transform .2s; }
.hp-wall-note:hover { transform: translateY(-2px); }
.hp-wall-note b { display: block; }
.hp-wall-note small { color: var(--text-3); font-size: 12.5px; }
.hp-wall-note-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--acc-50); color: var(--acc-ink); flex: none; }
.hp-wall-note-ico svg { width: 19px; height: 19px; }
.hp-wall-note-go { width: 18px; height: 18px; color: var(--acc-ink); margin-left: 4px; }
.hp-trust { padding: 44px 0 56px; border-bottom: 1px solid var(--line); }
.hp-trust-title { text-align: center; font-size: 14px; color: var(--text-3); }
.hp-logos { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 22px; }
.hp-logos img { width: 120px; height: 52px; object-fit: contain; filter: grayscale(1); opacity: .55; mix-blend-mode: multiply; transition: opacity .2s, filter .2s; }
.hp-logos img:hover { filter: none; opacity: 1; }
.hp-awards { margin-top: 36px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hp-awards a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--bg-soft); border-radius: var(--r); font-size: 13px; line-height: 1.4; color: var(--text-2); transition: background-color .2s; }
.hp-awards a:hover { background: var(--acc-50); }
.hp-awards b { font-size: 20px; font-weight: 750; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; }
.hp-awards a:hover b { color: var(--acc-ink); }
.hp-awards-src { grid-column: 1 / -1; font-size: 13px; color: var(--text-3); }
.hp-awards-src a { display: inline; padding: 0; background: none; color: var(--acc-ink); font-size: inherit; }
.hp-sec { padding: 104px 0; }
.hp-sec-soft { background: var(--bg-soft); }
.hp-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.hp-sec-head h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 750; letter-spacing: -0.03em; }
.hp-sec-head p { margin-top: 12px; font-size: 17px; color: var(--text-2); max-width: 600px; }
.hp-sec-head.hp-stack { display: block; }
.hp-sec-head.hp-stack .hp-link { margin-top: 22px; }
.hp-seg { display: inline-flex; padding: 4px; background: var(--bg-soft); border-radius: 12px; border: 1px solid var(--line); flex: none; }
.hp-seg button { border: 0; background: transparent; padding: 10px 20px; border-radius: 9px; font-weight: 600; font-size: 15px; color: var(--text-2); cursor: pointer; }
.hp-seg button.hp-is-on { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(19, 19, 19, .12); }
.hp-svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hp-svc { position: relative; display: flex; flex-direction: column; padding: 24px 24px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .2s, transform .2s; }
.hp-svc:hover { border-color: #9aeef3; box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.hp-svc-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-50); color: var(--acc-ink); margin-bottom: 18px; }
.hp-svc-ico svg { width: 23px; height: 23px; }
.hp-svc h3 { font-size: 18px; line-height: 1.3; font-weight: 650; }
.hp-svc p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.hp-svc-price { margin-top: auto; padding-top: 18px; font-weight: 650; font-size: 15px; }
.hp-svc-go { position: absolute; right: 20px; bottom: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--text-2); transition: background-color .2s, color .2s; }
.hp-svc-go svg { width: 17px; height: 17px; }
.hp-svc:hover .hp-svc-go { background: var(--acc-d); color: #fff; }
.hp-svc-wide { grid-column: span 2; grid-row: span 2; padding: 32px; background: linear-gradient(160deg, var(--acc-50), #fff 60%); }
.hp-svc-wide h3 { font-size: 26px; }
.hp-svc-wide p { font-size: 16px; max-width: 480px; }
.hp-svc-wide .hp-svc-ico { width: 56px; height: 56px; }
.hp-svc-wide .hp-svc-go { display: none; }
.hp-svc-prices { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; }
.hp-svc-prices li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.hp-svc-prices span { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--text); }
.hp-svc-prices small { font-size: 12.5px; font-weight: 400; color: var(--text-3); margin-top: 2px; }
.hp-svc-prices b { font-size: 17px; font-weight: 750; letter-spacing: -0.01em; white-space: nowrap; color: var(--text); }
.hp-svc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-weight: 600; font-size: 15px; color: var(--acc-ink); }
.hp-svc-more svg { width: 18px; height: 18px; transition: transform .2s; }
.hp-svc-wide:hover .hp-svc-more svg { transform: translateX(3px); }
.hp-svc-price.hp-is-muted { color: var(--text-3); font-weight: 500; }
.hp-svc-cta { background: var(--graphite); border-color: var(--graphite); color: #fff; justify-content: flex-end; }
.hp-svc-cta p { color: #cad4dc; }
.hp-svc-cta:hover { border-color: var(--graphite); }
.hp-svc-cta { position: relative; overflow: hidden; }
.hp-svc-cta::before { content: ""; position: absolute; right: -120px; top: -140px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 203, 215, .35), transparent); pointer-events: none; }
.hp-svc-cta > * { position: relative; }
.hp-svc-cta-wide { grid-column: span 2; }
.hp-svc-cta-wide p { max-width: 460px; }
.hp-results { padding: 96px 0; background: var(--bg-dark); color: #fff; position: relative; overflow: hidden; }
.hp-results::after { content: ""; position: absolute; left: -200px; bottom: -300px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 203, 215, .16), transparent); pointer-events: none; }
.hp-sec-head.hp-on-dark p { color: #cad4dc; }
.hp-on-dark .hp-link { color: var(--acc); }
.hp-res-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hp-res { display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); transition: background-color .2s, border-color .2s; }
.hp-res:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .18); }
.hp-res b { font-size: 52px; line-height: 1; font-weight: 750; letter-spacing: -0.04em; }
.hp-res span { margin-top: 16px; font-size: 15px; line-height: 1.5; color: #dfe5ea; }
.hp-res em { margin-top: auto; padding-top: 22px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--acc); }
.hp-case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hp-case { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.hp-case:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.hp-case-img { display: block; overflow: hidden; background: var(--bg-soft); }
.hp-case-img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s; }
.hp-case:hover .hp-case-img img { transform: scale(1.03); }
.hp-case-body { display: block; padding: 18px 20px 22px; }
.hp-case h3 { font-size: 16px; line-height: 1.35; font-weight: 650; margin-top: 10px; }
.hp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-tags i { font-style: normal; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 6px; background: var(--bg-soft); color: var(--text-2); }
.hp-case-big { grid-column: span 2; grid-row: span 2; }
.hp-case-big .hp-case-img { flex: 1; min-height: 0; }
.hp-case-big .hp-case-img img { height: 100%; }
.hp-case-big .hp-case-img img { aspect-ratio: auto; min-height: 320px; object-position: center 30%; }
.hp-case-big .hp-case-body { padding: 24px 28px 28px; }
.hp-case-big h3 { font-size: 24px; letter-spacing: -0.02em; }
.hp-case-big p { margin-top: 10px; color: var(--text-2); }
.hp-industries { margin-top: 28px; font-size: 14px; color: var(--text-3); }
.hp-industries a { color: var(--text-2); }
.hp-industries a:hover { color: var(--acc-ink); text-decoration: underline; }
.hp-how-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hp-how { padding: 26px 24px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); }
.hp-how-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-50); color: var(--acc-ink); margin-bottom: 16px; }
.hp-how h3 { font-size: 17px; font-weight: 650; }
.hp-how p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }
.hp-steps { list-style: none; margin: 40px 0 0; padding: 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: st; }
.hp-steps li { position: relative; counter-increment: st; padding-left: 44px; }
.hp-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-d); color: #fff; font-size: 14px; font-weight: 700; }
.hp-steps b { display: block; font-size: 15px; line-height: 1.3; }
.hp-steps span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--text-3); line-height: 1.4; }
.hp-rev-grid { display: grid; grid-template-columns: 0.8fr repeat(3, minmax(0, 1fr)); gap: 16px; }
.hp-rev-score { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--graphite); color: #fff; }
.hp-rev-score a { display: block; padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .12); transition: background-color .15s; }
.hp-rev-score a:hover { background: rgba(255, 255, 255, .2); }
.hp-rev-score b { font-size: 34px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; margin-right: 8px; }
.hp-rev-score .hp-stars { color: #ffd166; vertical-align: 4px; }
.hp-rev-score small { display: block; margin-top: 6px; font-size: 13px; color: #cad4dc; }
.hp-rev-score p { margin-top: auto; font-size: 12px; color: #95a1ab; }
.hp-rev { margin: 0; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 22px; }
.hp-rev blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; }
.hp-rev-stars { margin-bottom: -8px; }
.hp-rev-stars svg { width: 16px; height: 16px; }
.hp-rev figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.hp-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-50); color: var(--acc-ink); font-size: 13px; font-weight: 700; flex: none; }
.hp-rev figcaption b { display: block; font-size: 15px; }
.hp-rev figcaption small { display: block; font-size: 12.5px; color: var(--text-3); }
.hp-prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hp-prod { display: flex; align-items: flex-start; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); position: relative; transition: box-shadow .2s, transform .2s; }
.hp-prod:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.hp-prod picture { flex: none; width: 48px; height: 48px; }
.hp-prod img { width: 48px; height: 48px; max-width: none; object-fit: contain; border-radius: 12px; flex: none; }
.hp-prod b { display: block; font-size: 17px; }
.hp-prod small { display: block; margin-top: 4px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.hp-prod em { position: absolute; right: 20px; top: 22px; font-style: normal; font-size: 12px; color: var(--text-3); }
.hp-channel { margin-top: 24px; display: flex; align-items: center; gap: 22px; padding: 24px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.hp-channel:hover { border-color: #9fd6f0; }
.hp-channel-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--tg); color: #fff; display: grid; place-items: center; flex: none; }
.hp-channel-txt { flex: 1; }
.hp-channel-txt b { display: block; font-size: 18px; }
.hp-channel-txt small { display: block; margin-top: 4px; font-size: 14.5px; color: var(--text-2); }
.hp-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hp-news { display: block; }
.hp-news-img { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); }
.hp-news-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.hp-news:hover .hp-news-img img { transform: scale(1.03); }
.hp-news-meta { display: block; margin-top: 16px; font-size: 13px; color: var(--text-3); }
.hp-news h3 { margin-top: 6px; font-size: 18px; line-height: 1.35; font-weight: 650; }
.hp-news:hover h3 { color: var(--acc-ink); }
.hp-faq-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.hp-faq { display: grid; gap: 10px; }
.hp-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s; }
.hp-faq details[open] { border-color: #9aeef3; }
.hp-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-weight: 600; font-size: 17px; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.hp-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--acc-ink); }
.hp-faq details p { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; }
.hp-hero-kpi b, .hp-res b, .hp-awards b, .hp-rev-score b, .hp-svc-prices b, .hp-svc-price, .hp-steps b { font-family: var(--display); }
.hp-hero { margin: 16px 16px 0; border-radius: 32px; background: var(--hero-bg); padding: 76px 0 96px; }
.hp-wall::after { background: linear-gradient(90deg, var(--hero-bg) 0%, rgba(237, 248, 249, 0) 26%), linear-gradient(180deg, var(--hero-bg) 0%, rgba(237, 248, 249, 0) 16%, rgba(237, 248, 249, 0) 80%, var(--hero-bg) 100%); }
.hp-hero h1 { font-size: clamp(38px, 4.7vw, 64px); line-height: 1.05; letter-spacing: -0.04em; }
.hp-hl { background: linear-gradient(transparent 62%, rgba(10, 203, 215, .45) 62%, rgba(10, 203, 215, .45) 92%, transparent 92%); padding: 0 2px; }
.hp-rating-pill { border-color: transparent; box-shadow: 0 6px 18px -12px rgba(19, 19, 19, .35); }
.hp-hero-kpi b { font-weight: 800; }
.hp-tile { border-radius: 18px; }
.hp-wall-note { border-radius: 999px; padding: 10px 18px 10px 10px; }
.hp-wall-note-ico { border-radius: 50%; }
.hp-trust { border-bottom: 0; padding: 48px 0 40px; }
.hp-logos { display: block; overflow: hidden; margin-top: 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hp-logos-track { display: flex; width: max-content; animation: hp-logos 45s linear infinite; }
.hp-logos-dup { display: flex; }
.hp-logos:hover .hp-logos-track { animation-play-state: paused; }
.hp-logos img { width: 132px; height: 60px; margin: 0 22px; flex: none; }
@keyframes hp-logos { to { transform: translateX(-50%); } }
.hp-awards a { border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.hp-awards a:hover { border-color: #9aeef3; background: #fff; }
.hp-awards .hp-awards-src a { padding: 0; border: 0; background: none; border-radius: 0; }
.hp-seg { border-radius: 999px; }
.hp-seg button { border-radius: 999px; }
.hp-svc, .hp-case, .hp-how, .hp-rev, .hp-prod, .hp-channel, .hp-faq details, .hp-steps { border-color: var(--line); }
.hp-svc-ico, .hp-how-ico { border-radius: 50%; }
.hp-tags i { border-radius: 999px; padding: 3px 10px; }
.hp-svc-prices li { border-radius: 12px; }
.hp-results { padding: 8px 0 0; background: none; overflow: visible; }
.hp-results::after { display: none; }
.hp-res-panel { position: relative; overflow: hidden; padding: 56px; border-radius: 32px; background: var(--graphite); color: #fff; }
.hp-res-panel::after { content: ""; position: absolute; right: -220px; top: -260px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 203, 215, .28), transparent); pointer-events: none; }
.hp-res-panel > * { position: relative; z-index: 1; }
.hp-res:first-child { background: var(--acc-d); border-color: transparent; }
.hp-res:first-child span, .hp-res:first-child em { color: #fff; }
.hp-res:first-child:hover { background: #09bcc7; }
@keyframes hp-mnavIn { from { opacity: 0; transform: translateY(-6px); } }
.hp-reveal .hp-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.hp-reveal .hp-rv.hp-in { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .hp-hero { margin: 10px 10px 0; border-radius: 26px; }
  .hp-res-panel { padding: 36px 28px; border-radius: 26px; }
}
@media (max-width: 640px) {
  .hp-hero { margin: 8px 8px 0; border-radius: 22px; padding-top: 40px; }
  .hp-res-panel { padding: 28px 18px; border-radius: 22px; }
  .hp-logos img { width: 100px; height: 48px; margin: 0 14px; }
}
@media (max-width: 380px) {
  .hp-svc-prices li { flex-wrap: wrap; gap: 4px 12px; padding: 12px 14px; }
  .hp-res b { font-size: 30px; }
  .hp-res { padding: 18px 14px; }
}
@media (max-width: 1180px) {
  .hp-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-svc-wide { grid-row: auto; }
  .hp-res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-awards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .hp-rev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-case-big { grid-column: span 3; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .hp-case-big .hp-case-img img { height: 100%; aspect-ratio: auto; }
  .hp-case-grid .hp-case:last-child { display: none; }
  .hp-hero-txt { max-width: 500px; }
  .hp-wall { left: 50%; }
  .hp-wcol { width: 160px; }
}
@media (max-width: 900px) {
  .hp-faq-in { grid-template-columns: 1fr; gap: 0; }
  .hp-prod-grid { grid-template-columns: 1fr; }
  .hp-hero { display: flex; flex-direction: column; padding-bottom: 0; }
  .hp-wall { order: 2; position: relative; left: auto; right: auto; height: 400px; margin-top: 40px; }
  .hp-wall::after { background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0) 88%, #fff 100%), linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 70%, #fff 100%); }
  .hp-wall-plane { left: -4%; top: -50%; height: 200%; }
  .hp-wcol { width: 150px; }
  .hp-wall-note { right: var(--gutter); left: var(--gutter); bottom: 20px; }
}
@media (max-width: 640px) {
  .hp-hero { padding: 36px 0 56px; }
  .hp-hero h1 { font-size: 35px; }
  .hp-hero .hp-lead { font-size: 17px; }
  .hp-hero-kpi { gap: 0; justify-content: space-between; margin-top: 36px; }
  .hp-hero-kpi b { font-size: 23px; }
  .hp-hero-kpi span { font-size: 12.5px; }
  .hp-logos { justify-content: center; gap: 6px 20px; }
  .hp-logos img { width: 92px; }
  .hp-awards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hp-awards a { padding: 12px 14px; }
  .hp-awards a:nth-child(5) { grid-column: 1 / -1; }
  .hp-sec, .hp-results { padding: 72px 0; }
  .hp-sec-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
  .hp-seg { width: 100%; }
  .hp-seg button { flex: 1; padding: 10px; }
  .hp-svc-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hp-svc-wide, .hp-svc-cta-wide { grid-column: auto; padding: 24px; }
  .hp-svc-wide h3 { font-size: 22px; }
  .hp-res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hp-res { padding: 20px 16px; }
  .hp-res b { font-size: 36px; }
  .hp-res span { font-size: 13.5px; }
  .hp-case-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hp-case-big { grid-column: span 2; display: flex; }
  .hp-case-big .hp-case-img img { aspect-ratio: 16 / 11; height: auto; }
  .hp-case-big h3 { font-size: 20px; }
  .hp-case-grid .hp-case:last-child { display: flex; }
  .hp-case-body { padding: 12px 14px 16px; }
  .hp-case h3 { font-size: 14.5px; }
  .hp-tags i:nth-child(n+2) { display: none; }
  .hp-case-big .hp-tags i { display: inline; }
  .hp-how-grid { grid-template-columns: 1fr; gap: 10px; }
  .hp-steps { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .hp-rev-grid { grid-template-columns: 1fr; }
  .hp-channel { flex-wrap: wrap; padding: 20px; }
  .hp-news-grid { grid-template-columns: 1fr; gap: 28px; }
  .hp-faq summary { font-size: 16px; padding: 18px 48px 18px 18px; }
  .hp-faq details p { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-wtrack, .hp-logos-track { animation: none; }
  .hp-reveal .hp-rv { opacity: 1; transform: none; }
}

/* ── Базовые правила внутри главной (в прототипе были глобальными) ── */
/* Ширина контента — как у .container остальных блоков (1200 px, поля 24 / 16 px) */
.hp { --wrap: 1248px; --gutter: 24px; }
.hp [hidden] { display: none !important; }
.hp-rev-score b { color: #fff; }
:where(.hp) img { max-width: 100%; display: block; }
:where(.hp) :where(h1, h2, h3, p) { margin: 0; }
:where(.hp) a { text-decoration: none; }
:where(.hp) svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hp-faq p a { color: var(--acc-ink); font-weight: 600; white-space: nowrap; }
.hp-faq p a:hover { color: var(--ink); }
.hp-svc-cta .btn { margin-top: 18px; align-self: flex-start; background: #fff; border-color: transparent; color: var(--text); }
.hp-svc-cta:hover .btn { background: var(--acc-d); color: #fff; }
.hp-channel .btn.primary { background: var(--tg); box-shadow: none; flex: none; }
.hp-channel:hover .btn.primary { background: var(--ink); }
.hp-hero-cta .btn { height: 54px; padding: 0 26px; font-size: 16px; }
.hp-tags i { font-style: normal; }
.hp-wall-note-go svg { width: 18px; height: 18px; }
.hp-case-img picture, .hp-news-img picture { display: block; height: 100%; }
.hp-case-img img, .hp-news-img img { width: 100%; }
@media (max-width: 768px) {
  .hp { --gutter: 16px; }
}
@media (max-width: 640px) {
  .hp-hero-cta .btn { width: 100%; }
}

/* Ссылки-блоки на главной не подчёркиваются (общее правило main a:not([class]) — для текста) */
.hp a { text-decoration: none !important; }
/* Ссылка на сам отзыв на площадке */
.hp-rev-src { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--acc-ink); }
.hp-rev-src:hover { color: var(--graphite); }
.hp-rev-src svg { width: 13px; height: 13px; }
.hp-rev figcaption small a { color: inherit; }
