.mapple-pricing {
  background: #fff7f4;
  color: #1f2937;
  padding: 72px 20px;
}

.mapple-pricing * {
  box-sizing: border-box;
}

.mp-shell {
  max-width: 1180px;
  margin: auto;
}

.mp-head {
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.mp-kicker {
  color: #904b3b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mp-head h2 {
  margin: 12px 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.mp-head p {
  color: #5f6b7a;
  font-size: 1.08rem;
  line-height: 1.6;
}

.mp-toggle {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 28px auto 36px;
  padding: 5px;
  border: 1px solid rgba(51, 58, 68, 0.12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(51, 58, 68, 0.08);
}

.mp-toggle button {
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5f6b7a;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.mp-toggle button[aria-pressed="true"] {
  background: #516526;
  color: #fff;
}

.mp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.mp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(51, 58, 68, 0.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(51, 58, 68, 0.07);
}

.mp-card.featured {
  border: 2px solid #516526;
  box-shadow: 0 20px 46px rgba(81, 101, 38, 0.18);
}

.mp-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #516526;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
}

.mp-card h3 {
  margin: 0 0 8px;
  font-size: 1.65rem;
}

.mp-desc {
  min-height: 72px;
  color: #5f6b7a;
  line-height: 1.5;
}

.mp-price {
  margin: 18px 0 4px;
}

.mp-price strong {
  color: #1f2937;
  font-size: 2.25rem;
}

.mp-price span {
  color: #5f6b7a;
}

.mp-equivalent,
.mp-saving,
.mp-migration-note {
  margin: 5px 0;
  font-size: 0.92rem;
}

.mp-saving {
  color: #516526;
  font-weight: 800;
}

.mp-migration-note {
  color: #904b3b;
  font-weight: 700;
}

.mp-limit {
  margin: 18px 0 10px;
  padding: 12px;
  border-radius: 12px;
  background: #f2f6e9;
  color: #40521d;
  font-weight: 800;
}

.mp-differences {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.mp-differences li {
  display: flex;
  gap: 9px;
  margin: 9px 0;
  color: #3f4a58;
  line-height: 1.4;
}

.mp-differences li::before,
.mp-summary li::before {
  content: "✓";
  color: #516526;
  font-weight: 900;
}

.mp-card .mp-cta {
  display: block;
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 13px;
  background: #516526;
  color: #fff !important;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.mp-card:not(.featured) .mp-cta {
  border: 2px solid #516526;
  background: #fff;
  color: #516526 !important;
}

.mp-signup-note {
  margin: 9px 0 0;
  color: #5f6b7a;
  font-size: 0.8rem;
  text-align: center;
}

.mp-terms {
  margin-top: 6px;
  color: #5f6b7a;
  font-size: 0.78rem;
  text-align: center;
}

.mp-summary {
  margin-top: 32px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(51, 58, 68, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(51, 58, 68, 0.05);
}

.mp-refund {
  margin: 24px auto 0;
  color: #40521d;
  font-weight: 700;
  text-align: center;
}

.mp-refund a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mp-summary h3 {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  text-align: center;
}

.mp-summary ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-summary li {
  display: flex;
  gap: 8px;
  color: #3f4a58;
  font-weight: 700;
}

.mp-summary p {
  max-width: 820px;
  margin: 22px auto 0;
  color: #5f6b7a;
  line-height: 1.55;
  text-align: center;
}

.mp-summary p strong {
  color: #516526;
}

.mp-summary-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 18px;
}

.mp-summary-links a {
  color: #516526;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mp-toggle button:focus-visible,
.mp-card a:focus-visible,
.mp-summary a:focus-visible {
  outline: 3px solid rgba(81, 101, 38, 0.32);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .mapple-pricing {
    padding: 56px 14px;
  }

  .mp-toggle {
    margin-bottom: 30px;
  }

  .mp-grid {
    grid-template-columns: 1fr;
  }

  .mp-card.featured {
    order: 0;
  }

  .mp-desc {
    min-height: 0;
  }

  .mp-summary ul {
    grid-template-columns: 1fr 1fr;
  }

  .mp-summary p {
    text-align: left;
  }

  .mp-summary-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .mp-summary ul {
    grid-template-columns: 1fr;
  }
}

/* New commercial plans: retain Mapple's olive, peach and rounded cards. */
.mp-grid { margin-top: 40px; }
.mp-plan-note { margin: 0 0 24px; color: #40521d; font-size: .94rem; line-height: 1.6; }
.mp-comparison { margin-top: 40px; }
.mp-comparison h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 12px; }
.mp-comparison > p { color: #4b5563; margin-bottom: 22px; line-height: 1.6; }
.mp-comparison table { width: 100%; border-collapse: separate; border-spacing: 0; background: white; border: 1px solid #d9decd; border-radius: 18px; overflow: hidden; line-height: 1.5; }
.mp-comparison caption { text-align: left; color: #4b5563; padding-bottom: 12px; font-size: .92rem; }
.mp-comparison th, .mp-comparison td { padding: 16px 20px; text-align: left; border-bottom: 1px solid #e5e7df; vertical-align: top; }
.mp-comparison thead th { background: #40521d; color: white; font-weight: 700; }
.mp-comparison tbody th { width: 44%; font-weight: 600; }
.mp-comparison td { width: 28%; }
.mp-comparison tr:last-child > * { border-bottom: 0; }
.mp-comparison tbody tr:nth-child(even) { background: #f5f7f0; }
.mp-mobile-label { display: none; }
.mp-explainer { padding: 8px 4px; color: #3f4a58; line-height: 1.65; }
.mp-explainer p { margin: 16px 0 0; }
.mp-faq { border: 1px solid #d9decd; border-radius: 16px; padding: 20px; background: white; color: #1f2937; }
.mp-faq + .mp-faq { margin-top: 12px; }
.mp-faq summary { cursor: pointer; font-weight: 700; line-height: 1.5; min-height: 24px; }
.mp-faq p { margin: 14px 0 0; color: #4b5563; line-height: 1.7; }
.mapple-pricing a:focus-visible, .mp-faq summary:focus-visible { outline: 3px solid #904b3b; outline-offset: 4px; }
.mapple-pricing .mp-cta:hover { background: #40521d; color: white !important; }
@media (max-width: 600px) {
  .mp-card { padding: 26px 20px; }
  .mp-card h3 { font-size: 1.45rem; }
  .mp-price strong { font-size: 2rem; }
  .mp-comparison table, .mp-comparison tbody { display: block; }
  .mp-comparison caption { display: block; }
  .mp-comparison thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .mp-comparison tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid #d9decd; }
  .mp-comparison tbody tr:last-child { border-bottom: 0; }
  .mp-comparison tbody th { grid-column: 1 / -1; width: auto; padding: 16px 16px 6px; border: 0; }
  .mp-comparison td { width: auto; padding: 8px 16px 16px; border: 0; overflow-wrap: anywhere; }
  .mp-mobile-label { display: block; margin-bottom: 5px; color: #40521d; font-size: .8rem; font-weight: 800; }
}

.mapple-pricing, .mp-comparison { scroll-margin-top: 110px; }
