/* Pricing page: a short centred title, one row of three cards: two plans built on the same programme of drills (on
   your own, and with the coming analysis of your real meetings) and the teacher as an add-on to either; a table of
   what each plan includes and the company offer. Prices are in US dollars
   (the site has no currency switch). */
.pricing { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.pricing__head { max-width: 820px; margin: 0 auto; text-align: center; }
.pricing__title { margin: 0; text-wrap: balance; font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; }
.pricing__lead { margin: 18px auto 0; max-width: 640px; text-wrap: balance; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-soft); }

.pricing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-inline: auto; margin-top: clamp(36px, 4.5vw, 56px); align-items: stretch; }
/* a card: the name and who it is for, a line, then the price with its button, then what is included */
.price-card { --pad: clamp(22px, 2.2vw, 30px); position: relative; display: flex; flex-direction: column; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.price-card__head { padding: var(--pad) var(--pad) 20px; border-bottom: 1px solid var(--line); }
.price-card__name { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.price-card__for { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.price-card__body { display: flex; flex-direction: column; justify-content: flex-start; gap: 20px; padding: 24px clamp(22px, 2.2vw, 30px) clamp(24px, 2.4vw, 32px); }
.price-card__price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-height: 56px; }
.price-card__price b { font-size: clamp(44px, 4vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.price-card__price span { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.price-card__cta { justify-content: center; padding: 15px 24px; font-size: 16px; white-space: normal; text-align: center; }
.price-card__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.price-card__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; }
.price-card__list svg { flex: none; margin-top: 1px; color: var(--accent); }
.price-card__list .price-card__from { font-weight: 700; }
.price-card__list .price-card__from svg { color: var(--ink); }

.price-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-card__tag { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--chip-cream); color: var(--ink); font-size: 12px; font-weight: 800; }
/* not built yet: a quieter card, the button joins the waiting list */
.price-card--soon { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.price-card--soon .price-card__list svg { color: var(--sage-d); }
.price-card--soon .price-card__list .price-card__from svg { color: var(--ink); }

/* the teacher: an add-on to either plan, so it stands in the row as a dark card with a "+" and an "add to any plan" label */
.price-card__eyebrow { justify-self: start; display: inline-flex; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: var(--accent-pink); color: var(--ink); font-size: 12.5px; line-height: 18px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
/* the "+" stands out of the dark card's left edge, level with its label, and stays clear of the card next to it */
.price-card__plus {
  position: absolute; z-index: 1; left: -17px; top: calc(var(--pad) - 1px); width: 34px; height: 34px;      /* centred on the label next to it */ border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-pink); color: var(--ink); font-size: 22px; font-weight: 800; line-height: 1; box-shadow: 0 0 0 4px var(--bg);
}
.price-card__action { display: grid; gap: 10px; }
.price-card__min { margin: 0; font-size: 14px; text-align: center; color: var(--ink-soft); }
.price-card--addon { background: var(--card); color: #fff; box-shadow: 0 30px 60px -34px rgba(26, 26, 26, 0.6); }
.price-card--addon .price-card__head { border-bottom-color: rgba(255, 255, 255, 0.14); }
.price-card--addon .price-card__for, .price-card--addon .price-card__price span, .price-card--addon .price-card__min { color: #b9b9c0; }
.price-card--addon .price-card__list svg { color: var(--accent-pink); }
/* what each plan includes: one row per feature, so what repeats across plans is visible at a glance */
.pricing__compare { max-width: 980px; margin: clamp(40px, 5vw, 64px) auto 0; }
.pricing__compare-title { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.02em; }
.pricing__table { position: relative; margin-top: 18px; overflow-x: auto; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pricing__table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.pricing__table th, .pricing__table td { padding: 14px 18px; text-align: left; vertical-align: middle; }
.pricing__table thead th { font-size: 15px; font-weight: 800; border-bottom: 1px solid var(--line); }
.pricing__table thead th:first-child { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.pricing__table thead th span { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.pricing__table tbody th { font-weight: 600; }
.pricing__table tbody tr + tr > * { border-top: 1px solid var(--line); }
.pricing__table td { width: 24%; text-align: center; }
.pricing__table thead th:not(:first-child) { text-align: center; }
.pricing__table .is-yes { color: var(--accent); }
.pricing__table .is-no { color: var(--ink-soft); opacity: 0.6; }
.pricing__table .is-text { font-weight: 800; }

.pricing__note { margin: 20px 0 0; text-align: center; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

.pricing__biz {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px;
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-md); background: var(--sage); color: var(--ink);
}
.pricing__biz > div { max-width: 640px; }
.pricing__biz-tag { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.pricing__biz-title { margin: 8px 0 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.pricing__biz-text { margin: 10px 0 0; font-size: 16px; line-height: 1.5; }
.pricing__biz-btn { background: var(--ink); color: #fff; }

/* the three heads share one height, so the prices and the buttons stand on one line whatever the description's length */
@media (min-width: 961px) {
  .pricing__grid { grid-template-rows: auto auto; }
  .price-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
}
@media (max-width: 960px) {
  .price-card__plus { left: 50%; top: -17px; transform: translateX(-50%); }
  .pricing__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; row-gap: 40px; }      /* room for the "+" above the teacher */
}
@media (max-width: 520px) {
  .pricing__biz-btn { width: 100%; justify-content: center; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
