/* =============================================================================
   Vypo — shared styles for features.php, pricing.php and support.php
   Mobile-first; builds on tokens and components from app.css
   ========================================================================== */

/* ---------- Features: category jump nav ---------- */
.jump-nav { z-index: 90; padding-block: 10px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--border); }
.jump-nav-inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: 2px; }
.jump-nav-inner::-webkit-scrollbar { display: none; }
.jump-nav a.pill { flex: none; min-height: 40px; padding-inline: 14px; white-space: nowrap; color: var(--text-2); }
.jump-nav a.pill:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); background: color-mix(in srgb, var(--brand) 8%, var(--surface-2)); }
@media (min-width: 900px) {
    .jump-nav { position: sticky; top: var(--header-h); }
    .jump-nav-inner { justify-content: center; flex-wrap: wrap; overflow: visible; }
}

.feat-section { scroll-margin-top: calc(var(--header-h) + 72px); }
.cat-head { display: grid; gap: 14px; justify-items: start; max-width: 720px; margin-bottom: clamp(24px, 4vw, 40px); }
.cat-head h2 { margin: 0; }
.cat-head p { margin: 0; color: var(--text-2); font-size: 1.05rem; }
.feat-card { height: 100%; }
.feat-card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: .92rem; }

/* ---------- Pricing ---------- */
.plans-grid { align-items: stretch; margin-top: 8px; }
.offer-callout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 auto 40px; max-width: 860px; padding: 16px 20px; border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--brand-2) 30%, var(--border)); background: var(--grad-soft); }
.offer-callout > i { font-size: 1.4rem; color: var(--brand-2); }
.offer-callout p { margin: 0; flex: 1 1 240px; color: var(--text); font-weight: 500; }
.offer-callout .code-chip { background: var(--brand); color: #fff; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.cmp-yes { color: var(--success); font-size: 1.1rem; }
.cmp-no { color: var(--text-3); font-size: 1.1rem; }
.compare th[scope="row"] { background: transparent; font-family: var(--font-sans); font-weight: 600; }
.compare thead th:first-child { min-width: 180px; }

/* ---------- Support ---------- */
.search-box { position: relative; max-width: 600px; margin: 28px auto 0; }
.search-box > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search-box .input { min-height: 56px; padding-left: 48px; border-radius: var(--r-pill); box-shadow: var(--shadow-md); }
.search-count { margin: 16px 0 0; text-align: center; font-size: .88rem; color: var(--text-3); }
.help-topics { margin-top: 18px; }
.help-topics a.chip:hover { color: var(--brand); border-color: var(--brand); }
.help-grid { align-items: start; }
.help-cat { scroll-margin-top: calc(var(--header-h) + 16px); }
.help-cat:not(:has([data-filter-item]:not([hidden]))) { display: none; }
.help-cat-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.help-cat-head h3 { margin: 0; }
.help-cat > p { margin-bottom: 8px; }
.help-item { border-top: 1px solid var(--border); }
.help-item:first-of-type { margin-top: 12px; }
.help-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; min-height: 48px; font-weight: 600; color: var(--text); font-size: .98rem; }
.help-item summary::-webkit-details-marker { display: none; }
.help-item summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--brand); line-height: 1; transition: transform .3s var(--ease); }
.help-item[open] summary::after { transform: rotate(45deg); }
.help-item .help-ans { padding: 0 0 16px; color: var(--text-2); font-size: .95rem; }
.help-item .help-ans p { margin: 0; color: var(--text-2); }
.help-item .help-ans p + p { margin-top: .6em; }
.help-empty { max-width: 640px; margin: 24px auto 0; }
.security-grid { margin-top: 8px; }
.contact-grid { display: grid; gap: 20px; grid-template-columns: 1fr; max-width: 860px; margin-inline: auto; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } .contact-grid.is-single { grid-template-columns: 1fr; max-width: 460px; } }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.contact-card .btn { margin-top: 20px; }
.contact-card p { word-break: break-word; }
