/*
 * Marketing site styles (app/pages/marketing-content.js). Loaded only on public
 * marketing pages. Built on tokens.css; works in light and dark themes.
 *
 * Visual language: the clock. Section eyebrows read like timestamps
 * ("09:00 MON"), the hero is a rhythm dial of concentric cadences, and deep
 * violet bands bookend the page. Numbers use tabular figures.
 */

.mk {
  --mk-ink: var(--fg);
  --mk-muted: var(--fg-muted);
  --mk-line: var(--border);
  --mk-card: var(--bg-elevated);
  --mk-tint: var(--surface-tint);
  --mk-deep: #2e1065;
  --mk-deep-2: #4c1d95;
  --mk-on-deep: #ffffff;
  --mk-on-deep-muted: #ddd6fe;
  --mk-accent: var(--primary-text, var(--primary));
  --mk-radius: 16px;
  --mk-gutter: clamp(16px, 4vw, 32px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--mk-ink);
  font-size: 1rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.mk main { flex: 1; outline: none; }
.mk h1, .mk h2, .mk h3 { letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 0.5em; font-weight: 650; }
.mk h1 { font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.25rem); letter-spacing: -0.035em; }
.mk h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); }
.mk h3, .mk .mk-h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
.mk p { margin: 0 0 1em; }
.mk a { color: var(--mk-accent); }
.mk a:focus-visible, .mk summary:focus-visible, .mk input:focus-visible + span, .mk [tabindex]:focus-visible {
  outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 6px;
}
.mk cite { font-style: italic; }

.mk-wrap { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 var(--mk-gutter); }
.mk-narrow { max-width: 48rem; }
.mk-center { text-align: center; }
.mk-sub, .mk-lede { color: var(--mk-muted); max-width: 44rem; }
.mk-lede { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); }
.mk-center .mk-sub, .mk-center .mk-lede { margin-left: auto; margin-right: auto; }
.mk-fine { font-size: 0.8125rem; color: var(--mk-muted); margin-top: 1.25rem; }
.mk-more { margin-top: 1.75rem; }

/* Eyebrow: a timestamp chip + label. */
.mk-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; font-size: 0.8125rem; font-weight: 600; color: var(--mk-muted); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.mk-eyebrow__time { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; padding: 0.2rem 0.55rem; border-radius: 999px; border: 1px solid var(--mk-line); background: var(--mk-card); color: var(--mk-accent); }
.mk-center .mk-eyebrow { justify-content: center; }

/* ── Header ─────────────────────────────────────────────── */
.mk-header { position: sticky; top: 0; z-index: var(--z-sticky); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--mk-line); }
.mk-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.mk-brand { display: inline-flex; align-items: center; color: var(--mk-ink) !important; text-decoration: none; min-height: 44px; }
.mk-wordmark { display: inline-flex; align-items: center; font-weight: 650; font-size: 1.2rem; letter-spacing: -0.03em; line-height: 1; }
.mk-wordmark .mk-clock { width: 0.86em; height: 0.86em; margin: 0 0.03em; color: var(--mk-accent); }
.mk-nav { margin-right: auto; }
.mk-nav ul, .mk-menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.mk-nav a, .mk-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem; border-radius: 8px; color: var(--mk-muted); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.mk-nav a:hover, .mk-signin:hover { color: var(--mk-ink); background: var(--hover); }
.mk-nav a[aria-current="page"] { color: var(--mk-ink); box-shadow: inset 0 -2px 0 var(--primary); border-radius: 0; }
.mk-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.mk-menu { display: none; position: relative; }
.mk-menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; color: var(--mk-ink); border: 1px solid var(--mk-line); }
.mk-menu > summary::-webkit-details-marker { display: none; }
.mk-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); background: var(--mk-card); border: 1px solid var(--mk-line); border-radius: 14px; box-shadow: var(--shadow-xl); padding: 0.5rem; min-width: 220px; }
.mk-menu__panel ul { flex-direction: column; }
.mk-menu__panel a { display: flex; align-items: center; min-height: 44px; padding: 0 0.85rem; border-radius: 8px; color: var(--mk-ink); text-decoration: none; }
.mk-menu__panel a:hover { background: var(--hover); }
@media (max-width: 960px) {
  .mk-nav, .mk-signin { display: none; }
  .mk-menu { display: block; }
  .mk-header__actions { margin-left: auto; }
}
@media (max-width: 380px) { .mk-header__actions .mk-btn { padding: 0 0.8rem; font-size: 0.875rem; } .mk-header__inner { gap: 0.5rem; } }

/* ── Buttons (real links, 44px targets) ─────────────────── */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0 1.35rem; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none !important; border: 1px solid transparent; transition: background var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast); white-space: nowrap; }
.mk-btn[data-size="sm"] { min-height: 44px; padding: 0 1rem; font-size: 0.9375rem; }
.mk-btn--primary { background: var(--primary); color: #fff !important; box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 6px 18px -8px rgba(124,58,237,0.7); }
.mk-btn--primary:hover { background: var(--accent-700); }
.mk-btn--secondary { background: var(--mk-card); color: var(--mk-ink) !important; border-color: var(--border-strong); }
.mk-btn--secondary:hover { background: var(--hover); }
.mk-btn--light { background: #fff; color: var(--mk-deep) !important; }
.mk-btn--light:hover { background: #ede9fe; }
.mk-btn--outline-light { color: #fff !important; border-color: rgba(255,255,255,0.55); }
.mk-btn--outline-light:hover { background: rgba(255,255,255,0.1); }
.mk-band--deep .mk-btn:focus-visible { outline-color: #fff; }
.mk-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.mk-actions--center { justify-content: center; }
.mk-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.mk-link:hover { text-decoration: underline; }

/* ── Hero ───────────────────────────────────────────────── */
.mk-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--mk-line);
  background:
    radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
    radial-gradient(40rem 24rem at -10% 110%, color-mix(in srgb, var(--accent-400) 12%, transparent), transparent 70%);
}
.mk-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.mk-accent { color: var(--mk-accent); white-space: nowrap; }
.mk-demo-note { margin: 0.75rem 0 0; color: var(--mk-muted); font-size: 0.875rem; }
.mk-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding: 0; margin: 1.5rem 0 0; color: var(--mk-muted); font-size: 0.875rem; }
.mk-trust li::before { content: "—"; margin-right: 0.45rem; color: var(--mk-accent); }
.mk-hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.mk-dial { margin: 0 0 5rem auto; width: min(76%, 390px); justify-self: end; }
.mk-dial svg { width: 100%; height: auto; display: block; }
.mk-dial__ring { fill: none; stroke: var(--mk-line); stroke-width: 1; }
.mk-dial__tick { stroke-linecap: round; stroke-width: 2; }
.mk-dial__tick--0 { stroke: var(--accent-300); stroke-width: 3; }
.mk-dial__tick--1 { stroke: var(--accent-400); stroke-width: 3; }
.mk-dial__tick--2 { stroke: var(--accent-500); }
.mk-dial__tick--3 { stroke: var(--primary); stroke-width: 1.5; }
.mk-dial__face { fill: var(--primary); }
.mk-dial__minute, .mk-dial__hour { stroke: #fff; stroke-linecap: round; }
.mk-dial__minute { stroke-width: 3; }
.mk-dial__hour { stroke-width: 4; }
.mk-dial__pin { fill: #fff; }
.mk-dial__hands { transform-origin: 140px 140px; animation: mk-tick 12s steps(12) infinite; }
@keyframes mk-tick { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mk-dial__hands { animation: none; } }
.mk-dial__cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mk-board { position: absolute; left: 0; bottom: -0.5rem; width: min(80%, 345px); background: var(--mk-card); border: 1px solid var(--mk-line); border-radius: var(--mk-radius); box-shadow: 0 24px 48px -24px rgba(46,16,101,0.45), var(--shadow-md); padding: 1rem 1.1rem 0.6rem; font-size: 0.875rem; }
.mk-board__head { display: flex; justify-content: space-between; font-weight: 650; margin-bottom: 0.5rem; }
.mk-board__week { font-family: var(--font-mono); font-size: 0.75rem; color: var(--mk-muted); font-weight: 500; }
.mk-board__table { width: 100%; border-collapse: collapse; }
.mk-board__table th, .mk-board__table td { text-align: left; padding: 0.45rem 0.25rem; border-top: 1px solid var(--mk-line); font-weight: 400; }
.mk-board__table thead th { border-top: 0; font-size: 0.75rem; color: var(--mk-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.mk-board__table tbody th { font-weight: 500; }
@media (max-width: 880px) {
  .mk-hero__grid { grid-template-columns: 1fr; }
  .mk-hero__visual { min-height: 0; display: flex; flex-direction: column; gap: 1rem; }
  .mk-dial { width: min(70%, 300px); margin: 0 auto; justify-self: center; }
  .mk-board { position: static; width: 100%; max-width: 420px; }
}

/* ── KPI status chips: shape + word + colour ────────────── */
.mk-status { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; border: 1px solid currentColor; }
.mk-status--super { color: var(--rag-super-text, #0f766e); background: var(--rag-super-100); }
.mk-status--green { color: var(--rag-green-text, #047857); background: var(--rag-green-100); }
.mk-status--amber { color: var(--rag-amber-text, #b45309); background: var(--rag-amber-100); }
.mk-status--red { color: var(--rag-red-text, #b91c1c); background: var(--rag-red-100); }
.mk-statuses { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.mk-statuses li { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--mk-card); border: 1px solid var(--mk-line); border-radius: 12px; }
.mk-statuses .mk-status { font-size: 0.875rem; justify-self: start; }
.mk-statuses__def { color: var(--mk-muted); }
@media (max-width: 480px) { .mk-statuses li { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ── Sections ───────────────────────────────────────────── */
.mk-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.mk-section--tint { background: var(--mk-tint); border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); }
.mk-section--flush { padding-top: 0; }
.mk-section[id] { scroll-margin-top: 80px; }
.mk-section:focus { outline: none; }
.mk-pagehead { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); background: radial-gradient(50rem 22rem at 90% -20%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 70%); }
.mk-pagehead h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); max-width: 52rem; }
.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .mk-split { grid-template-columns: 1fr; } }

/* Deep violet band (same in both themes). */
.mk-band--deep { background: radial-gradient(48rem 24rem at 100% 0%, var(--mk-deep-2), transparent 70%), var(--mk-deep); color: var(--mk-on-deep); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.mk-band--deep h2 { color: #fff; }
.mk-band--deep p { color: var(--mk-on-deep-muted); }
.mk-band--deep a:not(.mk-btn) { color: #fff; }
.mk-band--deep .mk-eyebrow { color: var(--mk-on-deep-muted); }
.mk-band--deep .mk-eyebrow__time { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); color: #fff; }
.mk-band--deep .mk-clock { color: #c4b5fd; margin-bottom: 1rem; }
.mk-band--deep .mk-center p { margin-left: auto; margin-right: auto; max-width: 36rem; }

/* ── Rhythm strip ───────────────────────────────────────── */
.mk-rhythm { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--mk-line); border-radius: var(--mk-radius); overflow: hidden; background: var(--mk-card); }
.mk-rhythm__step { padding: 1.5rem 1.25rem; border-left: 1px solid var(--mk-line); position: relative; }
.mk-rhythm__step:first-child { border-left: 0; }
.mk-rhythm__step::before { content: ""; position: absolute; left: 1.25rem; right: 1.25rem; top: 0; height: 3px; background: var(--primary); border-radius: 0 0 3px 3px; opacity: calc(0.35 + var(--i, 0) * 0.16); }
.mk-rhythm__step:nth-child(1) { --i: 4; } .mk-rhythm__step:nth-child(2) { --i: 3; } .mk-rhythm__step:nth-child(3) { --i: 2; } .mk-rhythm__step:nth-child(4) { --i: 1; } .mk-rhythm__step:nth-child(5) { --i: 0; }
.mk-rhythm__cad { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.8125rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mk-accent); margin-bottom: 0.5rem; }
.mk-rhythm__len { font-family: var(--font-mono); text-transform: none; letter-spacing: 0; color: var(--mk-muted); font-weight: 500; }
.mk-rhythm__step p:last-child { color: var(--mk-muted); font-size: 0.9375rem; margin: 0; }
@media (max-width: 960px) { .mk-rhythm { grid-template-columns: 1fr; } .mk-rhythm__step { border-left: 0; border-top: 1px solid var(--mk-line); } .mk-rhythm__step:first-child { border-top: 0; } }

/* ── Cards & grids ──────────────────────────────────────── */
.mk-card { background: var(--mk-card); border: 1px solid var(--mk-line); border-radius: var(--mk-radius); padding: 1.5rem; }
.mk-card--accent { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.mk-grid { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
.mk-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }
.mk-grid--plain { margin-top: 1.5rem; }
.mk-feature { position: relative; transition: border-color var(--duration-fast), transform var(--duration-fast); }
.mk-feature:hover { border-color: var(--accent-400); }
.mk-feature h3 a, .mk-feature h2 a { color: var(--mk-ink); text-decoration: none; }
.mk-feature h3 a::after, .mk-feature h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--mk-radius); }
.mk-feature h3 a:focus-visible, .mk-feature h2 a:focus-visible { outline: none; }
.mk-feature h3 a:focus-visible::after, .mk-feature h2 a:focus-visible::after { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.mk-feature p { color: var(--mk-muted); margin: 0; font-size: 0.9375rem; }
.mk-feature__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface-active); color: var(--mk-accent); margin-bottom: 1rem; }
.mk-feature__icon--lg { width: 52px; height: 52px; border-radius: 14px; }
.mk-feature-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (max-width: 880px) { .mk-feature-row { grid-template-columns: 1fr; } }

.mk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.mk-list li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.6rem; align-items: start; }
.mk-tick { color: var(--rag-green-text, #047857); font-weight: 700; }
.mk-list--light .mk-tick { color: #a7f3d0; }
.mk-list--light li { color: #fff; }
.mk-list--plain { list-style: disc; padding-left: 1.25rem; }
.mk-list--plain li { display: list-item; }

/* Table of contents on /features */
.mk-toc ul { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mk-toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.9rem; border: 1px solid var(--mk-line); border-radius: 999px; text-decoration: none; color: var(--mk-ink); font-size: 0.875rem; background: var(--mk-card); }
.mk-toc a:hover { border-color: var(--accent-400); }

/* ── Pricing ────────────────────────────────────────────── */
.mk-pricing-controls { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.mk-seg { min-width: 0; max-width: 100%; display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border-strong); border-radius: 12px; padding: 4px; margin: 0; background: var(--mk-card); }
.mk-seg__opt { position: relative; }
.mk-seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mk-seg__opt > span { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 1rem; border-radius: 8px; font-weight: 600; font-size: 0.9375rem; color: var(--mk-muted); }
.mk-seg__opt > input:checked + span { background: var(--primary); color: #fff; }
.mk-seg__save { font-size: 0.75rem; font-weight: 500; color: inherit; }
.mk-plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.mk-plan { display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
.mk-plan > .mk-btn { margin-top: auto; }
.mk-plan .mk-list { margin: 0.75rem 0 1.5rem; font-size: 0.9375rem; }
.mk-plan--featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset, 0 24px 48px -28px rgba(124,58,237,0.6); }
.mk-plan__flag { position: absolute; top: -0.8rem; left: 1.5rem; margin: 0; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 650; padding: 0.2rem 0.65rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.mk-plan h3 { margin: 0; font-size: 1.35rem; }
.mk-plan__blurb { color: var(--mk-muted); font-size: 0.9375rem; margin: 0; }
.mk-price { display: none; margin: 0.5rem 0 0; }
[data-pricing][data-currency="GBP"][data-cycle="annual"] .mk-price[data-currency="GBP"][data-cycle="annual"],
[data-pricing][data-currency="GBP"][data-cycle="monthly"] .mk-price[data-currency="GBP"][data-cycle="monthly"],
[data-pricing][data-currency="AUD"][data-cycle="annual"] .mk-price[data-currency="AUD"][data-cycle="annual"],
[data-pricing][data-currency="AUD"][data-cycle="monthly"] .mk-price[data-currency="AUD"][data-cycle="monthly"],
[data-pricing][data-currency="USD"][data-cycle="annual"] .mk-price[data-currency="USD"][data-cycle="annual"],
[data-pricing][data-currency="USD"][data-cycle="monthly"] .mk-price[data-currency="USD"][data-cycle="monthly"],
.mk-price.mk-price--quote { display: block; }
.mk-price__amount { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.mk-price__unit { color: var(--mk-muted); font-size: 0.875rem; margin-left: 0.35rem; }
.mk-price__note { display: block; color: var(--mk-muted); font-size: 0.8125rem; margin-top: 0.35rem; }

.mk-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--mk-line); border-radius: var(--mk-radius); background: var(--mk-card); margin-top: 1rem; }
.mk-table { width: 100%; border-collapse: collapse; min-width: 36rem; font-size: 0.9375rem; }
.mk-table caption { text-align: left; padding: 1rem 1.25rem 0.25rem; font-weight: 650; color: var(--mk-ink); }
.mk-table th, .mk-table td { text-align: left; padding: 0.85rem 1.25rem; border-top: 1px solid var(--mk-line); vertical-align: top; }
.mk-table thead th { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mk-muted); }
.mk-table tbody th { font-weight: 600; }
.mk-table--compare td:nth-child(2) { background: var(--mk-tint); }
.mk-th-note { display: block; font-size: 0.6875rem; text-transform: none; letter-spacing: 0; font-weight: 500; }

/* ── FAQ ────────────────────────────────────────────────── */
.mk-faq { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.mk-faq__item { border: 1px solid var(--mk-line); border-radius: 12px; background: var(--mk-card); }
.mk-faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: 0.75rem 1.25rem; cursor: pointer; font-weight: 600; }
.mk-faq__item summary::-webkit-details-marker { display: none; }
.mk-faq__chev { font-size: 1.35rem; color: var(--mk-accent); transition: transform var(--duration-fast); flex-shrink: 0; }
.mk-faq__item[open] .mk-faq__chev { transform: rotate(45deg); }
.mk-faq__body { padding: 0 1.25rem 0.5rem; color: var(--mk-muted); }

/* ── Security, steps, prose ─────────────────────────────── */
.mk-sec-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); padding-bottom: 1rem; }
.mk-sec h2 { font-size: 1.25rem; }
.mk-sec .mk-list { font-size: 0.9375rem; }
.mk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.mk-steps__n { font-family: var(--font-mono); color: var(--mk-accent); font-weight: 700; font-size: 1.5rem; margin-bottom: 0.25rem; }
.mk-steps p:last-child { color: var(--mk-muted); margin: 0; }
.mk-quote { font-size: 1.05rem; border-left: 4px solid var(--primary); }
.mk-prose { padding-bottom: clamp(3rem, 6vw, 5rem); }
.mk-prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.mk-prose ul { padding-left: 1.25rem; }
.mk-prose li { margin-bottom: 0.5rem; }
.mk-prose a, .mk-faq a, .mk-section p a:not(.mk-link):not(.mk-btn), .mk-fine a, .mk-list a { text-decoration: underline; text-underline-offset: 2px; }

/* ── Footer ─────────────────────────────────────────────── */
.mk-footer { border-top: 1px solid var(--mk-line); background: var(--mk-card); padding: 3rem 0 2rem; font-size: 0.9375rem; }
.mk-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.mk-footer__brand p { color: var(--mk-muted); max-width: 20rem; margin-top: 0.5rem; }
.mk .mk-footer__title { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mk-muted); margin-bottom: 0.5rem; }
.mk-footer ul { list-style: none; margin: 0; padding: 0; }
.mk-footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--mk-ink); text-decoration: none; overflow-wrap: anywhere; }
.mk-footer li a:hover { color: var(--mk-accent); text-decoration: underline; }
.mk-footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--mk-line); font-size: 0.75rem; color: var(--mk-muted); line-height: 1.6; }
@media (max-width: 760px) { .mk-footer__grid { grid-template-columns: 1fr 1fr; } .mk-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 360px) { .mk-footer__grid { grid-template-columns: 1fr; } }
@media (max-width: 360px) { .mk-wordmark { font-size: 1.02rem; } .mk-header__actions .mk-btn { padding: 0 0.6rem; font-size: 0.8125rem; } .mk-header__inner { gap: 0.4rem; } }

/* Developers (/developers): code samples and reference tables. */
.mk-dev section { margin: 2.5rem 0; }
.mk-dev h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.mk-dev code { font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 0.875em; background: var(--mk-tint); padding: 0.05em 0.3em; border-radius: 4px; overflow-wrap: anywhere; }
.mk-code { background: #1e1b2e; color: #f5f3ff; border-radius: 12px; padding: 1rem 1.25rem; overflow-x: auto; font-size: 0.8125rem; line-height: 1.55; margin: 1rem 0; }
.mk-code code { background: none; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; white-space: pre; }
.mk-code:focus-visible { outline: 3px solid var(--mk-accent); outline-offset: 2px; }
.mk-dev-toc { margin-top: 1.5rem; }
.mk-dev-toc__title { font-size: 1rem; margin: 0 0 0.5rem; }
.mk-dev-table { min-width: 32rem; }
.mk-dev-muted { color: var(--mk-muted); font-size: 0.875em; }
.mk-dev-steps li { margin-bottom: 0.35rem; }
