/* Pricing (/pricing, views/pricing.js): made like the front page — its bar, its type, the cutting mat under the plans. */
.pr-main { padding-bottom: 8px; }
.pr-draft { margin: 18px 0 0; padding: 10px 14px; border: 1px dashed var(--accent-line); border-radius: var(--r-2); background: var(--accent-bg); color: var(--lilac-2); font: 600 13.5px/1.4 var(--body); text-align: center; }

.pr-hero { max-width: 780px; margin: 0 auto; padding: 64px 0 48px; text-align: center; }
.pr-hero h1 { margin: 0; font: 800 clamp(40px, 5vw, 72px)/.98 'Outfit', sans-serif; letter-spacing: -.045em; color: var(--white); text-wrap: balance; }
.pr-hero p { max-width: 54ch; margin: 22px auto 0; font-size: 17.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ── the plans: three cards on the mat; Studio lifted, in the brand's violet ── */
.pr-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; padding: 28px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--mat); }
.pr-plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px 26px 26px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(21, 18, 31, .92); box-shadow: var(--e-2); }
.pr-plan.best { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(124, 58, 237, .16), rgba(21, 18, 31, .94) 46%); box-shadow: 0 0 0 1px var(--accent-line), 0 24px 60px rgba(76, 29, 149, .35); }
.pr-tag { position: absolute; top: -12px; left: 26px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--violet); color: var(--white); font: 700 12px/1 var(--body); letter-spacing: .01em; }
.pr-plan h2 { margin: 0; font: 700 21px/1.2 'Outfit', sans-serif; color: var(--white); }
.pr-blurb { min-height: 2.9em; margin: 8px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.pr-price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 20px; }
.pr-price b { font: 800 44px/1 'Outfit', sans-serif; letter-spacing: -.03em; color: var(--white); }
.pr-price span { color: var(--faint); font-size: 14px; }
.pr-cta { display: inline-flex; align-items: center; justify-content: center; height: var(--h-md); padding: 0 18px; border: 1px solid var(--line-3); border-radius: var(--r-pill); color: var(--white); font: 700 14.5px/1 'Manrope', sans-serif; text-decoration: none; transition: background var(--d-1), border-color var(--d-1); }
.pr-cta:hover { background: var(--hover); }
.pr-cta.solid { border-color: transparent; background: var(--violet); }
.pr-cta.solid:hover { background: #7c3aed; }
.pr-cta.soon { color: var(--muted); cursor: default; }
.pr-cta.soon.solid { background: rgba(124, 58, 237, .45); color: var(--white); }
.pr-cta.soon:hover { background: transparent; }
.pr-cta.soon.solid:hover { background: rgba(124, 58, 237, .45); }
.pr-plan ul { display: grid; gap: 11px; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.pr-plan li { display: flex; gap: 10px; color: var(--text); font-size: 14.5px; line-height: 1.45; }
.pr-plan li svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--lilac); }

/* ── credits: the copy on the left, the packs as three tiles ── */
.pr-credits { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 32px; align-items: center; margin: 72px 0 0; }
.pr-credits h2, .pr-tools h2, .pr-faq h2 { margin: 0 0 14px; font: 800 clamp(28px, 3vw, 40px)/1.05 'Outfit', sans-serif; letter-spacing: -.035em; color: var(--white); }
.pr-credits p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.pr-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pr-packs li { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface-1); }
.pr-packs b { color: var(--text); font: 700 15px/1.2 var(--body); }
.pr-pack-price { color: var(--white); font: 800 28px/1 'Outfit', sans-serif; letter-spacing: -.02em; }
.pr-packs small { justify-self: start; padding: 3px 8px; border-radius: var(--r-pill); background: var(--accent-bg); color: var(--lilac-2); font: 700 11.5px/1.2 var(--body); }

/* ── the tools: one line per group, its count big ── */
.pr-tools { margin: 72px 0 0; }
.pr-tools ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 8px 0 0; padding: 0; list-style: none; }
.pr-tools li { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface-1); }
.pr-tools li > b { color: var(--lilac); font: 800 34px/1 'Outfit', sans-serif; }
.pr-tools li span { display: grid; gap: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.pr-tools li strong { color: var(--white); font: 700 15px/1.25 var(--body); }

/* ── questions ── */
.pr-faq { max-width: 820px; margin: 72px auto 64px; }
.pr-faq details { border-bottom: 1px solid var(--line-2); }
.pr-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; color: var(--white); font: 700 16.5px/1.35 var(--body); cursor: pointer; list-style: none; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: '+'; flex: none; color: var(--lilac); font: 400 24px/1 var(--body); transition: transform var(--d-2) var(--ease); }
.pr-faq details[open] summary::after { transform: rotate(45deg); }
.pr-faq details p { margin: 0 0 18px; max-width: 68ch; color: var(--muted); font-size: 15px; line-height: 1.6; }

@media (max-width: 1100px) {
  .pr-tools ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pr-plans { grid-template-columns: 1fr; gap: 26px; padding: 16px; }
  /* one under another: the plan most people take first */
  .pr-plan.best { order: -1; }
  .pr-blurb { min-height: 0; }
  .pr-credits { grid-template-columns: 1fr; }
  .pr-tools ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pr-hero { padding: 40px 0 32px; }
  .pr-packs { grid-template-columns: 1fr; }
  .pr-tools li { padding: 16px; }
  .pr-tools li > b { font-size: 28px; }
  .pr-plans { margin: 0 calc(-1 * var(--s-2)); }
}
