/* faxo.com/pricing (root/pricing/show, PricingPage) on faxo.css's colors, light and dark: an
   Apple-style pricing page. Big centered headline, a sticky segmented control, tier cards with the
   price large and a checkmark list, the popular tier ringed in the accent. 375 wide up to 1920. */
.fx-pricing { background: var(--bg); color: var(--label); padding-bottom: 96px; }
.fx-pricing h1, .fx-pricing h2, .fx-pricing h3 { color: var(--label); }
.fx-pr-col { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

.fx-pr-hero { text-align: center; padding-top: 44px; padding-bottom: 18px; }
.fx-pr-hero h1 { font-size: 48px; line-height: 1.05; font-weight: 700; letter-spacing: -.03em; margin: 0 0 10px; }
.fx-pr-lead { font-size: 19px; line-height: 1.45; color: var(--secondary); margin: 0 auto; max-width: 30em; }

/* the segmented control: sticks under the top bar, scrolls sideways on phones */
.fx-pr-nav { position: sticky; top: 52px; z-index: 4; padding: 10px 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.fx-pr-seg { display: flex; gap: 2px; width: max-content; max-width: calc(100% - 32px); margin: 0 auto; padding: 2px;
  border-radius: 10px; background: var(--fill); overflow-x: auto; scrollbar-width: none; box-sizing: border-box; }
.fx-pr-seg::-webkit-scrollbar { display: none; }
.fx-pr-seg a { flex: none; padding: 7px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--label);
  text-decoration: none; white-space: nowrap; transition: background .2s var(--ease); }
.fx-pr-seg a:hover { background: var(--fill-pressed); }
.fx-pr-seg a.on { background: var(--card); font-weight: 600; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
@media (prefers-color-scheme: dark) { .fx-pr-seg a.on { background: #636366; box-shadow: none; } }

.fx-pr-section { padding: 48px 0 8px; scroll-margin-top: 104px; }
.fx-pr-head { text-align: center; margin: 0 auto 26px; max-width: 640px; }
.fx-pr-eyebrow { color: var(--accent); font-weight: 600; font-size: 15px; }
.fx-pr-head h2 { font-size: 32px; line-height: 1.12; font-weight: 700; letter-spacing: -.025em; margin: 6px 0 8px; }
.fx-pr-head p { margin: 0; color: var(--secondary); font-size: 17px; line-height: 1.5; }

/* tier cards */
.fx-pr-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.fx-pr-card { position: relative; background: var(--page); border-radius: 20px; padding: 26px 22px 24px;
  display: flex; flex-direction: column; border: 2px solid transparent; }
@media (prefers-color-scheme: dark) { .fx-pr-card { background: var(--card); } }
.fx-pr-card.featured { border-color: var(--accent); }
.fx-pr-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 12px; white-space: nowrap; }
.fx-pr-card h3 { font-size: 21px; font-weight: 600; margin: 0 0 6px; }
.fx-pr-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.fx-pr-price span { font-size: 36px; font-weight: 700; letter-spacing: -.03em; }
.fx-pr-price small { font-size: 15px; color: var(--secondary); }

.fx-pr-btn { display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 22px;
  font-size: 16px; font-weight: 600; text-decoration: none; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); transition: filter .2s var(--ease), transform .1s var(--ease); }
.fx-pr-btn:hover { filter: brightness(1.05); }
.fx-pr-btn:active { transform: scale(.985); }
.fx-pr-btn.primary { background: var(--accent); color: #fff; }

.fx-pr-perks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.fx-pr-perks li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.4; }
.fx-pr-perks svg { color: var(--green); margin-top: 2px; }

/* ads: one wide card */
.fx-pr-feature { background: var(--page); border-radius: 20px; padding: 28px 22px; max-width: 720px; margin: 0 auto; box-sizing: border-box; }
@media (prefers-color-scheme: dark) { .fx-pr-feature { background: var(--card); } }
.fx-pr-stat { display: grid; gap: 2px; text-align: center; }
.fx-pr-stat span { font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.fx-pr-stat small { color: var(--secondary); font-size: 15px; }
.fx-pr-feature .fx-pr-perks { max-width: 460px; margin: 22px auto 0; }
.fx-pr-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.fx-pr-link { color: var(--accent); font-size: 16px; font-weight: 500; text-decoration: none; }
.fx-pr-link:hover { text-decoration: underline; }

/* credits packs */
.fx-pr-packs { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.fx-pr-pack { display: grid; gap: 4px; padding: 18px 16px; border-radius: 16px; background: var(--page); text-align: center;
  text-decoration: none; color: var(--label); transition: background .2s var(--ease); }
@media (prefers-color-scheme: dark) { .fx-pr-pack { background: var(--card); } }
.fx-pr-pack:hover { background: var(--fill-pressed); }
.fx-pr-pack-n { font-size: 15px; color: var(--secondary); }
.fx-pr-pack-p { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.fx-pr-fine { text-align: center; color: var(--secondary); font-size: 14px; margin: 16px 0 0; }

/* how paying works */
.fx-pr-how h2 { text-align: center; font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 20px; }
.fx-pr-faq { display: grid; gap: 22px; max-width: 900px; margin: 0 auto; }
.fx-pr-faq h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.fx-pr-faq p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.5; }

@media (min-width: 560px) {
  .fx-pr-packs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .fx-pr-hero { padding-top: 64px; }
  .fx-pr-hero h1 { font-size: 64px; }
  .fx-pr-head h2 { font-size: 40px; }
  .fx-pr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .fx-pr-grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx-pr-faq { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
  .fx-pr-section { padding-top: 72px; }
}
@media (min-width: 1100px) {
  .fx-pr-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .fx-pr-grid.five .fx-pr-card { padding: 24px 18px 22px; }
  .fx-pr-grid.five .fx-pr-price span { font-size: 30px; }
  .fx-pr-packs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
