/* public pricing page: three plan cards, then a few honest answers.
   Reuses the landing page's nav/footer and design tokens (dashboard.css
   + landing.css). */

body{
  background: var(--bg);
  color: var(--text);
}

.pricing-page{
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}

.pricing-header{
  text-align: center;
  margin-bottom: 44px;
}

.pricing-header h1{
  font-size: clamp(28px, 4vw, 40px);
  margin: 10px 0 14px;
}

.pricing-header p{
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
  margin: 0 auto;
}

.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.pricing-card{
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
}

.pricing-card.featured{
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
}

.pricing-badge{
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.pricing-card h2{
  font-size: 20px;
  margin: 0 0 10px;
}

.pricing-price{
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.pricing-price .amount{
  font-size: 40px;
  font-weight: 700;
}

.pricing-price .per{
  color: var(--muted);
  font-size: 14px;
}

.pricing-for{
  color: var(--muted);
  font-size: 14px;
  min-height: 42px;
  margin: 0 0 18px;
}

.pricing-list{
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}

.pricing-list li{
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 14px;
  border-top: 1px solid var(--border);
}

.pricing-list li::before{
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

.pricing-list li.no{
  color: var(--muted);
  text-decoration: line-through;
}

.pricing-list li.no::before{
  border: none;
  width: 10px;
  height: 2px;
  top: 16px;
  background: var(--muted);
  transform: none;
}

.pricing-cta{
  width: 100%;
  justify-content: center;
}

.pricing-message{
  text-align: center;
  color: var(--accent-2);
  min-height: 22px;
  margin: 20px 0 0;
}

.pricing-faq{
  max-width: 720px;
  margin: 56px auto 0;
}

.pricing-faq h2{
  font-size: 22px;
  margin-bottom: 18px;
}

.pricing-faq h3{
  font-size: 16px;
  margin: 22px 0 6px;
}

.pricing-faq p{
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

@media (max-width: 860px){
  .pricing-grid{ grid-template-columns: 1fr; }
  .pricing-for{ min-height: 0; }
}

/* signed-in and signed-out links (pricing.js showSignedIn): .btn sets
   its own display, which would otherwise beat the hidden attribute */
[data-when][hidden]{ display: none; }
