:root{
  --ip-ink:#1f2b37;
  --ip-muted:#6b7580;
  --ip-card:#fff;
  --ip-bg:#fff6fa;           /* общий нежный фон */
  --ip-ring:rgba(0,0,0,.06);
  --ip-accent:#ff6fb3;       /* розовый акцент */
  --ip-accent-2:#7b9dff;     /* фиолетовый акцент */
}

/* ===== Контейнер страницы ===== */
.ip-page{ background:var(--ip-bg); }
.ip-page .container{ max-width:1080px; }

/* ===== HERO (шапка блока) ===== */
.ip-hero{
  position:relative;
  margin-top:8px;
  border:1px solid var(--ip-ring);
  border-radius:24px;
  padding:28px;
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(255,255,255,.5) 0, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, rgba(255,111,179,.18), rgba(123,157,255,.18));
  box-shadow:0 16px 48px rgba(0,0,0,.06);
  overflow:hidden;
}
.ip-hero:after{
  content:"";
  position:absolute; right:-120px; top:-120px; width:340px; height:340px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(255,111,179,.65), rgba(123,157,255,.55), transparent 75%);
  filter:blur(28px); opacity:.45; pointer-events:none;
}
.ip-hero h1{ margin:0 0 6px; font-weight:800; letter-spacing:.2px; color:var(--ip-ink); }
.ip-hero p{ margin:0; color:var(--ip-muted); }

/* ===== Сетки ===== */
.ip-grid{ display:grid; gap:18px; }
.ip-2{ grid-template-columns:1fr 1fr; }
.ip-3{ grid-template-columns:1fr 1fr 1fr; }
.ip-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:992px){ .ip-4{ grid-template-columns:1fr 1fr; } }
@media (max-width:720px){ .ip-2,.ip-3,.ip-4{ grid-template-columns:1fr; } }

/* ===== Карточки ===== */
.ip-card{
  background:var(--ip-card);
  border:1px solid var(--ip-ring);
  border-radius:18px;
  padding:18px 20px;
  box-shadow:0 18px 52px rgba(0,0,0,.06);
}
.ip-card h3{ margin:0 0 8px; font-size:18px; color:var(--ip-ink); }
.ip-card p{ margin:0; color:var(--ip-muted); }

/* Малые элементы */
.ip-badge{
  display:inline-block; margin-bottom:8px; padding:6px 10px; border-radius:999px;
  background:linear-gradient(135deg, rgba(255,111,179,.2), rgba(123,157,255,.2));
  border:1px solid var(--ip-ring); font-size:12px; font-weight:700; color:var(--ip-ink);
}
.ip-link{ color:var(--ip-accent); text-decoration:none; }
.ip-link:hover{ text-decoration:underline; }
.ip-muted{ color:var(--ip-muted); }

/* Шаги (пронумерованные) */
.ip-step{ position:relative; padding-left:44px; }
.ip-step:before{
  content:attr(data-step);
  position:absolute; left:0; top:2px; width:32px; height:32px; line-height:32px;
  border-radius:50%;
  background:linear-gradient(135deg, rgba(255,111,179,.25), rgba(123,157,255,.25));
  border:1px solid var(--ip-ring); text-align:center; font-weight:800; color:var(--ip-ink);
}

/* Аккордеон (без JS) */
details.ip-acc{
  border:1px solid var(--ip-ring); border-radius:14px; background:#fff;
  margin:10px 0; overflow:hidden; box-shadow:0 10px 28px rgba(0,0,0,.04);
}
details.ip-acc > summary{
  list-style:none; cursor:pointer; padding:14px 16px; font-weight:700; color:var(--ip-ink); position:relative;
}
details.ip-acc > summary::-webkit-details-marker{ display:none; }
details.ip-acc > summary:after{
  content:"⌄"; position:absolute; right:14px; top:12px; font-size:18px; color:var(--ip-muted); transition:.2s;
}
details.ip-acc[open] > summary:after{ transform:rotate(180deg); }
details.ip-acc .acc-body{ padding:0 16px 14px; color:var(--ip-muted); }

/* CTA */
.ip-cta{
  text-align:center; padding:28px;
  background:#fff; border:1px solid var(--ip-ring); border-radius:20px;
  box-shadow:0 16px 44px rgba(0,0,0,.06);
}
.ip-btn{
  display:inline-block; padding:12px 18px; border-radius:12px; font-weight:800; border:0;
  color:#fff; background:linear-gradient(135deg, var(--ip-accent), var(--ip-accent-2));
  text-decoration:none;
}

/* Сайдбар (если нужен на конкретной странице) */
.ip-nav{
  position:sticky; top:110px;
  background:var(--ip-card); border:1px solid var(--ip-ring);
  border-radius:16px; padding:14px; box-shadow:0 10px 32px rgba(0,0,0,.05);
}
.ip-nav h3{ font-size:15px; margin:2px 0 8px; color:var(--ip-muted); font-weight:700; }
.ip-nav a{ display:block; padding:8px 10px; border-radius:10px; color:var(--ip-ink); text-decoration:none; font-size:14px; }
.ip-nav a:hover{ background:rgba(255,111,179,.08); }
