/* ==========================================================================
   Pricing — tier cards
   ========================================================================== */

.pricing { background: var(--bg); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: stretch;
}
.tier {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.tier--featured { border-color: var(--red); box-shadow: var(--shadow-md); }
.tier__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.tier__name { font-size: 21px; margin-bottom: 4px; }
.tier__subtitle { font-size: 14px; color: var(--text-mute); margin-bottom: 18px; }
.tier__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.tier__price-prefix { font-size: 14px; color: var(--text-faint); }
.tier__price-amount { font-size: 34px; font-weight: 700; color: var(--heading); letter-spacing: -.02em; }
.tier__price-period { font-size: 14px; color: var(--text-mute); }
.tier__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.tier__features li {
  position: relative; padding-left: 28px; font-size: 15px; color: var(--text-mute); line-height: 1.5;
}
.tier__features li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--red-soft);
}
/* Checkmark uses a mask so its colour follows the accent (var(--red)), not a hardcoded hex. */
.tier__features li::after {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; background-color: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E") center / 12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tier__cta { margin-top: auto; }
.pricing__note { text-align: center; margin-top: 28px; font-size: 14px; color: var(--text-faint); }
