/* =====================================================
   PORTAL DESIGN SYSTEM — ISL Content Portal
   Белая база, ISL бренд (#F5C400), Liquid Glass
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ── Tokens ── */
:root {
  --p-yellow:     #F5C400;
  --p-yellow-h:   #E0B300;
  --p-yellow-dim: rgba(245,196,0,0.13);
  --p-yellow-glo: rgba(245,196,0,0.22);

  --p-bg:         #FFFFFF;
  --p-bg-soft:    #F5F6FA;
  --p-bg-muted:   #ECEEF3;
  --p-glass:      rgba(255,255,255,0.82);

  --p-ink:        #111827;
  --p-ink-2:      #374151;
  --p-ink-muted:  #6B7280;
  --p-ink-light:  #9CA3AF;

  --p-border:     rgba(0,0,0,0.08);
  --p-border-y:   rgba(245,196,0,0.40);
  --p-divide:     rgba(0,0,0,0.06);

  --p-shadow-xs:  0 1px 4px rgba(0,0,0,0.05);
  --p-shadow-sm:  0 2px 12px rgba(0,0,0,0.07);
  --p-shadow:     0 4px 28px rgba(0,0,0,0.09);
  --p-shadow-lg:  0 8px 48px rgba(0,0,0,0.11);

  --p-r:          20px;
  --p-r-sm:       14px;
  --p-r-xs:       10px;
  --p-r-pill:     100px;

  --p-font:       'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --p-ease:       0.2s ease;
  --p-max:        1120px;
  --p-max-text:   740px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--p-font);
  background: var(--p-bg);
  color: var(--p-ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--p-font); border: none; background: none; }
input, textarea, select { font-family: var(--p-font); }

/* ── Layout ── */
.p-wrap      { max-width: var(--p-max);      margin: 0 auto; padding: 0 24px; }
.p-wrap-text { max-width: var(--p-max-text); margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
.p-h1 { font-size: clamp(1.75rem, 4vw, 2.875rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
.p-h2 { font-size: clamp(1.375rem, 3vw, 2rem);    font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.p-h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 700; line-height: 1.3; }
.p-h4 { font-size: 1rem; font-weight: 700; }
.p-lead { font-size: 1.125rem; line-height: 1.65; color: var(--p-ink-2); }
.p-caption { font-size: 0.8125rem; color: var(--p-ink-muted); }

/* ── Header ── */
.p-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--p-glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--p-border);
  box-shadow: var(--p-shadow-xs);
}
.p-header-inner {
  display: flex; align-items: center; gap: 8px; height: 64px;
}
.p-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; margin-right: 24px;
}
.p-logo img { height: 30px; width: auto; }
.p-logo-text { font-size: 0.875rem; font-weight: 800; letter-spacing: 0.04em; color: var(--p-ink); }
.p-nav { display: flex; align-items: center; gap: 2px; }
.p-nav a {
  padding: 7px 13px; font-size: 0.875rem; font-weight: 600;
  color: var(--p-ink-muted); border-radius: var(--p-r-xs);
  transition: var(--p-ease);
}
.p-nav a:hover, .p-nav a[aria-current] { color: var(--p-ink); background: rgba(0,0,0,0.05); }
.p-nav-spacer { flex: 1; }

/* ── Portal clock — glass pill ── */
.p-nav-clock {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 100px;
  padding: 6px 14px 6px 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07), inset 0 1px 0 rgba(255,255,255,.95);
}
.p-nav-clock-time {
  font-size: .9375rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.p-nav-clock-colon {
  display: inline-block;
  animation: clockBlink 1s step-start infinite;
}
@keyframes clockBlink {
  0%,100% { opacity: 1; }
  50%      { opacity: .12; }
}
.p-nav-clock-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #D1D5DB;
  flex-shrink: 0;
}
.p-nav-clock-date {
  font-size: .8125rem;
  font-weight: 500;
  color: #6B7280;
  line-height: 1;
  white-space: nowrap;
}
.p-nav-site-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .8125rem; font-weight: 600; color: #374151;
  text-decoration: none; white-space: nowrap;
  padding: 7px 15px; border-radius: 100px;
  border: 1px solid rgba(0,0,0,.13);
  background: transparent;
  transition: background .18s, border-color .18s;
}
.p-nav-site-link:hover { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.22); }
.p-nav-cta {
  background: var(--p-yellow) !important; color: #000 !important;
  padding: 8px 20px !important; border-radius: var(--p-r-pill) !important;
  font-weight: 700 !important; font-size: 0.875rem !important;
  white-space: nowrap;
}
.p-nav-cta:hover { background: var(--p-yellow-h) !important; transform: translateY(-1px); color: #000 !important; }

/* ── Nav pills (2 buttons: Портал + ← Parent) ── */
.p-navpills {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  padding: 10px 0;
  position: sticky;
  top: 64px;
  z-index: 90;
}
.p-navpills-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.p-navpill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  background: rgba(0,0,0,.055);
  border: 1px solid rgba(0,0,0,.09);
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.p-navpill:hover {
  background: rgba(0,0,0,.1);
  border-color: rgba(0,0,0,.15);
  color: #111827;
}
.p-navpill-back svg { flex-shrink: 0; }
@media (max-width: 640px) {
  .p-navpills { top: 52px; padding: 8px 0; }
  .p-navpill { font-size: .8125rem; padding: 6px 14px; }
}

/* ── Hero ── */
.p-hero {
  padding: 64px 0 56px;
  background: linear-gradient(145deg, #fff 0%, var(--p-bg-soft) 100%);
  position: relative; overflow: hidden;
}
.p-hero::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: var(--p-yellow-glo);
  border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.p-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--p-yellow-dim); color: #92400E;
  padding: 5px 14px; border-radius: var(--p-r-pill);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 18px;
}
.p-hero-title { margin-bottom: 16px; color: var(--p-ink); }
.p-hero-subtitle {
  font-size: 1.125rem; line-height: 1.65; color: var(--p-ink-2);
  max-width: 640px; margin-bottom: 32px;
}
.p-hero-meta {
  font-size: 0.8125rem; color: var(--p-ink-muted);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.p-hero-meta span { display: flex; align-items: center; gap: 5px; }
.p-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

/* ── Section ── */
.p-section { padding: 64px 0; }
.p-section-sm { padding: 40px 0; }
.p-section-head { margin-bottom: 36px; }
.p-section-head .p-h2 { margin-bottom: 8px; }
.p-section-head .p-caption { font-size: 1rem; color: var(--p-ink-muted); }

/* ── Card — glass ── */
.p-card {
  background: var(--p-glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--p-border);
  border-radius: var(--p-r);
  box-shadow: var(--p-shadow-sm);
  overflow: hidden; transition: var(--p-ease);
}
.p-card:hover { box-shadow: var(--p-shadow); transform: translateY(-2px); border-color: rgba(0,0,0,0.12); }

/* ── Hub article grid ── */
.p-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.p-hub-card {
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--p-r);
  background: var(--p-bg); border: 1px solid var(--p-border);
  box-shadow: var(--p-shadow-sm); transition: var(--p-ease); text-decoration: none;
}
.p-hub-card:hover { border-color: var(--p-border-y); box-shadow: var(--p-shadow); transform: translateY(-2px); }
.p-hub-icon {
  width: 48px; height: 48px;
  background: var(--p-yellow-dim); border-radius: var(--p-r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px; color: #92400E;
}
.p-hub-icon svg { flex-shrink: 0; }
.p-hub-card-title { font-size: 1rem; font-weight: 700; color: var(--p-ink); margin-bottom: 8px; }
.p-hub-card-desc { font-size: 0.875rem; color: var(--p-ink-muted); line-height: 1.55; flex: 1; }
.p-hub-card-link {
  font-size: 0.8125rem; font-weight: 700; color: var(--p-yellow);
  margin-top: 16px; display: flex; align-items: center; gap: 4px;
}

/* ── Article body ── */
.p-article-body { max-width: var(--p-max-text); margin: 0 auto; padding: 0 24px; }
.p-article-body h2 { font-size: 1.5rem; font-weight: 700; margin: 52px 0 16px; line-height: 1.25; color: var(--p-ink); }
.p-article-body h3 { font-size: 1.125rem; font-weight: 700; margin: 32px 0 12px; color: var(--p-ink); }
.p-article-body p { color: var(--p-ink-2); line-height: 1.7; margin: 0 0 16px; }
.p-article-body ul, .p-article-body ol { margin: 0 0 20px 20px; color: var(--p-ink-2); line-height: 1.7; }
.p-article-body li { margin-bottom: 7px; }
.p-article-body strong { color: var(--p-ink); font-weight: 700; }
.p-article-body a { color: #B45309; text-decoration: underline; }
.p-article-body a:hover { text-decoration: none; }

/* ── Info box ── */
.p-info-box {
  background: var(--p-bg-soft);
  border-left: 4px solid var(--p-yellow);
  border-radius: 0 var(--p-r-xs) var(--p-r-xs) 0;
  padding: 16px 20px; margin: 24px 0;
}
.p-info-box p { margin: 0; font-size: 0.9375rem; }
.p-info-box.warning { border-color: #F59E0B; background: rgba(245,158,11,0.06); }
.p-info-box.danger  { border-color: #EF4444; background: rgba(239,68,68,0.06); }

/* ── TODO placeholder ── */
.p-todo {
  border: 2px dashed rgba(245,158,11,0.5);
  background: rgba(245,158,11,0.04);
  border-radius: var(--p-r-xs); padding: 16px 20px; margin: 20px 0;
}
.p-todo-label { font-size: 0.6875rem; font-weight: 800; color: #B45309; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.p-todo p { color: #92400E; font-size: 0.875rem; margin: 0; }

/* ── Pain block ── */
.p-pain { background: var(--p-bg-soft); border-radius: var(--p-r); padding: 48px; }
.p-pain-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.p-pain-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--p-bg); border: 1px solid var(--p-border);
  border-radius: var(--p-r-sm); padding: 18px 22px; box-shadow: var(--p-shadow-xs);
}
.p-pain-num {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--p-yellow-dim); color: #7a5800;
  font-size: 0.8125rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.p-pain-text strong { display: block; font-weight: 700; color: var(--p-ink); font-size: 0.9375rem; margin-bottom: 2px; }
.p-pain-text span   { font-size: 0.875rem; color: var(--p-ink-muted); }

/* ── Solution grid ── */
.p-solution-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 32px; }
.p-solution-card {
  background: var(--p-bg); border: 1px solid var(--p-border);
  border-radius: var(--p-r-sm); padding: 24px;
  box-shadow: var(--p-shadow-xs); transition: var(--p-ease);
}
.p-solution-card:hover { border-color: var(--p-border-y); box-shadow: var(--p-shadow-sm); }
.p-solution-card h4 { font-weight: 700; font-size: 1rem; margin-bottom: 8px; color: var(--p-ink); }
.p-solution-card p  { font-size: 0.875rem; color: var(--p-ink-muted); margin: 0; line-height: 1.55; }
.p-solution-num {
  width: 32px; height: 32px; background: var(--p-yellow); color: #000;
  font-weight: 800; font-size: 0.875rem; border-radius: var(--p-r-xs);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}

/* ── FAQ ── */
.p-faq { margin-top: 8px; }
.p-faq-item {
  border: 1px solid var(--p-border); border-radius: var(--p-r-sm);
  overflow: hidden; margin-bottom: 8px; background: var(--p-bg);
}
.p-faq-item summary {
  padding: 18px 22px;
  font-weight: 700; font-size: 0.9375rem; color: var(--p-ink);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  list-style: none; user-select: none;
}
.p-faq-item summary::-webkit-details-marker { display: none; }
.p-faq-item summary::after { content: '+'; font-size: 1.375rem; font-weight: 300; color: var(--p-ink-light); flex-shrink: 0; transition: var(--p-ease); }
.p-faq-item[open] summary::after { content: '−'; color: var(--p-yellow); }
.p-faq-body { padding: 4px 22px 18px; border-top: 1px solid var(--p-divide); }
.p-faq-body p { color: var(--p-ink-2); font-size: 0.9375rem; line-height: 1.65; margin-top: 12px; margin-bottom: 0; }

/* ── Bank card ── */
.p-bank-card {
  background: var(--p-bg); border: 1px solid var(--p-border);
  border-radius: var(--p-r); padding: 28px;
  box-shadow: var(--p-shadow-sm); display: flex; flex-direction: column; gap: 16px;
  transition: var(--p-ease);
}
.p-bank-card:hover { border-color: var(--p-border-y); box-shadow: var(--p-shadow); }
.p-bank-head { display: flex; align-items: center; gap: 14px; }
.p-bank-meta { flex: 1; min-width: 0; }
.p-bank-meta h3 { font-size: 1rem; font-weight: 700; color: var(--p-ink); margin-bottom: 2px; }
.p-bank-type { font-size: 0.8125rem; color: var(--p-ink-muted); }
.p-bank-feature { font-size: 0.9375rem; color: var(--p-ink-2); line-height: 1.55; }
.p-bank-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.p-bank-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

/* ── Badges ── */
.p-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--p-r-pill);
  font-size: 0.75rem; font-weight: 700;
}
.p-badge-green  { background: rgba(34,197,94,0.12);  color: #15803D; }
.p-badge-yellow { background: rgba(245,196,0,0.14);  color: #92400E; }
.p-badge-gray   { background: rgba(0,0,0,0.07);      color: var(--p-ink-muted); }
.p-badge-red    { background: rgba(239,68,68,0.10);  color: #B91C1C; }

/* ── Vitrina grid ── */
.p-vitrina-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }

/* ── Buttons ── */
.p-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--p-r-pill);
  font-family: var(--p-font); font-size: 0.9375rem; font-weight: 700;
  transition: var(--p-ease); cursor: pointer; white-space: nowrap; text-decoration: none; border: none;
}
.p-btn-primary { background: var(--p-yellow); color: #000; }
.p-btn-primary:hover { background: var(--p-yellow-h); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,196,0,0.35); color: #000; }
.p-btn-outline { background: transparent; color: var(--p-ink-2); border: 1.5px solid var(--p-border); }
.p-btn-outline:hover { border-color: var(--p-border-y); background: var(--p-yellow-dim); color: var(--p-ink); }
.p-btn-offer { background: var(--p-bg-soft); color: var(--p-ink-2); border: 1.5px solid var(--p-border); font-size: 0.875rem; }
.p-btn-offer:hover { border-color: rgba(0,0,0,0.18); background: var(--p-bg-muted); }
.p-btn-sm { padding: 9px 18px; font-size: 0.875rem; }
.p-btn-full { width: 100%; justify-content: center; }

/* ── ISL CTA block ── */
/* ═══════════════════════════════════════════════════
   LIQUID GLASS CTA — ISL premium offer block
   ═══════════════════════════════════════════════════ */
.p-igc {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(140deg, #0A0F1E 0%, #162032 48%, #0A0F1E 100%);
  padding: 2px;
}
.p-igc::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(245,196,0,.18) 0%, transparent 45%, rgba(99,102,241,.1) 100%);
  pointer-events: none;
}
.p-igc-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.p-igc-orb-1 {
  top: -60px; right: -40px;
  width: 380px; height: 380px;
  background: rgba(245,196,0,.2);
}
.p-igc-orb-2 {
  bottom: -60px; left: -40px;
  width: 300px; height: 300px;
  background: rgba(99,102,241,.14);
}
.p-igc-glass {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 26px;
  padding: 52px 56px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.p-igc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,196,0,.14);
  border: 1px solid rgba(245,196,0,.28);
  color: #F5C400;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(245,196,0,.08);
}
.p-igc-title {
  font-size: clamp(1.625rem, 2.8vw, 2.375rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.035em;
  margin: 0 0 16px;
}
.p-igc-sub {
  font-size: .9375rem;
  color: rgba(255,255,255,.58);
  line-height: 1.68;
  margin: 0 0 28px;
}
.p-igc-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.p-igc-cta {
  padding: 14px 28px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px rgba(245,196,0,.28) !important;
}
.p-igc-link {
  font-size: .9375rem;
  font-weight: 600;
  color: rgba(255,255,255,.42);
  text-decoration: none;
  transition: color .18s;
  white-space: nowrap;
}
.p-igc-link:hover { color: rgba(255,255,255,.82); }
.p-igc-right { display: flex; flex-direction: column; gap: 10px; }
.p-igc-prop {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  color: rgba(255,255,255,.78);
  font-size: .875rem;
  line-height: 1.5;
  transition: background .18s, border-color .18s;
}
.p-igc-prop:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.13);
}
.p-igc-check {
  color: #F5C400;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
  text-shadow: 0 0 10px rgba(245,196,0,.4);
}

/* Responsive */
@media (max-width: 900px) {
  .p-igc-glass {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 36px;
  }
}
@media (max-width: 640px) {
  .p-igc { border-radius: 22px; }
  .p-igc-glass {
    border-radius: 20px;
    padding: 28px 22px;
    gap: 24px;
  }
  .p-igc-title { font-size: 1.5rem; }
  .p-igc-sub { font-size: .875rem; margin-bottom: 22px; }
  .p-igc-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .p-igc-cta { width: 100%; display: flex; justify-content: center; text-align: center; }
  .p-igc-prop { padding: 12px 14px; font-size: .8125rem; }
  .p-igc-orb-1 { width: 220px; height: 220px; top: -40px; right: -30px; }
  .p-igc-orb-2 { width: 180px; height: 180px; }
}

/* ── Offer section ── */
.p-offer-section {
  background: var(--p-bg-soft); border: 1px solid var(--p-border);
  border-radius: var(--p-r); padding: 32px;
  display: flex; align-items: flex-start; gap: 20px;
}
.p-offer-icon {
  width: 44px; height: 44px; border-radius: var(--p-r-xs);
  background: var(--p-yellow-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.p-offer-section h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.p-offer-section p  { font-size: 0.9375rem; color: var(--p-ink-2); margin: 0 0 16px; }
.p-offer-disclaimer { font-size: 0.75rem; color: var(--p-ink-light); margin-top: 8px; font-style: italic; }

/* ── Compare table ── */
.p-compare-wrap { overflow-x: auto; border-radius: var(--p-r); border: 1px solid var(--p-border); }
.p-compare-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.p-compare-table th {
  background: var(--p-bg-soft); padding: 14px 18px;
  text-align: left; font-weight: 700; font-size: 0.75rem; color: var(--p-ink-muted);
  text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--p-border);
  white-space: nowrap;
}
.p-compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--p-divide); color: var(--p-ink-2); vertical-align: middle; }
.p-compare-table tr:last-child td { border-bottom: none; }
.p-compare-table tr:hover td { background: rgba(0,0,0,0.02); }
.p-compare-table .p-td-name { font-weight: 700; color: var(--p-ink); }

/* ── Key facts ── */
.p-key-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0; }
.p-fact {
  background: var(--p-bg); border: 1px solid var(--p-border);
  border-radius: var(--p-r-sm); padding: 18px 22px;
  flex: 1; min-width: 160px; box-shadow: var(--p-shadow-xs);
}
.p-fact-label { font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--p-ink-light); margin-bottom: 5px; }
.p-fact-value { font-size: 1.25rem; font-weight: 800; color: var(--p-ink); }
.p-fact-sub   { font-size: 0.8125rem; color: var(--p-ink-muted); margin-top: 2px; }

/* ── Divider ── */
.p-divider { height: 1px; background: var(--p-divide); margin: 52px 0; }

/* ── Unverified notice ── */
.p-unverified {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(245,158,11,0.07); border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--p-r-sm); padding: 12px 16px;
  font-size: 0.8125rem; color: #92400E; margin-bottom: 24px;
}

/* ── Filter row ── */
.p-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.p-filter-pill {
  padding: 7px 16px; border-radius: var(--p-r-pill); font-size: 0.875rem; font-weight: 600;
  background: var(--p-bg-soft); border: 1.5px solid var(--p-border);
  color: var(--p-ink-muted); cursor: pointer; transition: var(--p-ease); text-decoration: none;
}
.p-filter-pill:hover, .p-filter-pill.active { border-color: var(--p-border-y); background: var(--p-yellow-dim); color: var(--p-ink); }

/* ── Two-column layout ── */
.p-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.p-two-col-wide { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }

/* ── Footer ── */
.p-footer { background: #111827; color: rgba(255,255,255,0.65); padding: 56px 0 32px; margin-top: 96px; }
.p-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.p-footer-brand p { font-size: 0.875rem; margin-top: 14px; max-width: 280px; line-height: 1.65; }
.p-footer-brand .p-logo-text { color: #fff; }
.p-footer-col h5 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.p-footer-col a { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: 9px; transition: var(--p-ease); }
.p-footer-col a:hover { color: var(--p-yellow); }
.p-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.8125rem; color: rgba(255,255,255,0.3);
}
.p-footer-bottom a { color: rgba(255,255,255,0.45); }
.p-footer-bottom a:hover { color: var(--p-yellow); }
.p-footer-contacts { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.p-footer-contacts a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; color: rgba(255,255,255,.7);
  text-decoration: none; font-weight: 500; transition: color .18s;
}
.p-footer-contacts a:hover { color: var(--p-yellow); }

/* ── Article two-column layout ── */
.p-article-page { padding: 48px 0 80px; }
.p-article-layout { display: grid; grid-template-columns: 1fr 240px; gap: 52px; max-width: var(--p-max); margin: 0 auto; padding: 0 24px; align-items: start; }
.p-article-main { min-width: 0; }
.p-article-side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 20px; }

/* Table of contents */
.p-toc { background: #F5F6FA; border-radius: 16px; padding: 22px 20px; }
.p-toc-title { font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #9CA3AF; margin-bottom: 14px; }
.p-toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.p-toc-list a { display: block; font-size: .8125rem; color: #6B7280; padding: 5px 8px; border-radius: 8px; transition: .15s; line-height: 1.4; }
.p-toc-list a:hover, .p-toc-list a.active { background: rgba(245,196,0,.15); color: #111827; font-weight: 600; }

/* Related articles sidebar card */
.p-side-related { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; padding: 20px; }
.p-side-related-title { font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #9CA3AF; margin-bottom: 12px; }
.p-side-related a { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.05); font-size: .8125rem; color: #374151; line-height: 1.4; }
.p-side-related a:last-child { border-bottom: none; }
.p-side-related a:hover { color: #111827; }
.p-side-related-icon { flex-shrink: 0; font-size: .875rem; }

/* Prose reading area */
.p-prose { font-size: 1rem; line-height: 1.78; color: #374151; }
.p-prose > * + * { margin-top: 18px; }
.p-prose h2 { font-size: 1.4375rem; font-weight: 800; color: #111827; margin-top: 52px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #F5F6FA; scroll-margin-top: 88px; letter-spacing: -.02em; }
.p-prose h3 { font-size: 1.125rem; font-weight: 700; color: #1F2937; margin-top: 32px; margin-bottom: 8px; scroll-margin-top: 88px; }
.p-prose p { color: #374151; line-height: 1.78; }
.p-prose ul, .p-prose ol { padding-left: 22px; }
.p-prose li { margin-bottom: 8px; }
.p-prose strong { color: #111827; font-weight: 700; }
.p-prose a { color: #D97706; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Insight / quote callout */
.p-insight { border-left: 3px solid #F5C400; background: #FFFBEB; padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 28px 0; }
.p-insight-label { font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: #B45309; margin-bottom: 6px; }
.p-insight p { font-size: .9375rem; color: #374151; line-height: 1.65; margin: 0; }

/* Example block */
.p-example { background: #F5F6FA; border: 1px solid rgba(0,0,0,.07); border-radius: 14px; padding: 20px 24px; margin: 24px 0; }
.p-example-label { font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: #6B7280; margin-bottom: 8px; }
.p-example p { font-size: .9375rem; color: #374151; line-height: 1.65; margin: 0; }

/* Read time badge */
.p-readtime { display: inline-flex; align-items: center; gap: 5px; font-size: .8125rem; color: #9CA3AF; font-weight: 600; }

/* Related articles strip (bottom) */
.p-related-strip { background: #F5F6FA; padding: 48px 0; margin-top: 64px; }
.p-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; }

/* Cluster hub "Читайте также" 2-col grid */
.p-cluster-related-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

/* Key facts bar ── */
.p-key-facts { display: flex; background: #F5F6FA; border-radius: 16px; overflow: hidden; margin: 32px 0; }
.p-kf-item { flex: 1; padding: 22px 24px; border-right: 1px solid rgba(0,0,0,.08); }
.p-kf-item:last-child { border-right: none; }
.p-kf-num { font-size: 1.875rem; font-weight: 900; color: #111827; line-height: 1; }
.p-kf-lbl { font-size: .8125rem; color: #6B7280; margin-top: 4px; line-height: 1.35; }

/* ── Callout boxes ── */
.p-callout { padding: 18px 22px; border-radius: 14px; margin: 24px 0; font-size: .9375rem; line-height: 1.6; }
.p-callout-warn { background: #FEF3C7; border: 1.5px solid #F59E0B; }
.p-callout-info { background: #EFF6FF; border: 1.5px solid #93C5FD; }
.p-callout-risk { background: #FEF2F2; border: 1.5px solid #FCA5A5; }
.p-callout-ok   { background: #F0FDF4; border: 1.5px solid #86EFAC; }
.p-callout strong { display: block; font-weight: 800; margin-bottom: 4px; }

/* ── Versus / comparison ── */
.p-vs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; overflow: hidden; margin: 32px 0; border: 1px solid rgba(0,0,0,.1); }
.p-vs-col { padding: 28px 24px; }
.p-vs-col-light { background: #fff; }
.p-vs-col-dark  { background: #111827; color: rgba(255,255,255,.9); }
.p-vs-head { font-size: 1.0625rem; font-weight: 800; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,.08); }
.p-vs-col-dark .p-vs-head { border-color: rgba(255,255,255,.12); }
.p-vs-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.05); font-size: .9rem; }
.p-vs-col-dark .p-vs-row { border-color: rgba(255,255,255,.07); color: rgba(255,255,255,.8); }
.p-vs-row:last-child { border-bottom: none; }
.p-vs-icon { flex-shrink: 0; font-size: 1rem; }

/* ── Risk list ── */
.p-risk { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.p-risk-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 18px; border-radius: 12px; }
.p-risk-high { background: #FEF2F2; border: 1px solid #FECACA; }
.p-risk-mid  { background: #FEF3C7; border: 1px solid #FDE68A; }
.p-risk-low  { background: #F0FDF4; border: 1px solid #BBF7D0; }
.p-risk-icon { font-size: 1.25rem; flex-shrink: 0; line-height: 1.4; }
.p-risk-text { font-size: .9375rem; line-height: 1.55; }
.p-risk-text strong { display: block; font-weight: 700; margin-bottom: 2px; font-size: 1rem; }

/* ── Step guide ── */
.p-steps { display: flex; flex-direction: column; gap: 0; margin: 28px 0; }
.p-step { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 24px; position: relative; }
.p-step:not(:last-child)::before { content:''; position:absolute; left:17px; top:36px; bottom:0; width:2px; background:rgba(0,0,0,.08); }
.p-step-num { width: 36px; height: 36px; background: #F5C400; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .875rem; flex-shrink: 0; color: #000; position: relative; z-index: 1; }
.p-step-body { padding-top: 6px; }
.p-step-body strong { display: block; font-weight: 800; font-size: 1rem; color: #111827; margin-bottom: 4px; }
.p-step-body p { color: #6B7280; font-size: .9rem; margin: 0; line-height: 1.6; }
.p-step-body ul { color: #6B7280; font-size: .9rem; padding-left: 18px; margin: 6px 0 0; }
.p-step-body .p-risk-item { margin-top: 10px; }

/* ── Checklist ── */
.p-checklist { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; }
.p-checklist-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; background: #F5F6FA; border-radius: 10px; font-size: .9375rem; line-height: 1.5; }
.p-ci-y { color: #16A34A; font-weight: 900; flex-shrink: 0; font-size: 1rem; }
.p-ci-n { color: #DC2626; font-weight: 900; flex-shrink: 0; font-size: 1rem; }
.p-ci-w { color: #D97706; font-weight: 900; flex-shrink: 0; font-size: 1rem; }
.p-ci-body strong { font-weight: 700; display: block; }
.p-ci-body span { color: #6B7280; font-size: .875rem; }

/* ── Table ── */
.p-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 28px 0;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  /* Правый fade — визуальный намёк на горизонтальный скролл */
  background: linear-gradient(to right, #fff 80%, rgba(245,246,250,.9) 100%) no-repeat;
}
.p-table { width: 100%; border-collapse: collapse; min-width: 540px; }
.p-table th {
  background: #F5F6FA; padding: 12px 16px;
  text-align: left; font-size: .8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: #6B7280;
  border-bottom: 1px solid rgba(0,0,0,.08);
  white-space: nowrap; /* критично: заголовки не переносятся → таблица шире viewport → scroll */
}
.p-table td { padding: 13px 16px; font-size: .9375rem; border-bottom: 1px solid rgba(0,0,0,.05); vertical-align: top; min-width: 100px; }
.p-table td:first-child { min-width: 130px; font-weight: 600; }
.p-table tr:last-child td { border-bottom: none; }
.p-table tr:hover td { background: #FAFAFA; }

/* ── Article body ── */
.p-article-body h2 { font-size: 1.375rem; font-weight: 800; color: #111827; margin: 40px 0 14px; }
.p-article-body h3 { font-size: 1.125rem; font-weight: 700; color: #1F2937; margin: 28px 0 10px; }
.p-article-body p { color: #374151; line-height: 1.7; margin: 0 0 14px; }
.p-article-body ul, .p-article-body ol { color: #374151; line-height: 1.7; padding-left: 22px; margin: 0 0 14px; }
.p-article-body li { margin-bottom: 6px; }

/* ── Portal home hero ── */
/* ─── Keyframe animations ─── */
@keyframes hhOrb1 {
  0%,100% { transform: translate(0,0) scale(1); }
  30%     { transform: translate(-40px,28px) scale(1.1); }
  65%     { transform: translate(28px,-38px) scale(.93); }
}
@keyframes hhOrb2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(38px,22px) scale(1.08); }
  72%     { transform: translate(-28px,-32px) scale(.95); }
}
@keyframes hhOrb3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(22px,44px) scale(1.12); }
}

/* ─── Home hero ─── */
.p-home-hero {
  padding: 92px 0 72px;
  text-align: center;
  background: linear-gradient(195deg, #FFFEF5 0%, #FFFFFF 28%, #F7F8FC 62%, #ECEEF3 100%);
  position: relative;
  overflow: hidden;
}
/* Dot grid overlay */
.p-home-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 40%, rgba(0,0,0,.6) 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 40%, rgba(0,0,0,.6) 20%, transparent 72%);
  pointer-events: none;
}
/* Animated orbs */
.p-hh-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
}
.p-hh-orb-1 {
  top: -100px; right: -60px;
  width: 580px; height: 580px;
  background: radial-gradient(ellipse, rgba(245,196,0,.26) 0%, transparent 62%);
  animation: hhOrb1 15s ease-in-out infinite;
}
.p-hh-orb-2 {
  bottom: -80px; left: -60px;
  width: 440px; height: 440px;
  background: radial-gradient(ellipse, rgba(99,102,241,.11) 0%, transparent 62%);
  animation: hhOrb2 19s ease-in-out infinite;
}
.p-hh-orb-3 {
  top: 35%; left: 28%;
  width: 320px; height: 320px;
  background: radial-gradient(ellipse, rgba(245,196,0,.09) 0%, transparent 62%);
  animation: hhOrb3 24s ease-in-out infinite;
}

.p-home-hero-inner { position: relative; z-index: 1; }

/* Badge */
.p-home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,196,0,.14);
  border: 1px solid rgba(245,196,0,.42);
  color: #92400E;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
  box-shadow: 0 2px 12px rgba(245,196,0,.15);
}

.p-home-hero-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  font-size: clamp(2.125rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.08;
  letter-spacing: -.038em;
  margin: 0 auto 20px;
  max-width: 800px;
  text-wrap: balance;
}
.p-home-hero-sub {
  font-size: 1.0625rem; color: #6B7280; line-height: 1.62;
  max-width: 560px; margin: 0 auto;
  text-wrap: balance;
}
/* Stats bar */
.p-home-hero-stats {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 100px;
  padding: 12px 28px;
  margin-top: 36px;
  box-shadow: 0 4px 28px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
.p-hh-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 22px;
}
.p-hh-stat:first-child { padding-left: 0; }
.p-hh-stat:last-child  { padding-right: 0; }
.p-hh-stat b {
  font-size: 1.25rem; font-weight: 900;
  color: #111827; line-height: 1; letter-spacing: -.02em;
}
.p-hh-stat span {
  font-size: .6875rem; color: #9CA3AF; font-weight: 600;
  margin-top: 3px; text-transform: uppercase; letter-spacing: .06em;
}
.p-hh-stat-sep {
  width: 1px; height: 32px;
  background: rgba(0,0,0,.1);
  flex-shrink: 0;
}

/* ── Centered hero modifier ── */
.p-hero-centered { text-align: center; }
.p-hero-centered .p-hero-title { max-width: none; margin-left: auto; margin-right: auto; }
.p-hero-centered .p-hero-subtitle { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── App icon grid (iPhone home screen style) ── */
.p-appgrid-section { padding: 56px 0 80px; background: #fff; }
.p-appgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 16px;
  max-width: 520px;
  margin: 0 auto;
}
.p-appicon {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  text-decoration: none;
  transition: transform .2s cubic-bezier(.175,.885,.32,1.275);
}
.p-appicon:hover { transform: scale(1.10); }
.p-appicon:active { transform: scale(0.93); }
.p-appicon-icon {
  width: 76px; height: 76px;
  border-radius: 20px; /* iOS icon shape */
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.10);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
/* Inner shine — iOS icon glass highlight */
.p-appicon-icon::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 44%;
  background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, transparent 100%);
  pointer-events: none;
}
.p-appicon-emoji { font-size: 2rem; position: relative; z-index: 1; }
.p-appicon-hot {
  position: absolute; top: -4px; right: -4px;
  font-size: .875rem; z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}
.p-appicon-label {
  font-size: .6875rem; font-weight: 600; color: #111827;
  text-align: center; line-height: 1.35;
  max-width: 76px;
}

/* ── ISL Offer block (centered, prominent) ── */
/* ── Light Glass Offer ── */
.p-iof-section {
  padding: 72px 0;
  background: linear-gradient(160deg, #FFFBEB 0%, #FFFFFF 45%, #F0F4FF 100%);
}
.p-iof-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(245,196,0,.06) 0%, transparent 55%);
  border: 1px solid rgba(245,196,0,.2);
  box-shadow: 0 2px 4px rgba(245,196,0,.06), 0 8px 40px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,1);
}
.p-iof-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
}
.p-iof-orb-1 { top: -60px; right: -40px; width: 360px; height: 360px; background: rgba(245,196,0,.2); }
.p-iof-orb-2 { bottom: -60px; left: -40px; width: 280px; height: 280px; background: rgba(99,102,241,.07); }
.p-iof-glass {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 26px;
  padding: 52px 56px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.p-iof-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,196,0,.13);
  border: 1px solid rgba(245,196,0,.35);
  color: #92400E;
  font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(245,196,0,.1);
}
.p-iof-title {
  font-size: clamp(1.625rem, 2.8vw, 2.375rem);
  font-weight: 900; color: #111827;
  line-height: 1.1; letter-spacing: -.035em;
  margin: 0 0 16px;
}
.p-iof-sub {
  font-size: .9375rem; color: #6B7280;
  line-height: 1.68; margin: 0 0 28px;
}
.p-iof-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.p-iof-cta { padding: 14px 28px !important; font-size: 1rem !important; font-weight: 700 !important; border-radius: 14px !important; box-shadow: 0 4px 20px rgba(245,196,0,.28) !important; }
.p-iof-link { font-size: .9375rem; font-weight: 600; color: #9CA3AF; text-decoration: none; transition: color .18s; white-space: nowrap; }
.p-iof-link:hover { color: #374151; }
.p-iof-right { display: flex; flex-direction: column; gap: 10px; }
.p-iof-prop {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  color: #374151; font-size: .875rem; line-height: 1.5;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: box-shadow .18s, border-color .18s;
}
.p-iof-prop:hover { box-shadow: 0 3px 12px rgba(0,0,0,.07); border-color: rgba(245,196,0,.28); }
.p-iof-check { color: #D97706; font-weight: 900; font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ── 8 Topics section (Apple Liquid Glass) ── */
.p-topics-section {
  padding: 80px 0;
  background: linear-gradient(160deg, #E9ECF5 0%, #F0F2FA 45%, #EAE9F4 100%);
}
.p-topics-head { text-align: center; margin-bottom: 52px; }
.p-topics-head:empty { display: none; }
.p-topics-head h2 { font-size: clamp(1.625rem, 3.2vw, 2.375rem); font-weight: 900; color: #111827; letter-spacing: -.03em; margin: 0 0 14px; line-height: 1.15; }
.p-topics-head h2 em { font-style: normal; color: #D97706; }
.p-topics-head p { color: #6B7280; font-size: 1.0625rem; margin: 0; max-width: 520px; margin-inline: auto; line-height: 1.6; }
.p-topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }

/* Glass card */
.p-topic-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.88);
  border-radius: 22px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none;
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s cubic-bezier(.4,0,.2,1), background .18s;
  box-shadow: 0 2px 14px rgba(0,0,0,.05), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(0,0,0,.02);
  position: relative;
}
.p-topic-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 20px 52px rgba(0,0,0,.10), 0 0 0 1.5px rgba(245,196,0,.3), inset 0 1px 0 rgba(255,255,255,1);
}
.p-topic-cat {
  display: inline-flex; align-items: center;
  font-size: .6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 100px;
  width: fit-content; flex-shrink: 0;
}
.p-topic-cat-fin { background: rgba(29,78,216,.09); color: #1D4ED8; }
.p-topic-cat-log { background: rgba(21,128,61,.09); color: #15803D; }
.p-topic-icon { font-size: 2.5rem; line-height: 1; }
.p-topic-card h3 { font-size: 1.0625rem; font-weight: 800; color: #111827; line-height: 1.3; margin: 0; }
.p-topic-card p { font-size: .875rem; color: #6B7280; line-height: 1.62; margin: 0; flex: 1; }
.p-topic-arrow { color: #D97706; font-size: .875rem; font-weight: 600; margin-top: 4px; transition: color .18s; }
.p-topic-card:hover .p-topic-arrow { color: #F5C400; }

/* ── Article card (for hub grid) ── */
.p-art-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 18px; padding: 28px; transition: var(--p-ease); box-shadow: 0 2px 10px rgba(0,0,0,.04); text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.p-art-card:hover { border-color: rgba(245,196,0,.5); box-shadow: 0 4px 22px rgba(0,0,0,.09); transform: translateY(-2px); }
.p-art-card-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.p-art-card-cat-fin { color: #1D4ED8; }
.p-art-card-cat-log { color: #15803D; }
.p-art-card-icon { font-size: 2rem; color: #374151; }
.p-art-card-icon svg { display: block; }
.p-art-card h3 { font-size: 1.0625rem; font-weight: 800; color: #111827; line-height: 1.3; margin: 0; }
.p-art-card p { font-size: .875rem; color: #6B7280; line-height: 1.55; margin: 0; }
.p-art-card-arrow { color: #D97706; font-size: .875rem; font-weight: 600; margin-top: auto; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .p-nav a:not(.p-nav-cta):not(.p-nav-log) { display: none; }
  .p-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .p-two-col, .p-two-col-wide { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --p-r: 16px; --p-r-sm: 12px; }
  .p-home-hero { padding: 56px 0 44px; }
  .p-home-hero-title { font-size: 2.25rem; letter-spacing: -.032em; }
  .p-home-hero-sub { font-size: 1rem; }
  .p-home-hero-stats { padding: 10px 18px; margin-top: 28px; }
  .p-hh-stat { padding: 0 14px; }
  .p-hh-stat b { font-size: 1.125rem; }
  .p-hh-orb-1 { width: 340px; height: 340px; top: -60px; right: -40px; }
  .p-hh-orb-2 { width: 260px; height: 260px; }
  .p-hh-orb-3 { display: none; }
  .p-appgrid-section { padding: 36px 0 56px; }
  .p-appgrid { max-width: none; gap: 32px 12px; grid-template-columns: repeat(3, 1fr); }
  .p-appicon-icon { width: 72px; height: 72px; border-radius: 18px; }
  .p-appicon-emoji { font-size: 1.75rem; }
  .p-appicon-label { font-size: .6875rem; max-width: 72px; }
  .p-topics-section { padding: 48px 0; }
  .p-topics-head { margin-bottom: 32px; }
  .p-topics-grid { grid-template-columns: 1fr; gap: 14px; }
  .p-topic-card { padding: 24px 20px; gap: 10px; }
  .p-topic-icon { font-size: 2rem; }
  .p-iof-section { padding: 48px 0; }
  .p-iof-glass { grid-template-columns: 1fr; gap: 32px; padding: 40px 36px; }
  .p-hero { padding: 40px 0 36px; }
  .p-hero-subtitle { font-size: 1rem; }
  .p-section { padding: 44px 0; }
  .p-pain { padding: 28px 20px; }
  .p-hub-grid, .p-vitrina-grid, .p-solution-grid { grid-template-columns: 1fr; }
  .p-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .p-footer { margin-top: 60px; padding: 40px 0 24px; }
  .p-compare-table th, .p-compare-table td { padding: 10px 12px; font-size: 0.875rem; }
  .p-key-facts { flex-direction: column; }
  .p-offer-section { flex-direction: column; gap: 14px; }
  .p-wrap, .p-wrap-text { padding: 0 16px; }
  .p-vs { grid-template-columns: 1fr; }
  .p-kf-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,.08); }
  .p-kf-item:last-child { border-bottom: none; }
  .p-article-layout { grid-template-columns: 1fr; }
  .p-article-side { display: none; }
  .p-related-grid { grid-template-columns: 1fr; }
}

/* ── Portal white modal theme (overrides dark modal.css for portal pages) ── */
#trialModal .modal {
  background: #fff;
  border-color: rgba(0,0,0,.08);
  --txt: #111827;
  --mt:  #6B7280;
  --sub: #9CA3AF;
  --bd:  rgba(0,0,0,.1);
  --bgc: rgba(0,0,0,.04);
  --y:   #F5C400;
  --yh:  #E0B300;
  --yd:  rgba(245,196,0,.12);
}
#trialModal .modal h3,
#trialModal .trial-h { color: #111827; }
#trialModal .modal-sub { color: #6B7280; }
#trialModal .modal-input {
  background: #F9FAFB;
  border-color: #E5E7EB;
  color: #111827;
}
#trialModal .modal-input::placeholder { color: #9CA3AF; }
#trialModal .trial-features {
  background: rgba(245,196,0,.05);
  border-color: rgba(245,196,0,.2);
}
#trialModal .tf-item { color: #374151; }
#trialModal .modal-label { color: #6B7280; }
#trialModal .modal-consent { color: #6B7280; }
#trialModal .trial-hint { color: #9CA3AF; }
#trialModal .trial-creds {
  background: rgba(245,196,0,.05);
  border-color: rgba(245,196,0,.2);
}
#trialModal .trial-cred-row + .trial-cred-row { border-color: rgba(0,0,0,.08); }
#trialModal .trial-cred-val { color: #111827; }
#trialModal .trial-ok-t { color: #111827; }

/* ════════════════════════════════════════════════
   БАНКИ — страницы и хаб /finansy/banki/
   ════════════════════════════════════════════════ */

/* Hero bar */
.p-bank-hero-bar {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 0;
}
.p-bank-hero-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.p-bank-back {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .875rem;
  transition: color .2s;
}
.p-bank-back:hover { color: #fff; }

/* Article layout: article + sidebar */
.p-article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.p-article-body {
  min-width: 0;
}
.p-article-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* Verdict block */
.p-bank-verdict-block {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 8px;
}
.p-bank-verdict-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.p-bank-emoji {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.p-bank-h1 {
  font-size: 1.625rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.25;
}
.p-bank-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.p-bank-stars {
  color: #F5C400;
  font-size: 1rem;
}
.p-bank-rating-num {
  font-weight: 700;
  color: #fff;
  font-size: .9375rem;
}
.p-bank-rating-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.07);
  padding: 2px 10px;
  border-radius: 100px;
}
.p-bank-verdict-text {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  margin-bottom: 16px;
}
.p-bank-verdict-who {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
}
.p-bank-verdict-who strong { color: rgba(255,255,255,.8); }
.p-bank-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.p-btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.07);
  transition: background .2s, border-color .2s;
}
.p-btn-outline-dark:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
}

/* Key facts grid */
.p-bank-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.p-bank-fact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 10px 14px;
  gap: 12px;
}
.p-bank-fact-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
}
.p-bank-fact-val {
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
  text-align: right;
}

/* Pros / cons list */
.p-bank-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p-bank-pro,
.p-bank-con {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9375rem;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
}
.p-bank-pro-icon {
  color: #34D399;
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.p-bank-con-icon {
  color: #F87171;
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

/* Steps */
.p-bank-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-bank-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.p-bank-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F5C400;
  color: #000;
  font-weight: 800;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.p-bank-step strong {
  display: block;
  font-size: .9375rem;
  color: #fff;
  margin-bottom: 4px;
}
.p-bank-step p {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin: 0;
  line-height: 1.5;
}

/* ISL tip block */
.p-bank-isl-tip {
  display: flex;
  gap: 16px;
  background: rgba(245,196,0,.07);
  border: 1px solid rgba(245,196,0,.2);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 32px 0;
  align-items: flex-start;
}
.p-bank-isl-tip-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.p-bank-isl-tip strong {
  display: block;
  color: #F5C400;
  font-size: .9375rem;
  margin-bottom: 6px;
}
.p-bank-isl-tip p, .p-bank-isl-tip > div > :not(strong) {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
}
.p-bank-isl-tip a {
  color: #F5C400;
  text-decoration: none;
  font-weight: 600;
}

/* FAQ */
.p-bank-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.p-bank-faq-item {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.p-bank-faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.p-bank-faq-q {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.p-bank-faq-a {
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0;
}

/* Sidebar */
.p-article-side {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* TOC */
.p-toc {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 20px;
}
.p-toc-title {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.4);
  margin-bottom: 12px;
}
.p-toc-link {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s;
}
.p-toc-link:last-child { border-bottom: none; }
.p-toc-link:hover { color: #F5C400; }

/* Sidebar CTA */
.p-bank-side-cta {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}
.p-bank-side-verdict {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.p-bank-side-rating {
  color: #F5C400;
  font-size: 1.125rem;
  margin-bottom: 8px;
}
.p-bank-side-cta p {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin: 0 0 16px;
}
.p-bank-cta-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}
.p-bank-side-link {
  display: block;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .2s;
}
.p-bank-side-link:hover { color: rgba(255,255,255,.7); }

/* Hub grid */
.p-bank-hub-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.p-bank-hub-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 24px;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .18s;
}
.p-bank-hub-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.15);
  transform: translateY(-2px);
}
.p-bank-hub-emoji {
  font-size: 2rem;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}
.p-bank-hub-info { flex: 1; min-width: 0; }
.p-bank-hub-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.p-bank-hub-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.p-bank-hub-stars { color: #F5C400; font-size: .875rem; }
.p-bank-hub-rating > span:nth-child(2) {
  font-weight: 700;
  color: #fff;
  font-size: .875rem;
}
.p-bank-hub-label {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.07);
  padding: 2px 8px;
  border-radius: 100px;
}
.p-bank-hub-verdict {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.45;
  margin: 0;
}
.p-bank-hub-arrow {
  font-size: 1.25rem;
  color: rgba(255,255,255,.25);
  flex-shrink: 0;
  transition: color .2s, transform .2s;
}
.p-bank-hub-card:hover .p-bank-hub-arrow {
  color: #F5C400;
  transform: translateX(4px);
}

/* Mobile bank pages */
@media (max-width: 900px) {
  .p-article-layout { grid-template-columns: 1fr; gap: 32px; }
  .p-article-side { position: static; }
  .p-bank-facts { grid-template-columns: 1fr; }
  .p-bank-h1 { font-size: 1.375rem; }
  .p-bank-verdict-block { padding: 20px; }
  .p-bank-cta-row { flex-direction: column; }
  .p-bank-cta-row .p-btn { width: 100%; justify-content: center; }
  .p-toc { display: none; }
}

/* ════════════════════════════════════════════════
   BANK SEO CARDS — в статьях портала (.p-bsc)
   ════════════════════════════════════════════════ */
.p-banks-seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 8px;
}
.p-bsc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
  transition: box-shadow .22s, border-color .22s, transform .18s;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}
.p-bsc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--bsc-accent, #6B7280);
  border-radius: 18px 18px 0 0;
  opacity: 0;
  transition: opacity .22s;
}
.p-bsc:hover::before { opacity: 1; }
.p-bsc:hover {
  border-color: rgba(0,0,0,.13);
  box-shadow: 0 6px 28px rgba(0,0,0,.1);
  transform: translateY(-3px);
}

/* Per-bank accent colors */
.p-bsc[href*="t-bank"]    { --bsc-accent: #FFDD2D; }
.p-bsc[href*="alfa-bank"] { --bsc-accent: #EF3124; }
.p-bsc[href*="vtb"]       { --bsc-accent: #009FDF; }
.p-bsc[href*="lokobank"]  { --bsc-accent: #00A651; }
.p-bsc[href*="atb"]       { --bsc-accent: #0057A8; }
.p-bsc[href*="tochka"]    { --bsc-accent: #F5C400; }
.p-bsc[href*="ubrr"]      { --bsc-accent: #6B3CA8; }

.p-bsc-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.p-bsc-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-bsc-logo-img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: cover;
  border-radius: 13px;
}
.p-bsc-logo-fb {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 1.375rem;
  color: #fff;
  flex-shrink: 0;
}
.p-bsc-meta { flex: 1; min-width: 0; }
.p-bsc-name {
  font-size: .9375rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-bsc-label {
  font-size: .75rem;
  color: #6B7280;
  margin-top: 3px;
}
.p-bsc-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: .875rem;
  font-weight: 800;
  color: #111827;
  background: #F5F6FA;
  border-radius: 100px;
  padding: 4px 11px;
  flex-shrink: 0;
  white-space: nowrap;
}
.p-bsc-star {
  color: #F5C400;
  font-size: .9375rem;
}
.p-bsc-verdict {
  font-size: .8125rem;
  color: #6B7280;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-bsc-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.p-bsc-chip {
  font-size: .6875rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}
.p-bsc-chip-ok  { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.p-bsc-chip-no  { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.p-bsc-chip-neu { background: #F5F6FA; color: #374151; border: 1px solid rgba(0,0,0,.08); }
.p-bsc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  font-weight: 700;
  color: #D97706;
  margin-top: 2px;
  transition: gap .18s;
}
.p-bsc:hover .p-bsc-btn { gap: 10px; }
.p-bsc-btn span { font-size: 1rem; }

@media (max-width: 640px) {
  .p-banks-seo-grid { grid-template-columns: 1fr; }
  .p-bsc-name { white-space: normal; }
}

/* ── Cluster hub cards (3 new sections) ── */
.p-cluster-head {
  margin-bottom: 20px;
}
.p-cluster-head h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 6px;
}
.p-cluster-head p {
  color: #6B7280;
  font-size: .9375rem;
  margin: 0;
}
.p-cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.p-cluster-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  padding: 24px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.p-cluster-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
}
.p-cluster-cat {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.p-cluster-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
  color: #374151;
}
.p-cluster-icon svg { display: block; }
.p-cluster-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.3;
}
.p-cluster-desc {
  font-size: .8125rem;
  color: #6B7280;
  margin: 0 0 16px;
  line-height: 1.5;
  flex: 1;
}
.p-cluster-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.p-cluster-badge {
  font-size: .6875rem;
  font-weight: 700;
  background: rgba(0,0,0,.07);
  color: #374151;
  border-radius: 100px;
  padding: 3px 10px;
}
.p-cluster-arrow {
  font-size: .8125rem;
  font-weight: 700;
  color: #374151;
  transition: transform .18s;
}
.p-cluster-card:hover .p-cluster-arrow {
  transform: translateX(4px);
}

/* ── Cluster hub article list ── */
.p-cluster-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 32px;
}
.p-cluster-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #F9FAFB;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  transition: background .18s, border-color .18s, box-shadow .18s, transform .15s;
}
a.p-cluster-item:hover {
  background: #fff;
  border-color: rgba(0,0,0,.13);
  box-shadow: 0 3px 14px rgba(0,0,0,.07);
  transform: translateY(-1px);
}
a.p-cluster-item:hover .p-cluster-item-title { color: #D97706; }
a.p-cluster-item:hover .p-cluster-item-btn   { letter-spacing: .02em; }
a.p-cluster-item:active { transform: translateY(0); box-shadow: none; }
.p-cluster-item-soon {
  opacity: .7;
}
.p-cluster-item-num {
  font-size: .75rem;
  font-weight: 800;
  color: #9CA3AF;
  min-width: 22px;
  padding-top: 2px;
}
.p-cluster-item-body {
  flex: 1;
}
.p-cluster-item-title {
  font-size: .9375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}
.p-cluster-item-desc {
  font-size: .8125rem;
  color: #6B7280;
  line-height: 1.45;
}
.p-cluster-item-btn {
  font-size: .8125rem;
  font-weight: 700;
  color: #D97706;
  white-space: nowrap;
  padding-top: 2px;
  flex-shrink: 0;
  transition: letter-spacing .18s;
}
.p-cluster-item-soon-badge {
  font-size: .6875rem;
  font-weight: 700;
  background: #F3F4F6;
  color: #9CA3AF;
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .p-cluster-grid { grid-template-columns: 1fr; gap: 12px; }
  .p-cluster-card { padding: 18px; }
  .p-cluster-icon { font-size: 1.625rem; }
  .p-cluster-title { font-size: 1rem; }
}

/* ══════════════════════════════════════════════════
   МОБИЛЬНАЯ АДАПТАЦИЯ — полный комплект
   ══════════════════════════════════════════════════ */

/* Запрет горизонтального скролла — clip не создаёт scroll-context,
   поэтому дочерние элементы (таблицы) сохраняют horizontal scroll */
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100vw; }

/* ── 900px: планшет ── */
@media (max-width: 900px) {
  /* Схлопывание статейного двухколоночного layout */
  .p-article-layout { grid-template-columns: 1fr; gap: 0; }
  .p-article-side { position: static; display: none; }

  /* Навигационные часы — убрать дату и разделитель */
  .p-nav-clock-date, .p-nav-clock-dot { display: none; }

  /* Light offer mobile */
  .p-iof-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .p-iof-cta { width: 100%; display: flex !important; justify-content: center !important; }
  .p-iof-glass { border-radius: 20px; padding: 28px 22px; gap: 24px; }
  .p-iof-card { border-radius: 22px; }
  .p-iof-title { font-size: 1.5rem; }
  .p-iof-sub { font-size: .875rem; margin-bottom: 22px; }
  .p-iof-prop { padding: 12px 14px; font-size: .8125rem; }
  .p-iof-orb-1 { width: 200px; height: 200px; top: -30px; right: -20px; }
  .p-iof-orb-2 { width: 150px; height: 150px; }
}

/* ── 640px: мобильный ── */
@media (max-width: 640px) {
  /* FAQ — главный фикс из скриншота */
  .p-faq-item summary {
    padding: 14px 16px;
    font-size: .875rem;
    word-break: break-word;
    gap: 8px;
  }
  .p-faq-item summary::after { font-size: 1.125rem; }
  .p-faq-body { padding: 4px 16px 14px; }
  .p-faq-body p { font-size: .875rem; }

  /* Prose reading area */
  .p-prose { font-size: .9375rem; }
  .p-prose h2 { font-size: 1.25rem; margin-top: 36px; padding-bottom: 8px; }
  .p-prose h3 { font-size: 1.0625rem; margin-top: 24px; }

  /* Key facts bar */
  .p-kf-item { padding: 16px 18px; }
  .p-kf-num { font-size: 1.5rem; }

  /* Hero кнопки */
  .p-hero-actions { flex-direction: column; }
  .p-hero-actions .p-btn { width: 100%; justify-content: center; }

  /* Скрыть часы совсем */
  .p-nav-clock { display: none; }

  /* VS comparison — одинаковый отступ в колонках */
  .p-vs-col { padding: 20px 16px; }

  /* Steps */
  .p-step { gap: 12px; }
  .p-step-num { width: 28px; height: 28px; font-size: .75rem; }
  .p-step:not(:last-child)::before { left: 13px; top: 28px; }

  /* Callout / insight */
  .p-callout { padding: 14px 16px; font-size: .875rem; }
  .p-insight { padding: 14px 16px; }
  .p-example { padding: 14px 16px; }

  /* Footer bottom строчки */
  .p-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Хлебные крошки */
  .p-bc-inner { font-size: .75rem; gap: 4px; }

  /* Статейный body h2/h3 */
  .p-article-body h2 { font-size: 1.1875rem; margin: 24px 0 10px; }
  .p-article-body h3 { font-size: 1rem; margin: 18px 0 8px; }

  /* Related strip */
  .p-related-strip { padding: 32px 0; margin-top: 40px; }

  /* Filter pills */
  .p-filter-row { gap: 6px; }
  .p-filter-pill { padding: 6px 12px; font-size: .8125rem; }

  /* Pain items */
  .p-pain-item { padding: 14px 16px; gap: 12px; }

  /* Checklist */
  .p-checklist-item { padding: 10px 12px; font-size: .875rem; }
  .p-ci-body span { font-size: .8125rem; }

  /* Таблица */
  .p-table th, .p-table td { padding: 10px 12px; font-size: .875rem; }

  /* Risk items */
  .p-risk-item { padding: 12px 14px; }
  .p-risk-text { font-size: .875rem; }
  .p-risk-text strong { font-size: .9375rem; }

  /* Info box */
  .p-info-box { padding: 12px 16px; }
  .p-info-box p { font-size: .875rem; }

  /* Solution cards */
  .p-solution-card { padding: 18px; }

  /* Hub card */
  .p-hub-card { padding: 20px; }

  /* Art card */
  .p-art-card { padding: 20px; }

  /* Hero meta */
  .p-hero-meta { font-size: .75rem; gap: 12px; }

  /* Section head */
  .p-section-head { margin-bottom: 24px; }
}

/* ── 480px: маленькие телефоны ── */
@media (max-width: 480px) {
  .p-home-hero { padding: 44px 0 36px; }
  .p-home-hero-title { font-size: 1.75rem; letter-spacing: -.025em; }
  .p-home-hero-sub { font-size: .9375rem; }
  .p-home-hero-badge { font-size: .6875rem; padding: 5px 12px; }
  .p-home-hero-stats { padding: 9px 14px; gap: 0; margin-top: 22px; }
  .p-hh-stat { padding: 0 10px; }
  .p-hh-stat b { font-size: 1rem; }
  .p-hh-stat span { font-size: .625rem; }
  .p-kf-num { font-size: 1.375rem; }
  .p-prose h2 { font-size: 1.125rem; }
  .p-nav-cta { padding: 7px 14px !important; font-size: .8125rem !important; }
  .p-nav-site-link { display: none; }
}

/* ══════════════════════════════════════════════════
   PREMIUM MOBILE POLISH — таблицы, карточки, проза
   ══════════════════════════════════════════════════ */

/* ── Таблицы: мобильный скролл ── */
@media (max-width: 768px) {
  /* Уменьшаем padding в ячейках, но сохраняем min-width → скролл работает */
  .p-table th, .p-table td { padding: 10px 13px; font-size: .875rem; }
  .p-table { min-width: 480px; } /* заставляет контейнер скроллиться */
  /* Убираем hover на тач (hover остаётся залипшим на мобиле) */
  .p-table tr:hover td { background: transparent; }
  /* Тонкая тень справа — намёк что можно скроллить */
  .p-table-wrap {
    box-shadow: inset -4px 0 8px -4px rgba(0,0,0,.08);
  }
}

/* ── Prose: читабельность ── */
@media (max-width: 768px) {
  .p-prose { font-size: .9375rem; line-height: 1.72; }
  .p-prose h2 {
    font-size: 1.1875rem;
    margin-top: 40px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  .p-prose h3 { font-size: 1.0625rem; margin-top: 28px; margin-bottom: 6px; }
  .p-prose > * + * { margin-top: 14px; }
  .p-prose p { line-height: 1.7; }
}

/* ── Bank cards: мобильный вид ── */
@media (max-width: 640px) {
  .p-bank-card { padding: 20px; gap: 14px; }
  .p-bank-meta h3 { font-size: .9375rem; }
  .p-bank-feature { font-size: .875rem; line-height: 1.55; }
  .p-bank-actions .p-btn { width: 100%; justify-content: center; }
  /* Hub grid: 1 колонка на мобиле */
  .p-hub-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ── Steps: компактнее на мобиле ── */
@media (max-width: 640px) {
  .p-step { gap: 14px; padding-bottom: 20px; }
  .p-step-num { width: 30px; height: 30px; font-size: .75rem; flex-shrink: 0; }
  .p-step:not(:last-child)::before { left: 14px; top: 30px; }
  .p-step-body { padding-top: 4px; }
  .p-step-body strong { font-size: .9375rem; }
  .p-step-body p { font-size: .875rem; }
}

/* ── Checklist: компактнее ── */
@media (max-width: 640px) {
  .p-checklist { gap: 6px; margin: 16px 0; }
  .p-checklist-item { padding: 10px 14px; font-size: .875rem; gap: 10px; align-items: flex-start; }
  .p-ci-body strong { font-size: .9rem; }
  .p-ci-body span { font-size: .8125rem; line-height: 1.5; }
}

/* ── Callout / Insight: мобильные отступы ── */
@media (max-width: 640px) {
  .p-callout { padding: 14px 16px; font-size: .875rem; border-radius: 12px; }
  .p-callout strong { font-size: .9375rem; }
  .p-insight { padding: 14px 16px; border-radius: 12px; }
  .p-insight-label { font-size: .6875rem; }
}

/* ── Risk list: мобильный ── */
@media (max-width: 640px) {
  .p-risk-item { padding: 12px 14px; gap: 10px; }
  .p-risk-text { font-size: .875rem; }
  .p-risk-text strong { font-size: .9rem; }
  .p-risk-icon { font-size: 1.125rem; }
}

/* ── VS comparison: уже схлопывается в 1 колонку, добавляем полишинг ── */
@media (max-width: 640px) {
  .p-vs { border-radius: 14px; margin: 24px 0; }
  .p-vs-col { padding: 20px 16px; }
  .p-vs-head { font-size: 1rem; margin-bottom: 12px; padding-bottom: 10px; }
  .p-vs-row { font-size: .875rem; padding: 7px 0; gap: 8px; }
}

/* ── FAQ: улучшения ── */
@media (max-width: 640px) {
  .p-faq { margin-top: 4px; }
  .p-faq-item { border-radius: 12px; }
  .p-faq-item summary { padding: 14px 16px; font-size: .875rem; line-height: 1.45; gap: 10px; }
  .p-faq-body { padding: 0 16px 14px; }
  .p-faq-body p { font-size: .875rem; line-height: 1.65; margin-top: 10px; }
}

/* ── Key facts bar: 2×2 на мобиле вместо вертикального стека ── */
@media (max-width: 640px) {
  .p-key-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-direction: unset;
    gap: 0;
  }
  .p-kf-item {
    border-right: 1px solid rgba(0,0,0,.08);
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: 16px 18px;
  }
  .p-kf-item:nth-child(even) { border-right: none; }
  .p-kf-item:nth-last-child(-n+2) { border-bottom: none; }
  .p-kf-num { font-size: 1.5rem; }
  .p-kf-lbl { font-size: .75rem; }
}

/* ── Артикул-страница: отступы ── */
@media (max-width: 640px) {
  .p-article-page { padding: 32px 0 60px; }
  .p-article-layout { padding: 0 16px; }
  .p-divider { margin: 36px 0; }
  .p-hero { padding: 36px 0 28px; }
  .p-hero-title { font-size: 1.5rem; letter-spacing: -.025em; }
  .p-hero-subtitle { font-size: .9375rem; }
}

/* ── Cluster hub: мобильные карточки ── */
@media (max-width: 640px) {
  .p-cluster-card { padding: 16px 18px; gap: 10px; }
  .p-cluster-icon { font-size: 1.5rem; }
  .p-cluster-title { font-size: .9375rem; }
  .p-cluster-desc { font-size: .8125rem; }

  /* Premium floating cards — каждая статья отдельная карточка */
  .p-cluster-items {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    gap: 10px;
    margin-bottom: 28px;
  }
  .p-cluster-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 16px;
    padding: 15px 16px;
    gap: 12px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.055);
  }
  a.p-cluster-item:active {
    background: #FFFBEB;
    transform: scale(.99);
  }
  .p-cluster-item-num {
    font-size: .6875rem;
    font-weight: 800;
    min-width: 28px;
    height: 28px;
    padding-top: 0;
    background: #FEF3C7;
    color: #92400E;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .p-cluster-item-desc { display: none; }
  .p-cluster-item-title {
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    margin-bottom: 0;
  }
  /* Стрелка → шеврон */
  .p-cluster-item-btn {
    font-size: 0;
    padding-top: 0;
    flex-shrink: 0;
    color: #D97706;
    transition: none;
  }
  .p-cluster-item-btn::after {
    content: '›';
    font-size: 1.375rem;
    line-height: 1;
    font-weight: 400;
  }
  .p-cluster-item-soon-badge { font-size: .625rem; padding: 2px 8px; }

  /* Related 2-col → 1-col на мобиле */
  .p-cluster-related-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ── Badge: правильный размер на мобиле ── */
@media (max-width: 640px) {
  .p-badge { font-size: .6875rem; padding: 3px 8px; }
}

/* ── Сравнительная таблица p-compare-table: тот же фикс ── */
.p-compare-wrap {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.p-compare-table { min-width: 480px; }
.p-compare-table th { white-space: nowrap; }

/* ── Общий контент: не выходить за края ── */
.p-prose img,
.p-prose table,
.p-article-body img { max-width: 100%; height: auto; }

/* ── Article header spacing ── */
@media (max-width: 640px) {
  .p-bc-back { font-size: .875rem; }
  .p-unverified { font-size: .8125rem; padding: 10px 14px; }
}

/* ══════════════════════════════════════════════════
   БЕЗ EMOJI — только текст и SVG
   ══════════════════════════════════════════════════ */

/* Скрыть emoji-контейнеры на карточках и в блоках */
.p-topic-icon,
.p-art-card-icon,
.p-cluster-icon,
.p-hub-icon,
.p-risk-icon,
.p-vs-icon,
.p-bf-icon { display: none !important; }

/* ── Банковые карточки: убрать логотип, показать только название ── */
.p-bank-card-head {
  display: block;
  margin-bottom: 4px;
}
.p-bank-name {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 3px;
}
.p-bank-sub {
  font-size: .8125rem;
  color: #6B7280;
  line-height: 1.4;
}
.p-bank-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0;
}
.p-bank-feature {
  display: flex;
  align-items: flex-start;
  gap: 0;
  font-size: .9rem;
  color: #374151;
  line-height: 1.5;
}

/* Без emoji карточка чуть компактнее — убираем лишний gap */
.p-topic-card { gap: 10px; }
.p-art-card { gap: 8px; }

/* ══════════════════════════════════════════════════
   APPLE QUALITY MOBILE — финальный полиш
   ══════════════════════════════════════════════════ */

/* Glassmorphism topic cards → solid white on mobile (glassmorphism работает только над градиентом) */
@media (max-width: 640px) {
  .p-topic-card {
    background: #fff;
    border-color: rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
  }
  .p-topic-icon { font-size: 2rem; line-height: 1; }
  .p-topic-card h3 { font-size: 1rem; }
  .p-topic-card p { font-size: .875rem; line-height: 1.55; }
}

/* Art card: чуть меньше радиус на мобиле, стабильный бордер */
@media (max-width: 640px) {
  .p-art-card {
    border-radius: 16px;
    padding: 20px;
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
  }
  .p-art-card h3 { font-size: 1rem; line-height: 1.3; }
  .p-art-card p { font-size: .8125rem; line-height: 1.5; }
  .p-art-card-icon { font-size: 1.75rem; }
}

/* Cluster hub page spacing */
@media (max-width: 640px) {
  .p-cluster-items { margin-bottom: 20px; }
  /* Раздел статей — заголовок компактнее */
  .p-prose h2:has(+ .p-cluster-items) { margin-top: 24px; margin-bottom: 12px; font-size: 1.125rem; }
}

/* FAQ: убираем inline padding:0 на summary — уже через CSS */
@media (max-width: 640px) {
  .p-faq-item { margin-bottom: 6px; }
  .p-faq-item summary {
    padding: 14px 16px !important; /* override inline style if present */
    align-items: flex-start !important;
    gap: 10px;
  }
  .p-faq-item summary::after {
    margin-top: 1px; /* выравнивание иконки по первой строке */
  }
}

/* Hub card grid section: равная высота карточек */
.p-hub-grid { align-items: stretch; }
.p-hub-card { height: 100%; }

/* Art card grid: равная высота */
.p-related-grid, .p-cluster-related-grid { align-items: stretch; }

/* Скрытие горизонтального overflow на секциях (не на контенте) */
.p-related-strip, .p-topics-section, .p-section, .p-section-sm { overflow-x: clip; }

/* ══════════════════════════════════════════════════
   INLINE GRID RESPONSIVE — универсальное решение
   Все inline display:grid в .p-prose адаптируются
   через attribute selectors + !important
   ══════════════════════════════════════════════════ */

/* Utility grid классы для новых страниц */
.p-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.p-g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 16px 0; }
.p-g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 16px 0; }

/* 900px: 3-col и 4-col → 2-col */
@media (max-width: 900px) {
  .p-g3, .p-g4 { grid-template-columns: repeat(2,1fr); }
  .p-prose [style*="grid-template-columns:repeat(4"],
  .p-prose [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: repeat(2,1fr) !important;
  }
}

/* 640px: 3-col → 1-col; 4-col → 2-col */
@media (max-width: 640px) {
  .p-g3 { grid-template-columns: 1fr; }
  .p-prose [style*="grid-template-columns:repeat(3"],
  .p-prose [style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .p-prose [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2,1fr) !important;
  }
  .p-g4 { grid-template-columns: repeat(2,1fr); }
}

/* 500px: 2-col контентные карточки (gap≥10px) → 1-col;
   2-col текстовые чеклисты (gap:4px) остаются 2-col */
@media (max-width: 500px) {
  .p-g2, .p-g4 { grid-template-columns: 1fr; }
  .p-prose [style*="grid-template-columns:1fr 1fr;gap:12px"],
  .p-prose [style*="grid-template-columns:1fr 1fr;gap:10px"],
  .p-prose [style*="grid-template-columns:1fr 1fr;gap:8px"],
  .p-prose [style*="grid-template-columns:repeat(2,1fr)"],
  .p-prose [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr !important;
  }
}

/* 400px: все 2-col → 1-col (включая чеклисты gap:4px) */
@media (max-width: 400px) {
  .p-prose [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Таблицы в .p-prose: горизонтальный скролл ── */
.p-prose table { max-width: 100%; }
@media (max-width: 640px) {
  .p-prose [style*="overflow-x:auto"] { -webkit-overflow-scrolling: touch; }
  .p-prose [style*="overflow-x:auto"] table { min-width: 460px; }
  /* Таблицы без обёртки — принудительный скролл */
  .p-prose > table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ── Inline карточки: компактнее на телефонах ── */
@media (max-width: 640px) {
  /* Карточки внутри .p-prose с border-radius:16px и padding:18-24px */
  .p-prose [style*="border-radius:16px"][style*="padding:18px 20px"],
  .p-prose [style*="border-radius:14px"][style*="padding:18px 20px"] {
    padding: 14px 16px !important;
    border-radius: 14px !important;
  }
  .p-prose [style*="border-radius:16px"][style*="padding:20px"] {
    padding: 16px !important;
    border-radius: 14px !important;
  }
  /* Founder quote block */
  .p-prose [style*="border-radius:0 16px 16px 0"][style*="padding:24px 28px"] {
    padding: 18px 20px !important;
    font-size: .875rem !important;
    line-height: 1.7 !important;
    border-radius: 0 14px 14px 0 !important;
  }
  /* Proof / доказательства flex-блоки */
  .p-prose [style*="gap:16px"][style*="align-items:flex-start"][style*="border-radius:16px"] {
    padding: 16px !important;
    gap: 12px !important;
  }
  /* Yellow CTA icon blocks */
  .p-prose [style*="background:#F5C400"][style*="border-radius:12px"][style*="width:48px"] {
    width: 40px !important; height: 40px !important; min-width: 40px !important;
    font-size: 1.125rem !important;
  }
  .p-prose [style*="background:#F5C400"][style*="border-radius:50%"][style*="width:30px"] {
    width: 26px !important; height: 26px !important; min-width: 26px !important;
    font-size: .75rem !important;
  }
}

/* ── Emoji в заголовках inline-карточек: smaller on mobile ── */
@media (max-width: 640px) {
  .p-prose [style*="font-size:1.75rem"] { font-size: 1.375rem !important; }
  .p-prose [style*="font-size:2rem"]    { font-size: 1.5rem !important; }
}

/* ── Prose inline font-size minima ── */
@media (max-width: 640px) {
  .p-prose [style*="font-size:.75rem"]    { font-size: .75rem !important; }
  .p-prose [style*="font-size:.6875rem"]  { font-size: .6875rem !important; }
}

/* ══════════════════════════════════════════════════
   KEY FACTS BAR — 4 факта в 2×2 на мобиле
   ══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .p-key-facts {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    flex-direction: unset;
    gap: 0;
  }
  .p-kf-item {
    border-right: 1px solid rgba(0,0,0,.08);
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: 14px 16px;
  }
  .p-kf-item:nth-child(even) { border-right: none; }
  .p-kf-item:nth-last-child(-n+2) { border-bottom: none; }
  .p-kf-num { font-size: 1.375rem; }
  .p-kf-lbl { font-size: .75rem; }
}

/* ══════════════════════════════════════════════════
   HERO ARTICLE — мобильный полиш
   ══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .p-hero { padding: 32px 0 28px; }
  .p-hero-eyebrow { font-size: .6875rem; padding: 4px 10px; margin-bottom: 12px; }
  .p-hero-title { font-size: 1.4375rem; letter-spacing: -.025em; line-height: 1.2; }
  .p-hero-subtitle { font-size: .9375rem; margin-bottom: 20px; line-height: 1.6; }
  .p-hero-meta { gap: 10px; font-size: .75rem; }
}

/* ══════════════════════════════════════════════════
   NAVIGATION TOP — мобильный полиш
   ══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .p-nav { padding: 0 16px; height: 52px; }
  .p-nav-logo { font-size: .9375rem; }
}

/* ══════════════════════════════════════════════════
   RELATED STRIP — 1 колонка на мобиле
   ══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .p-related-strip { padding: 28px 0; }
  .p-related-grid { grid-template-columns: 1fr; gap: 12px; }
  .p-related-card { padding: 14px 16px; }
}

/* ══════════════════════════════════════════════════
   WRAP PADDING — контентные отступы
   ══════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .p-wrap, .p-wrap-text { padding: 0 14px; }
  .p-article-layout { padding: 0 14px; }
}
