/* Pricing page; the pack cards are also reused by the personal credits page. */
.pf-pricing { --pp-gutter: max(var(--pi-page-gutter), calc((100vw - var(--pi-page-max)) / 2)); }
.pf-pricing h2 { margin: 0; color: var(--pi-ink); font-size: 46px; font-weight: 400; line-height: 54px; letter-spacing: -0.01em; }
.pf-pricing .pf-dark h2 { color: #fff; }
.pp-heading { display: grid; gap: 14px; max-width: 760px; }
.pp-heading p { margin: 0; color: #444440; font-size: 17px; line-height: 28px; }

/* Hero */
.pp-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 72px;
  padding: 104px var(--pp-gutter) 88px; background: #fff;
}
.pp-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pp-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11,11,11,0.12) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 55% 65% at 75% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 65% at 75% 45%, #000 20%, transparent 75%);
}
.pp-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.65; }
.pp-orb-a { width: 460px; height: 460px; right: 6%; top: 4%; background: var(--lime-soft); animation: pp-drift 18s ease-in-out infinite alternate; }
.pp-orb-b { width: 360px; height: 360px; right: 30%; bottom: -14%; background: rgba(123,224,166,0.42); animation: pp-drift 24s ease-in-out infinite alternate-reverse; }
@keyframes pp-drift { to { transform: translate(-60px, 40px) scale(1.1); } }
.pp-hero-copy { display: grid; gap: 22px; justify-items: start; }
.pp-hero-copy h1 { margin: 0; color: var(--pi-ink); font-size: 64px; font-weight: 400; line-height: 70px; letter-spacing: -0.02em; }
.pp-hero-copy > p { max-width: 560px; margin: 0; color: #444440; font-size: 18px; line-height: 30px; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.pp-value {
  display: grid; gap: 14px; padding: 40px; border-radius: 28px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.45);
}
.pp-value-glow { width: 520px; height: 520px; right: -200px; top: -220px; }
.pp-equation { color: #fff; font-size: 40px; font-weight: 500; line-height: 46px; letter-spacing: -0.01em; }
.pp-value-sub { color: #b9b9b3; font-size: 15px; }
.pp-value-list { display: grid; gap: 10px; margin: 12px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,0.1); list-style: none; }
.pp-value-list li { display: flex; align-items: center; gap: 10px; color: #e9e9e4; font-size: 15px; opacity: 0; animation: pp-tick 0.6s var(--ease-out) forwards; }
.pp-value-list li:nth-child(1) { animation-delay: 0.5s; }
.pp-value-list li:nth-child(2) { animation-delay: 0.7s; }
.pp-value-list li:nth-child(3) { animation-delay: 0.9s; }
.pp-value-list li:nth-child(4) { animation-delay: 1.1s; }
.pp-value-list li:nth-child(5) { animation-delay: 1.3s; }
@keyframes pp-tick { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.pp-value-list svg { flex: 0 0 22px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--lime); color: #0b0b0b; }

/* Packs */
.pp-packs, .pp-included, .pp-faq { display: grid; gap: 40px; padding: 96px var(--pp-gutter); border-top: 1px solid #ececea; }
.pp-packs { background: #fafaf8; }
.pp-packs .pp-heading { display: flex; max-width: none; align-items: baseline; justify-content: space-between; gap: 24px; }
.pp-pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pp-pack { display: flex; flex-direction: column; gap: 18px; padding: 30px; }
.pp-pack-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-pack h3 { margin: 0; font-size: 17px; font-weight: 600; }
.pp-badge { padding: 5px 11px; border-radius: 999px; background: var(--lime); color: #0b0b0b; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pp-price { display: flex; align-items: baseline; gap: 10px; }
.pp-price strong { font-size: 60px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.pp-price span { color: #6d6d68; font-size: 14px; }
.pp-pack p { flex: 1; margin: 0; color: #444440; font-size: 15px; line-height: 24px; }
.pp-pack-cta { align-self: stretch; }
.pp-pack--featured {
  position: relative; overflow: hidden; isolation: isolate; border-color: #0b0b0b; background-color: #0b0b0b; color: #fff;
  transform: translateY(-8px); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5);
}
.pp-pack--featured:hover { transform: translateY(-12px); border-color: #0b0b0b; }
.pp-pack--featured::before {
  content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(216,255,62,0.30), transparent);
}
.pp-pack--featured .pp-price span, .pp-pack--featured p { color: #b9b9b3; }
.pp-pack--featured.pf-spot { background-image: radial-gradient(380px circle at var(--mx, -999px) var(--my, -999px), rgba(216,255,62,0.14), transparent 45%); }

.pp-account {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 28px; border: 1px solid #e3e3df; border-radius: 20px; background: #fff;
}
.pp-account div { display: grid; gap: 4px; }
.pp-account strong { font-size: 17px; }
.pp-account span { color: #6d6d68; font-size: 14px; }

/* Included */
.pp-included { background: #fff; }
.pp-included-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pp-included-card { display: grid; align-content: start; gap: 12px; padding: 26px; }
.pp-included-card h3 { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.pp-included-card p { margin: 0; color: #444440; font-size: 14.5px; line-height: 22px; }

/* How credits work */
.pp-how { display: grid; gap: 48px; padding: 112px var(--pp-gutter); }
.pp-how-glow { width: 760px; height: 420px; left: 50%; top: -200px; margin-left: -380px; }
.pp-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.pp-steps li {
  display: grid; gap: 10px; padding: 28px; border: 1px solid rgba(255,255,255,0.1); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.pp-steps span { color: var(--lime); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; }
.pp-steps h3 { margin: 0; color: #fff; font-size: 20px; font-weight: 600; }
.pp-steps p { margin: 0; color: #b9b9b3; font-size: 15px; line-height: 24px; }

/* FAQ */
.pp-faq { background: #fafaf8; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: 64px; }
.pp-faq-list { display: grid; gap: 10px; }
.pp-faq-list details { border: 1px solid #e3e3df; border-radius: 16px; background: #fff; transition: border-color 0.3s, box-shadow 0.3s; }
.pp-faq-list details[open] { border-color: #c9c9c3; box-shadow: 0 18px 40px -28px rgba(0,0,0,0.25); }
.pp-faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px;
  color: #0b0b0b; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none;
}
.pp-faq-list summary::-webkit-details-marker { display: none; }
.pp-faq-list summary::after {
  content: "+"; display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%;
  background: #f1f1ee; color: #0b0b0b; font-size: 18px; font-weight: 400; transition: transform 0.3s var(--ease-out), background 0.3s;
}
.pp-faq-list details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.pp-faq-list details p { margin: 0; padding: 0 22px 20px; color: #444440; font-size: 15px; line-height: 25px; }

/* Closing */
.pp-closing { display: grid; justify-items: center; gap: 18px; padding: 120px var(--pp-gutter); text-align: center; }
.pp-closing h2 { font-size: 52px; line-height: 60px; }
.pp-closing p { max-width: 560px; margin: 0; color: #b9b9b3; font-size: 17px; line-height: 28px; }
.pp-closing-glow { width: 900px; height: 500px; left: 50%; bottom: -320px; margin-left: -450px; }

@media (max-width: 1100px) {
  .pp-hero { grid-template-columns: 1fr; gap: 48px; }
  .pp-pack-grid, .pp-included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-pack--featured { transform: none; }
  .pp-faq { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .pp-hero { padding: 56px 20px 64px; }
  .pp-hero-copy h1 { font-size: 42px; line-height: 48px; }
  .pf-pricing h2, .pp-closing h2 { font-size: 34px; line-height: 42px; }
  .pp-value { padding: 28px 24px; }
  .pp-equation { font-size: 30px; line-height: 36px; }
  .pp-packs, .pp-included, .pp-faq { padding: 72px 20px; }
  .pp-packs .pp-heading { display: grid; }
  .pp-pack-grid, .pp-included-grid, .pp-steps { grid-template-columns: 1fr; }
  .pp-account { flex-direction: column; align-items: stretch; }
  .pp-how, .pp-closing { padding: 80px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-orb, .pp-value-list li { animation: none !important; opacity: 1; }
}

/* ===== Pricing page (pricing.html). Built on landing.css: hero glow, lp-section, lp-steps, lp-self-panel,
   lp-faq and lp-closing come from there; the rules below add the packs and the pricing-only parts. ===== */
.pricing-page { --pr-gutter: max(var(--pi-page-gutter), calc((100vw - var(--pi-page-max)) / 2)); }

/* ---- Hero: the packs sit right under the headline ---- */
.pr-hero { position: relative; isolation: isolate; overflow-x: clip; display: grid; justify-items: center; gap: 44px; padding: 64px var(--pr-gutter) 40px; background: #fff; }
.pr-hero > :not(.hero-bg) { position: relative; z-index: 1; }
/* The glow sits behind the headline, not the cards, so it doesn't haze the recommended pack. */
.pr-hero .hero-bg .glow { background: radial-gradient(42% 28% at 50% 30%, rgba(216, 255, 62, 0.26), rgba(216, 255, 62, 0) 70%); }
.pr-hero-copy { display: grid; justify-items: center; gap: 0; max-width: 760px; text-align: center; }
.pr-hero-copy .eyebrow { font-weight: 600; letter-spacing: 0.14em; }
.pr-hero-copy h1 { margin: 16px 0 20px; color: var(--pi-ink); font-size: 64px; font-weight: 300; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.pr-hero-copy .hl {
  font-weight: 500;
  background-image: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%);
  background-repeat: no-repeat; background-size: 0% 100%;
  animation: hl-sweep 1.1s var(--ease-out) 0.5s forwards;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.pr-hero-copy .lede { max-width: 32em; margin: 0; color: #444440; font-size: 19px; line-height: 28px; }

.pr-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 18px; width: 100%; max-width: 1080px; }
.pr-pack {
  display: grid; gap: 14px; padding: 30px 28px 28px; border: 1px solid var(--pi-line); border-radius: 26px; background: #fff;
  box-shadow: 0 30px 60px -44px rgba(30, 40, 0, 0.35);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
.pr-pack:hover { transform: translateY(-4px); border-color: #c9c9c3; box-shadow: 0 30px 60px -30px rgba(30, 40, 0, 0.35); }
.pr-pack-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.pr-pack h2, .pr-pack h3 { margin: 0; color: var(--pi-ink); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.pr-badge { padding: 4px 11px; border-radius: 999px; background: var(--lime); color: #0b0b0b; font-size: 12px; font-weight: 700; }
.pr-price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 0; }
.pr-price strong { color: var(--pi-ink); font-size: 64px; font-weight: 400; line-height: 1; letter-spacing: -0.04em; }
.pr-price span { color: #6b6b66; font-size: 14px; }
.pr-unit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 26px; margin: 0; color: var(--pi-ink); font-size: 15px; font-weight: 600; }
.pr-unit em { padding: 2px 9px; border-radius: 999px; background: #eef9c4; color: #3c5200; font-size: 12.5px; font-style: normal; font-weight: 700; }
.pr-for { min-height: 48px; margin: 0; padding-top: 14px; border-top: 1px solid #ececea; color: #55554f; font-size: 15px; line-height: 24px; }
.pr-cta { margin-top: 6px; }
/* The recommended pack: one even light-lime tint with a deeper lime edge. A gradient or glow here read as a smudge. */
.pr-pack--featured {
  padding: 40px 30px 34px; border: 2px solid #c5e83a; background: #f8fde4;
  box-shadow: 0 34px 70px -40px rgba(20, 30, 0, 0.38);
}
.pr-pack--featured:hover { border-color: #b4d92a; box-shadow: 0 34px 70px -34px rgba(20, 30, 0, 0.38); }
.pr-pack--featured .pr-for { border-top-color: #e1ebbd; }
.pr-pack--featured .pr-unit em { background: var(--lime); color: #0b0b0b; }

.pr-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.pr-assure li { display: inline-flex; align-items: center; gap: 8px; color: #3a3a37; font-size: 14.5px; }
.pr-assure svg { flex: 0 0 20px; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--lime); color: #0b0b0b; }

/* ---- Before you pay: the landing's three steps, each with what it costs ---- */
.pr-free { padding-top: 72px; }
.pr-cost { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #eef9c4; color: #3c5200; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.pr-cost--paid { background: var(--lime); color: var(--pi-ink); }

/* ---- What a credit buys ---- */
.pr-includes { padding-top: 48px; }
.pr-parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pr-part {
  display: grid; align-content: start; gap: 8px; padding: 22px; border: 1px solid var(--pi-line); border-radius: 22px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(216, 255, 62, 0.12), transparent 55%), #fff;
}
.pr-num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 8px; border-radius: 11px; background: var(--lime); color: var(--pi-ink); font-size: 12.5px; font-weight: 700; }
.pr-part h3 { margin: 0; color: var(--pi-ink); font-size: 17px; font-weight: 600; line-height: 23px; }
.pr-part p { margin: 0; color: #55554f; font-size: 14px; line-height: 21px; }

/* ---- Searching yourself vs a report: the landing's panel layout in the same lime wash as the recommended pack ---- */
.pr-compare { padding-top: 24px; }
.pr-compare .lp-self-panel { border: 1px solid #e4e7d8; background: linear-gradient(160deg, #fff 0%, #f7f9ef 55%, #eef4d6 100%); color: var(--pi-ink); box-shadow: 0 40px 90px -40px rgba(60, 80, 0, 0.35); }
.pr-compare .lp-self-panel::before { background: radial-gradient(closest-side, rgba(216, 255, 62, 0.35), transparent); }
.pr-compare .lp-self-copy .eyebrow { color: #6d6d68; }
.pr-compare .lp-self-copy h2 { color: var(--pi-ink); }
.pr-compare .lp-self-copy p { color: #444440; }
.pr-compare .lp-self-cta { background: var(--pi-ink); color: #fff; }
.pr-compare .lp-self-cta:hover { box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.5); }
.pr-vs { display: grid; padding: 8px 20px 12px; border-radius: 22px; background: #fff; color: var(--pi-ink); box-shadow: 0 0 0 1px #e4e7d8, 0 24px 50px -30px rgba(60, 80, 0, 0.4); }
.pr-vs-head, .pr-vs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 4px 16px; }
.pr-vs-head { padding: 12px 0; border-bottom: 1px solid #ececea; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pr-vs-head span:first-child { color: #8a8a84; }
.pr-vs-row { padding: 12px 0; border-bottom: 1px solid #f0f0ec; font-size: 14px; line-height: 20px; }
.pr-vs-row:last-child { border-bottom: 0; }
.pr-vs-row small { grid-column: 1 / -1; color: #8a8a84; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.pr-vs-diy { color: #77776f; text-decoration: line-through; text-decoration-color: rgba(119, 119, 111, 0.45); }
.pr-vs-pf { display: flex; align-items: flex-start; gap: 7px; font-weight: 600; }
.pr-vs-pf svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--lime); color: #0b0b0b; }

.pr-link { color: var(--pi-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pricing-page .cl-copy .landing-search-form { width: min(560px, 100%); margin-top: 32px; }

@media (max-width: 1100px) {
  .pr-packs { grid-template-columns: 1fr; max-width: 520px; }
  .pr-pack--featured { order: -1; }
  .pr-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pr-hero { gap: 32px; padding: 40px 16px 24px; }
  .pr-hero-copy h1 { font-size: 44px; }
  .pr-hero-copy .lede { font-size: 17px; line-height: 26px; }
  .pr-pack, .pr-pack--featured { padding: 24px 22px 22px; border-radius: 22px; }
  .pr-price strong { font-size: 54px; }
  .pr-for { min-height: 0; }
  .pr-assure { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* Phones: each part is a short row, number beside the text, so eight parts don't make a long scroll. */
  .pr-parts { grid-template-columns: 1fr; gap: 10px; }
  .pr-part { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px; border-radius: 18px; }
  .pr-num { grid-row: span 2; margin-bottom: 0; }
  /* Phones: each comparison row stacks, the crossed-out way above the report's. */
  .pr-vs { padding: 4px 16px 8px; }
  .pr-vs-head { display: none; }
  .pr-vs-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pr-hero-copy .hl { animation: none; background-size: 100% 100%; }
}


/* ---- Payment marks under the packs ---- */
.pr-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: -20px; }
.pr-pay-by { display: inline-flex; align-items: center; gap: 7px; color: #55554f; font-size: 14px; }
.pr-pay-by > svg { width: 16px; height: 16px; color: #6b6b66; }
.pr-stripe { display: inline-flex; align-items: center; gap: 4px; color: #635bff; font-weight: 700; letter-spacing: -0.01em; }
.pr-stripe .pi { width: 15px; height: 15px; background: #635bff; }
.pi { display: block; background: var(--c, currentColor); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.pr-cards { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pr-cards li { display: grid; place-items: center; width: 50px; height: 32px; border: 1px solid #e3e3df; border-radius: 7px; background: #fff; }
.pr-cards svg { width: 34px; height: 22px; }
.pi-visa { width: 38px; height: 24px; --c: #1a1f71; }
.pi-amex { width: 28px; height: 28px; --c: #2e77bc; }
@media (max-width: 700px) {
  .pr-pay { justify-content: flex-start; margin-top: -12px; }
}
