/* Pricing cards: shared by the landing page, /pricing and /billing/plans
   (templates/partials/pricing_cards.html). Self-contained: warm paper + ink, matching landing.css. */
.pc {
  --pc-ink: #1C1917;
  --pc-text: #292524;
  --pc-muted: #57534E;
  --pc-line: #EDE7E1;
  --pc-paper: #FFFFFF;
  --pc-soft: #FBF8F5;
  --pc-green: #15803D;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--pc-text);
}
.pc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px 28px;
  background: var(--pc-paper);
  border: 1px solid var(--pc-line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 12px 32px -18px rgba(28, 25, 23, .14);
}
.pc-card--popular {
  background: var(--pc-ink);
  border-color: var(--pc-ink);
  color: #F5F5F4;
  box-shadow: 0 24px 48px -20px rgba(28, 25, 23, .45);
}
.pc-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #F6B53D;
  color: var(--pc-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.pc-name { margin: 0; font-size: 18px; font-weight: 700; color: inherit; }
.pc-price { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.pc-amount { font-size: 48px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: inherit; }
.pc-per { font-size: 15px; color: var(--pc-muted); }
.pc-card--popular .pc-per { color: #D6D3D1; }
.pc-apps {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--pc-soft);
  font-size: 15px;
  color: var(--pc-text);
}
.pc-apps strong { font-size: 22px; font-weight: 800; color: var(--pc-ink); margin-right: 4px; }
.pc-card--popular .pc-apps { background: rgba(255, 255, 255, .08); color: #E7E5E4; }
.pc-card--popular .pc-apps strong { color: #FFFFFF; }
.pc-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--pc-ink);
  background: var(--pc-ink);
  color: #FFFFFF;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.pc-cta:hover { background: #000; transform: translateY(-1px); }
.pc-cta:focus-visible { outline: 3px solid #F6B53D; outline-offset: 2px; }
.pc-card--popular .pc-cta { background: #FFFFFF; color: var(--pc-ink); border-color: #FFFFFF; }
.pc-card--popular .pc-cta:hover { background: #F5F5F4; }
.pc-cta[aria-disabled="true"], .pc-cta:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.pc-current { margin-top: auto; text-align: center; font-weight: 600; font-size: 14px; }
.pc-form { margin: auto 0 0; }
.pc-included {
  margin: 32px auto 0;
  max-width: 760px;
  text-align: center;
}
.pc-included h3 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: var(--pc-ink); }
.pc-included ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--pc-muted);
}
.pc-included li::before { content: '\2713'; color: var(--pc-green); font-weight: 700; margin-right: 6px; }
.pc-note { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--pc-muted); }
@media (max-width: 860px) {
  .pc-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 28px; }
  .pc-card--popular { order: -1; }
}
@media (prefers-reduced-motion: reduce) { .pc-cta { transition: none; } .pc-cta:hover { transform: none; } }
