/* ───────────────────────────────────────────────────────────────────
   Marketing components (v6 design, 2026-11-01). Shared by every public
   marketing page; page-only rules live in a page sheet (home.css, ...).
   Loaded after site.css. Every class is `mk-` so nothing collides with
   site.css's older component layer. Reference: styles/MARKETING-COMPONENTS.md.
   Motion budget: no perpetual animation, no scroll reveal. The only
   motion is hover (cards lift); off under prefers-reduced-motion.
   ─────────────────────────────────────────────────────────────────── */

/* Fallbacks keep the nav and footer right on a page without site.css (404.html). */
:root {
  --mk-ink: var(--sn-ink-dark, #0A2540);
  --mk-soft: var(--sn-ink-soft, #425466);
  /* Muted is a step darker than site.css's #697386, which fell to 4.38:1 on
     the --mk-art panels; #5F6B7E holds 4.5:1+ on every kit surface. */
  --mk-muted: #5F6B7E;
  --mk-line: var(--sn-line, #E3E8EE);
  --mk-wash: var(--sn-paper-deep, #F6F9FC);
  --mk-link: var(--sn-link, #0E7490);
  --mk-mint: var(--sn-spectrum-mint, #5EEAD4);
  --mk-navy: var(--sn-spectrum-navy, #0A2540);
  --mk-art: #F1F6F8;
  --mk-deep: #0A6076;
  --mk-mid: #2C8DA5;
  --mk-softbar: #8FCAD8;
  --mk-none: #A9BCC6;
  --mk-grad: linear-gradient(118deg, #0A2540 0%, #0B3A66 28%, #0369A1 55%, #0891B2 78%, #06B6D4 100%);
  --mk-grad-mirror: linear-gradient(298deg, #0A2540 0%, #0B3A66 28%, #0369A1 55%, #0891B2 78%, #06B6D4 100%);
  --mk-r: 14px;
  --mk-mono: var(--sn-font-mono, 'JetBrains Mono', ui-monospace, monospace);
  --mk-shadow: 0 0 0 1px rgba(10,37,64,.06), 0 2px 4px rgba(10,37,64,.06), 0 40px 80px -40px rgba(10,37,64,.45);
  --mk-card: 0 0 0 1px rgba(10,37,64,.06), 0 1px 2px rgba(10,37,64,.04), 0 8px 24px -12px rgba(10,37,64,.10);
}

/* Pages with the mk- nav: sticky offsets that read --sn-header-h (site.css,
   64px for the old header) follow the new bar's height. */
:root:has(.mk-navwrap) { --sn-header-h: 76px; }
/* Every in-page anchor lands below the sticky bar. Zero specificity, so a
   page sheet's own scroll-margin-top (faq, security, methods...) still wins. */
:where(:root:has(.mk-navwrap)) :where([id]) { scroll-margin-top: calc(var(--sn-header-h, 76px) + 16px); }
@media (max-width: 980px) { :root:has(.mk-navwrap) { --sn-header-h: 64px; } }
@media print { .mk-annc, .mk-navwrap, .mk-ft { display: none !important; } }

/* ─── Rhythm, type, buttons ─────────────────────────────────────── */
.mk-wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.mk-section { padding: 120px 0; }
.mk-hl { color: var(--mk-link); }
.mk-eyebrow { font-size: 13px; font-weight: 600; color: var(--mk-link); letter-spacing: .06em; text-transform: uppercase; }
.mk-h2 { font-family: var(--sn-font-display, 'Inter', system-ui, sans-serif); font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; letter-spacing: -0.028em; font-weight: 700; margin: 14px 0 0; max-width: 22ch; text-wrap: balance; color: var(--mk-ink); }
.mk-sub { font-size: 18px; line-height: 1.5; color: var(--mk-soft); max-width: 56ch; margin: 16px 0 0; }
.mk-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--mk-ink); color: #fff; border-radius: 8px; padding: 16px 24px; font-size: 16px; font-weight: 600; }
.mk-link { color: var(--mk-ink); font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--mk-line); padding-bottom: 2px; }
.mk-actions { display: flex; align-items: center; gap: 22px; margin: 32px 0 0; }
.mk-mono { font: 500 11.5px/1.6 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mk-muted); }

/* ─── Strands texture: one static path set (an inline <svg> sprite with
   id mk-strands, see MARKETING-COMPONENTS.md), recoloured per use through
   inherited custom properties. ─────────────────────────────────── */
.mk-strands { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.mk-strands svg { width: 100%; height: 100%; display: block; }
.mk-strands-hero { --mk-o1: .14; --mk-o2: .3; }
.mk-strands-faint { --mk-c1: #0A2540; --mk-c2: #06B6D4; --mk-o1: .08; --mk-o2: .16; }
.mk-strands-flip { transform: scaleX(-1);
  -webkit-mask-image: radial-gradient(ellipse 42% 50% at 50% 45%, transparent 55%, #000 100%); mask-image: radial-gradient(ellipse 42% 50% at 50% 45%, transparent 55%, #000 100%); }
.mk-strands.mk-strands-right { -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 50%, #000 72%); mask-image: linear-gradient(90deg, transparent 0%, transparent 50%, #000 72%); }

/* Zero-specificity link reset for the chrome, for pages without site.css. */
:where(.mk-annc, .mk-navwrap, .mk-ft) a { color: inherit; text-decoration: none; }

/* ─── Nav: one line of news in the gradient over a quiet white bar ─── */
.mk-annc { display: block; background: linear-gradient(90deg, #0A2540 0%, #0B3A66 55%, #0369A1 100%); color: #fff; text-align: center; font-size: 14px; line-height: normal; }
.mk-annc a { display: block; padding: 11px 20px; color: #fff; }
.mk-annc .mk-tag { font: 500 11.5px/1 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.16); border-radius: 999px; padding: 5px 8px; margin-right: 10px; }
.mk-annc a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 6px; }
.mk-annc u { text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.5); margin-left: 6px; white-space: nowrap; }
.mk-navwrap { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); line-height: normal; }
.mk-nav { max-width: 1240px; margin: 0 auto; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 40px; }
.mk-brand { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 18px; letter-spacing: -.01em; color: var(--mk-ink); }
.mk-brand img { width: 30px; height: 30px; border-radius: 7px; display: block; }
.mk-nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; font-size: 15px; color: var(--mk-ink); font-weight: 500; }
.mk-nav ul a { display: block; padding: 8px 12px; border-radius: 8px; transition: background .15s, color .15s; }
.mk-nav ul a:hover { background: rgba(10,37,64,.05); color: var(--mk-ink); }
.mk-nav ul a[aria-current="page"] { background: rgba(10,37,64,.05); color: var(--mk-ink); }
.mk-nav-r { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 14.5px; color: var(--mk-soft); }
.mk-si { padding: 8px 12px; border-radius: 8px; }
.mk-si:hover { color: var(--mk-ink); }
.mk-cta { background: var(--mk-ink); color: #fff; border-radius: 10px; padding: 10px 16px; font-weight: 600; }
.mk-mnu { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.mk-mnu i { display: block; width: 18px; height: 1.6px; background: var(--mk-ink); border-radius: 2px; transition: transform .2s ease; }
/* Open: the two bars cross into an X (aria-expanded is set by scripts/marketing-nav.js). */
.mk-mnu[aria-expanded="true"] i:first-child { transform: translateY(3.3px) rotate(45deg); }
.mk-mnu[aria-expanded="true"] i:last-child { transform: translateY(-3.3px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .mk-mnu i { transition: none; } }
.mk-menu { display: none; }

/* ─── Gradient stage (the hero frame) ───────────────────────────── */
.mk-stage { position: relative; border-radius: 14px; overflow: hidden; background: var(--mk-grad); }
.mk-stage::after { content: ''; position: absolute; right: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(94,234,212,.28) 0%, rgba(94,234,212,0) 70%); pointer-events: none; }

/* ─── Light panel (product framing) and white card ──────────────── */
.mk-panel { position: relative; margin-top: 48px; border-radius: 14px; overflow: hidden; background: var(--mk-art); box-shadow: inset 0 0 0 1px rgba(10,37,64,.06); padding: 56px 64px; }
.mk-panel::after { content: ''; position: absolute; left: -10%; bottom: -40%; width: 60%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(6,182,212,.10) 0%, rgba(6,182,212,0) 70%); pointer-events: none; }
.mk-card { background: #fff; border-radius: 14px; padding: 28px 28px 26px; box-shadow: var(--mk-card); }
.mk-card h3 { margin: 0 0 8px; font-size: 21px; line-height: normal; font-weight: 650; letter-spacing: -.016em; text-wrap: balance; }
.mk-card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--mk-soft); }

/* ─── Study band (full-bleed gradient, scrim on the left) ───────── */
.mk-band { background: var(--mk-grad); color: #fff; position: relative; overflow: hidden; }
.mk-band::after { content: ''; position: absolute; right: -12%; top: -20%; width: 55%; height: 130%; background: radial-gradient(50% 50% at 50% 50%, rgba(34,211,238,.30) 0%, rgba(34,211,238,0) 70%); pointer-events: none; }
.mk-band .mk-wrap { position: relative; z-index: 1; }
.mk-band-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.mk-band .mk-eyebrow { color: var(--mk-mint); }
.mk-band .mk-h2 { color: #fff; }
.mk-band .mk-sub { color: rgba(255,255,255,.84); }
.mk-band .mk-btn { background: #fff; color: var(--mk-ink); }
.mk-band .mk-link { color: #fff; border-bottom-color: rgba(255,255,255,.4); }
.mk-band::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10,37,64,.72) 0%, rgba(10,37,64,.45) 38%, rgba(10,37,64,0) 60%); }
.mk-proof { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.mk-proof li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: rgba(255,255,255,.94); }
.mk-proof svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(94,234,212,.16); color: var(--mk-mint); flex: none; box-sizing: border-box; }
.mk-proof a:hover, .mk-proof a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.mk-lessons { display: grid; gap: 16px; }
.mk-lesson { background: rgba(10,37,64,.5); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 24px 26px; }
.mk-lesson b { display: block; text-wrap: balance; font-size: 19px; font-weight: 650; letter-spacing: -.012em; margin-bottom: 6px; color: #fff; }
.mk-lesson p { margin: 0; font-size: 16.5px; color: rgba(255,255,255,.84); line-height: 1.55; }
.mk-lesson .mk-n { font-family: var(--mk-mono); font-weight: 500; color: var(--mk-mint); }

/* ─── Question cards with numberless drawings ───────────────────── */
.mk-qcards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-top: 48px; }
.mk-qc { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--mk-card); transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.mk-qc:hover { transform: translateY(-3px); }
.mk-art svg rect { transition: transform .6s cubic-bezier(.22,.61,.36,1); transform-box: fill-box; transform-origin: 50% 100%; }
.mk-qc:hover .mk-art svg rect { transform: scaleY(1.04); }
.mk-art { background: var(--mk-art); padding: 20px 18px 10px; height: 156px; display: flex; align-items: flex-end; position: relative; }
.mk-art svg { display: block; width: 100%; height: 126px; overflow: visible; }
.mk-art .mk-base { stroke: #C3D4DC; stroke-width: 1; }
.mk-art .mk-ci { stroke: #0A2540; stroke-opacity: .55; stroke-width: 1.25; stroke-linecap: round; }
.mk-own { position: absolute; top: 12px; right: 14px; font: 500 11.5px/1 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mk-deep); background: #fff; border-radius: 999px; padding: 6px 9px; box-shadow: 0 0 0 1px rgba(10,37,64,.06); }
.mk-qc-bd { padding: 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.mk-lab { font: 500 11.5px/1.3 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mk-link); }
.mk-qc h3 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.014em; line-height: 1.3; text-wrap: pretty; }
.mk-qc p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--mk-soft); flex: 1; }
.mk-pr { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--mk-line); font-size: 13.5px; color: var(--mk-ink); }
.mk-pr b { font-family: var(--mk-mono); font-weight: 500; }
.mk-qnote { margin: 22px 0 0; font-size: 14.5px; color: var(--mk-soft); max-width: 90ch; }
.mk-qnote b { color: var(--mk-ink); font-weight: 600; }
.mk-qnote a { color: var(--mk-link); text-decoration: underline; text-underline-offset: 2px; }

/* ─── Check list (light surfaces) ───────────────────────────────── */
.mk-checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; font-size: 16px; }
.mk-checks li { display: flex; align-items: center; gap: 12px; }
.mk-checks li::before { content: '\2713'; width: 26px; height: 26px; border-radius: 50%; background: #E6FAFD; color: #0891B2; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ─── Framed screenshot with a caption, and the price card ──────── */
.mk-shot { margin: 0; background: #fff; border-radius: var(--mk-r); overflow: hidden; box-shadow: var(--mk-shadow); }
.mk-shot img { display: block; width: 100%; height: auto; }
.mk-shot figcaption { border-bottom: 1px solid var(--mk-line); padding: 10px 14px; font: 500 11.5px/1.4 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mk-muted); background: #fff; }
.mk-pcard { background: #fff; border-radius: var(--mk-r); box-shadow: var(--mk-shadow); padding: 22px 24px 18px; }
.mk-pcard-eb { font: 500 11.5px/1 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mk-muted); display: flex; justify-content: space-between; margin-bottom: 6px; }
.mk-pl { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--mk-line); font-size: 15px; color: var(--mk-soft); }
.mk-pl b { font-family: var(--mk-mono); font-weight: 500; color: var(--mk-ink); }
.mk-pl.mk-tot { border-bottom: 0; padding-top: 14px; font-weight: 600; color: var(--mk-ink); }
.mk-pl.mk-tot b { font-size: 22px; }
.mk-pn { margin-top: 8px; font-size: 12.5px; color: var(--mk-muted); }

/* ─── Close band: the gradient mirrored, with icon steps ────────── */
.mk-close { text-align: center; padding: 40px 0 96px; }
.mk-cband { position: relative; max-width: 1160px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: var(--mk-grad-mirror); color: #fff; text-align: center; padding: 100px 40px 56px; }
.mk-cband::after { content: ''; position: absolute; left: -10%; top: -40%; width: 60%; height: 140%; background: radial-gradient(50% 50% at 50% 50%, rgba(94,234,212,.28) 0%, rgba(94,234,212,0) 70%); pointer-events: none; }
.mk-cin { position: relative; z-index: 1; }
/* A close band without the icon steps ends on its buttons: match the top padding. */
@media (min-width: 981px) { .mk-cband:not(:has(.mk-csteps)) { padding-bottom: 96px; } }
/* Contrast scrim (2026-11-01 review): a navy wash behind the centred copy so
   white text stays at 4.5:1 or better where it crosses the cyan end. */
.mk-cband::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 64% 72% at 50% 55%, rgba(10,37,64,.62) 0%, rgba(10,37,64,.55) 62%, rgba(10,37,64,0) 100%); }
.mk-cband .mk-h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -0.032em; max-width: 17ch; margin: 0 auto; }
.mk-cband p { margin: 18px auto 0; max-width: 52ch; font-size: 19px; color: #fff; }
.mk-cband .mk-actions { justify-content: center; }
.mk-wbtn { background: #fff; color: var(--mk-ink); }
.mk-wlink { color: #fff; border-bottom-color: rgba(255,255,255,.45); }
.mk-csteps { list-style: none; margin: 72px auto 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.18); display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; font-size: 15px; color: #fff; max-width: 1040px; }
.mk-csteps li { display: flex; align-items: center; gap: 10px; }
.mk-csteps i { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: var(--mk-mint); }
.mk-csteps i svg { width: 18px; height: 18px; }

/* ─── Footer: brand + three columns, legal row ───────────────────── */
.mk-ft { border-top: 1px solid var(--mk-line); background: var(--mk-wash); padding: 64px 0 28px; font-size: 14px; color: var(--mk-soft); line-height: normal; }
.mk-ftop { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.mk-fbrand .mk-brand img { width: 28px; height: 28px; }
.mk-fbrand p { margin: 14px 0 18px; max-width: 34ch; line-height: 1.55; font-size: 14px; color: var(--mk-soft); }
.mk-fbrand .mk-cta { display: inline-flex; font-size: 14px; }
.mk-fcol { display: flex; flex-direction: column; gap: 10px; }
.mk-fcol h4 { margin: 4px 0 6px; font: 600 12px/1.2 var(--sn-font-body, 'Inter', system-ui, sans-serif); letter-spacing: 0; color: var(--mk-muted); }
.mk-fcol a:hover, .mk-fbot a:hover, .mk-fcol a:focus-visible, .mk-fbot a:focus-visible { color: var(--mk-ink); }
.mk-fbot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--mk-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; color: var(--mk-muted); }
.mk-fbot > span:last-child { display: flex; gap: 18px; }

/* ─── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .mk-qc, .mk-art svg rect, .mk-nav ul a { transition: none; }
  .mk-qc:hover, .mk-qc:hover .mk-art svg rect { transform: none; }
}

/* ─── Tablet: question cards two-up ─────────────────────────────── */
@media (min-width: 981px) and (max-width: 1180px) {
  .mk-qcards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mk-csteps { gap: 14px 28px; }
}

/* ─── Phone and narrow tablet ───────────────────────────────────── */
@media (max-width: 480px) {
  .mk-annc .mk-tag { display: none; }
}
/* Smallest phones (360-380px): brand, the primary button and the menu
   button keep a clear gap instead of touching. */
@media (max-width: 380px) {
  .mk-nav { padding: 0 10px 0 14px; }
  .mk-brand { gap: 8px; font-size: 17px; }
  .mk-brand img { width: 28px; height: 28px; }
  .mk-nav-r { gap: 2px; }
  .mk-nav-r .mk-cta { padding: 8px 11px; font-size: 13.5px; }
}

@media (max-width: 980px) {
  .mk-wrap { padding: 0 22px; }
  .mk-section { padding: 72px 0; }
  .mk-annc { font-size: 13px; }
  .mk-nav { grid-template-columns: 1fr auto; padding: 0 16px; height: 64px; }
  .mk-nav ul, .mk-nav-r .mk-si { display: none; }
  .mk-mnu { display: flex; }
  .mk-cta { padding: 9px 13px; font-size: 14px; }
  .mk-menu { border-top: 1px solid var(--mk-line); padding: 8px 16px 14px; }
  .mk-navwrap.is-open { background: #fff; box-shadow: 0 1px 0 var(--mk-line), 0 24px 40px -24px rgba(10,37,64,.28); }
  .mk-navwrap.is-open .mk-menu { display: block; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; }
  .mk-menu a { display: block; padding: 12px 6px; font-size: 16px; font-weight: 500; color: var(--mk-ink); border-bottom: 1px solid var(--mk-line); }
  .mk-menu a:last-child { border-bottom: 0; color: var(--mk-soft); }
  .mk-menu a[aria-current="page"] { color: var(--mk-link); }


  .mk-panel { padding: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; margin-top: 36px; }
  .mk-panel::after, .mk-panel .mk-strands { display: none; }
  .mk-card { padding: 22px 20px; }

  .mk-band-split { grid-template-columns: 1fr; gap: 36px; }
  .mk-qcards { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .mk-ftop { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .mk-fbrand { grid-column: 1 / -1; }
  .mk-close { padding: 24px 0 64px; }
  .mk-cband { margin: 0 14px; padding: 64px 22px; border-radius: 14px; }
  .mk-cband::before { background: radial-gradient(ellipse 90% 70% at 50% 45%, rgba(10,37,64,.66) 0%, rgba(10,37,64,.56) 70%, rgba(10,37,64,.3) 100%); }
  .mk-csteps { flex-direction: column; gap: 12px; align-items: flex-start; text-align: left; margin-top: 48px; }

  /* Tap targets of 32px or more on phones, with no visual change: text links
     get an invisible hit area; footer links get block padding. */
  .mk-link { position: relative; }
  .mk-link::before { content: ''; position: absolute; left: -6px; right: -6px; top: -9px; bottom: -9px; }
  .mk-fcol { gap: 0; }
  .mk-fcol a { display: flex; align-items: center; min-height: 32px; padding: 5px 0; line-height: 1.35; }
  .mk-fbot > span:last-child a { display: inline-flex; align-items: center; min-height: 32px; }
}

/* Phones (600px and under): actions stack full width, cards and footer go narrower.
   Tablets keep the buttons side by side and two-up cards. */
@media (max-width: 600px) {
  .mk-actions { flex-direction: column; gap: 14px; align-items: stretch; text-align: center; }
  .mk-actions .mk-btn { justify-content: center; }
  .mk-actions .mk-link { align-self: center; }
  .mk-qcards { grid-template-columns: 1fr; }
  .mk-ftop { grid-template-columns: 1fr 1fr; }
}

/* A page-specific note under the footer's legal row (e.g. an unlisted page). */
.mk-fnote { margin: 12px 0 0; font-size: 13px; color: var(--mk-muted); }
.mk-fnote a { text-decoration: underline; text-underline-offset: 2px; }

/* nav fit with five links (2026-11-01): keep the right-hand actions on one line, tighten links on mid widths */
.mk-nav-r a { white-space: nowrap; }
@media (max-width: 1140px) and (min-width: 981px) {
  .mk-nav ul { gap: 0; }
  .mk-nav ul a { padding-left: 8px; padding-right: 8px; font-size: 14px; }
  .mk-nav-r { gap: 4px; }
}

/* ─── Product films (2026-11-01) ──────────────────────────────────
   .mk-film: a framed screen recording (scripts/marketing-films.js plays it).
   .mk-ftabs: a tab set of films; light by default, white-on-glass inside a
   .mk-stage gradient. .mk-fpane: one tab's pane. */
.mk-film { margin: 0; }
.mk-film video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 918; background: #F6F9FC; }
.mk-film { position: relative; }
/* Films arrive instead of popping in (2026-11-01): the frame fades in once its
   poster has loaded, and film tab panes cross-fade (marketing-films.js). */
.mk-film { transition: opacity .45s ease; }
.mk-film.is-pending { opacity: 0; }
[data-film-tabs] [role="tabpanel"] { transition: opacity .26s ease; }
[data-film-tabs] [role="tabpanel"].is-fading { opacity: 0; transition-duration: .17s; }
@media (prefers-reduced-motion: reduce) { .mk-film, [data-film-tabs] [role="tabpanel"] { transition: none; } .mk-film.is-pending { opacity: 1; } }
@media (max-width: 600px) {
  .mk-film video { cursor: zoom-in; }
  .mk-film::after { content: 'Tap to expand'; position: absolute; right: 10px; top: 10px; padding: 5px 9px; border-radius: 999px; background: rgba(10,37,64,.78); color: #fff; font: 500 11.5px/1 var(--mk-mono); letter-spacing: .04em; pointer-events: none; }
}
.mk-ftabs { position: relative; z-index: 1; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 auto 24px; }
.mk-ftabs [role=tab] { appearance: none; border: 0; cursor: pointer; text-align: left; padding: 10px 18px; border-radius: 10px; background: #fff; box-shadow: var(--mk-card); color: var(--mk-ink); font: inherit; transition: transform .2s ease; }
.mk-ftabs [role=tab] b { display: block; font-size: 15px; font-weight: 600; }
.mk-ftabs [role=tab] span { display: block; font: 500 11.5px/1.4 var(--mk-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mk-muted); }
.mk-ftabs [role=tab]:hover { transform: translateY(-2px); }
.mk-ftabs [role=tab][aria-selected=true] { background: var(--mk-ink); color: #fff; box-shadow: none; }
.mk-ftabs [role=tab][aria-selected=true] span { color: var(--mk-mint); }
.mk-ftabs [role=tab]:focus-visible { outline: 2px solid var(--mk-link); outline-offset: 2px; }
.mk-stage .mk-ftabs [role=tab] { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.mk-stage .mk-ftabs [role=tab] span { color: rgba(255,255,255,.72); }
.mk-stage .mk-ftabs [role=tab][aria-selected=true] { background: #fff; color: var(--mk-ink); }
.mk-stage .mk-ftabs [role=tab][aria-selected=true] span { color: var(--mk-link); }
.mk-stage .mk-ftabs [role=tab]:focus-visible { outline-color: #fff; }
.mk-fpane { position: relative; z-index: 1; }
.mk-fpane[hidden] { display: none; }
@media (max-width: 600px) {
  .mk-ftabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
  .mk-ftabs [role=tab] { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-ftabs [role=tab] { transition: none; }
  .mk-ftabs [role=tab]:hover { transform: none; }
}

/* Film stages between phone and wide desktop keep a side gutter, so the
   rounded panel never runs into the screen edge (2026-11-01 review). */
@media (min-width: 981px) and (max-width: 1220px) {
  .hm-stage, .hw-stage, .mt-stage { margin-left: 24px !important; margin-right: 24px !important; }
}

/* ─── Phones: clamped copy with "More" (scripts/marketing-nav.js) ─── */
@media (max-width: 600px) {
  .mk-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--mk-lines, 2); line-clamp: var(--mk-lines, 2); overflow: hidden; margin-bottom: 0 !important; }
  .mk-more { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 2px; padding: 4px 0; border: 0; background: none; font: 600 14px/1.4 var(--sn-font-body, 'Inter', sans-serif); color: var(--mk-link); cursor: pointer; position: relative; z-index: 3; }
  .mk-more::after { content: '\203A'; font-size: 16px; transform: rotate(90deg); }
  .mk-more:focus-visible { outline: 2px solid var(--mk-link); outline-offset: 2px; border-radius: 4px; }
  .mk-band .mk-more, .mk-stage .mk-more, .hw-rep-stage .mk-more { color: #A5F3FC; }
  [class$="-hero"] .mk-more, [class*="-hero "] .mk-more { margin-left: auto; margin-right: auto; display: flex; }
}

/* Phones and tablets (2026-11-01, founder): in every section with a film,
   the film comes first, then the buttons or caption that go with it.
   Desktop order is untouched. */
@media (max-width: 980px) {
  [data-film-tabs] { display: flex !important; flex-direction: column; }
  [data-film-tabs] > [role="tablist"] { order: 2; margin: 14px 0 0 !important; }
  [data-film-tabs] > :not([role="tablist"]) { order: 1; }
}

/* ─── Phone pass two (2026-11-01, founder) ─────────────────────────
   1 the news strip shortens; 2 card rows swipe sideways; 3 the footer
   columns fold; 6 headings a touch smaller. Desktop untouched. */
.mk-annc-s { display: none; }
@media (max-width: 600px) {
  .mk-annc-l { display: none; }
  .mk-annc-s { display: inline; }
  .mk-annc a { white-space: nowrap; }
  .mk-h2 { font-size: 1.7rem; line-height: 1.12; }
  main [class$="-hero"] h1, main [class*="-hero "] h1 { font-size: 2.05rem !important; line-height: 1.08; }
  .mk-swipe { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px !important; margin-left: -22px !important; margin-right: -22px !important; padding: 4px 22px 8px !important; scrollbar-width: none; grid-template-columns: none !important; }
  .mk-swipe::-webkit-scrollbar { display: none; }
  .mk-swipe > * { flex: 0 0 84%; scroll-snap-align: center; min-width: 0; }
  .mk-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .mk-dots i { width: 7px; height: 7px; border-radius: 999px; background: #C7D3DB; transition: width .2s ease, background .2s ease; }
  .mk-dots i.on { width: 20px; background: var(--mk-deep); }
  .mk-band .mk-dots i { background: rgba(255,255,255,.35); } .mk-band .mk-dots i.on { background: #fff; }
  .mk-fcol h4 { margin: 0; }
  .mk-fcol .mk-fold { appearance: none; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border: 0; border-bottom: 1px solid var(--mk-line); background: none; font: 600 15px/1.2 var(--sn-font-body, 'Inter', sans-serif); color: var(--mk-ink); cursor: pointer; }
  .mk-fcol .mk-fold::after { content: '+'; font-size: 18px; color: var(--mk-muted); }
  .mk-fcol.is-open .mk-fold::after { content: '\2212'; }
  .mk-fcol.mk-folded > a { display: none; }
  .mk-fcol.mk-folded.is-open > a { display: block; padding: 11px 0; font-size: 15px; }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) { .mk-dots i { transition: none; } }
@media (max-width: 600px) {
  .mk-ftop { grid-template-columns: 1fr !important; gap: 0 !important; }
  .mk-ftop .mk-fbrand { margin-bottom: 18px; }
}
