/*
Theme Name: Tolk SEO
Description: Собственная тема сайта Толк SEO.
Version: 0.2.2
Requires at least: 7.1
Requires PHP: 8.3
Text Domain: tolk-seo
*/

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500 900;
    font-display: swap;
    src: url('assets/montserrat-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500 900;
    font-display: swap;
    src: url('assets/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #0e0e10;
    --muted: #6b6b73;
    --border: #e8e8ec;
    --accent: #f2631f;
    --accent-light: #fff0e8;
    --shell-width: 1144px;
    --page-gutter: max(18px, (100% - var(--shell-width)) / 2);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: white; color: var(--ink); font: 500 16px/1.55 Montserrat, system-ui, sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.shell { width: min(var(--shell-width), 100% - 36px); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { z-index: 20; inset: 8px auto auto 8px; width: auto; height: auto; padding: 8px 12px; clip-path: none; background: white; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 51px;
    padding: 0 24px;
    border: 0;
    border-radius: 100px;
    background: var(--accent);
    box-shadow: 0 10px 12px rgb(242 99 31 / 22%);
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

a.button, button.button { cursor: pointer; }
a.button:hover, button.button:hover { filter: brightness(.94); }
.button--light { background: #f5f5f7; box-shadow: none; color: var(--ink); }
.button--dark { background: var(--ink); box-shadow: 0 10px 12px rgb(14 14 16 / 16%); }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--border); background: white; }
.header-layout, .header-actions, .site-nav ul { display: flex; align-items: center; }
.header-layout { min-height: 72px; justify-content: space-between; gap: 20px; }
.header-actions { gap: 8px; }
.wordmark { font-size: 19px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--accent); font-weight: 900; }
.site-nav ul { padding: 0; margin: 0; gap: clamp(15px, 2.35vw, 34px); list-style: none; }
.site-nav a, .site-nav span { font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { text-decoration: underline; }
.menu-toggle, .site-nav .mobile-login { display: none; }

.hero { position: relative; isolation: isolate; overflow: clip; min-height: 666px; }
.hero-content { padding-block: 88px 48px; }
.hero h1 { font-size: clamp(50px, 4.93vw, 71px); line-height: .893; font-weight: 800; letter-spacing: -.0353em; }
.line-break, .desktop-break:not(br) { display: block; }
.desktop-emphasis { color: var(--accent); }
.mobile-break { display: none; }
.hero-description { max-width: 610px; margin-top: 36px; color: var(--muted); font-size: 18px; }

.hero-form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(560px, 100%);
    margin-top: 82px;
    padding: 7px 7px 7px 24px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: white;
    box-shadow: 0 10px 15px rgb(14 14 16 / 6%);
}

.hero-form input { flex: 1; min-width: 0; min-height: 45px; color: var(--ink); border: 0; background: transparent; }
.hero-form input::placeholder { color: #9a9aa3; opacity: 1; }
.form-status { position: absolute; top: calc(100% + 7px); left: 0; width: 100%; color: var(--muted); font-size: 12px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.hero-benefits li { padding: 8px 16px; border: 1px solid var(--accent); border-radius: 100px; color: var(--accent); font-size: 14px; font-weight: 600; }
.hero-art { position: absolute; z-index: -1; top: 34px; left: calc(50% + 34px); width: 686px; height: 653px; overflow: hidden; pointer-events: none; }
.hero-art img { display: block; width: 190.34%; height: 100%; max-width: none; }

.products, .steps { border-top: 1px solid var(--border); }
.products { padding-block: 56px 39px; }
.section-label { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.section-label--badge { display: inline-block; padding: 8px 16px; border-radius: 100px; background: var(--accent-light); }
.products-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 20px; }
.products h2, .steps h2 { font-size: 44px; line-height: 1.11; letter-spacing: -.02em; font-weight: 800; }
.products-heading > p, .products-note { color: var(--muted); font-size: 14px; }
.product-track, .result-track { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--page-gutter); scrollbar-width: thin; scrollbar-color: transparent transparent; }
.product-track:is(:hover, :focus-within), .result-track:is(:hover, :focus-within) { scrollbar-color: #c7c7cd transparent; }
.product-track { gap: 24px; padding: 30px var(--page-gutter) 20px; margin-top: 22px; }
.product-card { display: flex; flex: 0 0 560px; flex-direction: column; min-height: 438px; padding: 32px; border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 12px 24px rgb(14 14 16 / 5%); scroll-snap-align: start; }
.product-card h3 { display: flex; align-items: center; gap: 14px; font-size: 22px; line-height: 1.25; font-weight: 800; }
.product-number { display: grid; place-items: center; flex: none; min-width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: white; font-size: 13px; }
.product-summary { margin-top: 22px; padding: 14px 18px; border-radius: 16px; background: var(--accent-light); font-size: 14px; font-weight: 600; }
.product-summary strong { color: var(--accent); }
.product-points { display: grid; gap: 10px; margin: 27px 0 10px; padding: 0; list-style: none; }
.product-points li { position: relative; padding-left: 34px; font-size: 15px; }
.product-check { position: absolute; left: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: var(--accent-light); color: var(--accent); }
.product-actions a:not(.button) { text-decoration: none; }
.product-actions a:not(.button):hover { text-decoration: underline; }
.product-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: auto; font-size: 14px; font-weight: 600; }
.products-note { margin-top: 18px; }

.steps { padding-block: 66px 65px; }
.steps h2 { margin-top: 14px; }
.steps-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 48px 0 44px; padding: 0; counter-reset: step; list-style: none; }
.steps-list li { min-height: 148px; padding: 18px 0 0; border-top: 2px solid var(--ink); }
.steps-list li::before { counter-increment: step; content: counter(step, decimal-leading-zero); color: var(--accent); font-size: 13px; font-weight: 700; }
.steps-list h3 { margin-top: 8px; font-size: 18px; line-height: 1.25; font-weight: 800; }
.steps-list p { margin-top: 7px; color: var(--muted); font-size: 15px; }
.entry-content { padding-block: 45px; }
.entry-content img { max-width: 100%; height: auto; }

@media (max-width: 1010px) {
    .header-layout { gap: 14px; }
    .site-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 18px; border-bottom: 1px solid var(--border); background: white; }
    .site-nav.is-open { display: block; }
    .site-nav ul { display: grid; gap: 14px; margin: 0 auto; max-width: var(--shell-width); }
    .site-nav .mobile-login { display: inline-flex; margin-top: 18px; }
    .desktop-login { display: none; }
    .menu-toggle { display: grid; place-items: center; width: 42px; height: 44px; padding: 0; border: 0; border-radius: 44px; background: var(--accent-light); cursor: pointer; }
    .menu-toggle span { width: 19px; height: 10px; border-block: 3px solid var(--accent); border-radius: 1px; }
    .header-cta { min-height: 44px; padding-inline: 21px; font-size: 13px; }
    .header-actions { gap: clamp(10px, 6.25vw, 24px); }
    .hero-art { left: 60%; }
}

@media (max-width: 760px) {
    .hero { min-height: 0; }
    .hero-content { padding-block: 84px 0; }
    .hero h1 { font-size: clamp(34px, 11.28vw, 44px); line-height: .98; letter-spacing: -.045em; }
    .hero-emphasis { color: var(--accent); }
    .desktop-emphasis { color: inherit; }
    .desktop-break, .desktop-break:not(br) { display: none; }
    .mobile-break { display: block; }
    .hero-description { max-width: 341px; margin-top: 26px; }
    .hero-form { flex-direction: column; align-items: stretch; margin-top: 34px; padding: 14px; border-radius: 24px; }
    .hero-form input { flex: auto; width: 100%; min-height: 41px; padding-inline: 4px; }
    .hero-benefits { flex-direction: column; align-items: flex-start; }
    .hero-form:has(.form-status:not(:empty)) + .hero-benefits { margin-top: 62px; }
    .hero-art { position: relative; top: auto; left: 50%; width: min(103%, 470px); height: auto; transform: translateX(-50%); aspect-ratio: 402 / 383; }
    .products { position: relative; margin-top: -15px; padding-block: 36px 2px; background: white; }
    .products h2, .steps h2 { max-width: 460px; font-size: 28px; }
    .products-heading > p, .products-note { display: none; }
    .product-track { display: grid; overflow: visible; margin-top: 50px; padding-block: 0; }
    .product-card { min-height: 558px; padding: 32px; }
    .product-card:nth-child(2) { min-height: 603px; }
    .product-card:nth-child(3) { min-height: 618px; }
    .product-card:nth-child(3) h3 { margin-right: -7px; letter-spacing: -.01em; }
    .product-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
    .steps { margin-top: 140px; padding-block: 38px 39px; }
    .steps h2 { max-width: 310px; }
    .steps-list { grid-template-columns: 1fr; gap: 20px; margin-block: 44px 34px; }
    .steps-list li { min-height: 120px; }
}

.landing-section { border-top: 1px solid var(--border); }
.landing-section h2, .footer-pitch h2 { margin-top: 14px; font-size: 44px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.section-description { margin-top: 18px; color: var(--muted); font-size: 17px; }
.split-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(24px, 4.45vw, 64px); }
.section-copy .button { margin-top: 34px; }
.demo-badge { display: inline-flex; padding: 4px 10px; border-radius: 100px; background: var(--accent-light); color: var(--accent); font-size: 11px; font-weight: 700; white-space: nowrap; }

.keyword-section { padding-block: 96px 98px; }
.analytics-section { padding-block: 95px; }
.keyword-demo { padding: 28px; border-radius: 24px; background: #f5f5f7; }
.keyword-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.keyword-heading h3 { font-size: 14px; }
.keyword-heading .demo-badge { padding: 2px 7px; }
.keyword-list { margin-top: 16px; padding: 8px; border-radius: 16px; background: white; }
.keyword-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 47.25px; padding: 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.keyword-row input { appearance: none; display: grid; place-items: center; width: 22px; height: 22px; margin: 0; border: 2px solid #c7c7d1; border-radius: 6px; background: white; cursor: pointer; }
.keyword-row input:checked { border-color: var(--accent); background: var(--accent); }
.keyword-row input:checked::after { content: ''; width: 11px; height: 6px; border-bottom: 2px solid white; border-left: 2px solid white; transform: translateY(-1px) rotate(-45deg); }
.keyword-row small, .keyword-count { color: var(--muted); font-size: 13px; }
.keyword-count { display: block; margin: 12px 4px 0; }

.dark-surface { position: relative; isolation: isolate; overflow: clip; color: white; background: radial-gradient(ellipse at 63% 24%, #050505, #131313 45%, #202020 92%); }
.dark-surface::before { content: ''; position: absolute; inset: 50% auto auto 50%; z-index: -1; background-position: bottom; background-repeat: no-repeat; background-size: 100% 100%; transform: translate(-50%, -50%) rotate(90deg); pointer-events: none; }
.analytics-section { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 746.34' preserveAspectRatio='none'%3E%3Cdefs%3E%3CradialGradient id='g' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(-29.65 28.5 -54.988 -57.207 905 175.03)'%3E%3Cstop stop-color='%23050505'/%3E%3Cstop offset='.5' stop-color='%23131313'/%3E%3Cstop offset='1' stop-color='%23202020'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M0 0h1440v746.34H0z'/%3E%3C/svg%3E"); background-size: 100% 100%; }
.analytics-section::before { width: 746px; height: 1440px; background-image: url('assets/dashboard-background.png'); }
.analytics-copy { grid-column: 2; grid-row: 1; }
.dark-surface h2 em { color: var(--accent); font-style: normal; }
.dark-surface .section-description { max-width: 490px; color: #d4d4d7; }
.dashboard { grid-column: 1; grid-row: 1; overflow: hidden; padding-bottom: 1px; border: 1px solid var(--border); border-radius: 24px; background: white; box-shadow: 0 24px 60px rgb(14 14 16 / 7%); color: var(--ink); }
.dashboard-bar { display: flex; align-items: center; gap: 8px; min-height: 54px; padding-inline: 18px; border-bottom: 1px solid var(--border); }
.dashboard-bar h3 { font-size: 13px; font-weight: 900; }
.dashboard-bar .demo-badge { margin-left: auto; }
.window-dots { display: flex; gap: 8px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e0e0e6; }
.dashboard-inner { padding: 18px; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 12px; }
.dashboard-metrics div { min-height: 87px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; }
.dashboard-metrics dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.dashboard-metrics dd { margin: 5px 0 0; font-size: 22px; font-weight: 700; }
.dashboard em, .result-gain { color: #1fa35c; font-style: normal; }
.ranking-chart { margin: 0 0 12px; padding: 14px; border-radius: 16px; background: #f5f5f7; }
.chart-surface { position: relative; aspect-ratio: 474 / 155; overflow: hidden; }
.chart-surface--mobile { display: none; }
.chart-canvas { position: absolute; width: 474px; height: 155px; scale: var(--chart-scale, 1); transform-origin: top left; }
.chart-canvas img, .chart-canvas span { position: absolute; }
.chart-horizontal { top: var(--y); left: 0; }
.chart-vertical { top: var(--y); left: var(--x); transform: translate(-50%, -50%) rotate(-90deg); }
.chart-line { top: 8.9%; left: 1.64%; }
.chart-start { top: 24.12%; left: .96%; }
.chart-end { top: 4.7%; left: 94.3%; }
.chart-label-start, .chart-label-end { color: var(--muted); font-size: 10.94px; font-weight: 700; line-height: 1; }
.chart-label-start { top: 11.76%; left: 1.93%; }
.chart-label-end { top: 17.61%; left: 95.36%; color: #1fa35c; }
.dashboard-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.dashboard-table th, .dashboard-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); font-weight: 500; }
.dashboard-table thead th { color: var(--muted); font-size: 12px; font-weight: 600; }
.dashboard-table em { font-weight: 700; }

.features { min-height: 540px; padding-block: 60px 52px; }
.features-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 36px; margin: 46px 0 0; padding: 0; list-style: none; counter-reset: feature; }
.features-list li { min-height: 122px; }
.features-list li::before { content: counter(feature, decimal-leading-zero); counter-increment: feature; color: var(--accent); font-size: 13px; font-weight: 700; }
.features-list h3 { margin-top: 6px; font-size: 18px; font-weight: 800; }
.features-list p { margin-top: 5px; color: var(--muted); font-size: 15px; }
.audience { padding-block: 96px; }
.audience-panel { padding: 52px 48px 56px; border-radius: 28px; background: #15171c; color: white; }
.audience-panel .section-label { color: #ffb38f; }
.audience-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 16px; margin-top: 42px; }
.audience-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 320px; padding: 26px; border: 1px solid var(--border); border-radius: 20px; background: white; color: var(--ink); }
.audience-card--primary { border: 2px solid var(--accent); padding: 25px; }
.audience-role { padding: 7px 10px; border-radius: 8px; background: #f5f5f7; font-size: 12px; font-weight: 700; line-height: 1.25; }
.audience-card h3 { margin-top: 14px; font-size: 20px; line-height: 1.15; font-weight: 800; }
.audience-description { margin: 12px 0 20px; color: var(--muted); font-size: 15px; }
.audience-card:nth-child(2) .audience-description { font-size: 14px; }
.audience-card .button { margin-top: auto; white-space: normal; }
.audience-card .button--dark { box-shadow: none; }
.audience-icon { width: 51px; padding: 0; }

.results, .pricing, .faq { padding-block: 68px; }
.results { min-height: 664px; padding-bottom: 55px; }
.results .section-description { max-width: 655px; }
.results .demo-badge { margin-top: 18px; padding: 6px 12px; font-size: 12px; }
.result-track { gap: 16px; margin-top: 47px; padding: 0 var(--page-gutter) 4px; }
.result-card { display: flex; flex: 0 0 274px; flex-direction: column; min-height: 229px; padding: 22px; border: 1px solid var(--border); border-radius: 20px; scroll-snap-align: start; }
.result-location { color: var(--muted); font-size: 12px; font-weight: 600; }
.result-card h3 { margin-top: 3px; font-size: 17px; font-weight: 800; }
.result-gain { margin-top: 13px; font-size: 32px; font-weight: 800; }
.result-gain span { display: inline-block; padding: 4px 6px; border-radius: 6px; background: #f5f5f7; color: var(--ink); font-size: 8px; vertical-align: middle; }
.result-caption { margin: 7px 0 15px; color: var(--muted); font-size: 13px; }
.result-bar, .result-bar span { height: 6px; border-radius: 10px; }
.result-bar { margin-top: auto; background: #f5f5f7; }
.result-bar span { display: block; width: var(--progress); background: #1fa35c; }

.pricing { min-height: 722px; padding-bottom: 65px; }
.pricing .section-description { max-width: 630px; }
.pricing-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 49px; }
.pricing-controls, .pricing-total { min-width: 0; min-height: 322px; padding: 28px; border-radius: 24px; }
.pricing-controls { border: 1px solid var(--border); }
.pricing-label { margin-bottom: 11px; color: var(--muted); font-size: 13px; font-weight: 700; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip { min-height: 44px; padding: 0 18px; border: 0; border-radius: 44px; background: #f5f5f7; color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.choice-chip[aria-pressed="true"] { background: var(--ink); color: white; }
.choice-chip small { color: var(--accent); font-size: 11px; }
.pricing-slider { margin: 25px 0 20px; }
.pricing-slider input { appearance: none; display: block; width: 100%; height: 24px; margin: 0; border: 0; background: none; cursor: pointer; }
.pricing-slider input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(to right, var(--accent) var(--range-fill), var(--border) var(--range-fill)); }
.pricing-slider input::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; margin-top: -8px; border: 3px solid var(--accent); border-radius: 8px; background: white; box-shadow: 0 4px 10px rgb(242 99 31 / 15%); }
.pricing-slider input::-moz-range-track { height: 8px; border-radius: 8px; background: var(--border); }
.pricing-slider input::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--accent); }
.pricing-slider input::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid var(--accent); border-radius: 8px; background: white; }
.range-ticks { display: flex; justify-content: space-between; margin-top: 8px; }
.range-ticks button { min-height: 20px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; cursor: pointer; }
.pricing-total { display: flex; flex-direction: column; padding: 30px; background: var(--ink); color: #bebdc7; font-size: 13px; }
.pricing-total .button { margin: auto 0 14px; }
.pricing-amount { margin: 8px 0; font-size: 22px; font-weight: 600; }
.pricing-amount strong { color: white; font-size: clamp(33px, 4.1vw, 58px); line-height: 1.2; font-weight: 900; letter-spacing: -.025em; }
.pricing-note { margin-top: 18px; color: var(--muted); font-size: 13px; }

.faq { min-height: 900px; padding-top: 63px; }
.faq-list { width: min(100%, 780px); margin-top: 39px; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; padding-block: 20px; font-size: 16px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-symbol { position: relative; flex: 0 0 11px; height: 11px; }
.faq-symbol::before, .faq-symbol::after { content: ''; position: absolute; inset: 5px 0; height: 1px; background: var(--accent); }
.faq-symbol::after { transform: rotate(90deg); }
.faq-list details[open] .faq-symbol::after { display: none; }
.faq-list details p { margin-top: -6px; padding-bottom: 20px; color: var(--muted); font-size: 15px; }

.site-footer {
    min-height: 924px;
    padding-bottom: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 924' preserveAspectRatio='none'%3E%3Cdefs%3E%3CradialGradient id='g' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(-29.65 35.284 -54.988 -70.825 905 216.69)'%3E%3Cstop stop-color='%23050505'/%3E%3Cstop offset='.5' stop-color='%23131313'/%3E%3Cstop offset='1' stop-color='%23202020'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M0 0h1440v924H0z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}
.site-footer::before { width: 924px; height: 1440px; background-image: url('assets/footer-background.png'); }
.footer-cta { display: grid; grid-template-columns: 1fr minmax(0, 488px); align-items: center; gap: 44px; min-height: 516px; padding-top: 48px; }
.footer-pitch h2 { margin: 0; font-size: 50px; line-height: .88; }
.footer-pitch .section-description { margin-top: 26px; }
.footer-pitch .button { margin: 36px 0 18px; }
.footer-pitch small { display: block; color: #d4d4d7; font-size: 13px; }
.footer-help { min-height: 423px; padding: 38px; border: 2px solid var(--accent); border-radius: 28px; background: rgb(0 0 0 / 22%); }
.footer-help h3 { font-size: 24px; font-weight: 800; }
.footer-help > p { max-width: 340px; margin-top: 6px; color: #c8c7ce; font-size: 15px; }
.footer-help .button { width: 100%; margin-block: 24px 10px; }
.button--white { background: white; box-shadow: none; color: var(--ink); }
.footer-handle { font-weight: 700; }
.footer-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin: 38px 0 0; padding: 0; list-style: none; }
.footer-benefits li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 1px solid #606064; border-radius: 12px; background: #303030; font-size: 13px; font-weight: 700; }
.footer-benefits picture { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: white; }
.footer-grid { display: grid; grid-template-columns: .8fr .95fr .95fr 1.35fr .9fr; gap: 24px; padding-block: 60px; }
.footer-brand p { max-width: 174px; margin-top: 24px; color: #bfbfc5; font-size: 13px; line-height: 1.38; }
.footer-grid h3, .footer-contacts p { margin-bottom: 18px; color: #bfbfc5; font-size: 12px; font-weight: 500; }
.footer-links ul { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; font-size: 13px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-contacts > a { font-size: 20px; font-weight: 700; white-space: nowrap; }
.footer-contacts p { margin-top: 14px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social > * { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid #3b3b3b; color: #bfbfc5; font-size: 12px; }

@media (max-width: 1010px) {
    .audience-panel { padding-inline: 32px; }
    .audience-card { padding: 18px; }
    .audience-card .button { padding-inline: 14px; font-size: 13px; }
    .footer-grid { gap: 18px; }
    .footer-contacts > a { font-size: 16px; }
}

@media (max-width: 760px) {
    .landing-section h2 { margin-top: 14px; font-size: 28px; }
    .split-layout, .audience-grid, .pricing-layout { grid-template-columns: minmax(0, 1fr); }
    .keyword-section { padding-block: 62px 40px; }
    .keyword-section .split-layout { gap: 40px; }
    .keyword-section .section-copy h2 { max-width: 330px; }
    .keyword-demo { padding: 26px 22px 32px; }
    .keyword-row { min-height: 69px; grid-template-columns: 22px 1fr; gap: 0 12px; }
    .keyword-row input { grid-row: span 2; }
    .keyword-row small { grid-column: 2; }
    .analytics-section { margin-top: 15px; padding-block: 38px; background: white; color: var(--ink); }
    .analytics-section::before { display: none; }
    .analytics-section .section-description { color: var(--muted); }
    .analytics-section h2 em { color: inherit; }
    .analytics-section .split-layout { gap: 41px; }
    .analytics-copy, .dashboard { grid-column: auto; grid-row: auto; }
    .dashboard-metrics { grid-template-columns: 1fr; }
    .dashboard { min-height: 752px; }
    .dashboard-bar h3 { font-size: clamp(10px, 3.34vw, 13px); }
    .dashboard-table th, .dashboard-table td { padding-inline: 4px; }
    .ranking-chart { padding: 0; border-radius: 10px; }
    .chart-surface--desktop { display: none; }
    .chart-surface--mobile { display: block; aspect-ratio: 320 / 122; }
    .chart-canvas { width: 320px; height: 122px; }
    .chart-horizontal { left: -7.62%; }
    .chart-line { top: 25.86%; left: 6.27%; }
    .chart-start { top: 38.54%; left: 5.64%; }
    .chart-end { top: 22.95%; left: 93.36%; }
    .chart-label-start { top: 24.02%; left: 4.79%; }
    .chart-label-end { top: 40.16%; left: 91.85%; }
    .features { min-height: auto; padding-block: 49px; }
    .features-list { grid-template-columns: 1fr; gap: 32px; margin-top: 44px; }
    .features-list li { min-height: 105px; }
    .audience { padding-block: 38px 43px; }
    .audience-panel { padding: 32px 20px 22px; }
    .audience-grid { gap: 14.5px; margin-top: 39px; }
    .audience-card { min-height: 289px; padding: 22px; }
    .audience-card--primary { min-height: 269px; }
    .audience-card:nth-child(2) { min-height: 201px; }
    .audience-icon { display: none; }
    .audience-card h3 { font-size: 18px; }
    .audience-description, .audience-card:nth-child(2) .audience-description { margin-bottom: 14px; font-size: 13.6px; }
    .audience-card .button { min-height: 46px; font-size: 13px; }
    .results { min-height: auto; padding-block: 31px 60px; }
    .results h2 { max-width: 225px; }
    .result-track { display: grid; overflow: visible; }
    .result-card { min-height: 208px; }
    .result-card:nth-child(n + 5) { display: none; }
    .pricing { min-height: auto; padding-block: 36px 37px; }
    .pricing-layout { gap: 40px; }
    .pricing-controls, .pricing-total { padding: 28px; }
    .pricing-controls { min-height: 415px; }
    .pricing-controls .choice-group:last-child { max-width: 240px; }
    .range-ticks button:nth-child(even) { visibility: hidden; }
    .pricing-total { min-height: 342px; }
    .pricing-amount strong { font-size: 44px; }
    .pricing-amount { font-size: 16px; }
    .faq { min-height: auto; margin-top: 31px; padding-block: 40px 47px; }
    .faq-list { margin-top: 40px; }
    .faq-list summary { padding-block: 20px; font-size: 15px; }
    .site-footer {
        margin-top: 30px;
        padding-bottom: 25px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 1842' preserveAspectRatio='none'%3E%3Cdefs%3E%3CradialGradient id='g' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='10' gradientTransform='matrix(-8.0302 70.339 -14.893 -141.19 245.1 431.98)'%3E%3Cstop stop-color='%23050505'/%3E%3Cstop offset='.5' stop-color='%23131313'/%3E%3Cstop offset='1' stop-color='%23202020'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath fill='url(%23g)' d='M0 0h390v1842H0z'/%3E%3C/svg%3E");
    }
    .site-footer::before { inset: 0 auto 0 -26%; width: 225%; height: 100%; transform: none; background-image: url('assets/footer-background-mobile.png'); }
    .footer-cta { grid-template-columns: minmax(0, 1fr); width: min(var(--shell-width), 100% - 36px); gap: 40px; min-height: auto; padding-top: 56px; }
    .footer-pitch { padding-inline: 22px; }
    .footer-pitch h2 { font-size: 28px; line-height: 1.12; }
    .footer-pitch h2 em { color: inherit; }
    .footer-pitch .section-description { margin-top: 20px; }
    .footer-pitch .button { margin: 32px 0 16px; }
    .footer-help { min-height: 354px; padding: 21px; }
    .footer-help h3 { font-size: 24px; }
    .footer-help .button { margin-top: 22px; }
    .footer-benefits { gap: 5px; margin-top: 21px; }
    .footer-benefits li { gap: 6px; padding: 4px 7px 4px 4px; border-radius: 8px; font-size: 10px; }
    .footer-benefits picture { width: 21px; height: 21px; border-radius: 4px; }
    .footer-grid { grid-template-columns: 1fr; gap: 42px; padding: 40px 0 36px; }
    .footer-brand p { max-width: 240px; margin-top: 13px; }
    .footer-contacts > a { font-size: 16px; }
    .footer-bottom { font-size: 11px; }
}

@media (max-width: 360px) {
    .dashboard-inner { padding-inline: 12px; }
    .dashboard-bar { padding-inline: 12px; }
    .dashboard-table { font-size: 12px; }
    .dashboard-table thead th { font-size: 10px; }
    .window-dots { gap: 4px; }
    .footer-pitch { padding-inline: 8px; }
}

@media (max-width: 360px) {
    .header-cta { min-height: 42px; padding-inline: 12px; font-size: 12px; }
    .header-actions { gap: 8px; }
    .hero-form input { font-size: 14px; }
    .product-card { padding: 24px; }
    .product-actions .button { padding-inline: 14px; }
}
