:root {
  color-scheme: light;
  --bg: #f6f7fc;
  --surface: #ffffff;
  --ink: #171a32;
  --muted: #737891;
  --line: #e9ebf4;
  --purple: #6558e8;
  --purple-dark: #5044d3;
  --teal: #35b8b1;
  --shadow: 0 8px 26px rgba(33, 37, 82, .055);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 78% 2%, rgba(126, 116, 245, .09), transparent 33rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
.page-shell { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(224, 226, 239, .75);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 31px; height: 31px; display: flex; align-items: end; justify-content: center; gap: 3px;
  padding: 7px 6px; border-radius: 10px; background: linear-gradient(145deg, #786df5, #4b42c9);
  box-shadow: 0 5px 12px rgba(94, 81, 223, .22);
}
.brand-mark span { width: 4px; border-radius: 5px; background: #fff; }
.brand-mark span:nth-child(1) { height: 8px; opacity: .76; }
.brand-mark span:nth-child(2) { height: 14px; }
.brand-mark span:nth-child(3) { height: 11px; opacity: .88; }
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: -.55px; }
.brand-name span { color: var(--purple); }
.header-link { color: #555b79; text-decoration: none; font-size: 12px; font-weight: 650; }
.header-link span { margin-left: 5px; color: var(--purple); }
.header-link:hover, .back-top:hover { color: var(--purple); }

.hero {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  min-height: 205px; padding: 22px 28px 19px; margin: 12px 0 16px;
  overflow: hidden; border: 1px solid #e8e8fa; border-radius: 20px;
  background: linear-gradient(105deg, #fff 0%, #fff 54%, #f1f0ff 100%);
  box-shadow: var(--shadow);
}
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 7px; color: var(--purple); font-size: 9px; font-weight: 800; letter-spacing: 1.15px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(53, 184, 177, .12); }
h1 { max-width: 620px; margin: 9px 0 7px; font-size: clamp(29px, 3.4vw, 39px); line-height: 1.09; letter-spacing: -1.8px; font-weight: 820; }
h1 span { color: var(--purple); }
.hero-description { max-width: 525px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.hero-meta { display: flex; align-items: center; gap: 7px; margin-top: 13px; }
.meta-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 23px; padding: 4px 9px; border: 1px solid #e9e8f8; border-radius: 20px; color: #737691; background: rgba(255,255,255,.78); font-size: 10px; }
.meta-chip strong { color: var(--ink); font-size: 10px; }
.meta-sparkle { color: #e0a33b; }
.hero-art { position: relative; flex: 0 0 210px; height: 160px; margin-right: 12px; }
.orbit { position: absolute; border: 1px solid rgba(111, 99, 228, .14); border-radius: 50%; transform: rotate(-22deg); }
.orbit-one { width: 190px; height: 118px; top: 20px; left: -5px; }
.orbit-two { width: 150px; height: 92px; top: 33px; left: 15px; }
.art-card { position: absolute; left: 31px; top: 25px; width: 139px; height: 111px; border: 1px solid rgba(255,255,255,.88); border-radius: 13px; background: rgba(255,255,255,.9); box-shadow: 0 12px 28px rgba(73, 67, 157, .13); transform: rotate(5deg); }
.art-card-top { display: flex; gap: 4px; padding: 10px 10px 0; }
.art-dot { width: 4px; height: 4px; border-radius: 50%; background: #dadcf0; }
.art-chart { height: 43px; display: flex; align-items: end; gap: 6px; padding: 0 14px 4px; border-bottom: 1px solid #ececf6; margin: 4px 10px 0; }
.art-chart i { flex: 1; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #9a91fa, #665be7); }
.art-chart i:nth-child(1) { height: 34%; opacity: .65; }
.art-chart i:nth-child(2) { height: 52%; opacity: .75; }
.art-chart i:nth-child(3) { height: 42%; opacity: .75; }
.art-chart i:nth-child(4) { height: 68%; opacity: .85; }
.art-chart i:nth-child(5) { height: 57%; opacity: .86; }
.art-chart i:nth-child(6) { height: 88%; }
.art-chart i:nth-child(7) { height: 100%; }
.art-caption { display: flex; flex-direction: column; gap: 1px; padding: 7px 13px; font-size: 8px; color: #9296ad; }
.art-caption b { font-size: 10px; color: #3b3e61; }
.art-bubble { position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 12px; box-shadow: 0 8px 20px rgba(82, 71, 185, .18); }
.bubble-top { top: 8px; right: 12px; width: 31px; height: 31px; color: #fff; background: var(--teal); font-size: 17px; transform: rotate(9deg); }
.bubble-bottom { bottom: 5px; left: 9px; width: 26px; height: 26px; color: #725fe9; background: #fff; font-size: 13px; }

.directory { padding: 0 2px; }
.directory-heading { display: flex; align-items: end; justify-content: space-between; margin: 0 0 11px; }
.section-kicker { margin-bottom: 3px; font-size: 8px; }
h2 { margin: 0; font-size: 21px; line-height: 1.15; letter-spacing: -.65px; }
.result-count { padding-bottom: 2px; color: #8589a1; font-size: 10px; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.search-box { flex: 1 1 250px; min-width: 180px; height: 39px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid #e7e9f2; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(33,37,82,.025); }
.search-box svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: #9296ac; stroke-width: 1.8; stroke-linecap: round; }
.search-box input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.search-box input::placeholder { color: #a3a7b9; }
.search-box kbd { display: grid; place-items: center; width: 17px; height: 19px; border: 1px solid #e9eaf2; border-radius: 4px; color: #a0a4b6; background: #fafaff; font-size: 10px; }
.filters { display: flex; align-items: center; gap: 5px; }
.filter-button { min-height: 33px; padding: 0 10px; border: 1px solid transparent; border-radius: 8px; color: #737891; background: transparent; cursor: pointer; font-size: 10px; font-weight: 650; transition: background .16s, color .16s, border-color .16s; }
.filter-button span { margin-left: 3px; color: #a3a6b8; font-size: 9px; }
.filter-button:hover { color: var(--purple); background: #f0efff; }
.filter-button.is-active { border-color: #e5e2ff; color: var(--purple-dark); background: #efeeff; }
.filter-button.is-active span { color: #8279e8; }

.service-section { margin: 0 0 19px; }
.service-section-heading { display: flex; align-items: center; gap: 10px; margin: 0 0 9px; }
.section-icon { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; }
.section-icon svg { width: 16px; height: 16px; fill: currentColor; }
.telegram-icon { color: #fff; background: linear-gradient(145deg, #50bfe7, #2996d5); }
.analytics-icon { color: #fff; background: linear-gradient(145deg, #8579f1, #5f53d9); }
.analytics-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section-heading-copy h3 { margin: 0 0 2px; font-size: 13px; font-weight: 760; letter-spacing: -.2px; }
.section-heading-copy p { margin: 0; color: #8b8fa6; font-size: 10px; }
.section-number { margin-left: auto; color: #b4b6c6; font-size: 8px; letter-spacing: .8px; font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.service-card {
  min-width: 0; min-height: 74px; display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none;
  box-shadow: 0 2px 7px rgba(32, 36, 80, .025); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.service-card:hover { transform: translateY(-2px); border-color: #d8d4ff; box-shadow: 0 8px 18px rgba(58, 52, 130, .08); }
.service-card:focus-visible, .filter-button:focus-visible, .header-link:focus-visible, .search-box:focus-within { outline: 3px solid rgba(101, 88, 232, .2); outline-offset: 2px; }
.service-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; }
.service-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.telegram-tile { color: #fff; background: linear-gradient(145deg, #55c5ec, #2698d8); }
.telegram-tile svg { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.purple-tile { color: #695ce7; background: #f0efff; }
.pink-tile { color: #d45c9e; background: #fff0f7; }
.blue-tile { color: #3785d4; background: #edf5ff; }
.orange-tile { color: #d78a3d; background: #fff5e9; }
.green-tile { color: #31a17e; background: #eaf9f2; }
.shield-tile { color: #4e9b9b; background: #eaf7f7; }
.pink-tile .svg-fill { fill: currentColor; stroke: none; }
.service-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.service-copy strong { overflow: hidden; color: #252943; font-size: 11px; line-height: 1.2; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.service-copy > span { display: -webkit-box; overflow: hidden; color: #85899f; font-size: 9px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-action { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; color: #8b8fa5; font-size: 9px; font-weight: 650; white-space: nowrap; }
.card-action b { color: var(--purple); font-size: 12px; font-weight: 600; transition: transform .16s; }
.service-card:hover .card-action { color: var(--purple-dark); }
.service-card:hover .card-action b { transform: translate(2px, -2px); }

.no-results { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #dedff0; border-radius: 14px; background: rgba(255,255,255,.55); color: #85899f; text-align: center; }
.no-results[hidden] { display: none; }
.no-results-icon { color: var(--purple); font-size: 25px; }
.no-results strong { color: var(--ink); font-size: 13px; }
.no-results span:not(.no-results-icon) { font-size: 10px; }
.no-results button { margin-top: 3px; padding: 7px 11px; border: 0; border-radius: 7px; color: #fff; background: var(--purple); cursor: pointer; font-size: 10px; }
.bottom-note { display: flex; align-items: flex-start; gap: 9px; margin: 3px 0 20px; padding: 11px 13px; border: 1px solid #e9e9f3; border-radius: 10px; background: rgba(255,255,255,.6); }
.note-icon { width: 16px; height: 16px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #d9d6fa; border-radius: 50%; color: var(--purple); font-size: 10px; font-weight: 750; }
.bottom-note p { margin: 0; color: #898da3; font-size: 9px; line-height: 1.5; }
.site-footer { min-height: 49px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #e6e8f1; color: #9a9db0; font-size: 9px; }
.footer-brand { color: #555a79; font-size: 10px; font-weight: 800; text-decoration: none; }
.back-top { margin-left: auto; color: #777c97; text-decoration: none; }

@media (min-width: 900px) {
  .service-grid { gap: 9px; }
  .service-card { min-height: 78px; padding: 11px 13px; }
}
@media (max-width: 700px) {
  .page-shell { width: min(100% - 24px, 560px); }
  .site-header { min-height: 52px; }
  .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
  .brand-name { font-size: 14px; }
  .header-link { font-size: 10px; }
  .hero { min-height: 0; padding: 16px 16px 14px; margin: 9px 0 13px; border-radius: 15px; }
  .hero-art { display: none; }
  .eyebrow { font-size: 8px; letter-spacing: .9px; }
  h1 { max-width: 480px; margin: 7px 0 5px; font-size: clamp(24px, 6.7vw, 31px); letter-spacing: -1.15px; }
  .hero-description { max-width: 430px; font-size: 11px; line-height: 1.45; }
  .hero-meta { margin-top: 9px; }
  .meta-chip { min-height: 21px; font-size: 9px; }
  .directory-heading { margin-bottom: 8px; }
  h2 { font-size: 18px; }
  .section-kicker { font-size: 7px; }
  .result-count { font-size: 9px; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 7px; margin-bottom: 13px; }
  .search-box { min-height: 35px; flex: none; }
  .filters { gap: 4px; }
  .filter-button { min-height: 27px; padding: 0 9px; font-size: 9px; }
  .service-section { margin-bottom: 15px; }
  .service-section-heading { gap: 8px; margin-bottom: 7px; }
  .section-icon { width: 28px; height: 28px; border-radius: 8px; }
  .section-icon svg { width: 14px; height: 14px; }
  .section-heading-copy h3 { font-size: 11px; }
  .section-heading-copy p { font-size: 8px; }
  .section-number { font-size: 7px; }
  .service-grid { grid-template-columns: 1fr; gap: 6px; }
  .service-card { min-height: 68px; gap: 9px; padding: 8px 9px; border-radius: 10px; }
  .service-icon { width: 34px; height: 34px; border-radius: 9px; }
  .service-icon svg { width: 16px; height: 16px; }
  .telegram-tile svg { width: 17px; height: 17px; }
  .service-copy { gap: 2px; }
  .service-copy strong { font-size: 10px; }
  .service-copy > span { font-size: 8px; line-height: 1.3; -webkit-line-clamp: 2; }
  .card-action { gap: 2px; font-size: 8px; }
  .card-action b { font-size: 10px; }
  .bottom-note { margin-bottom: 14px; padding: 9px 10px; }
  .bottom-note p { font-size: 8px; }
  .site-footer { min-height: 42px; font-size: 8px; gap: 8px; }
  .footer-brand { font-size: 9px; }
  .back-top { font-size: 8px; }
}
@media (max-width: 360px) {
  .page-shell { width: calc(100% - 18px); }
  .hero { padding-inline: 12px; }
  .service-card { gap: 7px; padding-inline: 7px; }
  .card-action { font-size: 7px; }
  .filter-button { padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}


/* ==========================================================
   УВЕЛИЧЕННЫЙ ВАРИАНТ: более свободная ширина и читаемые элементы
   Эти настройки переопределяют исходные размеры выше.
   ========================================================== */
.page-shell { width: min(1200px, calc(100% - 48px)); }
.site-header { min-height: 70px; }
.brand { gap: 12px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; }
.brand-name { font-size: 19px; }
.header-link { font-size: 14px; }

.hero {
  min-height: 235px;
  padding: 27px 34px 24px;
  margin: 14px 0 20px;
  border-radius: 22px;
}
.hero-copy { max-width: 710px; }
.eyebrow { font-size: 10px; }
h1 { max-width: 700px; font-size: clamp(34px, 3.7vw, 45px); }
.hero-description { max-width: 590px; font-size: 15px; line-height: 1.6; }
.hero-meta { gap: 9px; margin-top: 15px; }
.meta-chip { min-height: 27px; padding: 5px 11px; font-size: 11px; }
.meta-chip strong { font-size: 11px; }
.hero-art { flex-basis: 230px; transform: scale(1.08); transform-origin: center; }

.directory-heading { margin-bottom: 14px; }
.section-kicker { font-size: 9px; }
h2 { font-size: 25px; }
.result-count { font-size: 12px; }
.toolbar { gap: 14px; margin-bottom: 19px; }
.search-box { height: 45px; gap: 11px; padding: 0 14px; border-radius: 11px; }
.search-box svg { width: 17px; height: 17px; }
.search-box input { font-size: 13px; }
.search-box kbd { width: 20px; height: 22px; font-size: 11px; }
.filter-button { min-height: 37px; padding: 0 12px; font-size: 12px; }
.filter-button span { font-size: 10px; }

.service-section { margin-bottom: 23px; }
.service-section-heading { gap: 12px; margin-bottom: 11px; }
.section-icon { width: 36px; height: 36px; border-radius: 10px; }
.section-icon svg { width: 19px; height: 19px; }
.section-heading-copy h3 { font-size: 15px; }
.section-heading-copy p { font-size: 11px; }
.section-number { font-size: 9px; }
.service-grid { gap: 11px; }
.service-card {
  min-height: 88px;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 14px;
}
.service-icon { width: 44px; height: 44px; border-radius: 11px; }
.service-icon svg { width: 21px; height: 21px; }
.telegram-tile svg { width: 22px; height: 22px; }
.service-copy { gap: 4px; }
.service-copy strong { font-size: 13px; }
.service-copy > span { font-size: 10.5px; line-height: 1.4; }
.card-action { gap: 5px; font-size: 10.5px; }
.card-action b { font-size: 14px; }

.no-results { min-height: 190px; gap: 10px; }
.no-results-icon { font-size: 29px; }
.no-results strong { font-size: 15px; }
.no-results span:not(.no-results-icon) { font-size: 11px; }
.no-results button { padding: 9px 13px; font-size: 11px; }
.bottom-note { gap: 11px; margin-bottom: 23px; padding: 13px 15px; border-radius: 12px; }
.note-icon { width: 19px; height: 19px; font-size: 11px; }
.bottom-note p { font-size: 10.5px; line-height: 1.55; }
.site-footer { min-height: 56px; gap: 14px; font-size: 10.5px; }
.footer-brand { font-size: 11.5px; }
.back-top { font-size: 10.5px; }

@media (min-width: 900px) {
  .service-grid { gap: 12px; }
  .service-card { min-height: 90px; padding: 14px 16px; }
}

@media (max-width: 700px) {
  .page-shell { width: min(calc(100% - 28px), 620px); }
  .site-header { min-height: 58px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 16px; }
  .header-link { font-size: 11px; }
  .hero { padding: 19px 18px 17px; margin: 10px 0 15px; border-radius: 16px; }
  .eyebrow { font-size: 9px; }
  h1 { margin: 8px 0 6px; font-size: clamp(27px, 7.2vw, 35px); letter-spacing: -1.2px; }
  .hero-description { font-size: 12.5px; line-height: 1.5; }
  .hero-meta { gap: 7px; margin-top: 11px; }
  .meta-chip { min-height: 23px; padding: 4px 9px; font-size: 10px; }
  .meta-chip strong { font-size: 10px; }
  .directory-heading { margin-bottom: 10px; }
  .section-kicker { font-size: 8px; }
  h2 { font-size: 20px; }
  .result-count { font-size: 10px; }
  .toolbar { gap: 8px; margin-bottom: 15px; }
  .search-box { min-height: 40px; padding-inline: 12px; }
  .search-box input { font-size: 12px; }
  .filters { gap: 5px; }
  .filter-button { min-height: 31px; padding-inline: 10px; font-size: 10px; }
  .service-section { margin-bottom: 18px; }
  .service-section-heading { gap: 9px; margin-bottom: 9px; }
  .section-icon { width: 31px; height: 31px; border-radius: 9px; }
  .section-icon svg { width: 16px; height: 16px; }
  .section-heading-copy h3 { font-size: 12.5px; }
  .section-heading-copy p { font-size: 9px; }
  .section-number { font-size: 8px; }
  .service-grid { grid-template-columns: 1fr; gap: 7px; }
  .service-card { min-height: 76px; gap: 10px; padding: 10px 11px; border-radius: 11px; }
  .service-icon { width: 38px; height: 38px; border-radius: 10px; }
  .service-icon svg { width: 18px; height: 18px; }
  .telegram-tile svg { width: 19px; height: 19px; }
  .service-copy { gap: 3px; }
  .service-copy strong { font-size: 11.5px; }
  .service-copy > span { font-size: 9.2px; line-height: 1.35; }
  .card-action { gap: 3px; font-size: 9px; }
  .card-action b { font-size: 11px; }
  .bottom-note { margin-bottom: 17px; padding: 10px 12px; }
  .bottom-note p { font-size: 9px; }
  .site-footer { min-height: 46px; font-size: 9px; gap: 9px; }
  .footer-brand { font-size: 10px; }
  .back-top { font-size: 9px; }
}

@media (max-width: 360px) {
  .page-shell { width: calc(100% - 20px); }
  .hero { padding-inline: 14px; }
  .service-card { gap: 8px; padding-inline: 9px; }
  .service-copy strong { font-size: 11px; }
  .service-copy > span { font-size: 8.8px; }
  .card-action { font-size: 8px; }
  .filter-button { padding-inline: 8px; }
}
