/* /pricing after KJ's mockup image-19 (Nov 3; markup in scripts/pricing_page.py). Pictures are cut from the mockup on a
   white ground and multiplied onto their card, so they sit on white and on the Premium lilac alike. */
.pricing-v2 {
  --pv2-ink: #17153a; --pv2-body: #3d4064; --pv2-muted: #5b5f80; --pv2-line: #ebe6f5; --pv2-purple: #6a4ccf;
  padding: 141px 24px 0;
  background:
    radial-gradient(900px 520px at -10% 0%, #f4effd 0%, rgba(244, 239, 253, 0) 70%),
    radial-gradient(900px 640px at 110% 100%, #f1ebfc 0%, rgba(241, 235, 252, 0) 70%),
    #ffffff;
  color: var(--pv2-ink);
  font-family: 'Inter', Arial, sans-serif;
}
.pricing-v2 > * { max-width: 1290px; margin-left: auto; margin-right: auto; }
.pricing-v2 h1, .pricing-v2 h2, .pricing-v2 h3, .pricing-v2 .pv2-addon-title { font-family: 'New Spirit', Georgia, serif !important; font-weight: 400; color: var(--pv2-ink); letter-spacing: -0.01em; margin: 0; }
.pricing-v2 p { margin: 0; }
.pricing-v2 ul { list-style: none; margin: 0; padding: 0; }
/* 3D icons (artwork/pricing-v2-icons, src/pricing-icons.css): a still, and a clip that plays only while its row or card
   is hovered (src/pricing-icons.js). White ground multiplied onto the card. Sized per place. */
.pricing-v2 .pv2-icon { display: block; flex: none; }
.pricing-v2 .pv2-feature .pv2-icon { width: 150px; height: 150px; }
.pricing-v2 .pv2-addon .pv2-icon { width: 92px; height: 92px; }
.pricing-v2 .pv2-addons-head .pv2-icon { width: 64px; height: 64px; }

/* Hero */
.pv2-hero { text-align: center; }
/* Nov 4, KJ: the heading as on /scenarios - a plain 15px label, 20px to a New Spirit title of 32/40/48/56px at 1.18
   with its second half in violet. The label sits 82px under the header like the other heroes. */
.pricing-v2 { padding-top: 183px; }
@media (max-width: 767px) { .pricing-v2 { padding-top: 138px; } }
.pricing-v2 .pv2-hero .pv2-label { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 400; color: #14151c; }
.pricing-v2 .pv2-hero h1 { max-width: 1000px; margin: 20px auto 0; font-size: 32px; line-height: 1.18; letter-spacing: normal; color: #14151c; text-wrap: balance; }
.pricing-v2 .pv2-hero h1 span { color: #7a6cb4; }
@media (min-width: 640px) { .pricing-v2 .pv2-hero h1 { font-size: 40px; } }
@media (min-width: 768px) { .pricing-v2 .pv2-hero h1 { font-size: 48px; } }
@media (min-width: 1024px) { .pricing-v2 .pv2-hero h1 { font-size: 56px; } }
/* Nov 4 (Vini): the line under the title smaller and light grey. */
.pv2-hero p { margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); font-weight: 400; color: #8a90a8; line-height: 1.4; }

/* Plans: Basic beside Premium */
.pv2-plans { display: grid; grid-template-columns: minmax(0, .53fr) minmax(0, 1fr); gap: 32px; margin-top: 44px; align-items: stretch; }
.pv2-card { border-radius: 24px; box-shadow: 0 18px 40px -28px rgba(76, 52, 150, .35); }
.pv2-basic { display: block; padding: 28px 32px 26px; background: #ffffff; border: 1px solid var(--pv2-line); }
.pv2-basic h2, .pv2-premium h2 { font-size: 36px; line-height: 1.1; }
.pv2-basic-price { margin-top: 4px; font-size: 22px; font-weight: 400; color: #5a4ea8; }
.pv2-points { margin-top: 18px !important; display: grid; gap: 10px; }
.pv2-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--pv2-body); }
.pv2-points svg { flex: none; width: 18px; height: 18px; color: #4e3bb8; }
.pv2-signup { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; padding: 12px 24px; border: 1.5px solid #7a5fd0; border-radius: 999px; color: #4b3aa8 !important; font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color .2s ease; }
.pv2-signup:hover { background: #f5f0ff; }

.pv2-premium { padding: 28px 32px 26px; background: linear-gradient(135deg, #f7f3fe 0%, #eee7fc 100%); border: 1px solid #ddd2f6; }
.pv2-premium-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.pv2-premium-head p { margin-top: 4px; font-size: 16px; color: var(--pv2-body); }
.pv2-pick { position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -4px -8px 0 0; border-radius: 12px; cursor: pointer; }
.pv2-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pv2-pick .pv2-box { width: 26px; height: 26px; border-radius: 7px; }
.pv2-pick .pv2-box svg { width: 18px; height: 18px; }
.pv2-pick:has(input:focus-visible) { outline: 2px solid var(--pv2-purple); outline-offset: 2px; }
.pv2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pv2-premium:has([data-plan]:checked) { border-color: #a58ce8; box-shadow: 0 0 0 3px rgba(139, 111, 214, .14), 0 18px 40px -28px rgba(76, 52, 150, .35); }
.pv2-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px !important; }
.pv2-feature { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; }
.pv2-feature + .pv2-feature { border-left: 1px solid #d9cdf3; }
.pv2-feature h3 { margin-top: 10px; font-size: 20px; line-height: 1.2; }
.pv2-feature p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--pv2-body); }

/* Add-ons */
.pv2-addons { margin-top: 52px; }
.pv2-addons-head { display: flex; align-items: center; gap: 14px; }
.pv2-addons h2 { font-size: 36px; line-height: 1.1; }
.pv2-addons-head p { margin-top: 2px; font-size: 16px; color: var(--pv2-muted); }
.pv2-addon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px !important; }
.pv2-addon { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) 22px; align-items: center; gap: 12px; height: 100%; padding: 10px 18px 10px 8px; background: #ffffff; border: 1px solid var(--pv2-line); border-radius: 14px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.pv2-addon:hover { border-color: #cfc3ef; box-shadow: 0 10px 24px -18px rgba(76, 52, 150, .45); }
.pv2-addon input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pv2-addon-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pv2-addon-title { font-size: 19px; line-height: 1.2; }
.pv2-addon-desc { font-size: 13.5px; line-height: 1.4; color: var(--pv2-body); }
.pv2-box { display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid #b8b2cc; border-radius: 5px; background: #ffffff; color: transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.pv2-box svg { width: 14px; height: 14px; }
.pv2-addon:has(input:checked) { border-color: #8b6fd6; background: #fbf9ff; box-shadow: 0 0 0 3px rgba(139, 111, 214, .14); }
.pricing-v2 input:checked ~ .pv2-box { background: var(--pv2-purple); border-color: var(--pv2-purple); color: #ffffff; }
.pv2-addon:has(input:focus-visible) { outline: 2px solid var(--pv2-purple); outline-offset: 2px; }

/* Get my quote */
.pv2-cta { display: flex; justify-content: center; padding: 40px 0 96px; }
/* Nov 3, KJ: same design as the other buttons. The look is .schole-btn-primary (skin-learner.css); only the width is set here. */
.pv2-quote { min-width: 240px; text-decoration: none; }

/* Laptops and tablets: plans stack, add-ons in two columns. Phones: one column throughout. */
@media (max-width: 1023px) {
  .pv2-plans { grid-template-columns: minmax(0, 1fr); }
  .pv2-addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pricing-v2 { padding: 138px 16px 0; }
  .pv2-premium { padding: 24px 20px 26px; }
  .pv2-features { grid-template-columns: minmax(0, 1fr); }
  .pv2-feature { padding: 18px 0; }
  .pv2-feature + .pv2-feature { border-left: 0; border-top: 1px solid #d9cdf3; }
  .pv2-addon-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pv2-addons h2 { font-size: 30px; }
  .pv2-cta { padding: 32px 0 72px; }
  .pv2-quote { width: 100%; min-width: 0; }
}
@media (max-width: 420px) {
  .pv2-addon { grid-template-columns: 76px minmax(0, 1fr) 22px; gap: 10px; }
  .pricing-v2 .pv2-addon .pv2-icon { width: 76px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) { .pv2-addon, .pv2-box, .pv2-signup { transition: none; } }

/* Nov 4 (Vini): the learner site's pill buttons on the pricing page too. */
.pv2-signup, .pv2-quote, .pv2-plan a.pv2-btn, .pv2-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:12px 28px; border-radius:9999px!important; border:0!important;
  background-color:transparent!important; background-image:linear-gradient(90deg, #84b3fa, #99a0f0, #ac8be7)!important; color:#fff!important; box-shadow:0 4px 0 #41597c!important;
  font-family:'New Spirit', Georgia, serif; font-size:16px; font-weight:400; letter-spacing:-.025em; text-decoration:none; transition:box-shadow .15s ease, filter .15s ease; }
.pv2-signup:hover, .pv2-quote:hover, .pv2-btn:hover { box-shadow:0 2px 0 #41597c!important; filter:brightness(1.04); }

@media (max-width: 767px) { .pv2-quote { border-radius:9999px!important; } }

/* Nov 4 (Vini): Start learning now and Get my quote are the same pill: New Spirit, the gradient, the solid shadow. */
.pv2-signup, .pv2-quote, .schole-btn-primary.pv2-quote { font-family:'New Spirit', Georgia, serif!important; font-weight:400!important; font-size:16px!important; min-height:48px!important; height:auto!important; padding:12px 28px!important;
  border-radius:9999px!important; border:0!important; background-color:transparent!important; background-image:linear-gradient(90deg, #84b3fa, #99a0f0, #ac8be7)!important; color:#fff!important; box-shadow:0 4px 0 #41597c!important; }
