/* ============================================================
   PRICING — four tiers: free trial, monthly, annual (featured),
   school licensing (custom pricing, no price shown).
   ============================================================ */

.rt-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.rt-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px 24px;
}

.rt-plan-featured {
  background: linear-gradient(165deg, #2b1150 0%, var(--ink) 100%);
  color: var(--paper);
  border: 1px solid rgba(201, 166, 255, 0.25);
  box-shadow: 0 20px 50px -20px rgba(148, 0, 211, 0.55);
  transform: translateY(-10px);
}

.rt-plan-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--gold);
  color: #241505;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.rt-plan-head { margin-bottom: 18px; }

.rt-plan-head h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.rt-plan-price {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 30px;
  margin-bottom: 6px;
}

.rt-plan-price span { font-size: 14px; font-weight: 600; opacity: 0.6; }

.rt-plan-price-custom { font-size: 22px; }

.rt-plan-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  opacity: 0.65;
}

.rt-plan-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.rt-plan-features li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 13.5px;
  line-height: 1.4;
  border-top: 1px solid var(--line);
}

.rt-plan-featured .rt-plan-features li { border-top-color: rgba(255, 255, 255, 0.10); }
.rt-plan-features li:first-child { border-top: none; }

.rt-plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
}

.rt-plan-featured .rt-plan-features li::before { background: var(--gold); }

@media (max-width: 980px) {
  .rt-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .rt-plan-featured { transform: none; }
}

@media (max-width: 600px) {
  .rt-pricing-grid { grid-template-columns: 1fr; }
}
