/* Pricing: three products, each priced on its own. Page-only styles; tokens
   come from the shared stack. */
.pr-hero { padding: var(--space-16) 0 var(--space-12); background: var(--surface-page); }
.pr-hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: var(--weight-semibold); letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; color: var(--text-primary); }
.pr-hero p { font: var(--type-lead); color: var(--text-muted); margin-top: var(--space-5); }
.pr-hero .pr-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

.pr-sec { padding: var(--pad) 0; border-top: 1px solid var(--border-subtle); background: var(--surface-page); }
.pr-sec.alt { background: var(--surface-card); }
.pr-head { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-12); align-items: end; margin-bottom: var(--space-12); }
.pr-eyebrow { font-size: 14px; font-weight: var(--weight-medium); color: var(--accent); margin-bottom: var(--space-3); }
.pr-head h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-display); line-height: var(--leading-tight); color: var(--text-primary); text-wrap: balance; }
.pr-head p { font: var(--type-lead); color: var(--text-muted); }

.pr-plans { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); overflow: hidden; }
.pr-plan { padding: var(--space-8); background: var(--surface-page); display: flex; flex-direction: column; gap: var(--space-3); }
.pr-sec.alt .pr-plan { background: var(--surface-page); }
.pr-plan + .pr-plan { border-left: 1px solid var(--border-strong); }
.pr-plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.pr-name { font-size: 15px; font-weight: var(--weight-semibold); color: var(--text-primary); }
.pr-tag { font-size: 12px; font-weight: var(--weight-medium); color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: var(--radius-xs); white-space: nowrap; }
.pr-price { display: flex; align-items: baseline; gap: 6px; margin-top: var(--space-2); }
.pr-price b { font-size: 44px; font-weight: var(--weight-semibold); letter-spacing: -0.03em; line-height: 1; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.pr-price b.custom { font-size: 32px; }
.pr-price span { font-size: 14px; color: var(--text-faint); }
.pr-note { font-size: 14px; color: var(--text-muted); }
.pr-desc { font-size: 15px; color: var(--text-muted); }
.pr-feats { list-style: none; margin: var(--space-3) 0 0; padding: var(--space-4) 0 0; border-top: 1px solid var(--border-subtle); display: grid; gap: var(--space-3); flex: 1; }
.pr-feats li { position: relative; padding-left: var(--space-5); font-size: 15px; line-height: 1.5; color: var(--text-primary); }
.pr-feats li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--text-faint); }
.pr-feats li small { display: block; font-size: 13px; color: var(--text-faint); margin-top: 2px; }
.pr-plan .pr-cta { margin-top: var(--space-5); align-self: flex-start; }

.pr-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 var(--space-5); border-radius: var(--radius-pill); font: inherit; font-size: 15px; font-weight: var(--weight-semibold); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color 180ms ease-out, border-color 180ms ease-out; }
.pr-btn.primary { background: var(--accent); color: var(--text-on-accent); }
.pr-btn.primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--text-primary)); }
.pr-btn.ghost { background: none; color: var(--text-primary); border-color: var(--border-strong); }
.pr-btn.ghost:hover { border-color: var(--text-faint); }

.pr-data { margin-top: var(--space-8); display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--border-strong); }
.pr-data h3 { grid-column: 1 / -1; font-size: 15px; font-weight: var(--weight-semibold); color: var(--text-primary); padding: var(--space-5) 0 var(--space-2); }
.pr-data div { padding: var(--space-3) var(--space-8) var(--space-5) 0; display: grid; gap: 4px; }
.pr-data div + div { padding-left: var(--space-8); border-left: 1px solid var(--border-subtle); }
.pr-data b { font-size: 15px; font-weight: var(--weight-semibold); color: var(--text-primary); }
.pr-data b span { margin-left: var(--space-2); font-size: 12px; font-weight: var(--weight-medium); color: var(--text-faint); }
.pr-data p { font-size: 15px; color: var(--text-muted); }

.pr-notes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border-strong); }
.pr-notes div { padding: var(--space-6) var(--space-8) var(--space-6) 0; border-bottom: 1px solid var(--border-subtle); display: grid; gap: var(--space-2); align-content: start; }
.pr-notes div:not(:nth-child(3n+1)) { padding-left: var(--space-8); border-left: 1px solid var(--border-subtle); }
.pr-notes h3 { font-size: 17px; font-weight: var(--weight-semibold); color: var(--text-primary); }
.pr-notes p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

@media (max-width: 900px) {
  .pr-head, .pr-plans, .pr-data, .pr-notes { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .pr-plans { gap: 0; }
  .pr-plan + .pr-plan { border-left: 0; border-top: 1px solid var(--border-strong); }
  .pr-data div + div { padding-left: 0; border-left: 0; }
  .pr-notes div, .pr-notes div:not(:nth-child(3n+1)) { padding: var(--space-5) 0; border-left: 0; }
}

/* a plan row with one visible plan: a single box, not half of an empty grid */
.pr-plan[hidden] { display: none; }
.pr-plans.single { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
.pr-plans.single .pr-plan { border-left: 0; }

/* titles on one line: the head stacks (title, then its intro) instead of
   squeezing the title into a narrow left column */
@media (min-width: 900px) {
  .pr-head { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); align-items: start; }
  .pr-head h2 { white-space: nowrap; }
  .pr-head > p { max-width: none; }
}
/* a shorter list packs at the top; the spare height goes above the button,
   so buttons still line up across a row */
.pr-feats { align-content: start; }
