/* Team Post Kit plans, legal, and FAQ page styles. */

/* =============================================================================
   Error pages (404 / 500) — centered hero in the public shell
   ============================================================================= */
.tpk-error-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tpk-error-hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 1rem 0 0.85rem;
}
.tpk-error-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 auto 1.75rem;
  max-width: 480px;
  line-height: 1.6;
}
.tpk-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* =============================================================================
   Plans / Pricing page
   ============================================================================= */
.tpk-plans-hero {
  text-align: center;
  padding: 0 1rem 1rem;
  max-width: 760px;
  margin: -0.75rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tpk-plans-hero .tpk-pill { margin-bottom: 1.25rem; }
.tpk-plans-hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.tpk-plans-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 auto 1.5rem;
  max-width: 580px;
  line-height: 1.6;
}
.tpk-plans-painpoints {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  justify-content: center;
}
.tpk-plans-painpoints li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text, #e8eef7);
}
.tpk-pp-icon { font-size: 1rem; }

/* Plan cards */
.tpk-plans-section { max-width: 1040px; border-top: none; padding-top: 1.5rem; }
.tpk-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.tpk-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.tpk-plan-card.is-highlight {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 18px 50px rgba(var(--primary-rgb), 0.12);
}
.tpk-plan-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -0.7rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #04201a;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.tpk-plan-head { margin-bottom: 1rem; }
.tpk-plan-name { font-size: 1.3rem; margin: 0 0 0.3rem; }
.tpk-plan-tagline { color: var(--muted); margin: 0; font-size: 0.9rem; }
.tpk-plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  margin: 0.5rem 0 0.2rem;
}
.tpk-plan-currency { font-size: 1.4rem; font-weight: 700; color: var(--text, #fff); }
.tpk-plan-amount { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--text, #fff); }
.tpk-plan-period { font-size: 1rem; color: var(--muted); font-weight: 600; }
.tpk-plan-billnote { color: var(--muted); font-size: 0.8rem; margin: 0 0 1rem; min-height: 1.1em; }
.tpk-plan-gens {
  margin: 0 0 1.25rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-lg, 12px);
  background: var(--primary-surface);
  color: var(--text, #fff);
  font-size: 0.95rem;
}
.tpk-plan-gens strong { color: var(--primary); }
.tpk-plan-cta { width: 100%; justify-content: center; margin-bottom: 1.25rem; }
.tpk-plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.tpk-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text, #dfe7f1);
  line-height: 1.4;
}
.tpk-feature-check { color: var(--primary); font-weight: 800; flex-shrink: 0; }
.tpk-plans-section .tpk-plans-reassure {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 2rem auto 0;
  max-width: 560px;
  display: block;
}
.tpk-plan-season {
  margin: 1.25rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-lg, 12px);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
.tpk-plan-season strong { display: block; color: var(--text, #fff); margin-bottom: 0.15rem; }
/* Legal pages (Terms / Privacy) */
.tpk-legal { max-width: 720px; margin-inline: auto; }
.tpk-legal h1 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); margin: 0 0 0.25rem; text-wrap: balance; }
.tpk-legal-sub { color: var(--text); font-size: 1rem; font-weight: 600; margin: 0 0 0.35rem; opacity: 0.9; }
.tpk-legal-updated { color: var(--muted); font-size: 0.85rem; margin: 0 0 1.5rem; }
.tpk-legal h2 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }
.tpk-legal p, .tpk-legal li { color: var(--muted); line-height: 1.65; font-size: 0.95rem; }
.tpk-legal ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.tpk-legal a { color: var(--primary); text-decoration: none; }
.tpk-legal a:hover { text-decoration: underline; }

/* Plans FAQ */
.tpk-plans-faq { text-align: center; }
.tpk-plans-faq h2 { margin-bottom: 1.5rem; }
.tpk-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  text-align: left;
}
.tpk-faq-item {
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
}
.tpk-faq-item h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.tpk-faq-item p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

@media (max-width: 860px) {
  .tpk-plan-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .tpk-faq-grid { grid-template-columns: 1fr; }
}
