.pricing-page { background: #eef1ed; }
.pricing-header { background: rgba(246, 247, 243, .94); }
.main-nav a[aria-current="page"] { color: var(--coral); }

.pricing-hero { padding: 92px clamp(24px, 5vw, 80px) 142px; text-align: center; background: var(--paper); position: relative; }
.pricing-hero .eyebrow { justify-content: center; margin-bottom: 28px; }
.pricing-hero h1 { white-space: normal; font-size: clamp(48px, 6vw, 84px); line-height: 1.02; }
.pricing-hero > p:not(.eyebrow) { max-width: 600px; margin: 28px auto 0; color: var(--muted); line-height: 1.8; }
.billing-toggle { position: absolute; left: 50%; bottom: -31px; z-index: 4; transform: translateX(-50%); display: flex; padding: 7px; border: 1px solid rgba(23,32,27,.08); border-radius: 99px; background: white; box-shadow: 0 22px 55px rgba(23,32,27,.18); }
.billing-toggle button { min-height: 48px; padding: 0 21px; border: 0; border-radius: 99px; color: var(--muted); background: transparent; cursor: pointer; font-weight: 700; white-space: nowrap; }
.billing-toggle button.active { color: var(--ink); background: #eff1ed; }
.billing-toggle span { margin-left: 7px; padding: 4px 8px; border-radius: 99px; color: var(--ink); background: var(--lime); font-size: 12px; }

.plans-section { padding: 106px clamp(20px, 4vw, 64px) 80px; }
.pricing-grid { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price-card { min-height: 690px; padding: 36px 30px 38px; display: flex; flex-direction: column; position: relative; border: 1px solid #e5e9e4; border-radius: 38px; background: white; }
.price-card.featured { border: 3px solid var(--coral); padding: 34px 28px 36px; box-shadow: 0 24px 70px rgba(239,103,73,.13); }
.popular-badge { position: absolute; top: 30px; right: 26px; padding: 6px 10px; border-radius: 99px; color: var(--ink); background: var(--lime); font-size: 12px; font-weight: 700; }
.spark { position: absolute; right: 10px; top: -47px; width: 58px; height: 42px; }
.spark i { position: absolute; width: 5px; height: 21px; border-radius: 4px; background: var(--coral); transform-origin: bottom; }
.spark i:nth-child(1) { left: 4px; bottom: 0; transform: rotate(-9deg); }
.spark i:nth-child(2) { left: 26px; top: 0; transform: rotate(23deg); }
.spark i:nth-child(3) { right: 2px; bottom: 1px; transform: rotate(46deg); }
.plan-index { margin: 0 0 14px; color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.plan-heading h2 { margin: 0; font-size: 31px; }
.plan-heading > p:last-child { min-height: 48px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.allowance { min-height: 46px; margin: 26px 0 0; color: var(--ink); font-weight: 600; }
.credit-select { height: 70px; margin-top: 26px; padding: 10px 14px; display: flex; flex-direction: column; border: 1px solid #bfc7c1; border-radius: 5px; }
.credit-select span { color: var(--muted); font-size: 10px; }
.credit-select select { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 17px; }
.price-line { min-height: 74px; margin-top: 28px; display: flex; align-items: baseline; gap: 5px; }
.price-line > span { font-size: 22px; font-weight: 700; }
.price-line strong { font-size: 48px; line-height: 1; }
.price-line small { margin-left: 5px; color: var(--muted); font-size: 14px; }
.plan-button { min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--ink); border-radius: 4px; font-weight: 700; transition: transform .2s, background .2s; }
.plan-button:hover { transform: translateY(-2px); background: var(--green); }
.featured .plan-button { background: var(--coral); }
.billing-note { min-height: 18px; margin: 11px 0 0; text-align: center; color: var(--muted); font-size: 11px; }
.plan-features { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.plan-features > p, .plan-features h3 { margin: 0 0 17px; font-size: 13px; line-height: 1.6; }
.plan-features ul { margin: 0; padding: 0; list-style: none; }
.plan-features li { position: relative; padding: 7px 0 7px 22px; color: var(--muted); font-size: 13px; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.pricing-footnote { padding: 62px clamp(24px, 5vw, 80px) 92px; display: flex; justify-content: center; align-items: center; gap: 24px; background: #eef1ed; }
.pricing-footnote p { margin: 0; color: var(--muted); }
.pricing-footnote a { font-weight: 700; }
.pricing-footnote a span { margin-left: 8px; color: var(--coral); }

@media (max-width: 1180px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card { min-height: 650px; }
}

@media (max-width: 650px) {
  .pricing-hero { padding: 70px 22px 116px; }
  .pricing-hero h1 { font-size: clamp(43px, 13vw, 58px); }
  .billing-toggle { bottom: -31px; }
  .billing-toggle button { padding: 0 13px; }
  .plans-section { padding: 90px 16px 58px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 18px; }
  .price-card, .price-card.featured { min-height: 0; padding: 30px 24px; border-radius: 28px; }
  .spark { display: none; }
  .pricing-footnote { align-items: flex-start; flex-direction: column; }
}
