/* Pricing page (/pricing/ + localized). Layers on top of styles.css and reuses
   its tokens, .hero, .btn-primary/.btn-secondary, .faq-item and .container. */

.pr-hero { padding-bottom: 24px; }
/* styles.css lays the hero out as a 2-column grid for the phone mockups; this
   page has no visual, so it becomes a single centered column. */
.pr-hero .container { display: block; }
.pr-hero-text { max-width: 760px; margin: 0 auto; text-align: center; }
.pr-hero-text h1 { margin: 14px 0 14px; }
/* .hero p in styles.css caps width at 500px with no auto margins, which would
   pin this paragraph to the left inside the centered column. */
.pr-hero-text p {
  color: var(--text-light); font-size: 1.08rem;
  max-width: 660px; margin-left: auto; margin-right: auto;
}

/* ── The free-vs-paid statement. This is the page's whole point, so it sits
      above the table and is readable in one glance. ── */
.pr-clarity { padding: 8px 0 40px; }
.pr-clarity-title {
  text-align: center; font-size: 1.35rem; font-weight: 700;
  margin-bottom: 20px;
}
.pr-clarity-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 860px; margin: 0 auto;
}
.pr-clarity-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; background: var(--bg);
}
.pr-clarity-card p { color: var(--text); font-weight: 500; }
.pr-clarity-badge {
  display: inline-block; font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.pr-clarity-free { background: var(--bg-alt); }
.pr-clarity-free .pr-clarity-badge { background: rgba(0,0,0,.06); color: var(--text-light); }
.pr-clarity-paid { border-color: var(--primary); background: var(--primary-bg); }
.pr-clarity-paid .pr-clarity-badge { background: var(--primary); color: #fff; }

/* ── Plan cards ── */
.pr-plans { padding: 8px 0 56px; }
.pr-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: start;
}
.pr-card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; background: var(--bg); height: 100%;
}
.pr-card-featured {
  border: 2px solid var(--primary); box-shadow: var(--shadow-lg);
}
.pr-card-soon { opacity: .72; }

.pr-tag {
  position: absolute; top: -11px; left: 24px;
  font-size: .68rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: var(--primary); color: #fff;
}
.pr-tag-soon { background: var(--text-muted); }

.pr-name { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.pr-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pr-amount { font-size: 2.3rem; font-weight: 800; line-height: 1.1; }
.pr-amount-soon { color: var(--text-muted); }
.pr-per { color: var(--text-light); font-weight: 600; }
.pr-price-note { min-height: 22px; margin-top: 6px; font-size: .9rem; color: var(--primary); font-weight: 600; }
.pr-summary { margin-top: 12px; color: var(--text-light); }

/* Yearly / monthly switch */
.pr-billing-toggle {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px;
  background: var(--bg-alt); border-radius: 999px;
}
.pr-bill-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font); font-size: .86rem; font-weight: 600;
  color: var(--text-light); padding: 7px 13px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.pr-bill-btn:hover { color: var(--text); }
.pr-bill-btn.is-active { background: var(--bg); color: var(--text); box-shadow: var(--shadow); }
.pr-bill-badge {
  font-size: .6rem; font-weight: 800; letter-spacing: .05em;
  padding: 2px 6px; border-radius: 999px;
  background: var(--primary); color: #fff;
}

/* Feature lists: a paid-only capability reads as a cross on Free, which is the
   distinction the old copy blurred. */
.pr-feats { list-style: none; margin: 20px 0 22px; display: grid; gap: 11px; }
.pr-feat { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.pr-feat svg { flex: 0 0 auto; margin-top: 4px; }
.pr-feat-yes svg { color: var(--primary); }
.pr-feat-no { color: var(--text-muted); }
.pr-feat-no svg { color: var(--text-muted); }

.pr-cta { margin-top: auto; width: 100%; justify-content: center; text-align: center; }
.pr-cta-disabled {
  pointer-events: none; opacity: .55; cursor: not-allowed;
  display: inline-flex; align-items: center;
}
.pr-fine { margin-top: 10px; font-size: .8rem; color: var(--text-muted); text-align: center; }

/* When we have no verified price for the visitor's region we hide the amount
   rather than guess (see public/js/pricing.js). */
.pr-price-unknown .pr-price,
.pr-price-unknown .pr-billing-toggle,
.pr-price-unknown .pr-price-note { display: none; }

.pr-region-note, .pr-android-note {
  max-width: 760px; margin: 22px auto 0; text-align: center;
  font-size: .88rem; color: var(--text-muted);
}
.pr-region-note:empty { margin: 0; }

@media (max-width: 960px) {
  .pr-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .pr-card-featured { order: -1; }
}
@media (max-width: 560px) {
  .pr-clarity-grid { grid-template-columns: 1fr; }
}
