/* Карточки тарифов (главная — compact, /pricing/ — full): design/Site Pricing.dc.html, секция «Plan cards» */
@keyframes rw-spin { to { transform: rotate(360deg); } }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: inherit; }
a.plan:hover { color: inherit; }
.plan > :not(.spot-glow):not(.spot-border):not(.plan-blobs) { position: relative; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-name { font-weight: 600; font-size: 18px; }
.plan-badge { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.plan-cost { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price { font-size: 44px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.plan-period { font-size: 14px; color: var(--muted); }
.plan-note { width: 100%; font-size: 12.5px; color: var(--muted); }
.plan-features { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.5; color: oklch(0.35 0.012 280); }
.plan-summary { font-size: 14.5px; line-height: 1.5; color: oklch(0.35 0.012 280); }
.plan-btn { position: relative; overflow: hidden; margin-top: auto; padding: 11px; border: 1px solid var(--line-2); border-radius: 999px; text-align: center; font-weight: 500; }
.plan-btn:hover { background: var(--hover); color: var(--ink); }
.plan-more { margin-top: -6px; align-self: center; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(0.8 0.008 80); }
/* выделенный тариф: вращающаяся градиентная рамка, тёмная карточка с пятнами */
.plan-ring { position: relative; overflow: hidden; padding: 1px; border-radius: 16px; box-shadow: 0 30px 60px -30px oklch(0.3 0.03 285 / .6); }
.plan-ring-spin { position: absolute; left: 50%; top: 50%; width: 200%; aspect-ratio: 1; margin: -100% 0 0 -100%; animation: rw-spin 8s linear infinite;
  background: conic-gradient(from 0deg, oklch(0.74 0.15 285 / 0) 0%, oklch(0.74 0.15 285) 15%, oklch(0.8 0.1 320) 28%, oklch(0.74 0.15 285 / 0) 42%, oklch(0.74 0.15 285 / 0) 55%, oklch(0.74 0.15 285) 70%, oklch(0.74 0.15 285 / 0) 88%); }
.plan-dark { height: 100%; padding: 27px; border: 0; border-radius: 15px; background: oklch(0.2 0.012 280); color: #fff; }
a.plan-dark:hover { color: #fff; }
.plan-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.plan-blobs i { position: absolute; aspect-ratio: 1; border-radius: 50%; filter: blur(30px); }
.plan-blobs i:first-child { left: -20%; top: -30%; width: 80%; background: radial-gradient(circle, oklch(0.5 0.2 285 / .55), transparent 65%); animation: rw-blob1 16s ease-in-out infinite; }
.plan-blobs i:last-child { right: -25%; bottom: -30%; width: 75%; background: radial-gradient(circle, oklch(0.55 0.14 320 / .4), transparent 65%); animation: rw-blob2 20s ease-in-out infinite; }
.plan-dark .plan-badge { border: 0; background: var(--accent-dark); color: oklch(0.17 0.03 285); font-weight: 500; }
.plan-dark .plan-period, .plan-dark .plan-note { color: oklch(0.72 0.01 280); }
.plan-dark .plan-features, .plan-dark .plan-summary { color: oklch(0.85 0.008 80); }
.plan-dark .plan-btn { border: 0; background: #fff; color: var(--ink); }
.plan-dark .plan-btn .sheen-bar { background: linear-gradient(90deg, #fff0, oklch(0.52 0.21 285 / .22), #fff0); animation-duration: 3.4s; animation-delay: 1.6s; }
.plan-dark .plan-btn:hover { background: var(--accent-dark); color: oklch(0.17 0.03 285); }
.plan-dark .plan-more { color: oklch(0.72 0.01 280); text-decoration-color: oklch(1 0 0 / .3); }
.plan-dark .plan-more:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .plan-ring-spin, .plan-blobs i { animation: none !important; } }
