/* ===== PRICING PAGE =====
   Builds on styles.css tokens and blog.css (breadcrumb, table-wrap, faq-list).
   Generated by tools/build_pages.py; edit the figures there, not in the HTML.
   ============================================================ */

.pr-container {
  max-width: 1040px;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.pr h1,
.pr h2,
.pr h3 {
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
  letter-spacing: -0.015em;
}

.pr-num,
.pr-hero-facts,
.pr-packs,
.pr-example dd,
.pr-milestones b {
  font-variant-numeric: tabular-nums;
}

/* ---- Hero ---- */

.pr-hero {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-bottom: 3.5rem;
}
.pr-hero .blog-tag { justify-self: start; }
.pr-hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.08;
  margin: 0;
}
.pr-lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-dim);
  margin: 0;
  max-width: 62ch;
}
.pr-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.pr-hero-facts span {
  background: var(--accent-tint);
  color: var(--accent-deep);
  border: 1px solid rgba(47, 143, 91, 0.18);
  border-radius: 980px;
  padding: .35rem .85rem;
  font-size: .95rem;
}
.pr-hero-facts b { font-weight: 700; }
.pr-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .25rem;
}
.pr-small {
  font-size: .85rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: .5rem 0 0;
}

/* ---- Sections ---- */

/* styles.css gives every <section> 96px of padding for the home page bands;
   here sections are plain blocks separated by a hairline. */
.pr .pr-section {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 0;
  margin-top: 2.5rem;
}
.pr-section h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  margin: 0 0 .5rem;
}
.pr-section h3 {
  font-size: 1.1rem;
  margin: 0 0 .75rem;
}
.pr-section-lede {
  color: var(--ink-dim);
  max-width: 68ch;
  margin: 0 0 1rem;
  line-height: 1.55;
}

/* ---- Rate card ---- */

.pr-table-wrap { background: var(--surface); }
.pr-table th[scope="row"] {
  font-weight: 600;
  color: var(--ink);
  min-width: 15rem;
}
.pr-note {
  display: block;
  font-weight: 400;
  font-size: .82rem;
  color: var(--ink-muted);
  margin-top: .2rem;
  max-width: 46ch;
}
.pr-table td.pr-num {
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink);
}
.pr-table td.pr-inr { color: var(--accent-hover); }
.pr-unit {
  font-weight: 500;
  font-size: .8rem;
  color: var(--ink-muted);
}
.pr-free {
  display: inline-block;
  background: var(--accent-tint);
  color: var(--accent-deep);
  border-radius: 980px;
  padding: .05rem .55rem;
  font-size: .82rem;
  font-weight: 700;
}
.pr-meta {
  font-size: .88rem;
  white-space: nowrap;
}
.pr-table-wrap .pr-table-compact,
.pr-rewards .table-wrap table { min-width: 0; }
.pr-table-compact th,
.pr-table-compact td { padding: .6rem .7rem; }

.pr-free-box {
  margin-top: 1.5rem;
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.pr-free-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: .5rem 1.25rem;
}
.pr-free-box li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-dim);
}
.pr-free-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: .7rem;
  height: .4rem;
  border-left: 2px solid var(--accent-hover);
  border-bottom: 2px solid var(--accent-hover);
  transform: rotate(-45deg);
}

/* ---- Examples ---- */

.pr-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}
.pr-example {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  display: grid;
  gap: .75rem;
  align-content: start;
}
.pr-example h3 { margin: 0; }
.pr-example ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-dim);
}
.pr-example dl {
  margin: 0;
  display: grid;
  gap: .35rem;
  border-top: 1px solid var(--line);
  padding-top: .75rem;
}
.pr-example dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.pr-example dt { color: var(--ink-muted); }
.pr-example dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}
.pr-example .pr-total dt,
.pr-example .pr-total dd {
  color: var(--accent-deep);
  font-weight: 700;
}

/* ---- Recharge packs ---- */

.pr-packs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: .75rem;
}
.pr-pack {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: .2rem;
}
.pr-pack.is-best {
  border-color: var(--accent-hover);
  box-shadow: 0 10px 24px -16px rgba(47, 143, 91, 0.6);
}
.pr-pack-amt {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
}
.pr-pack-cr { color: var(--ink-dim); }
.pr-pack-bonus {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent-hover);
}

/* ---- Rewards ---- */

.pr-rewards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 1.5rem 2rem;
}
.pr-rewards > div { min-width: 0; }
.pr-rewards .table-wrap { margin: 0; }
.pr-milestones {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.pr-milestones li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: .92rem;
}
.pr-milestones li:last-child { border-bottom: 0; }
.pr-milestones b {
  white-space: nowrap;
  color: var(--accent-hover);
}

/* ---- Start free / done-for-you ---- */

.pr-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 2rem;
}
.pr-split > div {
  display: grid;
  gap: .75rem;
  align-content: start;
  justify-items: start;
}
.pr-split p {
  margin: 0;
  color: var(--ink-dim);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .pr-container { padding-top: 7.25rem; }
  .pr-table th[scope="row"] { min-width: 11rem; }
}
