/* ---------- PRICING ----------
 *
 * The plan cards, mirroring what App-L3ad's Settings → Subscription panel shows so the two
 * surfaces cannot describe the same two plans differently. Its own stylesheet rather than more of
 * main.css, the same split `auth.css` already makes for the enquire page: only this page loads it.
 *
 * The app's own panel is the source of truth for what each plan INCLUDES — if a feature moves
 * between tiers there, the list here has to move with it.
 */

.pricing-page {
  padding: 140px 40px 120px;
}

.pricing-head {
  max-width: 1280px;
  margin: 0 auto 64px;
}

.pricing-head h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-top: 18px;
}

.pricing-head p {
  margin-top: 20px;
  max-width: 48ch;
  color: var(--dim);
  font-size: 18px;
}

.plans {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  /* Two plans, so two columns from the tablet breakpoint up and one below it. Deliberately not
     `auto-fit`: with exactly two cards that produces a single stretched column at some widths and
     two at others, for no reason the reader can see. */
  grid-template-columns: 1fr;
}

@media (min-width: 840px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

.plan {
  border: 1px solid var(--line);
  background: var(--k1);
  padding: 36px;
  display: flex;
  flex-direction: column;
}

/* The paid plan carries the accent border — the one card this page is trying to sell. */
.plan.plan-featured {
  border-color: var(--red);
}

.plan-name {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.plan-price {
  margin-top: 22px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1;
}

.plan-period {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.04em;
}

.plan-desc {
  margin-top: 22px;
  color: var(--dim);
  font-size: 16px;
}

.plan-features {
  margin-top: 26px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.plan-features li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--dim);
}

.plan-features li::before {
  content: '✓';
  color: var(--red);
  flex: 0 0 auto;
}

/* Pushed to the bottom edge so both cards' buttons sit on one line however long the feature
   lists get — the same `mt-auto` trick the app's own plan cards use. */
.plan-cta {
  margin-top: auto;
  padding-top: 32px;
}

.plan-cta .btn {
  display: block;
  text-align: center;
}

/* The free plan's action is secondary: it is a real destination, not the thing being sold. */
.plan-cta .btn-quiet {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
}

.plan-cta .btn-quiet:hover {
  background: rgba(244, 242, 238, 0.06);
  border-color: var(--white);
}

.pricing-note {
  max-width: 1280px;
  margin: 40px auto 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .pricing-page {
    padding: 120px 22px 90px;
  }

  .plan {
    padding: 28px;
  }
}
