/* Public marketing pages (/ and /pricing). Scoped under body.mk so the app,
   auth and legal pages keep style.css untouched. Direction: "contact sheet" --
   the product's own output (frames of real generated takes) is the page's
   texture; all type is General Sans except the still.frame wordmark. */

.mk {
  --ground: #131416;
  --ground-2: #1b1d1f;
  --ink: #eaecee;
  --ink-soft: #a3a9ae;
  --accent: #4ade80;
  --accent-ink: #08160d;
  --deep: #2f6b48;
  --panel: #eaecee;
  --panel-ink: #131416;
  --panel-soft: #4a4f54;

  --font: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mark: "Quicksand", -apple-system, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.1rem, 1.2rem + 3.6vw, 4.5rem);
  --step-display: clamp(3.5rem, 1rem + 9vw, 9.5rem);

  --margin: clamp(16px, 1.4vw, 24px);
  --gap: 12px;
  --section: clamp(96px, 11vw, 176px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;

  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
.mk :where(h1, h2, h3, p, figure, ul, ol, dl, dd, blockquote) { margin: 0; }
.mk :where(ul, ol) { padding: 0; list-style: none; }
.mk :where(img, video) { display: block; max-width: 100%; height: auto; }
.mk :where(a) { color: inherit; }
.mk :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mk :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mk ::selection { background: var(--accent); color: var(--accent-ink); }
.mk :where(h1, h2, h3) { font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }

.mk-mark { font-family: var(--font-mark); font-weight: 700; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.mk-mark span { color: var(--accent); }

.mk-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink);
  font-size: var(--step-body); font-weight: 600; text-decoration: none;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.mk-button:hover { background: #6ee7a0; }
.mk-button:active { transform: scale(0.97); }
.mk-button--ink { background: var(--panel-ink); color: var(--panel); }
.mk-button--ink:hover { background: #2a2d30; }

.mk-link {
  text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
.mk-link:hover { text-decoration-color: currentColor; }

.mk-section { padding-inline: var(--margin); margin-top: var(--section); }
.mk-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.mk-h2 { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.015em; }
.mk-soft { color: var(--ink-soft); }

/* ---------- bar (pricing page only; the home hero carries its own links) ---------- */
.mk-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--margin);
}
.mk-bar .mk-mark { font-size: 26px; }
.mk-bar nav { display: flex; align-items: center; gap: 28px; font-size: var(--step-body); }
.mk-bar nav a:not(.mk-button) { text-decoration: none; color: var(--ink); }
.mk-bar nav a:not(.mk-button):hover { color: var(--accent); }
.mk-bar .mk-button { min-height: 44px; padding: 0 20px; }

/* ---------- hero: the sheet with a text cell ---------- */
.mk-hero { position: relative; height: 100svh; min-height: 680px; overflow: clip; padding: 0 var(--margin); }
.mk-sheet { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); height: 100%; }
.mk-sheet__col { display: flex; flex-direction: column; gap: var(--gap); transform: translateY(var(--off, 0px)); }
.mk-frame { margin: 0; flex: none; background: var(--ground-2); }
.mk-frame img, .mk-frame video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }

.mk-cell {
  position: absolute; z-index: 2;
  top: 24svh;
  left: calc(var(--margin) + (100% - 2 * var(--margin) - 5 * var(--gap)) / 6 + var(--gap));
  width: calc((100% - 2 * var(--margin) - 5 * var(--gap)) / 6 * 4 + 3 * var(--gap));
  background: var(--panel); color: var(--panel-ink);
  outline: var(--gap) solid var(--ground);
  padding: 28px 32px 24px;
  display: flex; flex-direction: column;
}
.mk-cell .mk-mark { font-size: 28px; color: var(--panel-ink); }
.mk-cell .mk-mark span { color: #1f8f4b; }
.mk-cell h1 { margin-top: 28px; font-size: clamp(2.1rem, 0.6rem + 5.4vw, 6.5rem); line-height: 0.92; letter-spacing: -0.035em; }
.mk-cell__lead { margin-top: 24px; font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }
.mk-cell__act { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.mk-cell__act .mk-button { background: var(--panel-ink); color: var(--panel); }
.mk-cell__act .mk-button:hover { background: #2a2d30; }
.mk-cell__price { font-size: var(--step-body); color: var(--panel-soft); }
.mk-cell__links { margin-top: 28px; display: flex; gap: 28px; font-size: var(--step-body); }
.mk-cell__links a { text-decoration: none; color: var(--panel-ink); }
.mk-cell__links a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.mk-cell__note { color: #b42318; font-size: var(--step-body); margin-top: 16px; }

/* ---------- showcase: one take, frame by frame ---------- */
.mk-run-head { align-items: end; row-gap: 20px; }
.mk-run-title { grid-column: 1 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.mk-run-title h2 { font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.03em; max-width: 11ch; }
.mk-run-note { grid-column: span 4; font-size: var(--step-body); max-width: 34ch; }
.mk-run-note:nth-of-type(1) { grid-column: 6 / span 3; }
.mk-run-note:nth-of-type(2) { grid-column: 10 / span 3; }
.mk-run { margin-top: 40px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mk-run figure { margin: 0; }
.mk-run img, .mk-run video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.mk-run figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: var(--step-small); }
.mk-run figcaption b { font-weight: 600; }

/* ---------- live thing: write a hook ---------- */
.mk-try { margin-top: clamp(80px, 8vw, 128px); align-items: center; }
.mk-try__text { grid-column: 1 / span 6; }
.mk-try__text h2 { font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.03em; max-width: 11ch; }
.mk-try__text > p { margin-top: 20px; font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }
.mk-try__form { margin-top: 32px; display: grid; gap: 20px; }
.mk-try__form label { font-size: var(--step-small); color: var(--ink-soft); display: block; margin-bottom: 8px; }
.mk-try__input {
  width: 100%; min-height: 56px; padding: 14px 16px;
  background: var(--ground-2); color: var(--ink); border: 0;
  font: 500 var(--step-body)/1.3 var(--font);
}
.mk-try__input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.mk-try__fonts { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-try__fonts button {
  min-height: 44px; padding: 0 18px; background: var(--ground-2); color: var(--ink);
  font-size: var(--step-body);
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.mk-try__fonts button:hover { background: #26292c; }
.mk-try__fonts button:active { transform: scale(0.97); }
.mk-try__fonts button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.mk-try__stage { grid-column: 8 / span 5; display: flex; justify-content: flex-start; }
.mk-phone { position: relative; width: min(100%, 360px); aspect-ratio: 9 / 16; overflow: clip; background: #000; }
.mk-phone video, .mk-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-phone__hook {
  position: absolute; left: 7%; right: 7%; top: 13%; z-index: 1;
  font: 700 clamp(15px, 1.35vw, 21px)/1.22 "Poppins", var(--font); color: #fff; text-align: center;
  -webkit-text-stroke: 4px #000; paint-order: stroke fill;
  overflow-wrap: anywhere;
}
.mk-phone__cap {
  position: absolute; left: 6%; right: 6%; top: 50%; z-index: 1; transform: translateY(-50%);
  text-align: center; color: #fff; text-transform: uppercase;
  font: 400 clamp(34px, 3.6vw, 56px)/1 "Anton", var(--font);
  -webkit-text-stroke: 6px #000; paint-order: stroke fill;
}
.mk-phone__cap[data-font="poppins"] { font-family: "Poppins", var(--font); font-weight: 700; font-size: clamp(30px, 3vw, 46px); }
.mk-phone__cap[data-font="serif"] { font-family: "Abril Fatface", Georgia, serif; }
.mk-phone__cap[data-font="brat"] { font-family: Arial, sans-serif; text-transform: lowercase; -webkit-text-stroke: 0; }
.mk-phone__cap span { display: inline-block; }

/* ---------- capabilities: six, each with room ---------- */
.mk-caps__head { font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.03em; max-width: 14ch; }
.mk-caps__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gap); }
.mk-caps__grid li { max-width: 36ch; }
.mk-caps__grid h3 { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.015em; }
.mk-caps__grid p { margin-top: 12px; color: #c3c8cc; line-height: 1.5; }

/* ---------- how it works: all six steps on the grid ---------- */
/* Was a sideways-scrolling row cut at the screen edge, which read as
   clipped rather than scrollable. */
.mk-steps__head { font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.03em; }
.mk-steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gap); counter-reset: step; }
.mk-step { display: flex; flex-direction: column; counter-increment: step; }
.mk-step h3 { font-size: var(--step-body); letter-spacing: -0.005em; line-height: 1.25; }
.mk-step h3::before { content: counter(step) "  "; color: var(--accent); white-space: pre; }
.mk-step p { margin-top: 8px; font-size: var(--step-body); line-height: 1.45; color: var(--ink-soft); max-width: 36ch; min-height: 2.9em; }
/* min-height: 0 -- an aspect-ratio box otherwise grows to its content, so
   the tall 9:16 take in step 5 stretched its block past the others. */
.mk-step__pic { position: relative; margin-top: 20px; aspect-ratio: 5 / 4; min-height: 0; overflow: clip; background: var(--ground-2); }
.mk-step__pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* interface fragments inside the steps (the product's own UI, built in HTML) */
.mk-ui { height: 100%; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.35; color: #eaecee; background: #1c1f21; }
.mk-ui__label { font-size: 13px; color: #8b9196; }
.mk-ui__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #131416; border: 1px solid #2a2d30; border-radius: 8px; }
.mk-ui__wave { height: 36px; display: flex; align-items: center; gap: 2px; }
.mk-ui__wave i { flex: 1; background: #4ade80; border-radius: 1px; opacity: 0.8; }
.mk-ui__lines { display: grid; gap: 6px; padding: 12px; background: #131416; border: 1px solid #2a2d30; border-radius: 8px; flex: 1; }
.mk-ui__lines span { color: #c9cdd1; }
.mk-ui__words { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; padding: 12px; background: #131416; border: 1px solid #2a2d30; border-radius: 8px; flex: 1; align-content: start; }
.mk-ui__words b { font-weight: 500; color: #4ade80; font-variant-numeric: tabular-nums; }
.mk-ui__hooks { display: grid; gap: 8px; flex: 1; align-content: start; }
.mk-ui__hooks span { padding: 9px 11px; background: #131416; border: 1px solid #2a2d30; border-radius: 8px; }
.mk-ui__hooks span.on { border-color: #2f6b48; background: #16241c; }
.mk-ui__btn { align-self: flex-start; padding: 8px 14px; background: #4ade80; color: #08160d; border-radius: 8px; font-weight: 600; }

/* ---------- AI lyric videos ---------- */
/* Text reads top to bottom on the left, the picture sits on the right. */
.mk-ai { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.mk-ai__text { grid-column: 1 / span 5; }
.mk-ai__text h2 { font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.03em; max-width: 12ch; }
.mk-ai__statement { margin-top: 28px; font-size: var(--step-lead); line-height: 1.32; max-width: 30ch; }
.mk-ai__statement span { display: block; margin-top: 14px; font-size: var(--step-body); color: var(--ink-soft); }
.mk-ai__list { margin-top: 36px; display: grid; gap: 14px; font-size: var(--step-body); }
.mk-ai__list b { display: block; font-weight: 600; }
.mk-ai__list span { color: var(--ink-soft); }
.mk-ai__fig { grid-column: 6 / -1; margin: 0; overflow: clip; }
.mk-ai__fig img { width: 100%; }
.mk-ai__fig figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--ink-soft); }

/* ---------- pricing: plan names, one live figure ---------- */
.mk-plans { align-items: start; }
.mk-plans__names { grid-column: 1 / span 6; display: grid; justify-items: start; }
.mk-plans__names button {
  position: relative; padding-left: 0.55em;
  font-size: var(--step-head); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em;
  color: #71777c; text-align: left;
  transition: color var(--t-hover) ease;
}
.mk-plans__names button:hover { color: var(--ink-soft); }
.mk-plans__names button[aria-selected="true"] { color: var(--ink); }
.mk-plans__names button::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0.22em; height: 0.22em; margin-top: -0.11em;
  border-radius: 50%; background: var(--accent); opacity: 0; transform: scale(0.96); transition: opacity var(--t-hover) ease, transform var(--t-hover) var(--ease-out);
}
.mk-plans__names button[aria-selected="true"]::before { opacity: 1; transform: none; }
.mk-plans__names small { font-size: var(--step-small); font-weight: 500; letter-spacing: 0; color: var(--accent); vertical-align: super; margin-left: 0.4em; }
.mk-plans__stage { grid-column: 8 / span 5; position: relative; }
.mk-plan { display: none; }
.mk-plan.is-on { display: block; animation: mk-fade 220ms ease; }
@keyframes mk-fade { from { opacity: 0; } to { opacity: 1; } }
.mk-plan__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.mk-plan__price strong { font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.04em; font-weight: 700; }
.mk-plan__price > span { font-size: var(--step-body); color: var(--ink-soft); }
.mk-plan__billed { margin-top: 14px; font-size: var(--step-body); color: var(--ink-soft); }
.mk-plan__billed s { color: var(--ink-soft); }
.mk-plan ul { margin-top: 28px; display: grid; gap: 6px; font-size: var(--step-body); }
.mk-plan .mk-button { margin-top: 32px; }
.mk-plan .mk-button[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.mk-cycle { display: inline-flex; gap: 0; background: var(--ground-2); padding: 4px; }
.mk-cycle button { min-height: 44px; padding: 0 18px; font-size: var(--step-body); color: var(--ink-soft); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.mk-cycle button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
[data-cycle="annual"] .when-monthly, [data-cycle="monthly"] .when-annual { display: none; }

/* ---------- pricing page: title and questions ---------- */
.mk-ptitle { padding: 6vh var(--margin) 0; }
.mk-ptitle h1 { font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.045em; }
.mk-ptitle__row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.mk-ptitle__row p { font-size: var(--step-lead); line-height: 1.3; max-width: 36ch; }
.mk-alert { margin-top: 24px; padding: 16px 18px; background: #3a1d1d; color: #ffd9d6; font-size: var(--step-body); max-width: 60ch; }
.mk-strip3 { margin-top: var(--section); display: grid; grid-template-columns: repeat(3, 1fr); }
.mk-strip3 { overflow: clip; }
.mk-strip3 img, .mk-strip3 video { width: 100%; height: 40svh; min-height: 260px; object-fit: cover; }
.mk-faq__head { grid-column: 1 / span 4; }
.mk-faq__head h2 { font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.03em; }
.mk-faq__list { grid-column: 5 / span 8; display: grid; grid-template-columns: 1fr 1fr; gap: 40px var(--gap); }
.mk-faq__list h3 { font-size: var(--step-body); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.mk-faq__list p { margin-top: 8px; font-size: var(--step-body); line-height: 1.5; }
.mk-faq__list a { color: var(--accent); }

/* ---------- close: three pictures, then a field ---------- */
.mk-close { margin-top: var(--section); }
.mk-close__pics { display: grid; grid-template-columns: repeat(3, 1fr); }
.mk-close__pics img { width: 100%; height: 40svh; min-height: 240px; object-fit: cover; }
.mk-close__band { position: relative; background: var(--accent); color: var(--accent-ink); min-height: 44svh; padding: 56px var(--margin) 48px; }
.mk-close__band h2 { font-size: var(--step-head); line-height: 0.98; letter-spacing: -0.03em; max-width: 19ch; }
.mk-close__band h2 a { text-decoration: underline; text-decoration-thickness: 5px; text-underline-offset: 8px; }
.mk-close__cta { margin-top: 32px; }
.mk-close__band h2 a:hover { text-decoration-thickness: 8px; }
.mk-close__band p { margin-top: 28px; font-size: var(--step-body); max-width: 46ch; }
/* A fanned hand of three takes, absolutely placed so the band keeps its
   height (a single 140px frame here read as a stray thumbnail). */
.mk-close__fan { --w: 176px; position: absolute; right: calc(var(--margin) + var(--w) * 0.9); top: 50%; width: var(--w); aspect-ratio: 9 / 16; transform: translateY(-50%); }
.mk-close__fan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 3px solid #0d0e0f; box-shadow: 0 24px 50px rgba(8, 22, 13, 0.35); }
.mk-close__fan img:nth-child(1) { transform: translateX(-62%) rotate(-9deg) translateY(14px); }
.mk-close__fan img:nth-child(3) { transform: translateX(62%) rotate(9deg) translateY(14px); }
.mk-close__fan img:nth-child(2) { z-index: 1; }

/* ---------- footer: tiles ---------- */
.mk-foot { padding: 8px var(--margin) var(--margin); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.mk-foot > * { background: var(--ground-2); padding: 22px 24px; min-height: 150px; display: flex; flex-direction: column; }
.mk-foot__say { grid-column: 1 / span 4; grid-row: span 2; justify-content: space-between; }
.mk-foot__say p { font-size: var(--step-lead); line-height: 1.25; max-width: 22ch; }
.mk-foot__say small { font-size: var(--step-small); color: var(--ink-soft); }
.mk-foot__nav { grid-column: 5 / span 3; grid-row: span 2; }
.mk-foot__nav ul { display: grid; gap: 6px; font-size: var(--step-body); }
.mk-foot__nav a { text-decoration: none; }
.mk-foot__nav a:hover { color: var(--accent); }
/* The two small info tiles stack in one column at half height each -- side
   by side they stretched to the link list's height and sat mostly empty. */
.mk-foot__made { grid-column: 8 / span 5; gap: 6px; font-size: var(--step-body); min-height: 0; }
.mk-foot__made span { color: var(--ink-soft); font-size: var(--step-small); }
.mk-foot__made p { max-width: none; }
.mk-foot__mail { grid-column: 8 / span 5; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; min-height: 0; }
.mk-foot__mail span { flex-basis: 100%; }
.mk-foot__mail span { font-size: var(--step-small); color: var(--ink-soft); }
.mk-foot__mail a { font-size: var(--step-body); text-decoration: none; }
.mk-foot__mail a:hover { color: var(--accent); }
.mk-foot__mail .mk-link { font-size: var(--step-small); color: var(--ink-soft); text-decoration: underline; }
.mk-foot__word { grid-column: 1 / span 8; min-height: 140px; background: var(--panel); color: var(--panel-ink); align-items: flex-start; justify-content: center; }
.mk-foot__word .mk-mark { font-size: clamp(2.25rem, 1rem + 3.4vw, 4.25rem); color: var(--panel-ink); }
.mk-foot__word .mk-mark span { color: #1f8f4b; }
.mk-foot__go { grid-column: 9 / span 4; min-height: 140px; background: var(--accent); color: var(--accent-ink); text-decoration: none; justify-content: space-between; transition: background-color var(--t-hover) ease; }
.mk-foot__go:hover { background: #6ee7a0; }
.mk-foot__go { flex-direction: row; align-items: center; }
.mk-foot__go strong { font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.02em; }
.mk-foot__go svg { flex: none; width: 40px; height: 40px; transition: transform 240ms var(--ease-out); }
.mk-foot__go:hover svg { transform: translate(6px, -6px); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .mk-load { opacity: 0; transform: translateY(16px); animation: mk-rise 600ms var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
  .js .mk-sheet__col { animation: mk-col 1200ms var(--ease-expo) both; animation-delay: calc(var(--c, 0) * 70ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .mk-phone__cap span { animation: mk-pop 320ms var(--ease-out); }
  .mk-drift { animation: mk-drift 14s var(--ease-soft) infinite alternate; }
}
@keyframes mk-rise { to { opacity: 1; transform: none; } }
@keyframes mk-col { from { transform: translateY(calc(var(--off, 0px) + 60px)); opacity: 0; } to { transform: translateY(var(--off, 0px)); opacity: 1; } }
@keyframes mk-pop { from { transform: scale(0.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mk-drift { from { transform: scale(1); } to { transform: scale(1.06); } }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .mk-hero { height: auto; min-height: 0; overflow: visible; padding: var(--margin); display: flex; flex-direction: column; }
  .mk-cell { order: -1; position: static; width: auto; outline: 0; }
  .mk-sheet { margin-top: var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); height: auto; overflow: visible; }
  .mk-sheet__col { --off: 0px !important; }
  .mk-sheet__col:nth-child(n + 4), .mk-sheet__col .mk-frame:nth-child(n + 3) { display: none; }
  .mk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-run-title { grid-column: 1 / -1; }
  .mk-run-note:nth-of-type(1) { grid-column: 1 / span 6; }
  .mk-run-note:nth-of-type(2) { grid-column: 7 / span 6; }
  .mk-try__text { grid-column: 1 / span 6; }
  .mk-try__stage { grid-column: 7 / span 6; }
  .mk-caps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-try__stage { justify-content: center; }
  .mk-ai__text, .mk-ai__fig { grid-column: 1 / -1; }
  .mk-ai__fig { margin-top: 40px; }
  .mk-ai__list { grid-template-columns: 1fr 1fr 1fr; }
  .mk-plans__names { grid-column: 1 / span 5; }
  .mk-plans__stage { grid-column: 6 / span 7; }
  .mk-ai__statement { max-width: none; }
  .mk-faq__head, .mk-faq__list { grid-column: 1 / -1; }
  .mk-faq__list { margin-top: 40px; }
  .mk-foot__say, .mk-foot__nav { grid-row: auto; }
  .mk-foot__say { grid-column: 1 / span 6; }
  .mk-foot__nav { grid-column: 7 / span 6; }
  .mk-foot__made { grid-column: 1 / span 6; }
  .mk-foot__mail { grid-column: 7 / span 6; }
  .mk-foot__word { grid-column: 1 / -1; }
  .mk-foot__go { grid-column: 1 / -1; min-height: 110px; }
  .mk-close__fan { --w: 130px; }
}

/* ---------- phone: its own composition ---------- */
@media (max-width: 720px) {
  .mk-cell { padding: 24px 20px; }
  .mk-cell .mk-mark { font-size: 26px; }
  .mk-cell h1 { margin-top: 20px; }
  .mk-cell__lead { font-size: 17px; }
  .mk-cell__act .mk-button { width: 100%; }
  .mk-cell__links { gap: 22px; }
  .mk-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mk-sheet__col:nth-child(n + 3) { display: none; }
  .mk-run-note:nth-of-type(n) { grid-column: 1 / -1; max-width: none; }
  .mk-caps__grid li, .mk-try__text > p, .mk-cell__lead, .mk-ai__statement { max-width: none; }
  .mk-run { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .mk-run .mk-run__lifted { grid-column: 1 / -1; }
  .mk-try__text, .mk-try__stage { grid-column: 1 / -1; }
  .mk-try__stage { margin-top: 40px; }
  .mk-caps__grid { margin-top: 36px; grid-template-columns: 1fr; gap: 40px; }
  .mk-steps { grid-template-columns: 1fr; gap: 44px; }
  .mk-ai__list { grid-template-columns: 1fr; }
  .mk-plans__names, .mk-plans__stage { grid-column: 1 / -1; }
  .mk-plans__stage { margin-top: 32px; }
  .mk-plans__names button { font-size: var(--step-head); }
  .mk-plan__price strong { font-size: 4.5rem; }
  .mk-plan .mk-button { width: 100%; }
  .mk-faq__list { grid-template-columns: 1fr; gap: 28px; }
  .mk-strip3, .mk-close__pics { grid-template-columns: 1fr 1fr; }
  .mk-strip3 > :first-child, .mk-close__pics img:first-child { grid-column: 1 / -1; height: auto; aspect-ratio: 4 / 3; }
  .mk-strip3 > *, .mk-close__pics img { height: 34vw; min-height: 0; }
  .mk-close__band { padding: 40px var(--margin) 160px; }
  .mk-close__cta { width: calc(100% - 84px - var(--gap)); }
  .mk-close__fan { --w: 64px; top: auto; bottom: 26px; transform: none; }
  .mk-bar nav { gap: 18px; }
  .mk-bar nav .hide-sm { display: none; }
  /* minmax(0, 1fr): with plain 1fr the unbreakable support address pushed
     the footer 18px past the screen and the whole page sat off-centre. */
  .mk-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .mk-foot__mail a { overflow-wrap: anywhere; }
  .mk-foot > * { padding: 20px; min-height: 0; }
  .mk-foot__word { grid-column: 1 / -1; order: -2; min-height: 96px; }
  .mk-foot__go { grid-column: 1 / -1; order: -1; min-height: 88px; }
  .mk-foot__nav, .mk-foot__mail { grid-column: span 1; }
  .mk-foot__made, .mk-foot__say { grid-column: span 1; }
}
