/* ============================================================
   /mastering/pricing — the two plan cards.

   Scoped to this page and loaded only by it, the same way
   mastering/mastering.css is scoped to the tool. Everything else on the page
   (nav, footer, .legal, .btn, .wrap) comes from styles.css, so this file only
   has to describe what is genuinely new: the billing toggle and the cards.
   ============================================================ */

.pricing__toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  margin: 26px 0 22px;
  border: 1px solid var(--line, #26262c);
  border-radius: 999px;
  background: var(--panel, #141417);
}
.pricing__cycle {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mut, #9A9AA2);
  font: inherit;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.pricing__cycle.is-on { background: var(--panel2, #1c1c21); color: var(--txt, #ECECEE); }
.pricing__cycle:focus-visible { outline: 2px solid var(--accent, #FF6B5E); outline-offset: 2px; }

.pricing__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 0 0 30px;
  align-items: start;
}

.pricing__card {
  border: 1px solid var(--line, #26262c);
  border-radius: 16px;
  padding: 26px 24px;
  background: var(--panel, #141417);
  min-width: 0;
}
/* The paid card leads, but quietly — a border, not a shout. */
.pricing__card--featured { border-color: var(--accent, #FF6B5E); }

.pricing__name { margin: 0 0 14px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.pricing__price { margin: 0; }
.pricing__amount { font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.pricing__per { margin: 4px 0 14px; font-size: 13px; color: var(--mut, #9A9AA2); }
.pricing__desc { margin: 0 0 16px; font-size: 14.5px; color: var(--mut, #9A9AA2); }

.pricing__features { list-style: none; margin: 0 0 22px; padding: 0; }
.pricing__features li {
  position: relative;
  padding: 0 0 0 22px;
  margin: 0 0 9px;
  font-size: 14.5px;
  line-height: 1.55;
}
.pricing__features li::before {
  content: "";
  position: absolute;
  left: 2px; top: .55em;
  width: 9px; height: 5px;
  border-left: 1.8px solid var(--accent, #FF6B5E);
  border-bottom: 1.8px solid var(--accent, #FF6B5E);
  transform: rotate(-45deg);
}

.pricing__cta { display: block; width: 100%; text-align: center; }
/* Billing not switched on yet: the button says so rather than failing on tap. */
.pricing__cta.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

.pricing__note { margin: 12px 0 0; font-size: 12.5px; color: var(--mut, #9A9AA2); text-align: center; }

.pricing__mor {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mut, #9A9AA2);
  border-top: 1px solid var(--line, #26262c);
  padding-top: 18px;
  margin-bottom: 34px;
}

@media (max-width: 560px) {
  .pricing__amount { font-size: 34px; }
  .pricing__card { padding: 22px 18px; }
}
