/* Boardways public website — the executive design system (2026-11-27).
   Scoped to body.mk (marketing pages), so sign-in and other pages that share base.html keep their own look.
   Palette: deep navy and warm ivory, a muted brass accent used sparingly. Type: Source Serif 4 for headlines,
   Inter for text — both self-hosted (static/fonts, SIL OFL), so a visitor's browser never contacts a font CDN. */

@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap;
             src: url("/static/fonts/SourceSerif4-Latin.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap;
             src: url("/static/fonts/SourceSerif4-Italic-Latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
             src: url("/static/fonts/Inter-Latin.woff2") format("woff2"); }

body.mk {
  --mk-ink: #0d1a2b;          /* headlines, the darkest navy */
  --mk-navy: #12233a;         /* dark bands */
  --mk-navy-2: #1a3150;
  --mk-text: #3a4556;         /* body text */
  --mk-muted: #6b7584;
  --mk-ivory: #f6f2ea;        /* warm section background */
  --mk-paper: #fbfaf7;        /* page */
  --mk-line: #e3dccf;
  --mk-line-dark: rgba(255, 255, 255, .12);
  --mk-brass: #a8834a;        /* accent: rules, eyebrows, numerals */
  --mk-brass-soft: #d9c39a;
  --mk-action: #0d1a2b;       /* primary button */
  --mk-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mk-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mk-radius: 6px;
  --mk-shadow: 0 1px 2px rgba(13, 26, 43, .06), 0 18px 48px -18px rgba(13, 26, 43, .28);
  background: var(--mk-paper);
  color: var(--mk-text);
  font-family: var(--mk-sans);
  font-size: 17px;
  line-height: 1.6;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}
body.mk a { color: inherit; }
body.mk h1, body.mk h2, body.mk h3, body.mk h4 { color: var(--mk-ink); font-family: var(--mk-serif); font-weight: 600; letter-spacing: -.01em; }
body.mk ::selection { background: var(--mk-brass-soft); color: var(--mk-ink); }

.mk-wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }
.mk-narrow { width: min(820px, 100% - 48px); margin: 0 auto; }
.mk-section { padding: 112px 0; }
.mk-section--tight { padding: 80px 0; }
.mk-ivory { background: var(--mk-ivory); }
.mk-dark { background: var(--mk-navy); color: #c9d1dd; }
body.mk .mk-dark h1, body.mk .mk-dark h2, body.mk .mk-dark h3, body.mk .mk-dark h4 { color: #fff; }

/* eyebrow: small caps with a brass rule */
.mk-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .74rem/1 var(--mk-sans); letter-spacing: .18em;
              text-transform: uppercase; color: var(--mk-brass); margin: 0 0 22px; }
.mk-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.mk-dark .mk-eyebrow { color: var(--mk-brass-soft); }
.mk-h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); line-height: 1.06; margin: 0 0 26px; font-weight: 600; }
.mk-h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.12; margin: 0 0 20px; }
.mk-h3 { font-size: 1.45rem; line-height: 1.25; margin: 0 0 10px; }
.mk-lede { font-size: 1.2rem; line-height: 1.6; color: var(--mk-text); max-width: 640px; margin: 0; }
.mk-dark .mk-lede { color: #b9c3d1; }
.mk-head { max-width: 760px; margin-bottom: 64px; }
.mk-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.mk-head--center .mk-eyebrow { justify-content: center; }
.mk-head--center .mk-lede { margin: 0 auto; }
.mk-italic { font-style: italic; font-weight: 400; color: var(--mk-brass); }
.mk-dark .mk-italic { color: var(--mk-brass-soft); }

/* buttons */
.mk-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: var(--mk-radius); font: 600 .95rem/1 var(--mk-sans);
          letter-spacing: .01em; text-decoration: none !important; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.mk-btn i { font-size: .85em; transition: transform .2s; }
.mk-btn:hover i { transform: translateX(3px); }
.mk-btn--primary { background: var(--mk-action); color: #fff !important; }
.mk-btn--primary:hover { background: var(--mk-navy-2); }
.mk-btn--gold { background: var(--mk-brass); color: #fff !important; }
.mk-btn--gold:hover { background: #95733e; }
.mk-btn--line { border-color: var(--mk-ink); color: var(--mk-ink) !important; background: transparent; }
.mk-btn--line:hover { background: var(--mk-ink); color: #fff !important; }
.mk-dark .mk-btn--line, .mk-btn--line-light { border-color: rgba(255, 255, 255, .45); color: #fff !important; background: transparent; }
.mk-dark .mk-btn--line:hover, .mk-btn--line-light:hover { background: #fff; color: var(--mk-ink) !important; }
.mk-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.mk-link { font-weight: 600; color: var(--mk-ink) !important; border-bottom: 1px solid var(--mk-brass); padding-bottom: 2px; text-decoration: none !important; }
.mk-link:hover { color: var(--mk-brass) !important; }
.mk-dark .mk-link { color: #fff !important; }

/* ---------- hero ---------- */
.mk-hero { position: relative; background: var(--mk-navy); color: #c9d1dd; overflow: hidden; padding: 168px 0 0; }
.mk-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1100px 520px at 78% 8%, rgba(168, 131, 74, .20), transparent 60%),
              radial-gradient(900px 600px at 0% 100%, rgba(40, 80, 130, .45), transparent 60%); }
.mk-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: linear-gradient(180deg, #000 0%, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); }
.mk-hero > * { position: relative; z-index: 2; }
.mk-hero::before, .mk-hero::after { z-index: 1; }
/* the background film: quiet, slightly desaturated, under the gradients and the grid */
.mk-hero > .mk-hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .2; filter: saturate(.55) contrast(1.05); pointer-events: none; }
.mk-hero > .mk-hero-pause { position: absolute; z-index: 3; right: 20px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(13, 26, 43, .55); color: #c9d1dd; cursor: pointer; font-size: .8rem;
  display: grid; place-items: center; transition: background .2s, color .2s; }
.mk-hero > .mk-hero-pause:hover, .mk-hero > .mk-hero-pause:focus-visible { background: rgba(13, 26, 43, .85); color: #fff; }
.mk-hero > .mk-hero-pause[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .mk-hero > .mk-hero-video { opacity: .14; } }
body.mk .mk-hero h1 { color: #fff; }
.mk-hero .mk-lede { color: #b9c3d1; font-size: 1.24rem; max-width: 600px; }
.mk-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mk-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-size: .9rem; color: #9fb0c4; }
.mk-hero-meta li { display: flex; gap: 9px; align-items: center; }
.mk-hero-meta i { color: var(--mk-brass-soft); }
.mk-hero-shot { position: relative; margin-right: -120px; }
.mk-hero-base { margin-top: 96px; border-top: 1px solid var(--mk-line-dark); }
.mk-hero-base ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.mk-hero-base li { padding: 28px 24px 30px 0; border-right: 1px solid var(--mk-line-dark); margin-right: 24px; }
.mk-hero-base li:last-child { border-right: 0; }
body.mk .mk-hero-base strong { display: block; font: 600 1.05rem/1.3 var(--mk-serif); color: #fff; margin-bottom: 4px; }
.mk-hero-base span { font-size: .88rem; color: #9fb0c4; }

/* a product screenshot in a quiet browser frame */
.mk-frame { border-radius: 10px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 40px 90px -30px rgba(0, 0, 0, .55);
            overflow: hidden; border: 1px solid rgba(13, 26, 43, .12); }
.mk-frame-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: #f1ede5; border-bottom: 1px solid #e4ddd0; }
.mk-frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d4cbbb; }
.mk-frame-bar em { margin-left: 14px; font: 500 .72rem/1 var(--mk-sans); color: #8d8676; font-style: normal; letter-spacing: .02em; }
.mk-frame img { display: block; width: 100%; height: auto; }
.mk-frame--float { transform: perspective(1800px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }

/* ---------- audience strip ---------- */
.mk-roles { border-bottom: 1px solid var(--mk-line); background: var(--mk-paper); }
.mk-roles ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; margin: 0; padding: 34px 0; list-style: none; }
.mk-roles li { display: flex; gap: 11px; align-items: center; font: 500 .95rem/1.2 var(--mk-sans); color: var(--mk-ink); }
.mk-roles i { color: var(--mk-brass); font-size: 1.05rem; }
.mk-roles-label { font: 600 .72rem/1 var(--mk-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mk-muted); }

/* ---------- the meeting cycle ---------- */
.mk-cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--mk-line); }
.mk-cycle-step { padding: 36px 32px 8px 0; border-right: 1px solid var(--mk-line); margin-right: 32px; }
.mk-cycle-step:last-child { border-right: 0; margin-right: 0; }
.mk-num { font: 400 2.6rem/1 var(--mk-serif); color: var(--mk-brass); margin-bottom: 22px; font-variant-numeric: oldstyle-nums; }
.mk-cycle-step h3 { font-size: 1.35rem; margin: 0 0 10px; }
.mk-cycle-step p { margin: 0 0 16px; font-size: .98rem; }
.mk-cycle-step ul { list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--mk-muted); }
.mk-cycle-step li { padding: 6px 0; border-top: 1px dashed var(--mk-line); }

/* ---------- feature rows (copy + screenshot) ---------- */
.mk-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; padding: 72px 0; }
.mk-feature + .mk-feature { border-top: 1px solid var(--mk-line); }
.mk-feature--flip > :first-child { order: 2; }
.mk-feature h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.18; margin: 0 0 16px; }
.mk-feature p { margin: 0 0 18px; }
.mk-checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.mk-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .97rem; }
.mk-checks i { color: var(--mk-brass); margin-top: 5px; }
.mk-dark .mk-checks li { color: #c9d1dd; }

/* ---------- distinctions (what we do differently) ---------- */
.mk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--mk-line); border: 1px solid var(--mk-line); }
.mk-card { background: var(--mk-paper); padding: 40px 34px 38px; }
.mk-ivory .mk-card { background: #fffdf9; }
body.mk .mk-card .mk-ico { font-size: 26px !important; line-height: 1; color: var(--mk-brass); margin-bottom: 22px; display: block; }
.mk-card h3 { font-size: 1.28rem; margin: 0 0 10px; }
.mk-card p { margin: 0; font-size: .97rem; }
.mk-dark .mk-cards { background: var(--mk-line-dark); border-color: var(--mk-line-dark); }
.mk-dark .mk-card { background: var(--mk-navy); }
.mk-dark .mk-card p { color: #aab6c6; }

/* ---------- quote ---------- */
.mk-quote { text-align: center; }
.mk-quote blockquote { margin: 0 auto; max-width: 900px; font: 400 clamp(1.6rem, 3vw, 2.35rem)/1.35 var(--mk-serif); color: var(--mk-ink); font-style: italic; }
.mk-quote blockquote::before { content: "“"; display: block; font: 400 5rem/0.6 var(--mk-serif); color: var(--mk-brass); margin-bottom: 28px; font-style: normal; }
.mk-quote cite { display: block; margin-top: 26px; font: 600 .76rem/1 var(--mk-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mk-muted); font-style: normal; }

/* ---------- security ---------- */
.mk-sec-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
.mk-sec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--mk-line-dark); }
.mk-sec-item { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--mk-line-dark); }
.mk-sec-item:nth-child(odd) { border-right: 1px solid var(--mk-line-dark); }
.mk-sec-item:nth-child(even) { padding-left: 26px; }
body.mk .mk-sec-item h4 { margin: 0 0 6px; font: 600 1.02rem/1.3 var(--mk-sans); color: #fff; display: flex; gap: 10px; align-items: center; }
.mk-sec-item h4 i { color: var(--mk-brass-soft); }
.mk-sec-item p { margin: 0; font-size: .92rem; color: #aab6c6; }

/* ---------- roles ---------- */
.mk-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.mk-role { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 34px; background: #fff; border: 1px solid var(--mk-line); border-radius: var(--mk-radius);
           transition: border-color .2s, box-shadow .2s; }
.mk-role:hover { border-color: var(--mk-brass-soft); box-shadow: var(--mk-shadow); }
.mk-role-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--mk-ivory); color: var(--mk-brass); font-size: 1.3rem; }
.mk-role h3 { margin: 0 0 6px; font-size: 1.3rem; }
.mk-role p { margin: 0 0 12px; font-size: .97rem; }
.mk-role ul { margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--mk-muted); }
.mk-role li { padding: 3px 0 3px 18px; position: relative; }
.mk-role li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 1px; background: var(--mk-brass); }

/* ---------- AI ---------- */
.mk-ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.mk-principles { display: grid; gap: 0; border-top: 1px solid var(--mk-line); }
.mk-principle { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--mk-line); }
.mk-principle .mk-num { font-size: 1.6rem; margin: 0; }
body.mk .mk-principle h4 { margin: 0 0 4px; font: 600 1.05rem/1.3 var(--mk-sans); color: var(--mk-ink); }
.mk-principle p { margin: 0; font-size: .95rem; }

/* ---------- FAQ ---------- */
.mk-faq { border-top: 1px solid var(--mk-line); }
.mk-faq details { border-bottom: 1px solid var(--mk-line); }
body.mk .mk-faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative; font: 600 1.18rem/1.35 var(--mk-serif); color: var(--mk-ink); }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 300 1.8rem/1 var(--mk-sans); color: var(--mk-brass); transition: transform .2s; }
.mk-faq details[open] summary::after { transform: rotate(45deg); }
.mk-faq details p { margin: -6px 0 26px; max-width: 720px; }
.mk-faq a { color: var(--mk-ink); border-bottom: 1px solid var(--mk-brass); }

/* ---------- closing CTA ---------- */
.mk-cta { background: var(--mk-navy); color: #c9d1dd; text-align: center; position: relative; overflow: hidden; }
.mk-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 50% 0%, rgba(168, 131, 74, .22), transparent 70%); }
.mk-cta > * { position: relative; }
body.mk .mk-cta h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); margin: 0 auto 18px; max-width: 820px; line-height: 1.12; }
.mk-cta p:not(.mk-eyebrow) { margin: 0 auto; max-width: 600px; color: #b9c3d1; font-size: 1.12rem; }
.mk-cta .mk-eyebrow { justify-content: center; }
.mk-cta .mk-actions { justify-content: center; }

/* ---------- inner page hero ---------- */
.mk-page-hero { background: var(--mk-navy); color: #c9d1dd; padding: 168px 0 96px; position: relative; overflow: hidden; }
.mk-page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 85% 0%, rgba(168, 131, 74, .18), transparent 65%); }
.mk-page-hero > * { position: relative; }
body.mk .mk-page-hero h2, body.mk .mk-page-hero h3 { color: #fff; }
body.mk .mk-page-hero .mk-form h2, body.mk .mk-page-hero .mk-form h3 { color: var(--mk-ink); }
body.mk .mk-page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.08; margin: 0 0 22px; max-width: 900px; }
.mk-page-hero .mk-lede { color: #b9c3d1; }
.mk-subnav { position: sticky; top: 72px; z-index: 20; background: rgba(251, 250, 247, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mk-line); }
.mk-subnav ul { display: flex; gap: 6px 30px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.mk-subnav a { display: block; padding: 18px 0 16px; font: 500 .9rem/1 var(--mk-sans); color: var(--mk-muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.mk-subnav a:hover { color: var(--mk-ink); border-bottom-color: var(--mk-brass); }

/* ---------- module blocks (platform page) ---------- */
.mk-module { padding: 96px 0; border-bottom: 1px solid var(--mk-line); scroll-margin-top: 130px; }
.mk-module:nth-of-type(even) { background: var(--mk-ivory); }
.mk-module-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.mk-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; margin-top: 40px; }
body.mk .mk-spec h4 { margin: 0 0 4px; font: 600 1rem/1.35 var(--mk-sans); color: var(--mk-ink); }
.mk-spec p { margin: 0; font-size: .93rem; }

/* ---------- facts / numbers that are true ---------- */
.mk-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); }
.mk-fact { padding: 36px 28px 34px 0; }
.mk-fact + .mk-fact { padding-left: 28px; border-left: 1px solid var(--mk-line); }
.mk-fact strong { display: block; font: 500 2.4rem/1 var(--mk-serif); color: var(--mk-ink); margin-bottom: 12px; }
.mk-fact span { font-size: .92rem; color: var(--mk-muted); }

/* ---------- forms (demo / contact) ---------- */
body.mk .mk-form { color: var(--mk-text); background: #fff; border: 1px solid var(--mk-line); border-radius: 8px; padding: 40px; box-shadow: var(--mk-shadow); }
body.mk .mk-form label { font: 600 .82rem/1.3 var(--mk-sans); color: var(--mk-ink); letter-spacing: .01em; }
body.mk .mk-form input, body.mk .mk-form select, body.mk .mk-form textarea { border-radius: 4px; border-color: #d8d1c3; font-family: var(--mk-sans); background: #fff; }
body.mk .mk-form input:focus, body.mk .mk-form select:focus, body.mk .mk-form textarea:focus { border-color: var(--mk-brass); box-shadow: 0 0 0 3px rgba(168, 131, 74, .18); outline: none; }
body.mk .mk-form .btn-primary, body.mk .mk-form button[type=submit] { background: var(--mk-action); border-color: var(--mk-action); border-radius: var(--mk-radius); padding: 14px 24px; font-weight: 600; }
.mk-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.mk-aside-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.mk-aside-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.mk-aside-list i { color: var(--mk-brass); font-size: 1.2rem; margin-top: 4px; }
.mk-aside-list strong { display: block; color: var(--mk-ink); font-weight: 600; }

/* ---------- nav and footer, in the marketing tone ---------- */
body.mk .vn { font-family: var(--mk-sans); }
body.mk .vn-btn--primary { background: var(--mk-brass) !important; border-color: var(--mk-brass) !important; color: #fff !important; border-radius: var(--mk-radius) !important; }
body.mk .vn-btn--primary:hover { background: #95733e !important; }
body.mk .footer { margin-top: 0; background: #0a1524; color: #8f9cb0; padding: 80px 0 36px; font-family: var(--mk-sans); }
body.mk .footer h4 { color: #fff; font: 600 .74rem/1 var(--mk-sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
body.mk .footer a { color: #b6c1d0; }
body.mk .footer a:hover { color: #fff; }
body.mk .footer .fine { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 26px; color: #6f7d92; }

/* ---------- reveal on scroll (only when the visitor hasn't asked for less motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .mk-js .mk-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
  .mk-js .mk-reveal.mk-in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .mk-hero-shot { margin-right: 0; }
  .mk-frame--float { transform: none; }
}
@media (max-width: 960px) {
  body.mk { font-size: 16px; }
  .mk-section { padding: 80px 0; }
  .mk-hero { padding-top: 128px; }
  .mk-hero-grid, .mk-feature, .mk-sec-grid, .mk-ai, .mk-module-grid, .mk-split { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .mk-feature--flip > :first-child { order: 0; }
  .mk-cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-cycle-step:nth-child(2) { border-right: 0; margin-right: 0; }
  .mk-cards { grid-template-columns: minmax(0, 1fr); }
  .mk-role-grid { grid-template-columns: minmax(0, 1fr); }
  .mk-hero-base ul, .mk-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-hero-base li:nth-child(2) { border-right: 0; }
  .mk-fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .mk-page-hero { padding: 128px 0 72px; }
  .mk-subnav { top: 64px; }
}
@media (max-width: 640px) {
  .mk-wrap, .mk-narrow { width: calc(100% - 32px); }
  .mk-cycle, .mk-hero-base ul, .mk-facts, .mk-sec-list, .mk-spec { grid-template-columns: minmax(0, 1fr); }
  .mk-cycle-step { border-right: 0; margin-right: 0; }
  .mk-hero-base li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--mk-line-dark); }
  .mk-fact + .mk-fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--mk-line); }
  .mk-sec-item:nth-child(odd) { border-right: 0; }
  .mk-sec-item:nth-child(even) { padding-left: 0; }
  .mk-role { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  body.mk .mk-form { padding: 24px; }
  .mk-actions .mk-btn { width: 100%; justify-content: center; }
}

/* The top navigation and the footer sit in the same box as the page content, so the logo lines up with the left edge
   of every section (owner, 2026-11-27). */
body.mk .vn > .container, body.mk .footer > .container { max-width: none; width: min(1200px, 100% - 48px); padding: 0; }
@media (max-width: 640px) { body.mk .vn > .container, body.mk .footer > .container { width: calc(100% - 32px); } }

/* The cookie banner in the website's tone. */
body.mk .cookie-consent { font-family: var(--mk-sans); border-radius: 8px; }
body.mk .cookie-consent h2 { font-family: var(--mk-serif); color: var(--mk-ink); }
body.mk .cookie-consent .btn-primary { background: var(--mk-action); border-color: var(--mk-action); border-radius: var(--mk-radius); }
body.mk .cookie-consent .btn-outline { border-color: var(--mk-ink); color: var(--mk-ink); border-radius: var(--mk-radius); }
