.mereu-pricing {
  --mp-ink: #1d1d1f;
  --mp-muted: #616165;
  --mp-panel: #f5f5f7;
  --mp-line: #d2d2d7;
  color: var(--mp-ink);
  scroll-margin-top: 76px;
}

.mereu-pricing.mp-onboarding {
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  margin: 72px auto 32px;
}

.mereu-pricing .mp-heading h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.mereu-pricing .mp-heading p {
  margin: 14px 0 0;
  color: var(--mp-muted);
  font-size: 18px;
  line-height: 1.5;
}

.mp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.mp-card {
  box-sizing: border-box;
  padding: 28px;
  border-radius: 28px;
  background: var(--mp-panel);
}

.mp-calculator { margin-bottom: 18px; }
.mp-summary, .mp-limits {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  color: var(--mp-muted);
  font-size: 14px;
}

.mp-summary output { text-align: right; }
.mp-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--mp-ink);
  font-size: clamp(24px, 5.5vw, 36px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.mp-calculator input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  --mp-track: linear-gradient(to right, var(--mp-ink) var(--mp-progress, 0%), #c7c7cc var(--mp-progress, 0%));
}

.mp-calculator input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: var(--mp-track);
}
.mp-calculator input::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: var(--mp-track);
}
.mp-calculator input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--mp-ink);
  box-shadow: 0 0 0 1px var(--mp-ink);
}
.mp-calculator input::-moz-range-thumb {
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--mp-ink);
  box-shadow: 0 0 0 1px var(--mp-ink);
}

.mp-tariff {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.mp-tariff :is(th, td) { padding: 12px 0; border-bottom: 1px solid var(--mp-line); }
.mp-tariff :is(th, td):last-child { padding-left: 12px; text-align: right; }
.mp-tariff thead th {
  color: var(--mp-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mp-tariff tbody th { font-weight: 400; }
.mp-tariff td { font-weight: 600; }
.mp-tariff tbody tr:last-child > * { border-bottom: 0; }

.mereu-pricing .mp-note {
  margin: 12px 0 0;
  color: var(--mp-muted);
  font-size: 14px;
  line-height: 1.5;
}

.mereu-pricing .mp-renewal { color: var(--mp-ink); font-weight: 500; }

.mp-benefits { display: flex; flex-direction: column; }
.mereu-pricing .mp-benefits h3 { margin: 0; font-size: 19px; font-weight: 600; }
.mereu-pricing .mp-benefits ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.mp-benefits li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.4; }
.mp-benefits li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mp-ink);
}
.mp-benefits li::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 7px;
  box-sizing: border-box;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.mp-benefits .mp-note { margin-top: 18px; }

.mp-more { display: none; }
.mp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 24px; }
.mereu-pricing .mp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 24px;
  background: var(--mp-ink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.mereu-pricing .mp-button:hover { background: #3a3a3c; }
.mereu-pricing .mp-secondary { background: #fff; color: var(--mp-ink); }
.mereu-pricing .mp-secondary:hover { background: #e8e8ed; }
.mereu-pricing :is(a, button, input):focus-visible { outline: 2px solid var(--mp-ink); outline-offset: 3px; }

@media (max-width: 900px) {
  .mp-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; }
  .mereu-pricing.mp-onboarding { margin-top: 48px; }
}

@media (max-width: 600px) {
  .mereu-pricing .mp-heading h2 { font-size: 28px; }
  .mereu-pricing .mp-heading p { font-size: 16px; }
  .mp-card { padding: 20px; border-radius: 22px; }
  .mp-tariff { font-size: 15px; }
  .mp-actions { flex-direction: column; align-items: stretch; }
  .mereu-pricing .mp-benefits ul { gap: 8px; }
  .mp-benefits li { font-size: 15px; }
  .mp-benefits [data-pricing-collapsed] > li:nth-child(n+7) { display: none; }
  .mp-more:not([hidden]) {
    display: block;
    align-self: flex-start;
    min-height: 44px;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mp-ink);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }
}

@media (max-width: 360px) {
  .mp-tariff { font-size: 14px; }
  .mp-tariff :is(th, td):last-child { padding-left: 8px; }
  .mp-tariff td { white-space: nowrap; }
  .mereu-pricing .mp-benefits ul { grid-template-columns: minmax(0, 1fr); }
}
