/* Тарифы по рисованному макету владельца (naydi-plans, 01.12): три карточки с иллюстрациями (снежная волна уже в картинке),
   центральная — с золотой рамкой и статичным свечением. Без снегопада, фильтров и анимаций, кроме нажатия кнопки. */
#plans.tp-sec{max-width:1280px;padding-top:8px}
.tp-h{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2vw,28px);text-align:center;margin-bottom:10px}
.tp-h::before,.tp-h::after{content:"";flex:none;width:clamp(20px,2.6vw,36px);aspect-ratio:36/40;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 40' fill='none' stroke='%23f7d58b' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M5 5l15 8M3 20h19M5 35l15-8'/%3E%3C/svg%3E") center/contain no-repeat}
.tp-h::after{transform:scaleX(-1)}
.tp-lead{margin:0 auto;text-align:center;color:#eef2fa;max-width:none}
.tp-grid{display:grid;grid-template-columns:1fr 1.06fr 1fr;gap:20px;align-items:stretch;margin-top:44px}
.tp{--ink:#11213b;position:relative;display:flex;flex-direction:column;min-width:0;border-radius:25px;color:var(--ink);font-family:var(--ui);
  background:linear-gradient(180deg,#fff7e6 0,#fff0d6 45%,#f0dfc3);box-shadow:0 0 0 1.5px #c9d3ee,0 14px 34px #0007}
.tp-magic{background:linear-gradient(180deg,#fff6e0 0,#ffefd0 45%,#f5dfb4);box-shadow:0 0 0 2.5px #ffdd9b,0 0 26px #f2b84f73,0 16px 38px #0008}
.tp-premium{--ink:#f1edf9;background:linear-gradient(180deg,#3d4375 0,#35375f 40%,#242948);box-shadow:0 0 0 1.5px #8d8fc4,0 14px 34px #0007}
.tp-art{display:block;width:100%;height:auto;border-radius:24px 24px 0 0}
.tp-badge{position:absolute;z-index:2;top:-18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;margin:0;white-space:nowrap;
  padding:7px 22px;border-radius:999px;font:900 15px/1.2 var(--ui);color:#fff5e4;background:linear-gradient(#b8323a,#8f1a23);box-shadow:0 0 0 1.5px #f6d389,0 4px 10px #0006}
.tp-badge svg{width:19px;height:19px;fill:#ffd66e;stroke:none}
.tp-premium .tp-badge{color:#23244a;background:linear-gradient(#d9cff5,#b9abe2);box-shadow:0 0 0 1.5px #e6defa,0 4px 10px #0006}
.tp-body{flex:1;display:flex;flex-direction:column;padding:2px 24px 24px}
.tp-name{margin:0;text-align:center;font:400 clamp(34px,3.3vw,44px)/1.15 var(--hand);color:#17274a}
.tp-magic .tp-name{color:#a21f27}.tp-premium .tp-name{color:#fff}
.tp-price{margin:2px 0 0;text-align:center;font:900 clamp(40px,3.8vw,50px)/1.1 var(--ui);color:#11213b;font-variant-numeric:tabular-nums}
.tp-magic .tp-price{color:#a21f27}
.tp-soon{display:flex;align-items:center;justify-content:center;gap:10px;color:#cdbfff;font-size:clamp(30px,2.9vw,38px)}
.tp-soon svg{width:.95em;height:.95em;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tp-late{margin:4px 0 0;text-align:center;font:600 14px/1.4 var(--ui);color:#72614d}
.tp-all{margin:10px 0 0;font:800 15px/1.4 var(--ui);color:#e3d8ff;text-align:center}
.tp-checks,.tp-rows{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:13px}
.tp-checks li{position:relative;padding-left:36px;font:600 16px/1.4 var(--ui)}
.tp-checks li::before{content:"";position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;
  background:#f4c874 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317233a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.3 3.3L17 9'/%3E%3C/svg%3E") center/100% no-repeat}
.tp-rows{gap:12px;margin-top:14px}
.tp-rows li{display:flex;align-items:center;gap:13px}
.tp-rows svg{flex:none;width:44px;height:44px;padding:9px;border-radius:13px;background:#fbdfae;fill:none;stroke:#a21f27;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tp-premium .tp-rows svg{background:#4a4c80;stroke:#ffd98a}
.tp-rows span{font:500 14.5px/1.35 var(--ui);color:#33405a}
.tp-rows b{display:block;font:900 16.5px/1.25 var(--ui);color:var(--ink)}
.tp-premium .tp-rows span{color:#d9d4ee}
.tp-note{margin:auto 0 0;padding-top:16px;font:600 14px/1.4 var(--ui);color:#675842;text-align:center}
.tp-rise{display:flex;align-items:center;gap:10px;margin:12px 0 0;padding-top:12px;border-top:1px solid #c9a86a66;font:800 15px/1.3 var(--ui);color:#a21f27}
.tp-rise svg{flex:none;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tp-cta{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:58px;margin-top:16px;padding:12px 16px;border:0;border-radius:999px;cursor:pointer;
  font:900 19px/1.2 var(--ui);text-decoration:none;color:#14223a;background:linear-gradient(#fff6df,#f3d8a2);box-shadow:inset 0 1px 0 #fff,0 0 0 1.5px #e0bd80,0 5px 0 #c9a566,0 10px 18px #0004;
  transition:transform .12s ease,box-shadow .12s ease;-webkit-tap-highlight-color:transparent}
.tp-magic .tp-cta{color:#fff;background:linear-gradient(#c93b3c,#a21f27 60%,#8c1a22);box-shadow:inset 0 1px 0 #ff9c8f80,0 0 0 1.5px #8c1a22,0 5px 0 #6f1219,0 10px 20px #0005}
.tp-premium .tp-cta{color:#20213e;background:linear-gradient(#ddd3f6,#b6a7e0);box-shadow:inset 0 1px 0 #fff8,0 0 0 1.5px #c9bdea,0 5px 0 #8d7fc0,0 10px 18px #0005}
.tp-premium #premBtn{margin-top:auto}
.tp-rows + #premBtn,.tp-rows + .tp-form{margin-top:auto}
.tp-cta svg{width:22px;height:22px;fill:currentColor;stroke:none}
.tp-cta:active{transform:translateY(4px);box-shadow:0 0 0 1.5px #0002,0 1px 0 #0003}
.tp-cta:focus-visible{outline:3px solid #72a7ff;outline-offset:4px}
@media (hover:hover){.tp-cta:hover{filter:brightness(1.05)}}
.tp-form{display:grid;gap:10px;margin-top:auto;padding-top:16px}
.tp-form[hidden]{display:none}
.tp-form input[type=email]{height:52px;padding:0 16px;border-radius:14px;border:0;font:700 17px/1 var(--ui);color:#11213b;background:#f6f1ff;box-shadow:0 0 0 1.5px #c9bdea}
.tp-form input[type=email]:focus{outline:none;box-shadow:0 0 0 2px #ffd98a}
.tp-agree{display:flex;gap:9px;align-items:flex-start;font:500 13px/1.4 var(--ui);color:#d9d4ee;cursor:pointer}
.tp-agree input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:#b6a7e0}
.tp-agree a{color:#e3d8ff}
.tp-form .tp-cta{margin-top:2px;min-height:52px;font-size:17px}
.tp-msg{margin:0;font:600 13.5px/1.4 var(--ui);color:#d9d4ee;text-align:center}
.tp-msg.bad{color:#ffb1aa}
.tp-sec .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#plans .plans-nav{margin-bottom:0}
@media (max-width:1100px){.tp-body{padding:2px 16px 20px}.tp-rows svg{width:38px;height:38px;padding:8px}.tp-rows li{gap:10px}.tp-rows b{font-size:15.5px}.tp-rows span{font-size:13.5px}.tp-checks li{font-size:15px}.tp-cta{font-size:17px}}
@media (max-width:899px){
  .tp-grid{grid-template-columns:minmax(0,1fr);max-width:470px;margin:38px auto 0;gap:38px}
  .tp-body{padding:2px 20px 22px}.tp-name{font-size:38px}.tp-price{font-size:46px}
  .tp-rows svg{width:44px;height:44px;padding:9px}.tp-rows b{font-size:16.5px}.tp-rows span{font-size:14.5px}.tp-checks li{font-size:16px}.tp-cta{font-size:18px}
  .tp-note{margin-top:0}
}

.tp-cta[hidden],.tp-form [hidden]{display:none}
/* 01.12 (2): у обоих тарифов поздняя цена под ценой, внизу под чертой — что понадобится; плейсхолдер под картинкой */
.tp-art{background:linear-gradient(180deg,#2c3f6a,#f4e6cb)}
.tp-premium .tp-art{background:linear-gradient(180deg,#26305a,#3a3f6e)}
.tp-need{display:flex;align-items:center;gap:10px;margin:auto 0 0;padding-top:14px;border-top:1px solid #c9a86a66;font:700 14.5px/1.35 var(--ui);color:#5e4d36}
.tp-need svg{flex:none;width:24px;height:24px;fill:none;stroke:#a21f27;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tp-rows + .tp-need,.tp-checks + .tp-need{margin-top:auto}
.tp-body>.tp-checks,.tp-body>.tp-rows{margin-bottom:18px}
