/* ==========================================================================
   QUANTECH ADVISORS — PRICES
   --------------------------------------------------------------------------
   Everything that has a price on it, in one file:
     · pricing.html — the full page: plan cards, monthly vs. annual table, plan
       comparison, what every plan includes, Quant Mart, billing FAQ.
     · index.html   — the price strip (three tiles that point to /pricing) and
       the Quant Mart section at the end of the page.
   Load after site.css (tokens, buttons, folios, tables) and, on the homepage,
   after landing.css. Amounts and period labels are written by pricing.js from
   QT_CONFIG.pricing (site.js); the numbers in the HTML are the no-JS copy.
   ========================================================================== */

/* ---------- Homepage: the price strip sits on a white band ---------- */
.mk-price { background: var(--mk-white); border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); }

/* ---------- Billing-period switch (appears once every plan has an annual price) ---------- */
.mk-tiers-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.mk-cycle { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.mk-cycle-save { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--mk-sun); color: var(--mk-ink); font-family: var(--mk-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.mk-tiers-have { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14.5px; color: var(--mk-ink-2); }

/* ==========================================================================
   Plan cards (Basic · Essential · Pro) — also the three tiles of the homepage strip
   ========================================================================== */
.mk-tiers, .mk-pstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.mk-tier {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(24px, 2.8vw, 36px); border-radius: var(--mk-radius-l);
  background: var(--mk-paper); border: 1px solid var(--mk-line); color: var(--mk-ink);
  transition: box-shadow var(--mk-base) var(--mk-ease), border-color var(--mk-fast);
}
.mk-js .mk-tier { transition: opacity .8s var(--mk-ease), transform .8s var(--mk-ease), box-shadow var(--mk-base) var(--mk-ease), border-color var(--mk-fast); }
.mk-tier:hover { border-color: var(--mk-line-2); box-shadow: var(--mk-shadow); }
.mk-tier-main { display: flex; flex-direction: column; }
.mk-tier-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.mk-tier-k { font-family: var(--mk-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-ink-2); }
.mk-tier-flag { font-family: var(--mk-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--mk-sun); color: var(--mk-ink); white-space: nowrap; }
.mk-tier h3 { font-family: var(--mk-display); font-size: clamp(1.9rem, 2.7vw, 2.4rem); font-weight: 700; letter-spacing: -.028em; line-height: 1; margin-top: 12px; }
.mk-tier-d { margin-top: 10px; font-size: 15.5px; color: var(--mk-ink-2); text-wrap: pretty; }
.mk-tier-price { display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; margin-top: 24px; container-type: inline-size; }
/* The amount is sized from the width of its own card, leaving room for the period ("MXN / month") beside it
   even for a five-digit annual price, so it never wraps and the three cards stay aligned. */
.mk-tier-price strong { font-family: var(--mk-display); font-size: clamp(2.1rem, 3.2vw, 2.9rem); font-size: clamp(1.7rem, calc((100cqi - 90px) / 5.2), 2.9rem); font-weight: 700; letter-spacing: -.028em; line-height: 1; font-variant-numeric: tabular-nums; }
.mk-tier-price span { font-size: 14.5px; color: var(--mk-ink-3); white-space: nowrap; }
.mk-tier-sub { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--mk-teal-ink); text-wrap: pretty; }
.mk-tier .mk-btn { width: 100%; margin-top: 20px; padding: 10px 16px; white-space: normal; text-align: center; }
.mk-tier .mk-btn svg.i { flex: none; }
/* The whole card is one big link to the app: the button's hit area is stretched over the card.
   A transform on the anchor would become the containing block of that overlay and shrink it to the
   button as soon as the pointer enters it (the base button "lifts" on :hover), so the lift is dropped
   here – the card itself reacts instead (shadow, button colour, arrow). */
.mk-tier .mk-btn, .mk-tier .mk-btn:hover, .mk-tier .mk-btn:active { transform: none; }
.mk-tier .mk-btn::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mk-tier .mk-btn:focus-visible { outline: 4px solid var(--mk-sun); outline-offset: 3px; }
.mk-tier:hover .mk-btn svg.i { transform: translateX(3px); }
.mk-tier:hover .mk-btn--primary { background: var(--mk-royal); }
.mk-tier:hover .mk-btn--light { background: var(--mk-teal-soft); }
.mk-tier:hover .mk-btn--primary > svg.i { transform: scale(1.15); }

.mk-tier-specs { margin-top: 24px; border-top: 1px solid var(--mk-line-2); }
.mk-tier-specs li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--mk-line); font-size: 14.5px; color: var(--mk-ink-2); }
.mk-tier-specs b { font-family: var(--mk-display); font-size: 18px; font-weight: 700; letter-spacing: -.012em; color: var(--mk-ink); text-align: right; font-variant-numeric: tabular-nums; }
.mk-tier-more { margin-top: 20px; font-family: var(--mk-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-ink-3); }
.mk-tier-list { display: grid; gap: 11px; margin-top: 14px; }
.mk-tier-specs + .mk-tier-list { margin-top: 20px; }
.mk-tier-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--mk-ink-2); }
.mk-tier-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--mk-teal-ink); }
.mk-tier-list strong { color: var(--mk-ink); font-weight: 650; }
.mk-tier-list .is-locked { color: var(--mk-ink-3); font-size: 14.5px; }
.mk-tier-list .is-locked svg { color: var(--mk-ink-3); }

/* The recommended plan: ink card with the site's teal glow */
.mk-tier--feature { background: var(--mk-night); border-color: transparent; color: var(--mk-night-text); }
.mk-tier--feature::after { content: ""; position: absolute; z-index: -1; right: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(23,184,173,.25), transparent 70%); pointer-events: none; }
.mk-tier--feature:hover { border-color: transparent; box-shadow: 0 28px 56px -28px rgba(7,18,37,.7); }
.mk-tier--feature h3 { color: #fff; }
.mk-tier--feature .mk-tier-k, .mk-tier--feature .mk-tier-d, .mk-tier--feature .mk-tier-price span, .mk-tier--feature .mk-tier-more { color: var(--mk-night-muted); }
.mk-tier--feature .mk-tier-price strong { color: #fff; }
.mk-tier--feature .mk-tier-sub { color: var(--mk-mint); }
.mk-tier--feature .mk-tier-specs { border-color: var(--mk-night-line); }
.mk-tier--feature .mk-tier-specs li { border-color: var(--mk-night-line); color: var(--mk-night-muted); }
.mk-tier--feature .mk-tier-specs b, .mk-tier--feature .mk-tier-list strong { color: #fff; }
.mk-tier--feature .mk-tier-list li { color: var(--mk-night-text); }
.mk-tier--feature .mk-tier-list svg { color: var(--mk-mint); }

.mk-tiers-note { margin-top: 18px; font-size: 14.5px; color: var(--mk-ink-2); }
.mk-tiers-note .mk-textlink { margin-left: 2px; }
.mk-tiers-note + .mk-tiers-note { margin-top: 6px; }

/* ---------- Homepage strip: just the prices; each tile points to /pricing ---------- */
.mk-pstrip .mk-tier-price { margin-top: 22px; }
.mk-ptile-alt { margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--mk-teal-ink); }
.mk-tier--feature .mk-ptile-alt { color: var(--mk-mint); }
.mk-ptile-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 22px; font-size: 15.5px; font-weight: 600; text-decoration: none; color: inherit; }
.mk-ptile-link svg.i { width: 18px; height: 18px; transition: transform var(--mk-fast) var(--mk-ease); }
/* the link's hit area is the whole tile (no transform on the anchor, same as the plan cards) */
.mk-ptile-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mk-tier:hover .mk-ptile-link svg.i { transform: translateX(3px); }
/* keyboard focus rings the whole tile where the browser can tell (:has); otherwise the link keeps its own ring */
@supports selector(:has(*)) {
  .mk-tier:has(.mk-ptile-link:focus-visible) { outline: 3px solid var(--mk-teal-ink); outline-offset: 3px; }
  .mk-ptile-link:focus-visible { outline: none; }
}
.mk-pstrip-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 22px; }
.mk-pstrip-foot .mk-note { flex: 1 1 320px; }
.mk-price .mk-pstrip-foot + .mk-refband { margin-top: clamp(36px, 5vw, 56px); }
.mk-pstrip-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Tables: plan prices by billing period, and the plan-by-plan comparison.
   On narrow screens each one scrolls inside its own keyboard-focusable frame
   and the first column stays in view.
   ========================================================================== */
.mk-ptable-wrap { position: relative; overflow-x: auto; border: 1px solid var(--mk-line); border-radius: 22px; background: #fff; -webkit-overflow-scrolling: touch; }
.mk-ptable-wrap:focus-visible { outline: 3px solid var(--mk-teal); outline-offset: 3px; }
.mk-ptable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; color: var(--mk-ink-2); }
.mk-ptable th, .mk-ptable td { padding: 14px 18px; text-align: left; vertical-align: middle; background: #fff; border-bottom: 1px solid var(--mk-line); }
.mk-ptable tbody tr:last-child > * { border-bottom: 0; }
.mk-ptable thead th { background: var(--mk-paper); border-bottom-color: var(--mk-line-2); font-family: var(--mk-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mk-ink-2); white-space: nowrap; vertical-align: bottom; }
.mk-ptable tbody th[scope="row"] { font-weight: 600; color: var(--mk-ink); }
.mk-ptable .is-sticky { position: sticky; left: 0; z-index: 1; }
.mk-ptable .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-ptable td small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mk-ink-3); }

/* monthly vs. annual */
.mk-ptable--bill { min-width: 520px; }
.mk-ptable--bill tbody th[scope="row"] { font-family: var(--mk-display); font-size: 1.2rem; letter-spacing: -.015em; }
.mk-ptable--bill td { color: var(--mk-ink); }
.mk-ptable--bill td b { font-family: var(--mk-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.mk-ptable--bill td.is-save { color: var(--mk-teal-ink); font-weight: 600; }
.mk-bill-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.mk-bill-note { padding: clamp(22px, 2.6vw, 30px); border-radius: 24px; background: var(--mk-paper); border: 1px solid var(--mk-line); }
.mk-bill-note--annual { background: var(--mk-plane-sun); border-color: transparent; }
.mk-bill-note h3 { font-family: var(--mk-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.mk-bill-note p { margin-top: 8px; font-size: 15.5px; color: var(--mk-ink-2); }
.mk-bill-note--annual p { color: var(--mk-ink); }
/* phones: the same prices as one card per plan (a four-column table does not fit) */
.mk-bill-cards { display: none; list-style: none; margin: 0; padding: 0; gap: 12px; }
.mk-bill-card { background: #fff; border: 1px solid var(--mk-line); border-radius: 22px; padding: 20px 20px 6px; }
.mk-bill-card h3 { font-family: var(--mk-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--mk-ink); }
.mk-bill-card dl { margin: 12px 0 0; }
.mk-bill-card dl > div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 16px; padding: 12px 0; border-top: 1px solid var(--mk-line); }
.mk-bill-card dt { font-size: 14.5px; color: var(--mk-ink-2); }
.mk-bill-card dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; color: var(--mk-ink); }
.mk-bill-card dd b { display: block; font-family: var(--mk-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.mk-bill-card dd small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mk-ink-3); }
.mk-bill-card .is-save dd, .mk-bill-card .is-save dt { color: var(--mk-teal-ink); }
.mk-bill-card .is-save dd small { font-weight: 600; }

/* comparison */
.mk-ptable--cmp { min-width: 520px; table-layout: fixed; }
.mk-ptable--cmp col.c-feat { width: 40%; }
.mk-ptable--cmp thead th:not(:first-child), .mk-ptable--cmp td { text-align: center; }
.mk-ptable--cmp thead th:not(:first-child) { font-family: var(--mk-display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; text-transform: none; color: var(--mk-ink); }
.mk-ptable--cmp thead th small { display: block; margin-top: 4px; font-family: var(--mk-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-teal-ink); }
.mk-ptable--cmp tbody th[scope="rowgroup"] { background: var(--mk-paper); font-family: var(--mk-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-ink-2); border-bottom-color: var(--mk-line-2); }
.mk-ptable--cmp tbody tr:first-child > th[scope="rowgroup"] { border-top: 0; }
.mk-ptable--cmp tbody + tbody tr:first-child > th[scope="rowgroup"] { border-top: 1px solid var(--mk-line-2); }
.mk-ptable--cmp tbody th[scope="row"] { font-weight: 500; color: var(--mk-ink-2); }
.mk-ptable--cmp td { color: var(--mk-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.mk-ptable--cmp .is-rec { background: #F3FAFA; }
.mk-ptable--cmp thead .is-rec { background: var(--mk-teal-soft); }
.mk-ptable--cmp .mk-cmp-y svg.i { width: 20px; height: 20px; margin: 0 auto; color: var(--mk-teal-ink); stroke-width: 2.2; }
.mk-ptable--cmp .mk-cmp-n { color: var(--mk-ink-3); font-weight: 400; }

/* ==========================================================================
   /pricing — page rhythm
   ========================================================================== */
.mk-hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: 15px; color: var(--mk-ink-2); }
.mk-hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.mk-hero-facts svg.i { width: 18px; height: 18px; color: var(--mk-teal-ink); }

.mk-psec { position: relative; padding: clamp(56px, 8vw, 104px) 0; }
.mk-psec--first { padding-top: 0; }
.mk-psec--band { background: var(--mk-white); border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); }
.mk-pricing-page .mk-sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px 64px; align-items: end; margin: 26px 0 clamp(32px, 4.5vw, 52px); }
.mk-pricing-page .mk-sec-head .mk-lead { max-width: 34em; }
.mk-pricing-page .mk-h2 { font-size: clamp(1.95rem, 4vw, 3.1rem); }
.mk-psec .mk-split { margin-top: 26px; }
.mk-psec .mk-split .mk-lead { margin-top: 18px; }
.mk-psec .mk-mart-grid + .mk-mart-note { margin-top: 22px; }
.mk-pfaq-side p { margin-top: 18px; color: var(--mk-ink-2); }

/* closing card on a sun plane */
.mk-pcta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 28px 32px; align-items: end; padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 72px); border-radius: 28px; background: var(--mk-plane-sun); color: var(--mk-ink); }
.mk-pcta-net { position: absolute; right: -60px; top: -60px; width: 440px; height: 440px; opacity: .14; pointer-events: none; }
.mk-pcta-net svg { width: 100%; height: 100%; }
.mk-pcta .mk-label { position: relative; display: block; margin-bottom: 14px; color: var(--mk-ink-2); }
.mk-pcta h2 { position: relative; font-family: var(--mk-display); font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; letter-spacing: -.028em; line-height: 1.02; text-wrap: balance; color: var(--mk-ink); }
.mk-pcta h2 span { color: var(--mk-coral-ink); }
.mk-pcta p { position: relative; margin-top: 16px; max-width: 30em; color: var(--mk-ink-2); }
.mk-pcta-ctas { position: relative; display: grid; gap: 12px; }
.mk-pcta .mk-btn--primary { color: #fff; }
.mk-pcta .mk-btn--ghost { border-color: var(--mk-ink); color: var(--mk-ink); }
.mk-pcta .mk-btn--ghost:hover { background: rgba(255,255,255,.4); border-color: var(--mk-ink); }
.mk-pcta-login { font-size: 14.5px; color: var(--mk-ink-2); }
.mk-pcta-login a { color: var(--mk-ink); font-weight: 600; }

/* ==========================================================================
   QUANT MART — one-time add-ons
   ========================================================================== */
.mk-mart { padding-top: clamp(4px, 1.5vw, 20px); padding-bottom: clamp(56px, 8vw, 104px); }
.mk-mart .mk-sec-head { margin-bottom: clamp(28px, 4vw, 44px); }
.mk-mart-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mk-mart-item {
  position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 22px;
  border-radius: var(--mk-radius-l); color: var(--mk-ink); text-decoration: none;
  transition: box-shadow var(--mk-base) var(--mk-ease);
}
.mk-js .mk-mart-item { transition: opacity .8s var(--mk-ease), transform .8s var(--mk-ease), box-shadow var(--mk-base) var(--mk-ease); }
.mk-mart-item:hover { box-shadow: 0 22px 40px -26px rgba(11,27,51,.5); }
.mk-mart-item:focus-visible { outline: 4px solid var(--mk-sun); outline-offset: 3px; }
.mk-mart-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: rgba(255,255,255,.62); }
.mk-mart-ico svg.i { width: 21px; height: 21px; }
.mk-mart-item strong { font-family: var(--mk-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.mk-mart-item p { margin-top: 8px; font-size: 14.5px; }
.mk-mart-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.mk-mart-price { display: grid; gap: 7px; }
.mk-mart-price b { font-family: var(--mk-display); font-size: clamp(1.7rem, 2.3vw, 2rem); font-weight: 700; letter-spacing: -.028em; line-height: 1; font-variant-numeric: tabular-nums; }
.mk-mart-price small { font-family: var(--mk-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.mk-mart-go { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mk-ink); color: #fff; transition: transform var(--mk-fast) var(--mk-ease), background-color var(--mk-fast); }
.mk-mart-go svg.i { width: 18px; height: 18px; }
.mk-mart-item:hover .mk-mart-go { transform: translateX(3px); background: var(--mk-navy); }
.mk-mart-flag { position: absolute; top: 22px; right: 20px; padding: 5px 10px; border-radius: 999px; background: var(--mk-ink); color: #fff; font-family: var(--mk-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.mk-mart-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: 22px; }
.mk-mart-note .mk-note { flex: 1 1 440px; }
.mk-mart-note .mk-textlink { flex-shrink: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1001px) {
  /* The three cards share two rows (who it is for / what it includes), so the prices, the buttons and the
     spec tables line up whatever the length of each tagline. */
  .mk-tiers { grid-template-rows: auto 1fr; }
  .mk-tiers > .mk-tier { display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
  .mk-tiers .mk-tier-price { margin-top: auto; padding-top: 24px; }
  .mk-tiers .mk-tier-sub { min-height: 2.9em; }
  /* flat colour discs in the quiet corner of the two light cards (the site's "plane" shapes) */
  .mk-tier:not(.mk-tier--feature)::after { content: ""; position: absolute; z-index: -1; right: -64px; bottom: -64px; width: 190px; height: 190px; border-radius: 50%; background: var(--tier-plane, transparent); pointer-events: none; }
  .mk-tier[data-plan="basic"] { --tier-plane: var(--mk-plane-sky); }
  .mk-tier[data-plan="pro"] { --tier-plane: var(--mk-plane-sun); }
  /* the strip's tiles are short: a smaller disc, so it stays clear of the price */
  .mk-pstrip > .mk-tier:not(.mk-tier--feature)::after { right: -54px; bottom: -54px; width: 140px; height: 140px; }
}
@media (max-width: 1180px) {
  /* narrower cards: a slightly tighter button so "Empieza tu prueba gratis" keeps to one line */
  .mk-tier .mk-btn { padding-inline: 14px; gap: 8px; font-size: 15px; }
}
@media (max-width: 1100px) {
  .mk-tier { padding: 24px; }
  .mk-tier-specs li { font-size: 14px; }
  .mk-tier-specs b { font-size: 17px; }
  .mk-mart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-mart-item { min-height: 224px; }
}
/* up to 1000px the plans stack, one wide card each */
@media (max-width: 1000px) {
  .mk-tiers, .mk-pstrip { grid-template-columns: minmax(0, 1fr); }
  .mk-tier { padding: clamp(24px, 4vw, 32px); }
  .mk-pcta { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 900px) {
  .mk-tiers-have { margin-left: 0; }
  .mk-pricing-page .mk-sec-head { grid-template-columns: minmax(0, 1fr); }
  .mk-bill-notes { grid-template-columns: minmax(0, 1fr); }
}
/* tablet: each plan reads as a wide card — who it is for on the left, what it includes on the right */
@media (min-width: 641px) and (max-width: 1000px) {
  .mk-tiers > .mk-tier { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: clamp(28px, 5vw, 48px); align-items: start; }
  .mk-tier-body .mk-tier-specs { margin-top: 0; }
  /* the strip's tiles are short: name and kicker on the left, price on the right */
  .mk-pstrip > .mk-tier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 5vw, 48px); align-items: center; }
  .mk-pstrip > .mk-tier .mk-tier-top, .mk-pstrip > .mk-tier h3 { grid-column: 1; }
  .mk-pstrip > .mk-tier .mk-tier-price, .mk-pstrip > .mk-tier .mk-ptile-alt { grid-column: 2; }
  .mk-pstrip > .mk-tier .mk-tier-price { grid-row: 1 / span 2; margin-top: 0; align-self: end; }
  .mk-pstrip > .mk-tier .mk-ptile-alt { grid-row: 3; }
  .mk-pstrip > .mk-tier .mk-ptile-link { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .mk-tiers-bar { gap: 10px 16px; }
  .mk-tier-top { min-height: 0; }
  .mk-mart-grid { grid-template-columns: minmax(0, 1fr); }
  .mk-mart-item { min-height: 0; padding: 20px; }
  .mk-mart-ico { margin-bottom: 14px; }
  /* monthly vs. annual: cards instead of the table */
  .mk-ptable-wrap--bill { display: none; }
  .mk-bill-cards { display: grid; }
  /* the comparison table fits a phone without sideways scrolling (its frame still scrolls below ~360px) */
  .mk-ptable { font-size: 13.5px; }
  .mk-ptable th, .mk-ptable td { padding: 11px 8px; }
  .mk-ptable th:first-child, .mk-ptable td:first-child { padding-left: 12px; }
  .mk-ptable--cmp thead th:not(:first-child), .mk-ptable--cmp td { padding-inline: 4px; }
  .mk-ptable thead th { font-size: 10.5px; letter-spacing: .06em; }
  .mk-ptable td small { font-size: 12px; }
  .mk-ptable--cmp { min-width: 0; }
  .mk-ptable--cmp col.c-feat { width: 37%; }
  .mk-ptable--cmp thead th:not(:first-child) { font-size: 1rem; }
  .mk-ptable--cmp thead th small { font-size: 8.5px; letter-spacing: .02em; }
  .mk-ptable--cmp td { font-size: 13px; }
  .mk-pstrip-ctas { width: 100%; }
  .mk-pstrip-ctas .mk-btn { flex: 1 1 100%; }
}
/* narrow phones: a slimmer feature column, plan names a notch smaller and the "Recomendado" caption in the body font,
   so the three plan columns fit without scrolling; the closing card's buttons may wrap */
@media (max-width: 400px) {
  .mk-ptable--cmp col.c-feat { width: 34%; }
  .mk-ptable--cmp thead th:not(:first-child) { font-size: .875rem; }
  .mk-ptable--cmp thead th:not(:first-child) { padding-inline: 2px; }
  .mk-ptable--cmp thead th small { font-family: var(--mk-body); font-size: 9.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
  .mk-pcta .mk-btn { white-space: normal; padding-inline: 18px; text-align: center; }
}
@media (max-width: 359px) {
  .mk-ptable--cmp { min-width: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-tier, .mk-js .mk-tier, .mk-mart-item, .mk-js .mk-mart-item, .mk-mart-go, .mk-ptile-link svg.i { transition: none; }
  .mk-tier:hover .mk-btn svg.i, .mk-tier:hover .mk-ptile-link svg.i, .mk-mart-item:hover .mk-mart-go { transform: none; }
}
