/* Mando Scan pricing: light pricing palette inspired by Nexi Homepage 4, retaining equal cards and inset feature wells.
   Load after styles.css and readability.css. All rules are restricted to #pricing. */
#pricing.pricing-nexi {
  --pricing-navy: #102d46;
  --pricing-steel: #173c5b;
  --pricing-blue: #2ca2df;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f8fbfe;
  color: #102d46;
  padding: 110px 0 105px;
}
#pricing.pricing-nexi::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 800px;
  height: 650px;
  top: 130px;
  left: calc(50% - 400px);
  background: radial-gradient(ellipse, #d2edfb66 0, transparent 67%);
}
#pricing .pricing-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 44px;
  margin-bottom: 50px;
}
#pricing .pricing-heading {
  text-align: left;
  max-width: 760px;
  margin: 0;
}
#pricing .pricing-heading .eyebrow {
  color: #347695;
  font-size: 12px;
  letter-spacing: .14em;
  margin: 0 0 20px;
}
#pricing .pricing-heading h2 {
  color: #102d46;
  font-size: clamp(38px, 3.55vw, 56px);
  line-height: 1.13;
  letter-spacing: -.05em;
  font-weight: 500;
  margin: 0;
}
#pricing .pricing-heading h2 > span { color: #137caf; }
#pricing .pricing-heading > p:not(.eyebrow) {
  color: #4d6477;
  font-size: 17px;
  line-height: 1.75;
  max-width: 610px;
  margin: 22px 0 0;
}
#pricing .plan-switch {
  align-self: end;
  display: flex;
  width: max-content;
  max-width: 100%;
  padding: 5px;
  margin: 0 0 4px;
  border: 1px solid #bdd8e9;
  border-radius: 999px;
  background: #edf5fb;
  gap: 2px;
}
#pricing .plan-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #405e74;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  min-height: 49px;
  padding: 12px 21px;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
#pricing .plan-switch button[aria-selected="true"] {
  color: #fff;
  background: #1477a8;
  box-shadow: 0 3px 15px #1c73941a;
}
#pricing .plan-switch button:not([aria-selected="true"]):hover { background: #e1eff8; color: #102d46; }
#pricing [role="tabpanel"][hidden] { display: none !important; }
#pricing .plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 30px;
  max-width: none;
  margin: 0;
}
#pricing .plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  border: 1px solid #d0e1ed;
  border-radius: 10px;
  padding: 0;
  background: #fff;
  color: #102d46;
  box-shadow: 0 7px 28px #1d5c7e08;
  transition: border-color .2s, box-shadow .2s;
}
#pricing .plan:hover { border-color: #8ebdd9; }
#pricing .plan.featured {
  border-color: #2ca2df;
  background: #fff;
  box-shadow: 0 0 0 1px #2ca2df22, 0 12px 48px #249ddf24;
}
#pricing .plan.featured:hover { border-color: #178ec9; box-shadow: 0 0 0 1px #2ca2df40, 0 14px 52px #249ddf32; }
#pricing .plan-header { padding: 31px 29px 0; }
#pricing .plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
#pricing .plan-name {
  display: block;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.04em;
  color: #102d46;
  margin: 0;
}
#pricing .plan-ribbon {
  position: static;
  display: inline-block;
  flex-shrink: 0;
  max-width: 142px;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid #8dcbed;
  border-radius: 5px;
  background: #eaf7ff;
  color: #126895;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .06em;
  text-align: center;
}
#pricing .plan-description {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: #4d6477;
  margin: 15px 0 0;
  min-height: 57px;
}
#pricing .plan-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 29px 0;
}
#pricing .price-period {
  color: #334d62;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .08em;
  font-weight: 500;
}
#pricing .price-period > span {
  display: block;
  color: #5b7183;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .05em;
  margin-top: 5px;
}
#pricing .price {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  gap: 4px;
  color: #102d46;
  font-size: clamp(57px, 4.5vw, 70px);
  font-weight: 450;
  line-height: 1;
  letter-spacing: -.065em;
}
#pricing .price > .price-currency {
  display: inline-block;
  color: #2f7096;
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.03em;
  margin: 7px 0 0;
}
#pricing .plan-well {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 29px 10px 10px;
  padding: 25px 19px 23px;
  border: 1px solid #e3ebf2;
  border-radius: 8px;
  background: #f0f4f8;
}
#pricing .featured .plan-well {
  background: linear-gradient(130deg, #1578aa 0%, #11618e 65%, #0d527e 100%);
  border-color: #87d3ff36;
}
#pricing .scan-allowance {
  display: block;
  color: #213f58;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 21px;
}
#pricing .featured .scan-allowance { color: #fff; }
#pricing .plan .check-list {
  border: 0;
  padding: 0;
  margin: 0 0 29px;
  list-style: none;
}
#pricing .plan .check-list li {
  color: #3e566b;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -.015em;
  position: relative;
  padding: 0 0 0 24px;
  margin: 0 0 13px;
}
#pricing .plan .check-list li:last-child { margin-bottom: 0; }
#pricing .plan .check-list li::before {
  content: "✓";
  color: #167cad;
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}
#pricing .featured .check-list li,
#pricing .featured .check-list li::before { color: #fff; }
#pricing .plan .button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 15px;
  width: 100%;
  min-height: 56px;
  padding: 14px 19px;
  margin: auto 0 0;
  border: 1px solid #b7cfdf;
  border-radius: 999px;
  background: #fff;
  color: #143750;
  box-shadow: none;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
  transition: background .18s, color .18s, border-color .18s;
}
#pricing .plan .button > span { font-size: 20px; flex-shrink: 0; }
#pricing .plan .button:hover { background: #102d46; color: #fff; border-color: #102d46; }
#pricing .plan.featured .button.primary {
  background: #fff;
  border-color: #fff;
  color: #103651;
  box-shadow: 0 6px 16px #072c4b17;
}
#pricing .plan.featured .button.primary:hover { background: #e7f6ff; border-color: #e7f6ff; color: #0c2b43; }
#pricing .pricing-note {
  max-width: 930px;
  margin: 29px auto 0;
  color: #506b80;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}
#pricing .institution-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
  padding: 46px;
  border: 1px solid #cbdfea;
  border-radius: 10px;
  background: linear-gradient(125deg, #fff, #f3f9fd);
  color: #102d46;
}
#pricing .institution-card .panel-kicker {
  display: block;
  color: #2e7297;
  font-size: 12px;
  letter-spacing: .12em;
  line-height: 1.5;
  margin: 0 0 17px;
}
#pricing .institution-card h3 {
  color: #102d46;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.04em;
  margin: 0 0 22px;
}
#pricing .institution-card p {
  color: #4d6477;
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}
#pricing .institution-card .button {
  background: #1477a8;
  border: 1px solid #1477a8;
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 550;
  min-height: 56px;
  padding: 14px 22px;
  gap: 18px;
  line-height: 1.45;
  margin-top: 27px;
  white-space: normal;
}
#pricing .institution-card .button:hover { background: #0f618c; border-color: #0f618c; }
#pricing .institution-card .button > span { flex-shrink: 0; }
#pricing .institution-card .check-list { padding: 30px; margin: 0; list-style: none; border: 1px solid #e0eaf1; border-radius: 8px; background: #f0f4f8; }
#pricing .institution-card .check-list li { position: relative; font-size: 17px; line-height: 1.7; color: #3e566b; margin: 0 0 19px; padding-left: 26px; }
#pricing .institution-card .check-list li:last-child { margin-bottom: 0; }
#pricing .institution-card .check-list li::before { content: "✓"; position: absolute; top: 1px; left: 0; color: #167cad; font-size: 16px; }
#pricing button:focus-visible,
#pricing a:focus-visible { outline: 3px solid #156c9b; outline-offset: 5px; }
#pricing .plan.featured .button:focus-visible { outline-color: #fff; }
@media (max-width: 1200px) {
  #pricing .pricing-header { gap: 30px; }
  #pricing .pricing-heading h2 { font-size: 42px; }
  #pricing .plan-switch button { padding-inline: 17px; }
  #pricing .plans { gap: 23px; }
  #pricing .plan-header { padding: 27px 23px 0; }
  #pricing .plan-price-row { padding-inline: 23px; }
  #pricing .plan-name { font-size: 30px; }
  #pricing .plan-ribbon { font-size: 12px; padding: 6px; }
  #pricing .plan-well { padding: 23px 16px; }
  #pricing .plan-description { min-height: 57px; }
  #pricing .institution-card { gap: 40px; padding: 36px; }
}
@media (max-width: 1050px) {
  #pricing.pricing-nexi { padding: 88px 0; }
  #pricing .pricing-header { grid-template-columns: 1fr; gap: 27px; margin-bottom: 35px; }
  #pricing .pricing-heading { max-width: 740px; }
  #pricing .pricing-heading h2 { font-size: 46px; }
  #pricing .plan-switch { justify-self: start; margin: 0; }
  #pricing .plans { gap: 18px; }
  #pricing .plan-header { padding: 25px 20px 0; }
  #pricing .plan-top { flex-wrap: wrap; min-height: 66px; align-content: start; gap: 8px; }
  #pricing .plan-name { font-size: 29px; }
  #pricing .plan-ribbon { font-size: 12px; padding: 4px 7px; }
  #pricing .plan-description { min-height: 85px; margin-top: 8px; }
  #pricing .plan-price-row { padding: 14px 20px 0; gap: 12px; }
  #pricing .price { font-size: 57px; }
  #pricing .price > .price-currency { font-size: 25px; }
  #pricing .price-period { font-size: 14px; }
  #pricing .plan-well { margin-top: 24px; padding-inline: 15px; }
  #pricing .plan .button { padding-inline: 13px; gap: 9px; }
}
@media (max-width: 900px) {
  #pricing.pricing-nexi { padding: 74px 0; }
  #pricing .pricing-heading h2 { font-size: clamp(34px, 6vw, 44px); }
  #pricing .pricing-heading > p:not(.eyebrow) { font-size: 17px; }
  #pricing .pricing-header { margin-bottom: 34px; }
  #pricing .plans { grid-template-columns: 1fr; max-width: 570px; margin-inline: auto; gap: 25px; }
  #pricing .plan-header { padding: 29px 29px 0; }
  #pricing .plan-top { min-height: 0; flex-wrap: nowrap; gap: 12px; align-items: center; }
  #pricing .plan-name { font-size: 32px; }
  #pricing .plan-ribbon { font-size: 12px; padding: 6px 9px; }
  #pricing .plan-description { min-height: 0; font-size: 17px; line-height: 1.65; margin-top: 13px; }
  #pricing .plan-price-row { padding: 23px 29px 0; }
  #pricing .price { font-size: 68px; }
  #pricing .price > .price-currency { font-size: 29px; }
  #pricing .price-period { font-size: 14px; }
  #pricing .plan-well { padding: 25px 21px; margin-top: 26px; }
  #pricing .plan .check-list li, #pricing .scan-allowance { font-size: 17px; }
  #pricing .plan .button { font-size: 16px; min-height: 56px; gap: 15px; }
  #pricing .pricing-note { font-size: 15px; text-align: left; margin-top: 25px; }
  #pricing .institution-card { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  #pricing .institution-card h3 { font-size: 36px; }
  #pricing .institution-card p, #pricing .institution-card .check-list li { font-size: 17px; }
  #pricing .institution-card .button { font-size: 16px; }
}
@media (max-width: 420px) {
  #pricing.pricing-nexi { padding: 65px 0; }
  #pricing .pricing-heading h2 { font-size: 34px; }
  #pricing .pricing-heading > p:not(.eyebrow) { margin-top: 18px; }
  #pricing .plan-switch { width: 100%; border-radius: 10px; gap: 2px; padding: 4px; }
  #pricing .plan-switch button { flex: 1; min-width: 0; min-height: 60px; padding: 9px 10px; font-size: 15px; line-height: 1.35; white-space: normal; border-radius: 7px; }
  #pricing .plan-header { padding: 26px 23px 0; }
  #pricing .plan-name { font-size: 30px; }
  #pricing .plan-ribbon { font-size: 12px; padding: 6px 7px; }
  #pricing .plan-price-row { padding-inline: 23px; }
  #pricing .plan-well { padding-inline: 17px; }
  #pricing .institution-card { padding: 27px 23px; }
  #pricing .institution-card h3 { font-size: 31px; }
  #pricing .institution-card .check-list { padding: 23px 19px; }
  #pricing .institution-card .button { width: 100%; justify-content: space-between; gap: 12px; text-align: left; padding-inline: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  #pricing .plan, #pricing .button, #pricing .plan-switch button { transition: none; }
}
@media print {
  #pricing.pricing-nexi { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  #pricing .plan { break-inside: avoid; }
}
