/* The plans and the per-app Free / Pro comparison (TKM-154). Shared by
   /pricing and the home page draft; moved here from index2.php's page-local
   styles so the two pages draw the cards the same way. Tokens only, so both
   themes follow tokens.css. */

.pricing {
  padding: 100px 24px;
  background: var(--bg1);
}
.pricing-inner {
  max-width: 1040px; margin: 0 auto; text-align: center;
}
/* /pricing is the page, not a section of one: clear the fixed nav, and give
   its h1 the size style.css gives a section's h2. */
.pricing.pricing-page { padding-top: 112px; background: var(--bg0); }
.pricing-page .pricing-inner { max-width: 1052px; }   /* the trail starts under the bar's logo (TKB-720) */
.pricing-page .crumbs { text-align: left; margin-bottom: 32px; }
.pricing-page h1 {
  font-size: clamp(var(--fs-xl), 4vw, var(--fs-hero)); font-weight: 800; line-height: 1.2;
  margin-bottom: 20px;
}
.pricing-page .section-sub { margin-left: auto; margin-right: auto; margin-bottom: 0; }
.pricing-page h2 { margin-top: 80px; margin-bottom: 12px; font-size: clamp(var(--fs-lg), 3vw, var(--fs-xl)); }
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 40px; text-align: left;
}
.pricing-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.pricing-card {
  background: var(--bg0); border: 1px solid var(--bdr);
  border-radius: 12px; padding: 32px 28px;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--amber);
  box-shadow: 0 0 40px rgba(var(--amber-wash),0.08);
  position: relative;
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: var(--fs-micro); letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--amber); color: var(--on-amber); font-weight: 700;
}
.pricing-card h3 {
  font-size: var(--fs-lg); font-weight: 700; margin-bottom: 4px;
}
.pricing-price {
  font-size: var(--fs-xxl); font-weight: 800; margin-bottom: 6px;
}
.pricing-price small {
  font-size: var(--fs-sm); font-weight: 400; color: var(--dim);
}
.pricing-note {
  font-size: var(--fs-xs); color: var(--dim2); margin-bottom: 20px;
  line-height: 1.5;
}
.pricing-term {
  margin-top: auto;
  font-size: var(--fs-xs); color: var(--dim); font-weight: 600;
}
.pricing-small {
  margin-top: 16px; font-size: var(--fs-xs); color: var(--dim2);
}
.pricing-list {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.pricing-list li {
  font-size: var(--fs-sm); color: var(--dim); display: flex; gap: 8px;
  align-items: flex-start; line-height: 1.4;
}
.pricing-list li svg { flex-shrink: 0; margin-top: 1px; }
.pricing-list li strong { color: var(--txt); font-weight: 600; }
.pricing-card .btn {
  margin-top: 24px; justify-content: center; width: 100%;
}

/* ── What each app gives free, and what its Pro adds ── */
.plans-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 40px; text-align: left;
}
.plans-app {
  background: var(--bg0); border: 1px solid var(--bdr);
  border-radius: 12px; padding: 28px;
}
.plans-app h3 { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 4px; }
.plans-app-where { font-size: var(--fs-xs); color: var(--dim2); margin-bottom: 20px; line-height: 1.5; }
.plans-app h4 {
  font-size: var(--fs-micro); letter-spacing: 2px; text-transform: uppercase;
  color: var(--dim); font-weight: 700; margin: 20px 0 10px;
}
.plans-app h4.pro { color: var(--amber-ink); }
.plans-app-note {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--bdr);
  font-size: var(--fs-xs); color: var(--dim2); line-height: 1.5;
}

.pricing-beta {
  max-width: 720px; margin: 28px auto 0;
  padding: 16px 20px; border-radius: 10px;
  border: 1px solid var(--amber); background: rgba(var(--amber-wash),0.06);
  font-size: var(--fs-sm); color: var(--txt2); line-height: 1.6; text-align: left;
}
.pricing-beta strong { color: var(--txt); }
.pricing-beta a { color: var(--amber-ink); }
.pricing-actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 28px;
}

@media (max-width: 860px) {
  .pricing-grid-3 { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-grid-3 .pricing-card.featured { order: -1; margin-top: 12px; }
  .plans-compare { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pricing { padding: 64px 16px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-actions .btn { width: 100%; justify-content: center; }
}
