/* /pricing: one card per plan, each with its price, who it's for and what it covers. Two by two, four across on a
   wide window, one column on a phone. */
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { container-type: inline-size; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); }
.tier.best { border: 2px solid var(--gold); padding: 21px 21px 19px; }
.tier h3 { font: 500 1rem/1.3 var(--sans); color: var(--ink); }
.tiers .tier-flag { position: absolute; top: -11px; left: 20px; padding: 2px 9px; border-radius: 4px; background: var(--gold); color: #1e2a25; font: 600 0.69rem/1.5 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
/* The price and its unit stay on one line ("$24.99 a year", never "$24.99 a" / "year"): the number is sized to
   the card's own width, so nowrap never pushes it out of the card. */
.tier-price { color: var(--muted); font-size: 0.97rem; white-space: nowrap; }
.tier-price b { font: 400 clamp(2rem, 21cqi, 3.25rem)/1.02 var(--serif); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.tier-for { color: var(--ink); font-size: 0.97rem; line-height: 1.45; min-height: 4.35em; }
.tier-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.tier-points li { display: flex; gap: 10px; align-items: baseline; }
/* No lone last word ("price" on a line of its own) where the browser can avoid it. */
.tier-for, .tier-points li { text-wrap: pretty; }
.tier-points li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--gold); transform: translateY(-2px); }
/* Each plan's scene sits at the top of its card, a window into a small cut-paper field (depth.css): one bin for
   Free, two under a moon for the month, three before the sun for the year, and a grown grove for good. */
.tier .tier-art { margin: -10px -10px 4px; padding: 0; background: none; box-shadow: none; }
.tier .tier-art .frame-mat { padding: 6px; border-radius: 12px; }
@media (min-width: 1320px) {
  .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tier-for { min-height: 5.8em; }
}
@media (max-width: 620px) {
  .tiers { grid-template-columns: 1fr; gap: 20px; }
  .tier-for { min-height: 0; }
}
