/* webatla — page-specific styles externalised from static mockups (FAQ layout/accordion). Linked globally; selectors are page-scoped (.faq-*, .qa). */
    .faq-layout {
      display: grid;
      grid-template-columns: 240px 1fr;
      gap: 56px;
      align-items: start;
    }
    @media (max-width: 900px) {
      .faq-layout { grid-template-columns: 1fr; gap: 24px; }
      .faq-toc { position: static !important; }
    }

    .faq-toc {
      position: sticky;
      top: 90px;
      font-size: .92rem;
    }
    .faq-toc h3 {
      font-size: .78rem;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--c-text-muted);
      margin: 0 0 14px;
      font-weight: 600;
    }
    .faq-toc ul { list-style: none; padding: 0; margin: 0; }
    .faq-toc li a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 12px;
      border-radius: 8px;
      color: var(--c-text);
      font-weight: 500;
    }
    .faq-toc li a:hover { background: var(--c-bg-muted); text-decoration: none; }
    .faq-toc li a.active { background: var(--c-primary-soft); color: var(--c-primary); }
    .faq-toc li a small {
      font-family: var(--font-mono);
      color: var(--c-text-muted);
      font-size: .76rem;
    }

    .faq-section { margin-bottom: 48px; }
    .faq-section__head { margin-bottom: 8px; }
    .faq-section__head h2 {
      font-size: 1.4rem;
      letter-spacing: -0.01em;
      margin-bottom: 4px;
    }
    .faq-section__head p { color: var(--c-text-muted); margin: 0; font-size: .92rem; }

    .qa {
      border-bottom: 1px solid var(--c-border);
      padding: 18px 0;
    }
    .qa summary {
      cursor: pointer;
      font-weight: 600;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding: 4px 0;
    }
    .qa summary::-webkit-details-marker { display: none; }
    .qa summary::after {
      content: '+';
      width: 28px; height: 28px;
      border-radius: 50%;
      background: var(--c-bg-muted);
      color: var(--c-text-muted);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      font-weight: 500;
      flex-shrink: 0;
      transition: background .15s, color .15s, transform .2s;
    }
    .qa[open] summary::after {
      content: '−';
      background: var(--c-primary);
      color: #fff;
    }
    .qa summary:hover::after { background: var(--c-primary-soft); color: var(--c-primary); }
    .qa[open] summary:hover::after { background: var(--c-primary); color: #fff; }
    .qa__body { padding: 12px 0 4px; color: var(--c-text-muted); }
    .qa__body p:first-child { margin-top: 0; }
    .qa__body p:last-child { margin-bottom: 0; }
    .qa__body code {
      background: var(--c-bg-muted);
      padding: 2px 6px;
      border-radius: 4px;
      font-size: .85em;
      font-family: var(--font-mono);
    }
    .qa__body ul { padding-left: 20px; }
    .qa__body li { margin-bottom: 4px; }

    .faq-search { position: relative; max-width: 560px; margin: 0 auto 0; }
    .faq-search input {
      width: 100%;
      padding: 14px 16px 14px 46px;
      border-radius: var(--radius);
      border: 1px solid var(--c-border);
      font-size: 1rem;
      background: #fff;
      outline: none;
      box-shadow: var(--shadow-sm);
      transition: border-color .15s, box-shadow .15s;
    }
    .faq-search input:focus { border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(19,113,91,.15); }
    .faq-search svg {
      position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
      width: 20px; height: 20px; color: var(--c-text-muted);
    }
    .faq-search__hint {
      text-align: center;
      color: var(--c-text-muted);
      font-size: .82rem;
      margin-top: 10px;
    }

    .help-cta {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 32px;
    }
    @media (max-width: 800px) { .help-cta { grid-template-columns: 1fr; } }
    .help-cta__item {
      background: #fff;
      border: 1px solid var(--c-border);
      border-radius: var(--radius-lg);
      padding: 24px;
      text-align: center;
      transition: border-color .2s, transform .2s;
    }
    .help-cta__item:hover { border-color: var(--c-primary); transform: translateY(-2px); }
    .help-cta__icon {
      width: 44px; height: 44px;
      border-radius: 12px;
      background: var(--c-primary-soft);
      color: var(--c-primary);
      display: inline-flex; align-items: center; justify-content: center;
      margin-bottom: 14px;
    }
    .help-cta__item h4 { margin-bottom: 4px; font-size: 1.05rem; }
    .help-cta__item p { color: var(--c-text-muted); font-size: .9rem; margin: 0 0 14px; }

    /* Hidden state for search filtering */
    .qa.hidden-by-search { display: none; }
    .faq-section.hidden-by-search { display: none; }
    .no-results { display: none; padding: 40px; text-align: center; color: var(--c-text-muted); }
    .no-results.show { display: block; }

/* Dataset "Database preview" pills (tld / tld-suffix / technology / country):
   fit ALL datasets on screen — replace the horizontal-scroll flex row with a
   responsive grid. 6 equal columns on desktop (one row, no scroll); wraps to
   2–3 rows on narrower viewports. Overrides styles.css (loaded after it). */
.dataset-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 8px;
  overflow-x: visible;
}
.dataset-pill { min-width: 0; }

/* ── pricing: owned-state note ── readable on the dark-green "full" card
   (muted grey blended into the gradient = "зливається"). */
.dataset__note { font-size: .84rem; line-height: 1.35; margin: 10px 0 0; min-height: 2.7em; color: var(--c-text-muted); }
.dataset--full .dataset__note { color: rgba(255, 255, 255, .85); }

/* ── Database-preview pills: long names ("Websites + Ranking") overlapped the
   price badge ("налазить"). Let the name wrap; keep the badge fixed-size. */
.dataset-pill__top { align-items: flex-start; }
.dataset-pill__name { white-space: normal; min-width: 0; }
.dataset-pill__price { flex-shrink: 0; }
