.mobicheck-page .footer { margin-top: 0; }
.mobicheck-main .smart-hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); }
.mc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.mc-rate { font-size: 16px; }
.mc-sms {
  padding-bottom: 18px; overflow: hidden; background: #edf2f6;
  border: 1px solid #b6a165; border-radius: 12px; box-shadow: 0 5px 16px #795d1126;
}
.mc-sms figcaption, .mc-route figcaption {
  padding: 12px 18px; background: var(--ink); color: white;
  font-weight: 700; line-height: 1.35;
}
.mc-sms-body {
  margin: 16px 18px 0; padding: 12px 16px;
  background: white; border: 1px solid var(--rule); border-radius: 10px 10px 10px 2px;
}
.mc-sms-body p { font-size: 16px; line-height: 1.35; }
.mc-digits { display: block; margin-block: 4px; font-size: 34px; letter-spacing: .12em; line-height: 1.2; }
.mc-cascade { background: #f2f6f9; scroll-margin-top: 58px; }
.mc-cascade-grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  align-items: start; gap: clamp(18px, 3vw, 32px); margin-top: 18px;
}
.mc-cascade-intro p + p { margin-top: 10px; }
.mc-route {
  min-width: 0; border: 1px solid #c1d1df;
  border-radius: 8px; overflow: hidden; background: #fff;
}
.mc-route figcaption { text-align: center; }
.mc-branches { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px 16px 16px; gap: 12px; }
.mc-branches::before, .mc-branches::after, .mc-outcome::before {
  position: absolute; content: ""; pointer-events: none;
}
.mc-branches::before { left: 50%; top: 0; height: 14px; border-left: 2px solid #8ba4bb; }
.mc-branches::after {
  top: 13px; height: 15px; left: calc(25% + 5px); right: calc(25% + 5px);
  border: 2px solid #8ba4bb; border-bottom: 0; border-radius: 4px 4px 0 0;
}
.mc-outcome {
  position: relative; min-width: 0; border-top: 3px solid #7190aa;
  padding: 10px 12px; background: #edf3f7;
}
.mc-outcome:last-child { border-color: #dfb327; background: #fff8dc; }
.mc-outcome strong { display: block; font-size: 17px; line-height: 1.35; }
.mc-outcome p { margin-top: 6px; font-size: 16px; line-height: 1.42; }
.mc-notify-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; margin-top: 16px; padding: 8px 16px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 700;
}
.mc-notify-link:hover, .mc-notify-link:focus { color: white; background: #193753; }
.mc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mc-api-steps, .mc-json-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 16px; }
.mc-api-steps article { border-top: 2px solid #91abc4; padding-top: 10px; }
.mc-api-steps p { margin-top: 6px; }
.mc-api-steps code { color: var(--ink); background: #e5edf3; padding: 0 3px; font: .92em/1.4 Consolas, monospace; }
.mc-json-grid { margin: 0; padding-bottom: 16px; }
.mc-json-grid figure { min-width: 0; }
.mc-json-grid figcaption { font-weight: 700; margin: 6px 0; }
.mc-json-grid pre {
  margin: 0; padding: 12px; white-space: pre-wrap; overflow-wrap: anywhere;
  border: 0; border-radius: 4px; background: #243e59; color: #fff;
  font: 15px/1.5 Consolas, monospace;
}
.mc-json-grid pre code { padding: 0; background: transparent; color: inherit; font: inherit; white-space: inherit; }
.mobicheck-main .mc-reports { margin-top: 16px; }
@media (max-width: 849px) {
  .mc-cascade-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .mobicheck-main .smart-hero-grid, .mc-api-steps, .mc-json-grid { grid-template-columns: minmax(0, 1fr); }
  .mc-sms { padding-bottom: 10px; }
  .mc-sms figcaption { padding: 8px 14px; }
  .mc-sms-body { margin: 9px 12px 0; padding: 9px 12px; }
  .mc-digits { font-size: 28px; }
}
@media (max-width: 499px) {
  .mc-branches { grid-template-columns: minmax(0, 1fr); padding: 14px 12px 14px 30px; gap: 10px; }
  .mc-branches::before, .mc-branches::after { content: none; }
  .mc-outcome::before { left: -15px; top: 18px; width: 14px; border-top: 2px solid #8ba4bb; }
  .mc-outcome::after {
    position: absolute; content: ""; left: -15px; top: -18px; bottom: -14px;
    border-left: 2px solid #8ba4bb;
  }
  .mc-outcome:last-child::after { bottom: auto; height: 38px; }
  .mc-actions { gap: 2px 12px; }
  .mc-actions .smart-chat { padding: 8px 12px; }
}
