/* preschool-pricing.css
   Copyright © 2026 LexPro. All rights reserved.

   Sunporch's /pricing (site/lib/sites/preschool/pages/pricing/):
   app/lib/web/pages/preschool/preschool_pricing_page.dart and its sections
   in app/lib/web/site/sections/preschool/pricing/. The plan cards are the
   shared ones (css/plans.css) as storybook cards, `.plans--sunny`
   (PlanCardStyle.sunny): white, a peach shadow, the trial's tier in yellow. */

/* ---- The hero's trial card (_TrialCard) ---- */
.prp-trial { max-width: 280px; padding: 16px 18px 18px; border-radius: 22px; }
.prp-trial__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.prp-trial__day { text-transform: uppercase; color: var(--sunny-navy); }
.prp-trial__checks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.prp-trial__checks li { display: flex; align-items: flex-start; gap: 10px; }
.prp-trial__checks .sunny-small { font-size: 14.5px; padding-top: 2px; }
.prp-trial__tick {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%; background: #7FD3AE; color: var(--sunny-navy);
}
@media (max-width: 600px) { .prp-trial { max-width: 250px; } }

/* ---- The plans, under the late-morning sky ---- */
.prp-plans > .sunny-wrap { padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 980px) { .prp-plans > .sunny-wrap { padding-top: 48px; padding-bottom: 48px; } }
.prp-plans__lede { margin-top: 14px; max-width: 620px; }
.prp-plans__lede .plans-lede__text { font-family: var(--sunny-read); font-weight: 500; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--sunny-text); }
.prp-plans__lede .plans-lede__note { font-family: var(--sunny-read); font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--sunny-text); }

.plans--sunny .plans__grid { gap: 20px; }
@media (max-width: 980px) and (min-width: 601px) { .plans--sunny .plans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plans--sunny .plan {
  padding: 26px; border: 2px solid rgba(22, 48, 90, .10); border-radius: 28px; background: #fff;
  box-shadow: 0 10px 0 rgba(255, 184, 150, .55), 0 18px 36px rgba(22, 48, 90, .08);
  --plan-figure: var(--sunny-navy); --plan-text: var(--sunny-text); --plan-muted: var(--sunny-text);
  --plan-link: var(--sunny-navy); --plan-rule: rgba(22, 48, 90, .12); --plan-name: var(--sunny-navy);
}
.plans--sunny .plan--popular {
  background: #fff; box-shadow: 0 10px 0 rgba(255, 194, 26, .55), 0 18px 36px rgba(22, 48, 90, .08);
  --plan-figure: var(--sunny-navy); --plan-text: var(--sunny-text); --plan-muted: var(--sunny-text);
  --plan-link: var(--sunny-navy); --plan-rule: rgba(22, 48, 90, .12); --plan-name: var(--sunny-navy);
}
.plans--sunny .plan--popular .plan__unit { color: var(--sunny-text); }
.plans--sunny .plan--popular .plan__skeleton { background: var(--home-tint2); }
.plans--sunny .plan__name { font-family: var(--sunny-heading); font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: 0; }
.plans--sunny .plan__price { margin-top: 12px; }
.plans--sunny .plan__figure { font-family: var(--font-numeral); font-size: 52px; }
.plans--sunny .plan__lines { margin-top: 16px; }
.plans--sunny .plan__lines li, .plans--sunny .plan__unit, .plans--sunny .plan__small, .plans--sunny .plan__features { font-family: var(--sunny-read); }
.plans--sunny .plans__notice { border: 2px solid rgba(22, 48, 90, .10); border-radius: 24px; font-family: var(--sunny-read); color: var(--sunny-text); }
.plans--sunny .plans__terms-line { font-family: var(--sunny-read); color: var(--sunny-text); }
.plans--sunny .plans__period .segmented__option.is-selected { background: var(--sunny-yellow); color: var(--sunny-navy); }
/* _TextPack, sunny: a storybook card with a mint shadow (js/plans.js). */
.plans__pack-card { margin-top: 28px; padding: 24px; }
.plans__pack-card-line { margin-top: 8px; }
.plans__pack-card-fallback { margin-top: 6px; }

/* ---- Made for part-week and school-year programs (SP1) ---- */
.prp-terms__grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.prp-term-slot[hidden] { display: none; }
.prp-term-slot > .prp-term { height: 100%; }
.prp-term { display: flex; flex-direction: column; padding: 18px; box-sizing: border-box; }
.prp-term__art { display: flex; align-items: center; justify-content: center; height: 200px; }
.prp-term__art img { display: block; width: auto; max-width: 100%; height: auto; max-height: 200px; }
.prp-term__words { margin-top: 18px; }
.prp-term__body { margin-top: 8px; }
@media (min-width: 601px) {
  .prp-terms__grid:not([data-count="1"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 981px) {
  .prp-terms__grid[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* A card on its own across the band sets its drawing beside the words. */
  .prp-terms__grid[data-count="1"] .prp-term { flex-direction: row; align-items: center; gap: 32px; }
  .prp-terms__grid[data-count="1"] .prp-term__art { flex: 0 0 440px; height: auto; }
  .prp-terms__grid[data-count="1"] .prp-term__art img { width: 100%; max-height: none; }
  .prp-terms__grid[data-count="1"] .prp-term__words { flex: 1; margin-top: 0; }
}

/* ---- What every center gets, and safety never behind a plan ---- */
.prp-icon-card { padding: 20px; }
.prp-icon-card__dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--sunny-navy); box-sizing: border-box; color: var(--sunny-navy);
}
.prp-icon-card .sunny-h3 { margin-top: 16px; }
.prp-safety { margin-top: 40px; padding: 36px; border-radius: 36px; }
.prp-safety__title { font-size: 34px; }
.prp-safety__body { margin-top: 12px; }
.prp-safety__pills { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prp-safety__art img { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; }
@media (min-width: 981px) {
  .prp-safety { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: center; }
}
@media (max-width: 980px) {
  .prp-safety { padding: 20px; }
  .prp-safety__title { font-size: 28px; }
  .prp-safety__art { margin-top: 24px; }
}

/* ---- Nothing to buy for the building ---- */
@media (min-width: 981px) {
  .prp-hardware__row { display: grid; grid-template-columns: 9fr 11fr; gap: 56px; align-items: center; }
}
.prp-things { padding: 28px; border-radius: 36px; transform: rotate(-0.012rad); }
.prp-things__row { display: flex; align-items: center; justify-content: center; gap: 28px; }
.prp-things__sign { flex: 0 1 190px; min-width: 0; }
.prp-things__column { display: flex; flex-direction: column; align-items: center; gap: 24px; flex: 0 1 250px; min-width: 0; }
.prp-things__tablet { width: 100%; }
.prp-things img { display: block; width: 100%; height: auto; }
@media (max-width: 600px) {
  .prp-things { padding: 18px; transform: none; }
  .prp-things__row { flex-wrap: wrap; gap: 20px; }
  .prp-things__sign { flex: 0 1 180px; }
  .prp-things__column { flex: 0 1 240px; }
  /* Above a phone's width only (PrePricingNothingToBuySection). */
  .prp-things .prp-card { display: none; }
}
/* ParentsHangtag with a center's words. */
.prp-card {
  display: flex; flex-direction: column; align-items: center; width: 190px; max-width: 100%; box-sizing: border-box;
  padding: 10px 16px 18px; border: 1px solid var(--home-line); border-radius: 18px; background: #fff;
  box-shadow: 0 1px 2px rgba(12, 29, 58, .06), 0 8px 24px rgba(12, 29, 58, .08);
}
.prp-card__slot { width: 44px; height: 10px; border-radius: 6px; background: var(--home-tint2); border: 1px solid var(--home-line2); box-sizing: border-box; }
.prp-card__small {
  margin-top: 6px; font-family: var(--font); font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; text-align: center; color: var(--home-muted);
}
.prp-card__number {
  margin-top: 4px; font-family: var(--font-numeral); font-size: 64px; line-height: 1; font-weight: 800;
  letter-spacing: -1.28px; color: var(--home-ink);
}

/* ---- Pricing questions, at sunset ---- */
.prp-questions__card { padding: 14px; }
.prp-questions__card img { display: block; width: 100%; height: auto; }
@media (min-width: 981px) {
  .prp-questions__row { display: grid; grid-template-columns: 8fr 4fr; gap: 48px; align-items: start; }
}
@media (max-width: 980px) { .prp-questions__art { display: none; } }
