/* Главная: общие элементы, первый экран, блоки 2–3 (макет v2, design/landing/maket-v2/README.md, 08.11.2026). Значения — только токены (--site-*, --space-*). */

.gl-ww { max-width: var(--site-wrap); margin: 0 auto; padding: 0 22px; box-sizing: border-box; }
.gl-razdel { padding-top: var(--site-section-gap); }
.gl-razdel--final { padding-bottom: var(--site-section-gap); }
.gl-karta { background: var(--color-surface); border: 1px solid var(--site-line); border-radius: var(--site-r-card); }

/* --- Заголовки --- */
.gl-h1 { margin: 26px auto 0; font-size: var(--site-fs-h1); line-height: 1.06; font-weight: var(--site-w-semibold); letter-spacing: -0.045em; color: var(--site-on-dark); }
.gl-h1 span { display: inline-block; }
.gl-h2 { margin: 0; font-size: var(--site-fs-h2); line-height: 1.07; font-weight: var(--site-w-semibold); letter-spacing: -0.035em; }
.gl-h2--uzkiy { max-width: 820px; }
.gl-lead { margin: 16px 0 0; font-size: var(--site-fs-lead); line-height: 1.45; color: var(--site-ink-2); }
.gl-golova { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); flex-wrap: wrap; }
.gl-golova--tsentr { align-items: center; gap: var(--space-5); }
.gl-golova__tekst { max-width: 720px; }

/* --- Кнопки-«таблетки» --- */
.sayt .gl-pill {
    display: inline-block; box-sizing: border-box; font-size: 17px; font-weight: var(--site-w-medium); line-height: 1; white-space: nowrap; text-decoration: none;
    color: var(--site-on-dark); background: var(--color-primary); border-radius: var(--site-pill); padding: 15px 26px; box-shadow: var(--site-shadow-pill);
}
.sayt .gl-pill:hover { background: var(--site-accent-hover); }
.sayt .gl-pill--bel { background: var(--site-on-dark); color: var(--site-night); box-shadow: none; }
.sayt .gl-pill--bel:hover { background: var(--site-accent-soft); }
.sayt .gl-pill--krupnaya { font-size: 18px; padding: 16px 30px; }
.sayt .gl-pill--ramka { background: transparent; color: var(--site-on-dark); border: 1px solid var(--site-night-line-3); padding: 14px 24px; box-shadow: none; }
.sayt .gl-pill--ramka:hover { background: var(--site-night-fill); }
.sayt .gl-pill:focus-visible, .sayt .gl-tarif__knopka:focus-visible { outline: 2px solid var(--site-bar-blue); outline-offset: 3px; }

/* --- Плашка-подарок и свечение --- */
.gl-plashka {
    display: inline-block; font-size: 15px; font-weight: var(--site-w-medium); color: var(--site-on-night-chip); background: var(--site-night-fill);
    border: 1px solid var(--site-night-line-2); border-radius: var(--site-pill); padding: 8px 16px;
}
.gl-glow { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; pointer-events: none; }
.gl-glow--verh { top: -260px; width: 1400px; height: 900px; background: radial-gradient(closest-side, var(--site-glow-hero), transparent 100%); }
.gl-glow--niz { bottom: -320px; width: 1600px; height: 640px; background: radial-gradient(closest-side, var(--site-glow-hero-2), transparent 100%); }
.gl-glow--final { top: -280px; width: 1000px; height: 600px; background: radial-gradient(closest-side, var(--site-glow-final), transparent); }
.gl-fill-accent { fill: var(--color-primary); }
.gl-fill-white { fill: var(--site-on-dark); }

/* --- Блок 1: первый экран --- */
.gl-geroy { position: relative; overflow: hidden; background: var(--site-page); color: var(--site-on-dark); text-align: center; padding: clamp(72px, 9vw, 120px) 0 0; }
.gl-geroy__fon { position: absolute; left: 0; right: 0; top: 0; bottom: clamp(140px, 20vw, 300px); background: var(--site-night); overflow: hidden; }
.gl-geroy__tekst { position: relative; z-index: 3; }
.sayt .gl-geroy__lead { margin: 26px auto 0; max-width: 680px; font-size: var(--site-fs-lead-hero); line-height: 1.5; color: var(--site-on-night-2); }
.gl-geroy__knopki { margin-top: 38px; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.gl-geroy__usloviya { list-style: none; margin: 22px 0 0; padding: 0; display: flex; justify-content: center; gap: var(--space-6); flex-wrap: wrap; font-size: 14px; color: var(--site-on-night-3); }

/* Экран сервиса на всю ширину: иллюстрация из HTML/CSS с наклоном */
.gl-ekran { position: relative; z-index: 2; max-width: 1360px; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0 22px; box-sizing: border-box; perspective: 2600px; }
.gl-ekran__naklon { transform: rotateX(14deg); transform-origin: 50% 0; }
.gl-ekran__okno { background: var(--color-surface); border-radius: var(--site-r-screen); box-shadow: var(--site-shadow-screen); text-align: left; overflow: hidden; color: var(--site-ink); }
.gl-app { display: grid; grid-template-columns: 210px minmax(0, 1fr); }
.gl-app__menyu { background: var(--site-panel); border-right: 1px solid var(--site-line-soft); padding: 22px 14px; font-size: 14px; }
.gl-app__magazin { display: flex; align-items: center; gap: var(--space-2); padding: 0 var(--space-2) 18px; font-weight: var(--site-w-semibold); }
.gl-app__punkt { padding: 9px var(--space-2-5); color: var(--site-ink-2); }
.gl-app__punkt--on { border-radius: var(--space-2); background: var(--site-accent-soft); color: var(--site-accent-ink); font-weight: var(--site-w-medium); }
.gl-app__telo { padding: clamp(16px, 2.4vw, 28px); min-width: 0; }
.gl-app__golova { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: 18px; }
.gl-app__zagolovok { font-size: 20px; font-weight: var(--site-w-semibold); letter-spacing: -0.02em; }
.gl-seg { display: flex; background: var(--site-chip); border-radius: 9px; padding: 3px; font-size: 13px; }
.gl-seg span { padding: 5px var(--space-3); color: var(--site-ink-2); }
.gl-seg .gl-seg__on { background: var(--color-surface); border-radius: 7px; box-shadow: var(--site-shadow-chip); font-weight: var(--site-w-medium); color: var(--site-ink); }
.gl-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.gl-kpi__yacheyka { border: 1px solid var(--site-line-soft); border-radius: var(--site-r-kpi); padding: var(--space-4); min-width: 0; }
.gl-kpi__podpis { font-size: 13px; color: var(--site-ink-2); }
.gl-kpi__podpis--otstup { margin-bottom: var(--space-3); }
.gl-kpi__chislo { margin-top: var(--space-1-5); font-size: clamp(20px, 2.1vw, 26px); font-weight: var(--site-w-semibold); letter-spacing: -0.02em; white-space: nowrap; }
.gl-kpi__dop { margin-top: var(--space-1); font-size: 13px; color: var(--site-ink-2); }
.gl-kpi__dop--ok { color: var(--site-good); }
.gl-mock2 { margin-top: var(--space-3); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-3); }
.gl-stolbiki { display: flex; align-items: flex-end; gap: var(--space-1); height: 190px; }
.gl-stolbiki i { flex: 1; border-radius: var(--space-1) var(--space-1) 0 0; background: var(--site-bar-soft); }
.gl-stolbiki i:last-child { background: var(--color-primary); }
.gl-top { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--site-line-faint); font-size: 14px; }
.gl-top span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-top b { font-weight: var(--site-w-semibold); white-space: nowrap; }
.gl-stolbiki i:nth-child(1) { height: 38%; } .gl-stolbiki i:nth-child(2) { height: 44%; } .gl-stolbiki i:nth-child(3) { height: 40%; } .gl-stolbiki i:nth-child(4) { height: 52%; }
.gl-stolbiki i:nth-child(5) { height: 48%; } .gl-stolbiki i:nth-child(6) { height: 57%; } .gl-stolbiki i:nth-child(7) { height: 50%; } .gl-stolbiki i:nth-child(8) { height: 61%; }
.gl-stolbiki i:nth-child(9) { height: 55%; } .gl-stolbiki i:nth-child(10) { height: 63%; } .gl-stolbiki i:nth-child(11) { height: 58%; } .gl-stolbiki i:nth-child(12) { height: 49%; }
.gl-stolbiki i:nth-child(13) { height: 66%; } .gl-stolbiki i:nth-child(14) { height: 60%; } .gl-stolbiki i:nth-child(15) { height: 71%; } .gl-stolbiki i:nth-child(16) { height: 64%; }
.gl-stolbiki i:nth-child(17) { height: 69%; } .gl-stolbiki i:nth-child(18) { height: 58%; } .gl-stolbiki i:nth-child(19) { height: 74%; } .gl-stolbiki i:nth-child(20) { height: 68%; }
.gl-stolbiki i:nth-child(21) { height: 77%; } .gl-stolbiki i:nth-child(22) { height: 70%; } .gl-stolbiki i:nth-child(23) { height: 63%; } .gl-stolbiki i:nth-child(24) { height: 80%; }
.gl-stolbiki i:nth-child(25) { height: 74%; } .gl-stolbiki i:nth-child(26) { height: 83%; } .gl-stolbiki i:nth-child(27) { height: 76%; } .gl-stolbiki i:nth-child(28) { height: 88%; }
.gl-stolbiki i:nth-child(29) { height: 81%; } .gl-stolbiki i:nth-child(30) { height: 92%; }

/* --- Блок 2: шесть вопросов в одной карточке с линиями между ячейками --- */
.gl-yacheyki { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; overflow: hidden; }
.gl-yacheyka { padding: 36px 36px 40px; border-right: 1px solid var(--site-line); border-bottom: 1px solid var(--site-line); }
.gl-yacheyka:nth-child(3n) { border-right: none; }
.gl-yacheyka:nth-last-child(-n+3) { border-bottom: none; }
.gl-yacheyka__znak { width: 44px; height: 44px; border-radius: var(--site-r-icon); background: var(--site-accent-soft); display: flex; align-items: center; justify-content: center; }
.gl-yacheyka__znak svg { stroke: var(--color-primary); }
.gl-yacheyka__h3 { margin: 22px 0 0; font-size: 21px; line-height: 1.25; font-weight: var(--site-w-semibold); letter-spacing: -0.02em; }
.sayt .gl-yacheyka__tekst { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--site-ink-2); }

/* --- Ступени ширины: до 1000 — 2 колонки, до 700 — 1 --- */
@media (max-width: 1000px) {
    .gl-yacheyki { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gl-yacheyka, .gl-yacheyka:nth-child(3n), .gl-yacheyka:nth-last-child(-n+3) { border-right: 1px solid var(--site-line); border-bottom: 1px solid var(--site-line); }
    .gl-yacheyka:nth-child(2n) { border-right: none; }
    .gl-yacheyka:nth-last-child(-n+2) { border-bottom: none; }
    .gl-app { grid-template-columns: minmax(0, 1fr); }
    .gl-app__menyu { display: none; }
}
@media (max-width: 700px) {
    .gl-yacheyki, .gl-mock2 { grid-template-columns: minmax(0, 1fr); }
    .gl-yacheyka, .gl-yacheyka:nth-child(2n), .gl-yacheyka:nth-child(3n), .gl-yacheyka:nth-last-child(-n+2), .gl-yacheyka:nth-last-child(-n+3) { border-right: none; border-bottom: 1px solid var(--site-line); padding: 28px 24px; }
    .gl-yacheyka:last-child { border-bottom: none; }
    .gl-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
