/* ─────────────────────────────────────────────────────────────────────────
   pricing9.css — the Pricing page. Loads after site9.css and assumes its
   tokens, `.card`, `.marks`, `.callout` and `.section`.

   The plan card is a shared `.card.accented`; only the price typography, the
   add-on blocks and the FAQ live here.
   ───────────────────────────────────────────────────────────────────────── */

/* Plan on the left, add-ons stacked on the right. The plan column is wider
   because it carries the seven-item feature list; the add-ons are summaries. */
.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  align-items: start;
  max-width: 1080px;
  margin-inline: auto;
}

.plan { display: flex; flex-direction: column; }

.price-amount {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 64px);
  line-height: 1;
  color: var(--t1);
}
/* Baseline-aligned rather than superscript: the currency mark is part of the
   number, and raising it makes the row look like a footnote reference. */
.price-currency { margin-right: 2px; font-size: .5em; }
.price-period {
  margin-left: 6px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--t3);
}

.price-blurb {
  margin: 14px 0 26px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--t2);
}

.plan .marks { margin-bottom: 30px; }

/* `margin-top:auto` pins the button and its fine print to the bottom, so the
   plan card's CTA lines up regardless of how the list wraps. */
.plan .btn { margin-top: auto; }
.btn.full { width: 100%; min-width: 0; }

.price-fine {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--t3);
}

/* ─────────────── add-ons ─────────────── */

.price-side { display: grid; gap: clamp(16px, 2.5vw, 24px); }

.addon {
  padding: clamp(20px, 2.6vw, 26px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.addon-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.addon-head h3 { font-size: 17px; font-weight: 600; }
.addon-blurb {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--t2);
}

/* `white-space: nowrap` so "$4.99" never breaks from its own currency mark
   when the heading beside it grows. */
.addon-amount {
  flex: none;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
  color: var(--t1);
}
.addon-amount span {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--t3);
}

.marks.tight { gap: 10px; }
.marks.tight li { font-size: 14px; }

/* ─────────────── FAQ ─────────────── */

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  max-width: 1080px;
  margin-inline: auto;
}
.faq-item h3 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--t1);
}
.faq-item p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--t2);
}

/* ─────────────── responsive ─────────────── */

@media (max-width: 880px) {
  .price-grid,
  .faq { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .addon-head { flex-direction: column; gap: 10px; }
  .addon-amount { text-align: left; }
}
