/* ==========================================================================
   COMPONENTS · PRICING — the commerce stress test. Four tiers as tariff cards:
   institutional restraint reads as a tasteful price list, never wedding
   stationery. Prices are mono; the featured tier is marked by an ink rule and a
   small-caps ribbon, not a glow. The surface all six candidates under-specified.
   ========================================================================== */

.op-pricing__tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: var(--surface-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  box-shadow: var(--shadow-raised);
}

/* The featured tier: an ink crown rule + a ribbon, premium by restraint */
.op-pricing__tier--featured {
  border-color: var(--surface-inverse);
  border-top: 3px solid var(--surface-inverse);
}
.op-pricing__ribbon {
  position: absolute;
  top: 0;
  right: var(--space-md);
  transform: translateY(-50%);
  background: var(--surface-inverse);
  color: var(--text-inverse);
  font-family: var(--font-furniture);
  font-size: var(--text-3xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border-radius: var(--radius-xs);
}

.op-pricing__name {
  font-family: var(--font-reading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
}

.op-pricing__price {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
}
.op-pricing__amount {
  font-family: var(--font-data);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--text);
}
.op-pricing__period {
  font-family: var(--font-furniture);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}
.op-pricing__note {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

.op-pricing__features {
  list-style: none;
  margin: 0;
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--rule-faint);
  display: grid;
  gap: var(--space-2xs);
  font-size: var(--text-sm);
}
.op-pricing__features li {
  display: grid;
  grid-template-columns: 1.4em 1fr;
  align-items: baseline;
  color: var(--text);
}
.op-pricing__features li::before {
  content: "\2713";              /* a printed check */
  color: var(--positive);
  font-family: var(--font-data);
}
.op-pricing__features li[data-included="false"] { color: var(--text-muted); }
.op-pricing__features li[data-included="false"]::before { content: "\2013"; color: var(--text-muted); }

.op-pricing__cta { margin-top: auto; }
