/* Исторический тариф на result/pay: фиолетовый .checkout-teaser как у 3490₽ — только блок «не входит» и ссылка на примеры */
.checkout-teaser .historical-core-excludes,.historical-core-note{margin-top:12px;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);color:rgba(255,255,255,.92);font-size:.88rem;line-height:1.5}
.checkout-teaser .historical-core-excludes b{color:#fff}
.historical-core-option{background:linear-gradient(135deg,#211849,#4f32bd,#7a4df5);border:1px solid rgba(255,255,255,.12);border-radius:18px;color:#fff}
.historical-core-option .historical-core-note{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);color:rgba(255,255,255,.9)}
.historical-core-option .historical-core-includes{color:rgba(255,255,255,.88)}
.historical-core-option .text-link{color:#fff;text-decoration:underline;text-underline-offset:3px}
.historical-core-includes{margin:10px 0 0;padding-left:18px;color:#4b5563;font-size:.88rem;line-height:1.55}
.historical-core-includes li{margin:4px 0}
.checkout-teaser .teaser-actions .hist-examples-link,
.checkout-teaser .teaser-actions a.hist-examples-link{color:#fff!important;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);padding:10px 16px;border-radius:10px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.checkout-teaser .teaser-actions .hist-examples-link:hover{background:rgba(255,255,255,.24)}
/* «Уже открыто» на фиолетовом баннере — белый текст, не зелёный блок с наследованием color:#fff */
.checkout-teaser .known-user,.checkout-teaser .historical-open-badge{
  display:inline-flex;gap:12px;align-items:center;min-height:52px;padding:12px 16px;
  background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.28)!important;
  border-radius:14px;color:#fff!important;box-shadow:0 10px 24px rgba(9,8,28,.16)
}
.checkout-teaser .known-user>span,.checkout-teaser .historical-open-badge>span{
  width:34px;height:34px;display:grid;place-items:center;border-radius:50%;
  background:rgba(255,255,255,.22)!important;color:#fff!important;font-weight:800
}
.checkout-teaser .known-user small,.checkout-teaser .historical-open-badge small{
  display:block;color:rgba(255,255,255,.82)!important;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em
}
.checkout-teaser .known-user b,.checkout-teaser .historical-open-badge b{
  display:block;color:#fff!important;font-size:1rem;line-height:1.2
}
.checkout-teaser.is-historical-open .teaser-actions{align-items:center}
.hist-page{--hist-accent:#5b46e8;--hist-bg:#faf8ff;background:#faf8ff}
/* Плавающая «Назад» из toolbar — дублирует шапку */
.hist-page .global-back-button{display:none!important}
.hist-top{
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;
  max-width:1100px;margin:0 auto;padding:12px 18px;
  position:sticky;top:0;z-index:40;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(91,70,232,.1);
}
.hist-back{
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 14px;border-radius:999px;
  background:#f3f0fb;color:#4c1d95!important;
  font-weight:700;font-size:.84rem;text-decoration:none;white-space:nowrap;
}
.hist-back span{font-size:1rem;line-height:1}
.hist-brand{
  justify-self:center;display:inline-flex;align-items:center;gap:8px;
  text-decoration:none;color:#17122a;font-weight:800;font-size:.95rem;
}
.hist-top-cta{padding:9px 16px!important;font-size:.84rem!important;white-space:nowrap}
.hist-page .site-footer{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
@media (max-width:720px){
  .hist-top{grid-template-columns:1fr auto;padding:10px 14px}
  .hist-brand{display:none}
  .hist-back{grid-column:1}
  .hist-top-cta{grid-column:2;padding:8px 12px!important;font-size:.8rem!important}
}
.hist-hero{padding:48px 20px 32px;max-width:1100px;margin:0 auto}
.hist-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:28px;align-items:start}
.hist-hero h1{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.15;margin:0 0 12px;color:#1f1635}
.hist-hero-lead{color:#6b657a;font-size:1.02rem;line-height:1.6;margin:0 0 18px}
.hist-price-card{background:linear-gradient(145deg,#5b46e8,#7c3aed);color:#fff;border-radius:20px;padding:24px;box-shadow:0 18px 40px rgba(91,70,232,.25)}
.hist-price-card small{display:block;opacity:.85;margin-bottom:6px}
.hist-price-card strong{display:block;font-size:2.4rem;line-height:1;margin:0 0 4px}
.hist-price-card ul{margin:16px 0 0;padding-left:18px;line-height:1.55;font-size:.92rem}
.hist-price-card p{margin:14px 0 0;font-size:.84rem;opacity:.92;line-height:1.55}
.hist-section{max-width:1100px;margin:0 auto;padding:28px 20px}
.hist-section h2{margin:0 0 8px;font-size:1.5rem;color:#1f1635}
.hist-section-lead{color:#6b657a;margin:0 0 22px;line-height:1.55;max-width:760px}
.hist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.hist-card{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #ece6ff;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(40,20,100,.05);transition:transform .15s ease,border-color .15s ease;min-height:100%}
.hist-card:hover{transform:translateY(-2px);border-color:#cdbbff}
.hist-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hist-card-free{display:inline-flex;padding:4px 10px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:.72rem;font-weight:800;letter-spacing:.03em}
.hist-card-era{font-size:.75rem;font-weight:700;color:#7c3aed;text-transform:uppercase;letter-spacing:.04em}
.hist-card h3{margin:0;font-size:1.05rem;color:#1f1635;line-height:1.35}
.hist-card-meta{color:#6b7280;font-size:.86rem}
.hist-card p{margin:0;color:#4b5563;font-size:.88rem;line-height:1.5;flex:1}
.hist-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:6px}
.hist-card-actions a{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 14px;border-radius:10px;font-weight:700;font-size:.86rem;text-decoration:none}
.hist-card-actions .primary{background:#5b46e8;color:#fff}
.hist-card-actions .secondary{background:#f3f0fb;color:#4c1d95}
.hist-note{margin-top:24px;padding:16px 18px;border-radius:14px;background:#fefce8;border:1px solid #fde68a;color:#854d0e;line-height:1.55;font-size:.9rem}
.hist-focus-section{padding-top:0}
.hist-focus-card{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:24px;padding:24px;border-radius:20px;background:#fff;border:1px solid #e8d9ff;box-shadow:0 16px 40px rgba(40,20,100,.08)}
.hist-focus-badge{display:inline-flex;margin:0 0 10px;padding:6px 12px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:.78rem;font-weight:800}
.hist-focus-card h2{margin:0 0 8px;font-size:clamp(1.35rem,3vw,1.9rem);line-height:1.2;color:#1f1635}
.hist-focus-teaser{margin:12px 0 0;color:#4b5563;line-height:1.55;font-size:.95rem}
.hist-focus-includes{margin:16px 0 0;padding-left:18px;color:#374151;line-height:1.55;font-size:.9rem}
.hist-focus-aside{display:flex;flex-direction:column;gap:16px;justify-content:space-between;padding:20px;border-radius:16px;background:linear-gradient(145deg,#5b46e8,#7c3aed);color:#fff}
.hist-focus-price small{display:block;opacity:.85}
.hist-focus-price strong{display:block;font-size:2.2rem;line-height:1.1;margin:4px 0}
.hist-focus-price span{font-size:.86rem;opacity:.88}
.hist-focus-actions{display:grid;gap:10px}
.hist-focus-actions .primary-button,.hist-focus-actions .secondary-button{width:100%;justify-content:center;text-align:center}
.hist-focus-actions .secondary-button{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.22)}
@media (max-width:800px){
  .hist-hero-grid,.hist-focus-card{grid-template-columns:1fr}
  .hist-focus-aside{order:-1}
}

.historical-lp-banner{padding:22px;border-radius:18px;background:linear-gradient(135deg,#fff9f0 0%,#f3ecff 100%);border:1px solid #e8d9ff}
.historical-lp-banner h2{margin:0 0 10px}
.historical-lp-banner p{color:#4b5563;line-height:1.55}
