/* ==========================================================================
   COMPONENTS · PLANS — the compact three-column plans widget (shared).

   Reduced from the p-pricing tariff ledger (.op-tariff) into a tight three-up
   grid for in-page commerce surfaces (the treatment hub, and any other page that
   reuses shared/_plans). Same editorial restraint as the ledger: hairline rules,
   a mono price, one calm way in per tier, and the featured tier marked by a
   solid-INK crown rule + a small-caps ribbon — premium by restraint, never the
   rubric, never a glow. The full ledger still lives, unchanged, on /pricing.

   Harvestable: .op-plans*. Tokens only below 01-settings. Link AFTER offprint.css.
   ========================================================================== */
.op-plans { display: grid; gap: var(--space-md); }

.op-plans__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.op-plans__tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

/* The featured tier — an ink crown + a faint raised stock, no neon. */
.op-plans__tier--featured {
  border-top: 3px solid var(--surface-inverse);
  background: var(--surface-raised);
  box-shadow: var(--shadow-raised);
}
.op-plans__ribbon {
  position: absolute;
  top: 0;
  right: var(--space-md);
  transform: translateY(-50%);
  padding: 0.15em 0.6em;
  font-family: var(--font-furniture);
  font-size: var(--text-3xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--surface);
  background: var(--surface-inverse);
  border-radius: var(--radius-xs);
}

.op-plans__eyebrow {
  font-family: var(--font-furniture);
  font-size: var(--text-3xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}
.op-plans__name {
  font-family: var(--font-reading);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
}
.op-plans__price {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  margin-top: var(--space-2xs);
}
.op-plans__amount {
  font-family: var(--font-data);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1;
  color: var(--text);
}
.op-plans__period {
  font-family: var(--font-furniture);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}
.op-plans__billing {
  font-family: var(--font-data);
  font-size: var(--text-2xs);
  color: var(--text-secondary);
}
.op-plans__blurb {
  font-family: var(--font-reading);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
  margin: var(--space-2xs) 0 var(--space-sm);
}
/* The one calm way in, pinned to the foot so the tiers line up. */
.op-plans__tier .op-btn { margin-top: auto; }

.op-plans__footnote {
  font-family: var(--font-furniture);
  font-size: var(--text-2xs);
  color: var(--text-muted);
  line-height: var(--leading-normal);
  text-align: center;
}
.op-plans__footnote a { color: inherit; }

@media (max-width: 56.25rem) {
  .op-plans__grid { grid-template-columns: 1fr; }
}
