/* Marketing pages (Home, Teachers, Choirs, Singers, Sheet music) on the dark public layout.
   Everything is scoped under .mk; the partials are in templates/marketing/ (see README.md there).
   Colour carries meaning: violet is "from a recording", teal is "from sheet music", the same
   pairing the app uses on its Add a song chooser. The product screenshots carry the page. */

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi/Satoshi-Variable.woff2') format('woff2');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

.mk {
    --mk-ink: #0e0e14;          /* the public layout's page colour */
    --mk-raise: #17171f;
    --mk-text: #eeedf3;
    --mk-muted: #aeadbd;        /* 8.6:1 on --mk-ink */
    --mk-line: rgba(255, 255, 255, 0.1);
    --mk-violet: #7c3aed;       /* the nav's Start free */
    --mk-violet-ink: #c9bbff;   /* links: 11:1 on --mk-ink */
    --mk-teal: #5eead4;
    --mk-amber: #fbbf24;
    --mk-gutter: 20px;
    --mk-gap: 80px;

    font-family: 'Satoshi', 'DM Sans', system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--mk-text);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--mk-gutter) var(--mk-gap);
    overflow-wrap: break-word;
}
@media (min-width: 900px) {
    .mk { --mk-gutter: 40px; --mk-gap: 128px; }
}
:where(.mk) p { margin: 0; }   /* zero specificity: component margins below win */
:where(.mk) p + p { margin-top: 0.75em; }

/* --- Type --- */
.mk-h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
    color: #fff;
    text-wrap: balance;
}

/* --- Actions and links --- */
.mk-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.mk-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 24px; border-radius: 999px;
    font-weight: 600; font-size: 1rem; text-decoration: none;
    transition: background-color 0.15s, border-color 0.15s;
}
.mk-btn--primary { background: var(--mk-violet); color: #fff; }
.mk-btn--primary:hover { background: #6d28d9; color: #fff; }
.mk-btn--quiet { color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }
.mk-btn--quiet:hover { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.mk-link {
    color: var(--mk-violet-ink); font-weight: 600;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.mk-link:hover { text-decoration-thickness: 2px; color: #fff; }
.mk-link--quiet { color: var(--mk-muted); font-weight: 500; }
.mk a:focus-visible, .mk summary:focus-visible {
    outline: 3px solid var(--mk-violet-ink); outline-offset: 3px; border-radius: 6px;
}

/* --- Hero --- */
.mk-hero { padding: 56px 0 40px; max-width: 980px; }
.mk-hero__title {
    font-size: clamp(2.5rem, 6.6vw, 4.75rem);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #fff;
    margin: 0;
    text-wrap: balance;
}
.mk-hero__lede { font-size: clamp(1.125rem, 1.8vw, 1.3rem); color: var(--mk-muted); max-width: 38rem; margin-top: 20px; }
@media (min-width: 900px) { .mk-hero { padding: 96px 0 56px; } }

/* --- Product screenshots: light or dark app screens in a soft frame on the dark page --- */
.mk-shot {
    margin: 0;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--mk-line);
    box-shadow: 0 40px 80px -48px var(--mk-glow, rgba(124, 58, 237, 0.55));
    min-width: 0;
}
.mk-shot--teal { --mk-glow: rgba(94, 234, 212, 0.4); }
.mk-shot img { display: block; width: 100%; height: auto; border-radius: 12px; }
@media (min-width: 641px) {
    .mk-shot--crop img { aspect-ratio: var(--mk-ratio); object-fit: cover; object-position: var(--mk-pos); }
}
@media (max-width: 640px) {
    .mk-shot--phone-crop img { aspect-ratio: var(--mk-phone-ratio); object-fit: cover; object-position: var(--mk-phone-pos); }
}

/* --- Ways in: from a recording, from sheet music --- */
.mk-ways { display: grid; gap: 56px; }
.mk-ways--two { grid-template-columns: 1fr; }
@media (min-width: 900px) { .mk-ways--two { grid-template-columns: 1fr 1fr; gap: 40px; } }
.mk-way__text > p { color: var(--mk-muted); max-width: 34rem; }
.mk-way__title {
    display: flex; align-items: center; gap: 12px;
    font-size: 1.5rem; font-weight: 700; letter-spacing: -0.015em; color: #fff;
    margin: 28px 0 8px;
}
.mk-way__title::before { content: ''; width: 28px; height: 4px; border-radius: 2px; background: var(--mk-violet); flex: none; }
.mk-way--teal .mk-way__title::before { background: var(--mk-teal); }
.mk-way__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
/* One way in (no sheet music on this box): the screenshot wide, the words beside it. */
@media (min-width: 900px) {
    .mk-ways:not(.mk-ways--two) .mk-way { display: grid; grid-template-columns: 7fr 4fr; column-gap: 56px; align-items: center; }
    .mk-ways:not(.mk-ways--two) .mk-way__title { margin-top: 0; }
}

/* --- Feature rows (who it's for, and the audience pages' sections) --- */
.mk-audiences { margin-top: var(--mk-gap); display: grid; gap: var(--mk-gap); }
.mk-row { display: grid; gap: 28px; align-items: center; }
.mk-row__text p { color: var(--mk-muted); max-width: 32rem; }
.mk-row__text .mk-link { display: inline-block; margin-top: 18px; }
@media (min-width: 900px) {
    .mk-row { grid-template-columns: 5fr 7fr; gap: 64px; }
    .mk-row--flip .mk-row__text { order: 2; }
}

/* --- What it costs --- */
.mk-prices { margin-top: var(--mk-gap); }
.mk-prices__list { display: grid; gap: 28px; margin: 24px 0 28px; }
@media (min-width: 900px) { .mk-prices__list { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 40px; } }
.mk-prices__item { border-top: 1px solid var(--mk-line); padding-top: 16px; }
.mk-prices__item dt { font-weight: 700; color: #fff; margin-bottom: 6px; }
.mk-prices__item dd { margin: 0; color: var(--mk-muted); }
.mk-prices__item dd + dd { margin-top: 6px; }

/* --- Who makes it --- */
.mk-maker { margin-top: var(--mk-gap); max-width: 44rem; }
.mk-maker p { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--mk-text); }
.mk-maker .mk-link { display: inline-block; margin-top: 16px; }

/* --- Questions --- */
.mk-faq { margin-top: var(--mk-gap); max-width: 48rem; }
.mk-faq__item { border-top: 1px solid var(--mk-line); }
.mk-faq__item:last-child { border-bottom: 1px solid var(--mk-line); }
.mk-faq__item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
    padding: 18px 0; font-weight: 600; font-size: 1.125rem; color: #fff;
}
.mk-faq__item summary::-webkit-details-marker { display: none; }
.mk-faq__item summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--mk-muted); transition: transform 0.2s; }
.mk-faq__item[open] summary::after { transform: rotate(45deg); }
.mk-faq__item p { color: var(--mk-muted); padding: 0 0 20px; max-width: 40rem; }

/* --- Closing band --- */
.mk-cta {
    margin-top: var(--mk-gap);
    padding: 40px 24px;
    border-radius: 24px;
    background: linear-gradient(rgba(124, 58, 237, 0.14), rgba(124, 58, 237, 0.06));
    border: 1px solid rgba(124, 58, 237, 0.35);
}
.mk-cta__title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; color: #fff; margin: 0 0 12px; }
.mk-cta p { color: var(--mk-muted); }
@media (min-width: 900px) { .mk-cta { padding: 64px; } }

/* --- Steps: a real sequence (the teacher's week). A line runs through the markers, left to right on
   wide screens and top to bottom on phones; the last marker is filled, because it hands back to you. --- */
.mk-steps { margin-top: var(--mk-gap); }
.mk-hero + .mk-steps { margin-top: 24px; }   /* straight after the hero, the steps are its picture */
.mk-steps__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; position: relative; }
.mk-steps__item { position: relative; padding-left: 36px; }
.mk-steps__item::before {
    content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid var(--mk-violet-ink); background: var(--mk-ink); z-index: 1;
}
.mk-steps__item:last-child::before { background: var(--mk-violet-ink); }
.mk-steps__item:not(:last-child)::after {
    content: ''; position: absolute; left: 8px; top: 24px; bottom: -30px; width: 2px; background: rgba(201, 187, 255, 0.3);
}
.mk-steps__when { display: block; font-size: 0.95rem; color: var(--mk-muted); margin-bottom: 4px; }
.mk-steps__what { display: block; font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.3; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
@media (min-width: 900px) {
    .mk-steps__list { grid-template-columns: repeat(4, 1fr); gap: 32px; }
    .mk-steps__item { padding: 36px 0 0; }
    .mk-steps__item::before { top: 0; }
    .mk-steps__item:not(:last-child)::after { left: 16px; right: -32px; top: 8px; bottom: auto; width: auto; height: 2px; }
}

/* --- A note in the flow (Song ideas, who makes it) --- */
.mk-note { margin-top: var(--mk-gap); max-width: 44rem; padding-left: 24px; border-left: 4px solid var(--mk-violet); }
.mk-note p { color: var(--mk-muted); }
.mk-note .mk-link { display: inline-block; margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
    .mk *, .mk *::after { transition: none !important; }
}

/* --- A page's lead screen, straight under the hero, with its explanation beside it (Choirs) --- */
.mk-lead { display: grid; gap: 28px; }
.mk-lead__text p { color: var(--mk-muted); max-width: 32rem; }
@media (min-width: 900px) {
    .mk-lead { grid-template-columns: 7fr 4fr; gap: 56px; align-items: center; }
}
/* --- The stage: the home page's playable demo (marketing/_hero_stage.html, js/marketing/hero-stage.js).
   The one place the page spends its boldness. Violet while it plays the recording, teal for the score. --- */
.mk-stage {
    --mk-violet-glow: #a78bfa; --mk-amber: #fbbf24;
    margin: 44px 0 0; border-radius: 28px; border: 1px solid var(--mk-line); overflow: hidden; position: relative;
    background: radial-gradient(120% 90% at 20% 0%, #1d1530 0%, #121019 55%, #0f0f16 100%);
}
.mk-stage[data-mode="score"] { background: radial-gradient(120% 90% at 80% 0%, #0f2626 0%, #101718 55%, #0f0f16 100%); }
:where(.mk-stage) button { font: inherit; }   /* zero specificity: the component sizes below win */
/* The stage's buttons carry .mk-stage in front so their colours beat the public layout's Tailwind
   preflight ([type='button'] { background-color: transparent }), which loads after this file. */
.mk-stage button:focus-visible, .mk-stage input:focus-visible {
    outline: 3px solid var(--mk-violet-ink); outline-offset: 3px;
}

/* Start from a recording or the score, and the source strip: one file in, its parts out. */
.mk-stage__switch { display: flex; align-items: center; gap: 6px; padding: 18px 18px 0; }
.mk-stage__modes { display: flex; gap: 6px; }
.mk-stage .mk-stage__modes button {
    font-size: .95rem; font-weight: 600; color: var(--mk-muted); background: transparent; border: 1px solid var(--mk-line);
    border-radius: 999px; padding: 9px 18px; cursor: pointer; white-space: nowrap;
}
.mk-stage .mk-stage__modes button[aria-pressed="true"] { color: #fff; background: rgba(124,58,237,.28); border-color: rgba(167,139,250,.6); }
.mk-stage[data-mode="score"] .mk-stage__modes button[aria-pressed="true"] { background: rgba(94,234,212,.16); border-color: rgba(94,234,212,.55); }
.mk-stage__source { margin-left: auto; display: flex; align-items: center; gap: 12px; padding-right: 6px; }
.mk-stage__file {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 10px;
    background: rgba(255,255,255,.06); border: 1px solid var(--mk-line); color: #fff; font-weight: 600; font-size: .9rem; white-space: nowrap;
}
.mk-stage__file i { font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .02em; padding: 3px 5px; border-radius: 5px; background: var(--mk-violet); color: #fff; }
.mk-stage[data-mode="score"] .mk-stage__file i { background: var(--mk-teal); color: #062723; }
.mk-stage__arrow { color: var(--mk-muted); }
.mk-stage__lanes { display: grid; grid-template-columns: repeat(var(--mk-lanes, 4), auto); gap: 4px 12px; }
.mk-stage__lane { display: grid; grid-template-columns: 26px auto; align-items: center; gap: 6px; font-size: .8rem; color: var(--mk-muted); white-space: nowrap; }
.mk-stage__lane b { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.mk-stage__lane b::after { content: ''; display: block; height: 100%; width: calc(var(--lv, 0) * 100%); background: var(--mk-violet-glow); border-radius: 3px; }
.mk-stage[data-mode="score"] .mk-stage__lane b::after { background: var(--mk-teal); }
.mk-stage p.mk-stage__note { color: var(--mk-muted); font-size: .9rem; padding: 10px 24px 0 36px; margin: 0; }
.mk-stage__note strong { color: #fff; font-weight: 600; }

/* Only the current mode's source, note and panel show. */
.mk-stage__source--score, .mk-stage__note--score, .mk-stage__panel,
.mk-stage[data-mode="score"] .mk-stage__source--rec, .mk-stage[data-mode="score"] .mk-stage__note--rec { display: none; }
.mk-stage[data-mode="score"] .mk-stage__source--score { display: flex; }
.mk-stage[data-mode="score"] .mk-stage__note--score { display: block; }
.mk-stage[data-mode="rec"] .mk-stage__panel--rec, .mk-stage[data-mode="score"] .mk-stage__panel--score { display: block; }

/* From a recording */
.mk-stage__rec-body { display: grid; grid-template-columns: 1fr 132px; min-height: 440px; }
.mk-stage__rec-main { position: relative; padding: 30px 8px 0 36px; display: flex; flex-direction: column; }
.mk-stage__chord, .mk-stage__lyric, .mk-stage__loop-tag { position: relative; z-index: 1; }
.mk-stage__ribbons {
    position: absolute; left: 0; right: 0; bottom: 84px; height: 110px; width: 100%; pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mk-stage__chord { color: var(--mk-violet-glow); font-weight: 700; font-size: 1.4rem; min-height: 2.1rem; letter-spacing: -.01em; transition: color .3s; }
.mk-stage__chord.moved { color: var(--mk-amber); }
.mk-stage__lyric {
    margin: 0; padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
    font-size: clamp(1.7rem, 3.5vw, 2.9rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 700;
    color: rgba(238,237,243,.32); max-width: 21ch; min-height: 2.3em; text-wrap: balance; border-radius: 10px;
}
.mk-stage__lyric .on { color: #fff; }
.mk-stage__lyric.looping { color: rgba(251,191,36,.45); }
.mk-stage__lyric.looping .on { color: var(--mk-amber); }
.mk-stage__loop-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .95rem; color: var(--mk-muted); min-height: 1.6em; }
.mk-stage__loop-tag b { color: var(--mk-amber); font-weight: 700; }

/* Before hero-stage.js marks the stage ready (no JS, or no modules): no dead controls, the first line
   and a link to the demo song instead. Hidden, not removed, so the stage keeps its size. */
.mk-stage:not(.is-ready) :is(.mk-stage__modes, .mk-stage__tools, .mk-stage__fader, .mk-stage__transport) { visibility: hidden; }
.mk-stage:not(.is-ready) :is(.mk-stage__lyric, .mk-stage__loop-tag), .mk-stage.is-ready .mk-stage__still { display: none; }
.mk-stage__still { margin: 0; position: relative; z-index: 1; }
.mk-stage__still span {
    display: block; font-size: clamp(1.7rem, 3.5vw, 2.9rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 700;
    color: #fff; max-width: 21ch; min-height: 2.3em; text-wrap: balance;
}
.mk-stage__still a { display: inline-block; margin-top: 10px; color: var(--mk-violet-glow); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* The teacher's controls: what the lesson decides. */
.mk-stage__tools { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 18px 0 22px; position: relative; z-index: 1; }
.mk-stage__tool { display: flex; align-items: center; gap: 10px; }
.mk-stage__tool > span { color: var(--mk-muted); font-size: .95rem; }
.mk-stage__step { display: inline-flex; align-items: center; border: 1px solid var(--mk-line); border-radius: 999px; background: rgba(255,255,255,.03); }
.mk-stage .mk-stage__step button { width: 38px; height: 38px; border: 0; background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; border-radius: 999px; }
.mk-stage .mk-stage__step button:hover { background: rgba(255,255,255,.06); }
.mk-stage__step output { min-width: 5.6em; text-align: center; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.mk-stage__seg { display: inline-flex; border: 1px solid var(--mk-line); border-radius: 999px; padding: 3px; gap: 2px; }
.mk-stage .mk-stage__seg button { border: 0; background: transparent; color: var(--mk-muted); padding: 6px 13px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.mk-stage .mk-stage__seg button[aria-pressed="true"] { background: rgba(255,255,255,.12); color: #fff; }

.mk-stage__fader { border-left: 1px solid var(--mk-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 12px; }
.mk-stage__fader label { font-weight: 700; color: #fff; font-size: 1rem; }
.mk-stage__fader input[type=range] { writing-mode: vertical-lr; direction: rtl; appearance: none; -webkit-appearance: none; width: 56px; height: 250px; background: transparent; cursor: grab; }
.mk-stage__fader input[type=range]::-webkit-slider-runnable-track { width: 10px; border-radius: 6px; background: linear-gradient(to top, var(--mk-violet) var(--fill, 100%), #2a2636 var(--fill, 100%)); }
.mk-stage__fader input[type=range]::-moz-range-track { width: 10px; border-radius: 6px; background: #2a2636; }
.mk-stage__fader input[type=range]::-moz-range-progress { width: 10px; border-radius: 6px; background: var(--mk-violet); }
.mk-stage__fader input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 50px; height: 26px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 4px rgba(124,58,237,.45), 0 6px 18px rgba(0,0,0,.5); margin-left: -20px; }
.mk-stage__fader input[type=range]::-moz-range-thumb { width: 50px; height: 26px; border-radius: 8px; background: #fff; border: 0; }
.mk-stage__fader output { font-size: .85rem; color: var(--mk-muted); text-align: center; min-height: 2.6em; line-height: 1.3; }

/* The shared score view (static/js/marketing/score-view.js): the strip it scrolls, zooms and redraws. */
.mk-score__strip { position: absolute; left: 0; transform-origin: 0 0; will-change: transform; }
.mk-score__strip svg { height: 100%; width: auto; display: block; }
/* The engraving's own style strokes every path with currentColor (black), stems and staff lines included; set color too. */
.mk-score__strip svg * { fill: rgba(238,237,243,.55); stroke: rgba(238,237,243,.55); color: rgba(238,237,243,.55); }
.mk-score__strip svg .staff.quiet * { fill: rgba(238,237,243,.18); stroke: rgba(238,237,243,.18); color: rgba(238,237,243,.18); }
.mk-score__strip svg .staff.mine * { fill: rgba(255,255,255,.95); stroke: rgba(255,255,255,.95); color: rgba(255,255,255,.95); }
.mk-score__strip svg .note.lit, .mk-score__strip svg .note.lit *, .mk-score__strip svg .staff .note.lit * { fill: var(--mk-teal); stroke: var(--mk-teal); color: var(--mk-teal); }
/* the part the tour is on */
.mk-score button[data-part].touring { border-color: var(--mk-teal); color: var(--mk-teal); }

/* From sheet music */
.mk-stage__score { position: relative; height: 440px; overflow: hidden; }
.mk-stage__score .mk-score__strip { top: 34px; height: 300px; }
.mk-stage__playhead { position: absolute; top: 20px; bottom: 90px; left: 32%; width: 2px; background: linear-gradient(var(--mk-teal), rgba(94,234,212,0)); box-shadow: 0 0 18px rgba(94,234,212,.6); }
.mk-stage__fade { position: absolute; inset: 0 auto 0 0; width: 80px; background: linear-gradient(90deg, #101718, transparent); pointer-events: none; }
.mk-stage__fade--r { left: auto; right: 0; background: linear-gradient(270deg, #0f1617, transparent); }
.mk-stage__parts { position: absolute; left: 36px; right: 36px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mk-stage__parts span { color: var(--mk-muted); font-size: .95rem; margin-right: 6px; }
.mk-stage .mk-stage__parts button { font-size: .95rem; font-weight: 600; color: var(--mk-text); background: rgba(255,255,255,.04); border: 1px solid var(--mk-line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.mk-stage .mk-stage__parts button[aria-pressed="true"] { color: #062723; background: var(--mk-teal); border-color: var(--mk-teal); }

/* Transport, shared by both modes */
.mk-stage__transport { display: flex; align-items: center; gap: 18px; padding: 16px 24px 20px 28px; border-top: 1px solid var(--mk-line); }
.mk-stage .mk-stage__play { width: 64px; height: 64px; border-radius: 50%; border: 0; background: #fff; color: var(--mk-ink); cursor: pointer; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 8px rgba(124,58,237,.22); }
.mk-stage[data-mode="score"] .mk-stage__play { box-shadow: 0 0 0 8px rgba(94,234,212,.18); }
.mk-stage__play svg { width: 26px; height: 26px; }
.mk-stage__caption { flex: 1; min-height: 3.2em; }
.mk-stage__caption strong { display: block; color: #fff; font-size: 1.1rem; letter-spacing: -.01em; }
.mk-stage__caption span { color: var(--mk-muted); font-size: .95rem; }
.mk-stage__time { color: var(--mk-muted); font-variant-numeric: tabular-nums; font-size: .95rem; }

@media (max-width: 820px) {
    .mk-stage__switch { padding: 14px 14px 0; flex-wrap: wrap; }
    .mk-stage .mk-stage__modes button { font-size: .875rem; padding: 8px 14px; }
    .mk-stage__source { margin-left: 0; width: 100%; padding: 10px 2px 0; flex-wrap: wrap; }
    .mk-stage__lanes { gap: 4px 8px; }
    .mk-stage__lane { grid-template-columns: 14px auto; gap: 4px; }
    .mk-stage__arrow, .mk-stage__more, .mk-stage__time { display: none; }
    .mk-stage p.mk-stage__note { padding: 8px 20px 0; }
    .mk-stage__rec-body { grid-template-columns: 1fr; }
    .mk-stage__rec-main { padding: 20px 20px 0; min-height: 400px; }
    .mk-stage__ribbons { bottom: 130px; height: 80px; }
    .mk-stage__tools { gap: 12px 14px; }
    .mk-stage__fader { border-left: 0; border-top: 1px solid var(--mk-line); flex-direction: row; padding: 14px 20px; }
    .mk-stage__fader input[type=range] { writing-mode: horizontal-tb; direction: ltr; width: 100%; height: 44px; }
    .mk-stage__fader input[type=range]::-webkit-slider-runnable-track { height: 10px; width: auto; background: linear-gradient(to right, var(--mk-violet) var(--fill, 100%), #2a2636 var(--fill, 100%)); }
    .mk-stage__fader input[type=range]::-webkit-slider-thumb { width: 26px; height: 40px; margin-left: 0; margin-top: -15px; }
    .mk-stage__fader output { min-width: 7.5em; text-align: left; }
    .mk-stage__score { height: 320px; }
    .mk-stage__score .mk-score__strip { top: 20px; height: 230px; }
    .mk-stage__playhead { left: 22%; bottom: 76px; }
    .mk-stage__parts { left: 14px; right: 14px; gap: 6px; flex-wrap: nowrap; bottom: 18px; }
    .mk-stage__parts span { display: none; }
    .mk-stage .mk-stage__parts button { flex: 1; padding: 8px 4px; font-size: .875rem; }
    .mk-stage__transport { padding: 14px 18px 16px; gap: 14px; }
    .mk-stage .mk-stage__play { width: 56px; height: 56px; }
    .mk-stage__caption strong { font-size: 1rem; }
    .mk-stage__caption span { font-size: .875rem; }
}

/* --- Home: the actions under the stage, the week between lessons, and the audiences row.
   Button backgrounds carry .mk in front to beat the public layout's Tailwind preflight. --- */
.mk-hero--stage { max-width: 980px; padding-bottom: 0; }
.mk-hero__lede strong { color: var(--mk-text); font-weight: 600; }
.mk-hero--stage .mk-hero__lede { max-width: 56ch; }
.mk-hero--stage + .mk-stage { margin-top: 36px; }
.mk-stage ~ .mk-actions { margin-top: 28px; }
.mk .mk-actions .mk-btn--primary { background-color: var(--mk-violet); color: #fff; }

.mk-week { margin-top: var(--mk-gap); }
.mk-week__lede { color: var(--mk-muted); max-width: 40rem; margin-top: 16px; font-size: 1.15rem; }
.mk-week__days { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--mk-line); }
.mk-week__day { padding: 24px 0 8px; border-top: 1px solid var(--mk-line); }
.mk-week__day:first-child { border-top: 0; }
.mk-week__day h3 { font-weight: 700; margin: 0 0 4px; color: #fff; font-size: 1.25rem; letter-spacing: -0.015em; }
.mk-week__day > p { margin: 0 0 18px; color: var(--mk-muted); font-size: 0.98rem; }
.mk-week__assign {
    border-radius: 18px; padding: 18px 20px; border: 1px solid rgba(167, 139, 250, 0.35);
    background: linear-gradient(160deg, rgba(124, 58, 237, 0.22), rgba(124, 58, 237, 0.06));
}
.mk-week__song { color: #fff; font-weight: 700; font-size: 1.1rem; }
.mk-week__assign dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 0.98rem; }
.mk-week__assign dt { color: var(--mk-muted); }
.mk-week__assign dd { margin: 0; color: #fff; font-weight: 600; }
.mk-week__assign dd.changed { color: #fbbf24; }   /* a setting the teacher changed */
.mk-week__bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 120px; }
.mk-week__bars div { background: linear-gradient(to top, rgba(124, 58, 237, 0.55), rgba(167, 139, 250, 0.9)); border-radius: 6px 6px 3px 3px; }
.mk-week__bars .mk-week__none { background: rgba(255, 255, 255, 0.07); height: 6px !important; }
.mk-week__barDays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; color: var(--mk-muted); font-size: 0.8rem; text-align: center; margin-top: 6px; }
.mk-week__foot { font-size: 0.82rem; color: var(--mk-muted); margin-top: 12px; }
.mk-week__report { border-radius: 18px; border: 1px solid var(--mk-line); background: var(--mk-raise); padding: 18px 20px; }
.mk-week__report strong { display: block; color: #fff; font-size: 1.05rem; }
.mk-week__report p { margin: 6px 0 0; color: var(--mk-muted); font-size: 0.98rem; }
@media (min-width: 900px) {
    .mk-week__days { grid-template-columns: 1.15fr 1fr 1fr; }
    .mk-week__day, .mk-week__day:first-child { border-top: 0; padding: 28px 28px 8px; }
    .mk-week__day:first-child { padding-left: 0; }
    .mk-week__day + .mk-week__day { border-left: 1px solid var(--mk-line); }
}

.mk-audiences--outcomes { gap: 32px; }
.mk-who__title { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 10px; color: #fff; }
.mk-who p { color: var(--mk-muted); }
.mk-who .mk-link { display: inline-block; margin-top: 12px; }
@media (min-width: 900px) {
    .mk-audiences--outcomes { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 40px; }
}

/* --- Home additions (public pages build-out, Task 4; prototypes-2026-11-18/index.html) --- */
/* The small amber line above a headline. */
.mk-hero__top { margin: 0 0 18px; color: var(--mk-amber); font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }

/* "Rehearsal starts with the music.": the choir's week, played out (_readiness_grid.html). */
.mk-rh { margin-top: var(--mk-gap); }
.mk-rh__lede { color: var(--mk-muted); max-width: 56ch; margin-top: 16px; font-size: 1.15rem; }
.mk-rh__board { margin-top: 44px; border-radius: 28px; border: 1px solid var(--mk-line); background: radial-gradient(120% 90% at 80% 0%, #0f2626 0%, #101718 55%, #0f0f16 100%); padding: 28px 32px 30px; }
.mk-rh__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; }
.mk-rh__top h3 { margin: 0; color: #fff; font-size: 1.35rem; font-weight: 700; letter-spacing: -.015em; }
.mk-rh__top p { margin: 4px 0 0; color: var(--mk-muted); font-size: .98rem; }
.mk-rh__days { display: flex; gap: 6px; }
.mk-rh__days span { font-size: .85rem; color: rgba(174,173,189,.6); padding: 5px 10px; border-radius: 999px; border: 1px solid transparent; }
.mk-rh__days span.past { color: var(--mk-muted); }
.mk-rh__days span.now { color: #062723; background: var(--mk-teal); font-weight: 700; }
.mk-rh__days span.rehearsal { border-color: rgba(94,234,212,.5); color: var(--mk-teal); }
.mk-rh__days span.rehearsal.now { color: #062723; }
.mk-rh__grid { display: grid; grid-template-columns: minmax(150px, 1.4fr) repeat(var(--mk-rh-sections, 4), 1fr); gap: 10px 12px; align-items: center; margin-top: 26px; }
.mk-rh__row { display: contents; }
.mk-rh__head { color: var(--mk-muted); font-weight: 600; text-align: center; font-size: .95rem; }
.mk-rh__song { color: var(--mk-violet-ink); font-weight: 700; font-size: 1.05rem; }
.mk-rh__cell { height: 64px; align-content: center; border-radius: 14px; display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; color: rgba(238,237,243,.45); background: rgba(255,255,255,.04); border: 1px solid var(--mk-line); transition: background-color .45s, color .45s, box-shadow .45s; }
.mk-rh__cell b { display: block; font-weight: 700; line-height: 1.1; }
.mk-rh__cell small { display: block; font-size: .72rem; font-weight: 600; opacity: .75; letter-spacing: .01em; margin-top: 2px; }
.mk-rh__cell[data-level="some"] { background: rgba(94,234,212,.18); color: #c9fbf2; border-color: transparent; }
.mk-rh__cell[data-level="most"] { background: #5eead4; color: #062723; border-color: transparent; }
.mk-rh__cell[data-level="all"] { background: #0f766e; color: #fff; border-color: transparent; }
.mk-rh__cell.focus { box-shadow: 0 0 0 3px var(--mk-amber); }
.mk-rh__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; }
.mk-rh__key { display: flex; flex-wrap: wrap; gap: 14px; color: var(--mk-muted); font-size: .9rem; }
.mk-rh__key i { display: inline-block; width: 16px; height: 16px; border-radius: 5px; vertical-align: -3px; margin-right: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--mk-line); }
.mk-rh__key i.some { background: rgba(94,234,212,.18); border: 0; }
.mk-rh__key i.most { background: #5eead4; border: 0; }
.mk-rh__key i.all { background: #0f766e; border: 0; }
.mk .mk-rh__replay { background: transparent; border: 1px solid var(--mk-line); color: var(--mk-text); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: .95rem; }
.mk .mk-rh__replay:hover { border-color: rgba(255,255,255,.4); }
.mk .mk-rh__replay[hidden] { display: none; }
.mk-rh__replay:focus-visible { outline: 3px solid var(--mk-violet-ink); outline-offset: 3px; }
.mk-rh__call { min-height: 1.6em; color: #fff; font-weight: 600; margin-top: 12px; opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease; }
.mk-rh__call b { color: var(--mk-amber); }
.mk-rh__call.show { opacity: 1; transform: none; }
.mk-rh__board.is-resetting .mk-rh__call, .mk-rh__board.is-resetting .mk-rh__cell { transition: none; }
.mk-rh__note { font-size: .82rem; color: var(--mk-muted); margin-top: 12px; }
@media (prefers-reduced-motion: reduce) {
    .mk-rh__call { transition: none; transform: none; }
    .mk-rh__cell { transition: none; }
}
@media (max-width: 820px) {
    .mk-rh__board { padding: 20px 16px 22px; border-radius: 22px; }
    .mk-rh__grid { grid-template-columns: minmax(96px, 1.2fr) repeat(var(--mk-rh-sections, 4), 1fr); gap: 8px 6px; }
    .mk-rh__song { font-size: .9rem; }
    .mk-rh__head { font-size: .8rem; }
    .mk-rh__cell small { font-size: .62rem; }
    .mk-rh__cell { height: 56px; border-radius: 11px; font-size: .85rem; }
    .mk-rh__days span { padding: 4px 7px; font-size: .78rem; }
}

/* "Start free. Pay when it's working for you." (_price_columns.html) */
.mk-pr { margin-top: var(--mk-gap); }
.mk-pr__grid { display: grid; grid-template-columns: 1fr; margin-top: 44px; border: 1px solid var(--mk-line); border-radius: 28px; overflow: hidden; }
.mk-pr__col { padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.mk-pr__col + .mk-pr__col { border-top: 1px solid var(--mk-line); }
.mk-pr__col--you { background: radial-gradient(120% 90% at 0% 0%, rgba(124,58,237,.35), rgba(124,58,237,.08) 70%); box-shadow: inset 0 0 0 1px rgba(167,139,250,.45); }
.mk-pr__col > p { margin: 0; }   /* the column's gap spaces its lines, not :where(.mk) p + p */
.mk-pr__who { color: var(--mk-muted); font-weight: 600; }
.mk-pr__col--you .mk-pr__who { color: var(--mk-amber); }
.mk-pr__big { color: #fff; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1.05; }
.mk-pr__big span { font-size: 1rem; font-weight: 600; color: var(--mk-muted); letter-spacing: 0; }
.mk-pr__line { color: var(--mk-muted); font-size: .98rem; }
.mk-pr__line:last-of-type { margin-bottom: 14px; }
.mk .price-about { color: var(--mk-amber); font-weight: 600; }   /* the US$ meaning of a credit price: 11:1 on --mk-ink */
.mk-pr__col .mk-btn { margin-top: auto; align-self: flex-start; min-height: 46px; padding: 0 22px; font-size: .98rem; }
.mk .mk-pr__col .mk-btn--primary { background-color: var(--mk-violet); color: #fff; }
.mk-pr__all { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; }
.mk-pr__all p { color: #fff; font-weight: 700; }
.mk-pr__all ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--mk-muted); }
.mk-pr__all li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mk-teal); margin-right: 8px; vertical-align: 1px; }
@media (min-width: 821px) {
    .mk-pr__grid--3 { grid-template-columns: 1.15fr 1fr 1fr; }
    .mk-pr__grid--2 { grid-template-columns: 1.15fr 1fr; }
    .mk-pr__col { padding: 30px 28px; }
    .mk-pr__col + .mk-pr__col { border-top: 0; border-left: 1px solid var(--mk-line); }
}

/* "Questions teachers ask", with the Email Dave panel (_faq_teachers.html) */
.mk-fq { margin-top: var(--mk-gap); display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.mk-fq__side p { color: var(--mk-muted); margin: 16px 0 22px; max-width: 34ch; }
.mk-fq__item { border-top: 1px solid var(--mk-line); }
.mk-fq__item:last-child { border-bottom: 1px solid var(--mk-line); }
.mk-fq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; color: #fff; font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.mk-fq__item summary::-webkit-details-marker { display: none; }
.mk-fq__item summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--mk-violet-ink); border-bottom: 2px solid var(--mk-violet-ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; }
.mk-fq__item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.mk-fq__item p { margin: 0 0 22px; color: var(--mk-muted); max-width: 62ch; }
@media (prefers-reduced-motion: reduce) {
    .mk-fq__item summary::after { transition: none; }
}
@media (min-width: 821px) {
    .mk-fq { grid-template-columns: 1fr 1.6fr; gap: 56px; }
}

/* Teachers (templates/marketing/teachers.html, static/js/marketing/teacher-kit.js): one file in, a practice kit
   out; invite the students; see their week. The server renders every scene in its final state; the script
   marks a scene [data-js] and plays it, so without script or with reduced motion the end state just shows. */
.mk-tk__hero { padding-bottom: 0; }
.mk-tk__hero .mk-hero__lede { max-width: 56ch; }
.mk-tk__title { font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; max-width: 15ch; }
.mk-tk__sec { margin-top: var(--mk-gap); }
.mk-tk__h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; max-width: 20ch; margin: 0; }
.mk-tk__intro { color: var(--mk-muted); max-width: 56ch; margin: 16px 0 0; font-size: 1.15rem; }
.mk-tk__foot { font-size: .82rem; color: rgba(174,173,189,.7); margin-top: 14px; }
.mk-tk__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(251,191,36,.55); color: var(--mk-amber); font-weight: 800; font-size: .95rem; margin-bottom: 16px; }
.mk-tk__sec button { font: inherit; }
.mk-tk__sec button:focus-visible { outline: 3px solid var(--mk-violet-ink); outline-offset: 3px; }

/* 1. The kit */
.mk-tk__pick { display: inline-flex; border: 1px solid var(--mk-line); border-radius: 999px; padding: 3px; gap: 2px; margin-top: 26px; }
.mk-tk__pick button { border: 0; background: transparent; color: var(--mk-muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; }
.mk-tk__pick button[aria-pressed="true"] { background: rgba(255,255,255,.12); color: #fff; }
.mk-tk__kit { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.mk-tk__drop { border-radius: 24px; border: 1.5px dashed rgba(167,139,250,.45); background: rgba(124,58,237,.06); padding: 22px; }
.mk-tk__kit[data-src="pdf"] .mk-tk__drop { border-color: rgba(94,234,212,.45); background: rgba(94,234,212,.05); }
.mk-tk__file { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--mk-raise); border: 1px solid var(--mk-line); transition: transform .6s cubic-bezier(.2,.9,.2,1.2), opacity .4s; }
.mk-tk__kit[data-js]:not(.go) .mk-tk__file { transform: translateY(-24px); opacity: 0; }
.mk-tk__file i { font-style: normal; font-weight: 800; font-size: .75rem; padding: 6px 7px; border-radius: 7px; background: var(--mk-violet); color: #fff; }
.mk-tk__kit[data-src="pdf"] .mk-tk__file i { background: var(--mk-teal); color: #062723; }
.mk-tk__file b { display: block; color: #fff; font-size: .98rem; }
.mk-tk__file span { color: var(--mk-muted); font-size: .85rem; }
.mk-tk__steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.mk-tk__steps li { display: flex; gap: 10px; align-items: center; color: var(--mk-text); font-size: .95rem; transition: color .3s; }
.mk-tk__steps li::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--mk-teal); background: var(--mk-teal); box-shadow: inset 0 0 0 3px #101718; transition: background-color .3s, border-color .3s; }
.mk-tk__kit[data-js] .mk-tk__steps li:not(.done) { color: rgba(174,173,189,.55); }
.mk-tk__kit[data-js] .mk-tk__steps li:not(.done)::before { background: transparent; border-color: rgba(255,255,255,.15); }
.mk-tk__ready { margin: 16px 0 0; color: var(--mk-amber); font-weight: 700; transition: opacity .4s; }
.mk-tk__kit[data-js] .mk-tk__ready:not(.on) { opacity: 0; }
.mk .mk-tk__again { margin-top: 14px; background: transparent; border: 1px solid var(--mk-line); color: var(--mk-text); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: .9rem; }
.mk .mk-tk__again[hidden] { display: none; }
.mk-tk__tiles { display: grid; grid-template-columns: 1fr; gap: 14px; }
.mk-tk__kit [hidden] { display: none; }
.mk-tk__tile { border-radius: 20px; border: 1px solid var(--mk-line); background: linear-gradient(170deg, #1a1726, #121119); padding: 18px; display: flex; flex-direction: column; transition: opacity .5s, transform .5s; }
.mk-tk__kit[data-js] .mk-tk__tile:not(.in) { opacity: 0; transform: translateY(14px) scale(.98); }
.mk-tk__kit[data-src="pdf"] .mk-tk__tile { background: linear-gradient(170deg, #11211f, #111618); }
.mk-tk__tile h3 { margin: 0; color: #fff; font-size: 1.05rem; letter-spacing: -.01em; }
.mk-tk__tile > p { margin: 4px 0 0; color: var(--mk-muted); font-size: .9rem; line-height: 1.45; }
.mk-tk__viz { margin-top: auto; padding-top: 14px; }
.mk-tk__lanes { display: grid; gap: 6px; }
.mk-tk__lane { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 8px; font-size: .78rem; color: var(--mk-muted); }
.mk-tk__lane svg { width: 100%; height: 22px; display: block; }
.mk-tk__lane svg rect { fill: #a78bfa; }
.mk-tk__kit[data-src="pdf"] .mk-tk__lane svg rect { fill: var(--mk-teal); }
.mk-tk__hear { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.mk-tk__hear button { border: 1px solid var(--mk-line); background: rgba(255,255,255,.05); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.mk-tk__hear button[aria-pressed="true"] { background: #fff; color: var(--mk-ink); }
.mk-tk__hear button::before { content: ''; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.mk-tk__hear button[aria-pressed="true"]::before { width: 7px; height: 9px; border: 0; background: linear-gradient(90deg, currentColor 35%, transparent 35% 65%, currentColor 65%); }
.mk-tk__hear button[aria-busy="true"] { opacity: .7; cursor: progress; }
.mk-tk__err { margin: 8px 0 0; font-size: .82rem; color: var(--mk-amber); min-height: 0; }
.mk-tk__err:empty { display: none; }
.mk-tk__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-tk__chip { padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--mk-line); color: var(--mk-muted); font-weight: 700; font-size: .95rem; transition: background-color .3s, color .3s, border-color .3s; }
.mk-tk__chip.on { background: var(--mk-violet); color: #fff; border-color: var(--mk-violet); }
.mk-tk__kit[data-src="pdf"] .mk-tk__chip.on { background: var(--mk-teal); color: #062723; border-color: var(--mk-teal); }
.mk-tk__chip small { display: block; font-size: .65rem; font-weight: 600; opacity: .8; }
.mk-tk__words { font-weight: 700; font-size: 1.15rem; line-height: 1.3; color: rgba(238,237,243,.3); letter-spacing: -.01em; }
.mk-tk__words span.on { color: #fff; }
.mk-tk__paper { background: #fbfaf7; color: #1d1b25; border-radius: 10px; padding: 12px 14px; font-size: .78rem; line-height: 1.25; box-shadow: 0 10px 30px rgba(0,0,0,.4); transform: rotate(-1.2deg); overflow: hidden; }
.mk-tk__paper b { display: block; font-size: .9rem; margin-bottom: 6px; }
.mk-tk__cl { color: #6d28d9; font-weight: 800; white-space: pre; }
.mk-tk__ll { white-space: pre; margin-bottom: 6px; }
.mk-tk__scorewin { height: 104px; overflow: hidden; border-radius: 10px; background: rgba(0,0,0,.25); position: relative; }
.mk-tk__strip { position: absolute; top: -10px; left: 0; height: 330px; animation: mk-tk-slide 22s linear infinite; }
.mk-tk__strip svg { height: 100%; width: auto; }
.mk-tk__strip svg * { fill: rgba(238,237,243,.7); stroke: rgba(238,237,243,.7); color: rgba(238,237,243,.7); }
.mk-tk__scorewin::after { content: ''; position: absolute; top: 6px; bottom: 6px; left: 30%; width: 2px; background: var(--mk-teal); box-shadow: 0 0 10px var(--mk-teal); }
@keyframes mk-tk-slide { from { transform: translateX(0); } to { transform: translateX(-3200px); } }
.mk-tk__big { font-size: 2.6rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.mk-tk__big small { font-size: 1rem; color: var(--mk-muted); font-weight: 600; letter-spacing: 0; }
.mk-tk__tick { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 600; }
.mk-tk__tick::before { content: ''; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--mk-teal); -webkit-mask: radial-gradient(circle, #000 60%, transparent 61%); mask: radial-gradient(circle, #000 60%, transparent 61%); }

/* 2. Invite */
.mk-tk__invite { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.mk-tk__card { border-radius: 24px; border: 1px solid var(--mk-line); background: var(--mk-raise); padding: 24px; }
.mk-tk__invite > * { min-width: 0; }   /* grid items: let the card shrink to a 375 px phone (e2e 28 Nov) */
.mk-tk__join > div { min-width: 0; }
.mk-tk__label { color: var(--mk-muted); font-size: .9rem; margin: 0; }
.mk-tk__link-row { display: flex; gap: 8px; margin-top: 8px; }
.mk-tk__link-row code { flex: 1; min-width: 0; font: 600 1rem/1 'Satoshi', system-ui, sans-serif; color: #fff; background: rgba(255,255,255,.05); border: 1px solid var(--mk-line); border-radius: 12px; padding: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mk-tk__copy { display: inline-flex; align-items: center; border-radius: 12px; background: var(--mk-violet); color: #fff; font-weight: 700; padding: 0 18px; }
.mk-tk__badge { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(251,191,36,.12); color: var(--mk-amber); font-weight: 700; }
.mk-tk__small { color: var(--mk-muted); font-size: .92rem; margin: 10px 0 0; }
.mk-tk__joins { display: grid; gap: 10px; overflow: hidden; }   /* the joins slide in from the right */
.mk-tk__join { display: flex; align-items: center; gap: 12px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--mk-line); padding: 12px 14px; transition: opacity .45s, transform .45s; }
.mk-tk__invite[data-js] .mk-tk__join:not(.in) { opacity: 0; transform: translateX(18px); }
.mk-tk__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.mk-tk__join b { color: #fff; display: block; line-height: 1.2; }
.mk-tk__join span { color: var(--mk-muted); font-size: .88rem; }
.mk-tk__join .mk-tk__av { color: #fff; font-size: 1rem; }
.mk-tk__join em { margin-left: auto; font-style: normal; font-size: .8rem; color: var(--mk-teal); font-weight: 700; }

/* 3. Practice habits */
.mk-tk__roster { margin-top: 40px; border-radius: 24px; border: 1px solid var(--mk-line); background: var(--mk-raise); overflow: hidden; }
.mk-tk__r-head { display: none; }
.mk-tk__r-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; align-items: center; padding: 14px 16px; }
.mk-tk__r-row + .mk-tk__r-row { border-top: 1px solid var(--mk-line); }
.mk-tk__r-name { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.mk-tk__r-name .mk-tk__av { width: 32px; height: 32px; font-size: .85rem; }
.mk-tk__r-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; align-items: end; height: 34px; grid-column: 1 / -1; order: 3; }
.mk-tk__r-week i { display: block; border-radius: 3px; background: #a78bfa; height: var(--h, 4px); transition: height .5s cubic-bezier(.2,.8,.2,1); }
.mk-tk__r-week i.zero { background: rgba(255,255,255,.08); }
.mk-tk__roster[data-js] .mk-tk__r-row:not(.in) .mk-tk__r-week i { height: 0; }
.mk-tk__r-num { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.mk-tk__r-last { color: var(--mk-muted); font-size: .95rem; }
.mk-tk__r-last.late { color: var(--mk-amber); font-weight: 700; }
.mk-tk__nudge { margin: 0; padding: 16px 22px; border-top: 1px solid var(--mk-line); color: #fff; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; transition: opacity .6s; }
.mk-tk__roster[data-js] .mk-tk__nudge:not(.on) { opacity: 0; }
.mk-tk__nudge b { color: var(--mk-amber); }
.mk-tk__nudge-btn { margin-left: auto; border: 1px solid var(--mk-line); color: #fff; border-radius: 999px; padding: 7px 14px; font-weight: 600; }

/* What it costs, and the closing */
.mk-tk__price { margin-top: 36px; display: grid; grid-template-columns: 1fr; border: 1px solid var(--mk-line); border-radius: 24px; overflow: hidden; }
.mk-tk__price > div { padding: 26px; }
.mk-tk__price > div + div { border-top: 1px solid var(--mk-line); }
.mk-tk__who { margin: 0; color: var(--mk-amber); font-weight: 700; }
.mk-tk__amt { margin: 6px 0 8px; color: #fff; font-weight: 800; font-size: 2rem; letter-spacing: -.03em; line-height: 1.2; }
.mk-tk__price ul { margin: 0; padding-left: 18px; color: var(--mk-muted); list-style: disc; }
.mk-tk__closing { margin-top: var(--mk-gap); }
.mk-tk__closing .mk-actions { margin-top: 30px; }
@media (min-width: 561px) {
    .mk-tk__tiles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) {
    .mk-tk__hero { padding-top: 56px; }
    .mk-tk__kit { grid-template-columns: 320px 1fr; }
    .mk-tk__drop { position: sticky; top: 24px; }
    .mk-tk__tiles { grid-template-columns: repeat(3, 1fr); }
    .mk-tk__tile { min-height: 210px; }
    .mk-tk__invite { grid-template-columns: 1fr 1fr; }
    .mk-tk__r-head { display: grid; grid-template-columns: 1.3fr 2fr .8fr 1fr; gap: 16px; align-items: center; padding: 14px 22px; color: var(--mk-muted); font-size: .85rem; font-weight: 600; border-bottom: 1px solid var(--mk-line); }
    .mk-tk__r-row { grid-template-columns: 1.3fr 2fr .8fr 1fr; gap: 16px; padding: 14px 22px; }
    .mk-tk__r-week { grid-column: auto; order: 0; }
    .mk-tk__price { grid-template-columns: 1fr 1fr; }
    .mk-tk__price > div + div { border-top: 0; border-left: 1px solid var(--mk-line); }
}
@media (prefers-reduced-motion: reduce) {
    .mk-tk__file, .mk-tk__tile, .mk-tk__join, .mk-tk__r-week i, .mk-tk__nudge, .mk-tk__steps li, .mk-tk__ready { transition: none; }
    .mk-tk__strip { animation: none; }
}

/* Choirs (templates/marketing/choirs.html; static/js/marketing/choir-sections.js) */
/* 1. Each section's part, from the score */
.mk-ch__sections { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.mk-ch__card { border-radius: 24px; border: 1px solid var(--mk-line); background: radial-gradient(120% 90% at 80% 0%, #0f2626 0%, #101718 55%, #0f0f16 100%); padding: 20px; }
.mk-ch__file i { background: var(--mk-teal); color: #062723; }
.mk-ch__win { margin-top: 16px; height: 220px; overflow: hidden; border-radius: 14px; background: rgba(0,0,0,.25); position: relative; }
.mk-ch__still { position: absolute; top: -6%; left: 0; width: 100%; height: auto; filter: invert(1); mix-blend-mode: screen; opacity: .5; }   /* the PDF's first page, light on dark like the engraving */
.mk-ch__win.mk-score .mk-ch__still { display: none; }   /* the engraving has arrived */
.mk-ch__win.mk-score::after { content: ''; position: absolute; top: 8px; bottom: 8px; left: 22%; width: 2px; background: var(--mk-teal); box-shadow: 0 0 12px var(--mk-teal); }
.mk-ch__win .mk-score__strip { top: 6px; height: 208px; }
/* The engraving strokes with currentColor, so each rule sets color too. Every voice dim, the chosen one white, the others and the piano quieter. */
.mk-ch__win .mk-score__strip svg * { fill: rgba(238,237,243,.4); stroke: rgba(238,237,243,.4); color: rgba(238,237,243,.4); }
.mk-ch__win .mk-score__strip svg .staff.mine * { fill: #fff; stroke: #fff; color: #fff; }
.mk-ch__win .mk-score__strip svg .staff.quiet * { fill: rgba(238,237,243,.16); stroke: rgba(238,237,243,.16); color: rgba(238,237,243,.16); }
.mk-ch__win .mk-score__strip svg .note.lit, .mk-ch__win .mk-score__strip svg .note.lit *, .mk-ch__win .mk-score__strip svg .staff .note.lit * { fill: var(--mk-teal); stroke: var(--mk-teal); color: var(--mk-teal); }
.mk-ch__pick { display: grid; gap: 10px; }
.mk .mk-ch__part { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--mk-line); background: rgba(255,255,255,.035); color: var(--mk-text); cursor: pointer; font: inherit; transition: border-color .2s, background-color .2s; }
.mk .mk-ch__part:hover { border-color: rgba(94,234,212,.45); }
.mk .mk-ch__part[aria-pressed="true"] { border-color: var(--mk-teal); background: rgba(94,234,212,.1); }
.mk .mk-ch__part[aria-busy="true"] { cursor: progress; }
.mk-ch__part:focus-visible { outline: 3px solid var(--mk-violet-ink); outline-offset: 3px; }
.mk-ch__pi { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(94,234,212,.14); color: var(--mk-teal); }
.mk-ch__part[aria-pressed="true"] .mk-ch__pi { background: var(--mk-teal); color: #062723; }
.mk-ch__pi::before { content: ''; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.mk-ch__part[aria-pressed="true"] .mk-ch__pi::before { width: 12px; height: 14px; border: 0; margin: 0; background: linear-gradient(90deg, currentColor 35%, transparent 35% 65%, currentColor 65%); }
.mk-ch__part b { display: block; color: #fff; font-size: 1.1rem; }
.mk-ch__part span span { color: var(--mk-muted); font-size: .9rem; }
.mk-ch__part svg { width: 80px; height: 26px; }
.mk-ch__part svg rect { fill: var(--mk-teal); }
.mk-ch__err { margin: 8px 2px 0; font-size: .9rem; color: var(--mk-amber); }
.mk-ch__err:empty { display: none; }
.mk-ch__note { color: var(--mk-muted); font-size: .95rem; margin: 6px 2px 0; }
/* 2. Members join */
.mk-ch__join { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.mk-ch__secs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mk-ch__col { border-radius: 18px; border: 1px solid var(--mk-line); background: rgba(255,255,255,.03); padding: 14px; min-height: 230px; }
.mk-ch__col h3 { margin: 0 0 4px; color: #fff; font-size: 1rem; font-weight: 700; }
.mk-ch__n { color: var(--mk-teal); font-weight: 800; font-variant-numeric: tabular-nums; font-size: .95rem; }
.mk-ch__dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mk-ch__dots i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 800; color: #fff; transition: opacity .35s, transform .35s cubic-bezier(.2,.9,.2,1.4); }
.mk-ch__join[data-js] .mk-ch__dots i:not(.in) { opacity: 0; transform: scale(.4); }
.mk-ch__total { margin: 14px 0 0; color: #fff; font-weight: 700; }
.mk-ch__total b { color: var(--mk-teal); }
@media (min-width: 901px) {
    .mk-ch__sections { grid-template-columns: 1.1fr 1fr; }
    .mk-ch__win { height: 300px; }
    .mk-ch__win .mk-score__strip { height: 288px; }
    .mk-ch__part svg { width: 120px; }
    .mk-ch__join { grid-template-columns: 340px 1fr; }
    .mk-ch__secs { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .mk-ch__dots i, .mk .mk-ch__part { transition: none; }
}

/* For singers (templates/marketing/singers.html; prototype docs/superpowers/specs/prototypes-2026-11-18/singers.html). */
/* The hero: the real band, the singer on a slider (static/js/marketing/singer-band.js) */
.mk .mk-sg__hero { max-width: none; }   /* the band runs the page's full width; the words keep their own measures */
.mk-sg__band { margin-top: 40px; border-radius: 28px; border: 1px solid var(--mk-line); background: radial-gradient(120% 90% at 20% 0%, #1d1530 0%, #121019 55%, #0f0f16 100%); display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.mk-sg__main { padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.mk-sg__play { display: flex; align-items: center; gap: 16px; }
.mk .mk-sg__go { width: 64px; height: 64px; border-radius: 50%; border: 0; background: #fff; color: var(--mk-ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(124,58,237,.22); flex: none; padding: 0; }
.mk-sg__go[aria-busy="true"] { cursor: progress; opacity: .8; }
.mk-sg__go:focus-visible { outline: 3px solid var(--mk-violet-ink); outline-offset: 6px; }
.mk-sg__go svg { width: 26px; height: 26px; }
.mk-sg__play b { color: #fff; font-size: 1.1rem; display: block; }
.mk-sg__play span { color: var(--mk-muted); font-size: .95rem; }
.mk-sg__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-sg__lyric { margin: auto 0 1em; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; color: rgba(238,237,243,.3); max-width: 20ch; }
.mk-sg__lyric span.on { color: #fff; }
.mk-sg__lyric.yours span.on { color: var(--mk-amber); }
.mk-sg__who { margin: 1em 0; color: var(--mk-muted); font-size: .98rem; min-height: 1.6em; }
.mk-sg__who b { color: var(--mk-amber); }
.mk-sg__fader { border-top: 1px solid var(--mk-line); display: flex; align-items: center; gap: 12px; padding: 14px 20px; }
.mk-sg__fader label { color: #fff; font-weight: 700; }
.mk-sg__fader output { color: var(--mk-muted); font-size: .85rem; text-align: center; min-width: 7.5em; }
.mk-sg__fader input[type=range] { appearance: none; -webkit-appearance: none; flex: 1; min-width: 0; height: 44px; background: transparent; cursor: grab; }
.mk-sg__fader input[type=range]:focus-visible { outline: 3px solid var(--mk-violet-ink); outline-offset: 3px; }
.mk-sg__fader input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 6px; background: linear-gradient(to right, var(--mk-violet) var(--fill, 100%), #2a2636 var(--fill, 100%)); }
.mk-sg__fader input[type=range]::-moz-range-track { height: 10px; border-radius: 6px; background: #2a2636; }
.mk-sg__fader input[type=range]::-moz-range-progress { height: 10px; border-radius: 6px; background: var(--mk-violet); }
.mk-sg__fader input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 40px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 4px rgba(124,58,237,.45); margin-top: -15px; }
.mk-sg__fader input[type=range]::-moz-range-thumb { width: 26px; height: 40px; border-radius: 8px; background: #fff; border: 0; }
/* 1. Read the part: Shenandoah in the shared score view; the part buttons are the Choirs page's */
.mk-sg__read { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.mk-sg__win { position: relative; height: 250px; overflow: hidden; border-radius: 24px; border: 1px solid var(--mk-line); background: radial-gradient(120% 90% at 80% 0%, #0f2626 0%, #101718 55%, #0f0f16 100%); }
.mk-sg__win .mk-score__strip { top: 20px; height: 220px; }
.mk-sg__win.mk-score::after { content: ''; position: absolute; top: 14px; bottom: 14px; left: 24%; width: 2px; background: var(--mk-teal); box-shadow: 0 0 14px var(--mk-teal); }
.mk-sg__win .mk-score__strip svg * { fill: rgba(238,237,243,.5); stroke: rgba(238,237,243,.5); color: rgba(238,237,243,.5); }
.mk-sg__win .mk-score__strip svg .staff.mine * { fill: #fff; stroke: #fff; color: #fff; }
.mk-sg__win .mk-score__strip svg .staff.quiet * { fill: rgba(238,237,243,.15); stroke: rgba(238,237,243,.15); color: rgba(238,237,243,.15); }
.mk-sg__win .mk-score__strip svg .note.lit, .mk-sg__win .mk-score__strip svg .note.lit *, .mk-sg__win .mk-score__strip svg .staff .note.lit * { fill: var(--mk-teal); stroke: var(--mk-teal); color: var(--mk-teal); }
/* 2. The example take (static/js/marketing/take-example.js) */
.mk-sg__review { margin-top: 40px; border-radius: 28px; border: 1px solid var(--mk-line); background: var(--mk-raise); padding: 24px 26px; }
.mk-sg__rv-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; }
.mk-sg__rv-top h3 { margin: 0; color: #fff; font-size: 1.25rem; font-weight: 700; }
.mk-sg__key { display: flex; flex-wrap: wrap; gap: 14px; color: var(--mk-muted); font-size: .9rem; }
.mk-sg__key i { display: inline-block; width: 22px; height: 0; border-top: 3px solid; vertical-align: 4px; margin-right: 6px; }
.mk-sg__k-part i { border-color: rgba(238,237,243,.35); border-top-width: 6px; border-radius: 3px; }
.mk-sg__k-on i { border-color: var(--mk-teal); }
.mk-sg__k-near i { border-color: var(--mk-amber); }
.mk-sg__k-off i { border-color: #f87171; border-top-style: dashed; }
.mk-sg__canvas { width: 100%; height: 200px; display: block; margin-top: 16px; }
.mk-sg__axis { display: flex; justify-content: space-between; color: rgba(174,173,189,.7); font-size: .8rem; font-variant-numeric: tabular-nums; margin-top: 4px; }
.mk-sg__spots { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.mk-sg__spots li { display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: rgba(251,191,36,.07); border: 1px solid rgba(251,191,36,.25); color: var(--mk-text); transition: opacity .4s, transform .4s; }
.mk-sg__review[data-js] .mk-sg__spots li:not(.in) { opacity: 0; transform: translateY(6px); }
.mk-sg__spots li b { color: var(--mk-amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-sg__takes { margin-top: 22px; border-radius: 22px; border: 1px solid var(--mk-line); background: var(--mk-raise); padding: 18px 22px; }
.mk-sg__takes-h { margin: 0 0 14px; color: #fff; font-weight: 700; }
.mk-sg__takes-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.mk-sg__take { display: grid; gap: 6px; }
.mk-sg__bar { height: 120px; border-radius: 10px; background: rgba(255,255,255,.05); position: relative; overflow: hidden; }
.mk-sg__bar i { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(94,234,212,.35), #5eead4); border-radius: 10px 10px 0 0; transition: height .9s cubic-bezier(.2,.8,.2,1); }
.mk-sg__take b { color: #fff; font-variant-numeric: tabular-nums; font-size: 1.2rem; }
.mk-sg__take span { color: var(--mk-muted); font-size: .85rem; line-height: 1.3; }
/* Song ideas */
.mk-sg__ideas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.mk .mk-sg__ideas-go { margin-top: 22px; }
@media (min-width: 901px) {
    .mk-sg__band { grid-template-columns: minmax(0, 1fr) 150px; }
    .mk-sg__main { padding: 30px 24px 26px 34px; min-height: 340px; }
    .mk-sg__fader { border-top: 0; border-left: 1px solid var(--mk-line); flex-direction: column; justify-content: center; padding: 22px 10px; }
    .mk-sg__fader input[type=range] { flex: none; writing-mode: vertical-lr; direction: rtl; width: 56px; height: 220px; }
    .mk-sg__fader input[type=range]::-webkit-slider-runnable-track { height: auto; width: 10px; background: linear-gradient(to top, var(--mk-violet) var(--fill, 100%), #2a2636 var(--fill, 100%)); }
    .mk-sg__fader input[type=range]::-moz-range-track { height: auto; width: 10px; }
    .mk-sg__fader input[type=range]::-moz-range-progress { height: auto; width: 10px; }
    .mk-sg__fader input[type=range]::-webkit-slider-thumb { width: 50px; height: 26px; margin-top: 0; margin-left: -20px; }
    .mk-sg__fader input[type=range]::-moz-range-thumb { width: 50px; height: 26px; }
    .mk-sg__fader output { min-height: 2.6em; min-width: 0; }
    .mk-sg__read { grid-template-columns: 1.6fr 1fr; }
    .mk-sg__win { height: 330px; }
    .mk-sg__win .mk-score__strip { height: 290px; }
    .mk-sg__read .mk-ch__part svg { width: 120px; }
    .mk-sg__canvas { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
    .mk-sg__spots li, .mk-sg__bar i { transition: none; }
}

/* Sheet music (templates/marketing/sheet_music.html; static/js/marketing/sheet-ways.js) */
/* Before and after: the PDF's first pages, fanned, beside the score stage */
.mk-sm__hero { max-width: none; }   /* the before and after runs the page's full width, as the prototype */
.mk-sm__ba { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; }
.mk-sm__pages { position: relative; height: 300px; }
.mk-sm__pages img { position: absolute; width: 200px; height: auto; border-radius: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.55); background: #fff; }
.mk-sm__pages img:nth-child(1) { left: 34px; top: 26px; transform: rotate(5deg); opacity: .55; }
.mk-sm__pages img:nth-child(2) { left: 18px; top: 14px; transform: rotate(2.5deg); opacity: .8; }
.mk-sm__pages img:nth-child(3) { left: 0; top: 0; }
.mk-sm__tag { position: absolute; left: 0; bottom: -2px; display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px 6px 6px; border-radius: 10px; background: var(--mk-raise); border: 1px solid var(--mk-line); color: #fff; font-weight: 600; font-size: .9rem; }
.mk-sm__tag i { font-style: normal; font-weight: 800; font-size: .72rem; padding: 4px 6px; border-radius: 6px; background: var(--mk-teal); color: #062723; }
.mk-sm__arrow { text-align: center; color: var(--mk-teal); font-size: 2rem; transform: rotate(90deg); }
.mk-sm__stage { border-radius: 26px; border: 1px solid var(--mk-line); background: radial-gradient(120% 90% at 80% 0%, #0f2626 0%, #101718 55%, #0f0f16 100%); overflow: hidden; min-width: 0; }
.mk-sm__win { position: relative; height: 250px; overflow: hidden; }
.mk-sm__win .mk-score__strip { top: 18px; height: 220px; }
.mk-sm__win::after { content: ''; position: absolute; top: 12px; bottom: 12px; left: 20%; width: 2px; background: var(--mk-teal); box-shadow: 0 0 14px var(--mk-teal); }
.mk-sm__win .mk-score__strip svg * { fill: rgba(238,237,243,.55); stroke: rgba(238,237,243,.55); color: rgba(238,237,243,.55); }
.mk-sm__win .mk-score__strip svg .staff.mine * { fill: #fff; stroke: #fff; color: #fff; }
.mk-sm__win .mk-score__strip svg .staff.quiet * { fill: rgba(238,237,243,.16); stroke: rgba(238,237,243,.16); color: rgba(238,237,243,.16); }
.mk-sm__win .mk-score__strip svg .note.lit, .mk-sm__win .mk-score__strip svg .note.lit *, .mk-sm__win .mk-score__strip svg .staff .note.lit * { fill: var(--mk-teal); stroke: var(--mk-teal); color: var(--mk-teal); }
.mk-sm__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 18px; border-top: 1px solid var(--mk-line); }
.mk-sm button { font: inherit; }
.mk-sm button:focus-visible { outline: 3px solid var(--mk-violet-ink); outline-offset: 3px; }
.mk-sm__play { width: 56px; height: 56px; border-radius: 50%; border: 0; background: #fff; color: var(--mk-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 7px rgba(94,234,212,.18); flex: none; }
.mk-sm__play svg { width: 22px; height: 22px; }
.mk-sm__cap { flex: 1; min-width: 180px; }
.mk-sm__cap b { display: block; color: #fff; }
.mk-sm__cap span { color: var(--mk-muted); font-size: .92rem; }
.mk-sm__parts { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-sm__parts button { border: 1px solid var(--mk-line); background: rgba(255,255,255,.04); color: var(--mk-text); border-radius: 999px; padding: 7px 14px; font-weight: 600; cursor: pointer; }
.mk-sm__parts button[aria-pressed="true"] { background: var(--mk-teal); color: #062723; border-color: var(--mk-teal); }
.mk-sm__parts button.touring { border-color: var(--mk-teal); color: var(--mk-teal); }
/* The three steps */
.mk-sm__how { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.mk-sm__how article { border-radius: 20px; border: 1px solid var(--mk-line); background: var(--mk-raise); padding: 20px; }
.mk-sm__how h3 { margin: 10px 0 6px; color: #fff; font-size: 1.1rem; font-weight: 700; }
.mk-sm__how p { margin: 0; color: var(--mk-muted); font-size: .95rem; }
/* Three ways to learn your part */
.mk-sm__ways { margin-top: 36px; border-radius: 26px; border: 1px solid var(--mk-line); background: radial-gradient(120% 90% at 80% 0%, #0f2626 0%, #101718 55%, #0f0f16 100%); padding: 22px 24px; }
.mk-sm__voices { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-sm__voices button { border: 1px solid var(--mk-line); background: rgba(255,255,255,.04); color: var(--mk-text); border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; }
.mk-sm__voices button[aria-pressed="true"] { background: #fff; color: var(--mk-ink); border-color: #fff; }
.mk-sm__modes { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.mk-sm__modes button { text-align: left; border: 1px solid var(--mk-line); background: rgba(255,255,255,.035); color: var(--mk-text); border-radius: 18px; padding: 16px; cursor: pointer; }
.mk-sm__modes button b { display: block; color: #fff; font-size: 1.1rem; }
.mk-sm__modes button span { color: var(--mk-muted); font-size: .92rem; }
.mk-sm__modes button[aria-pressed="true"] { border-color: var(--mk-teal); background: rgba(94,234,212,.1); }
.mk-sm__meters { margin-top: 18px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mk-sm__wm { display: grid; gap: 6px; }
.mk-sm__wm i { display: block; height: 54px; border-radius: 10px; background: rgba(255,255,255,.05); position: relative; overflow: hidden; }
.mk-sm__wm i::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--lv, 0) * 100%); background: linear-gradient(to top, rgba(94,234,212,.35), #5eead4); }
.mk-sm__wm.mine i::after { background: linear-gradient(to top, rgba(255,255,255,.35), #fff); }
.mk-sm__wm span { color: var(--mk-muted); font-size: .85rem; text-align: center; }
.mk-sm__wm.mine span { color: #fff; font-weight: 700; }
.mk-sm__now { margin: 14px 0 0; color: #fff; font-weight: 600; }
.mk-sm__works { color: var(--mk-muted); margin: 16px 0 0; font-size: 1.15rem; max-width: 56ch; }
@media (min-width: 901px) {
    .mk-sm__ba { grid-template-columns: 300px 60px minmax(0, 1fr); gap: 0; }
    .mk-sm__ba--alone { grid-template-columns: 300px; }
    .mk-sm__pages { height: 380px; }
    .mk-sm__pages img { width: 250px; }
    .mk-sm__arrow { transform: none; }
    .mk-sm__win { height: 330px; }
    .mk-sm__win .mk-score__strip { height: 290px; }
    .mk-sm__win::after { left: 26%; }
    .mk-sm__how { grid-template-columns: repeat(3, 1fr); }
    .mk-sm__modes { grid-template-columns: repeat(3, 1fr); }
    .mk-sm__meters { gap: 10px; }
    .mk-sm__wm i { height: 70px; }
    .mk-tk__price.mk-sm__price--one { grid-template-columns: 1fr; max-width: 50%; }
}

/* --- Plans (/plans/, templates/subscriptions/plans_26.html): "Which one are you?", the credits calculator,
   "Who gets what". Ported from prototypes-2026-11-18/plans.html. --- */
.mk-pl--app { background: var(--mk-ink); border-radius: 24px; margin-bottom: 24px; }   /* inside the app's light layout */
.mk-pl__hero { max-width: none; }
.mk-pl__hero .mk-hero__lede { max-width: 56ch; }
.mk-pl__hero .mk-hero__lede strong { color: var(--mk-text); font-weight: 600; }
.mk-pl button { font: inherit; }
.mk-pl button:focus-visible, .mk-pl input:focus-visible, .mk-pl__table:focus-visible, .mk-pl__interval label:focus-within {
    outline: 3px solid var(--mk-violet-ink); outline-offset: 3px;
}
.mk-pl__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mk-pl__pick { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mk-pl__pick button { text-align: left; border: 1px solid var(--mk-line); background: rgba(255,255,255,.035); color: var(--mk-text); border-radius: 18px; padding: 16px 18px; cursor: pointer; }
.mk-pl__pick button b { display: block; color: #fff; font-size: 1.1rem; }
.mk-pl__pick button span { color: var(--mk-muted); font-size: .9rem; }
.mk-pl__pick button[aria-pressed="true"] { border-color: rgba(167,139,250,.8); background: rgba(124,58,237,.2); }
.mk-pl__plan { margin-top: 16px; display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--mk-line); border-radius: 26px; overflow: hidden; }
.mk-pl__plan[hidden] { display: none; }
.mk-pl__plan > div { padding: 28px; }
.mk-pl__plan > div + div { border-left: 1px solid var(--mk-line); background: rgba(255,255,255,.02); }
.mk-pl__who { margin: 0; color: var(--mk-amber); font-weight: 700; }
.mk-pl__amt { margin: 6px 0 4px; color: #fff; font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.03em; line-height: 1.05; }
.mk-pl__amt small { font-size: 1rem; color: var(--mk-muted); font-weight: 600; letter-spacing: 0; }
.mk-pl p.mk-pl__alt { color: var(--mk-muted); margin: 0 0 16px; }
.mk-pl__example p.mk-pl__alt { margin: 0; }
.mk-pl__plan ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; }
.mk-pl__plan li { display: flex; gap: 10px; }
.mk-pl__plan li::before { content: ''; flex: none; width: 9px; height: 9px; margin-top: 9px; border-radius: 50%; background: var(--mk-teal); }
.mk-pl__people { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; flex-wrap: wrap; }
.mk-pl__people b { color: #fff; font-size: 1.6rem; font-weight: 800; }
.mk-pl__people span { color: var(--mk-muted); }
.mk-pl__example h3 { margin: 18px 0 10px; color: #fff; font-size: 1.05rem; font-weight: 700; }
.mk-pl p.mk-pl__exnote { margin: -6px 0 6px; color: var(--mk-muted); font-size: .88rem; }
.mk-pl__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--mk-line); color: var(--mk-text); font-variant-numeric: tabular-nums; }
.mk-pl__row b { color: #fff; white-space: nowrap; }
.mk-pl__row--total { border-bottom: 0; color: var(--mk-amber); font-weight: 700; }
.mk-pl__form { margin: 0; }
.mk-pl__interval { border: 1px solid var(--mk-line); border-radius: 999px; padding: 3px; margin: 0 0 14px; display: inline-flex; gap: 2px; }
.mk-pl__interval label { position: relative; border-radius: 999px; }
.mk-pl__interval input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mk-pl__interval span { display: block; padding: 6px 14px; border-radius: 999px; color: var(--mk-muted); font-weight: 600; font-size: .92rem; }
.mk-pl__interval em { font-style: normal; color: var(--mk-teal); font-size: .8rem; }
.mk-pl__interval input:checked + span { background: rgba(255,255,255,.12); color: #fff; }
.mk-pl__status { margin: 0 0 10px; color: var(--mk-teal); font-weight: 600; }
.mk-pl__status--warn { color: var(--mk-amber); }
.mk-pl p.mk-pl__note { margin-top: 10px; color: var(--mk-muted); font-size: .9rem; }
.mk-pl__calc { margin-top: 36px; border-radius: 26px; border: 1px solid var(--mk-line); background: radial-gradient(120% 90% at 20% 0%, #1d1530 0%, #121019 55%, #0f0f16 100%); padding: 26px 28px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.mk-pl__calc label { display: flex; justify-content: space-between; color: #fff; font-weight: 700; margin-top: 18px; }
.mk-pl__seg + label { margin-top: 0; }
.mk-pl__calc label span { color: var(--mk-violet-ink); font-variant-numeric: tabular-nums; }
.mk-pl__calc input[type=range] { width: 100%; margin-top: 10px; accent-color: #7c3aed; }
.mk-pl p.mk-pl__hint { color: var(--mk-muted); font-size: .88rem; margin: 4px 0 0; }
.mk-pl__out { border-radius: 20px; background: rgba(0,0,0,.25); border: 1px solid var(--mk-line); padding: 22px; }
.mk-pl__big { font-size: 3rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.mk-pl__big small { font-size: 1rem; color: var(--mk-muted); font-weight: 600; letter-spacing: 0; }
.mk-pl__out p { color: var(--mk-muted); margin: 10px 0 0; }
.mk-pl__out p b { color: #fff; }
.mk-pl__seg { display: inline-flex; border: 1px solid var(--mk-line); border-radius: 999px; padding: 3px; gap: 2px; margin-bottom: 18px; }
.mk-pl__seg button { border: 0; background: transparent; color: var(--mk-muted); padding: 6px 12px; border-radius: 999px; cursor: pointer; font-weight: 600; }
.mk-pl__seg button[aria-pressed="true"] { background: rgba(255,255,255,.12); color: #fff; }
.mk-pl__table { margin-top: 36px; border: 1px solid var(--mk-line); border-radius: 24px; overflow: hidden; }
.mk-pl__table table { width: 100%; border-collapse: collapse; }
.mk-pl__table th, .mk-pl__table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--mk-line); vertical-align: top; }
.mk-pl__table thead th { color: var(--mk-muted); font-weight: 600; font-size: .9rem; }
.mk-pl__table tbody th { color: #fff; font-weight: 600; }
.mk-pl__table td { color: var(--mk-text); }
.mk-pl__table .mk-pl__yes { color: var(--mk-teal); font-weight: 700; }
.mk-pl__table .mk-pl__no { color: rgba(174,173,189,.6); }
.mk-pl__table tbody tr:last-child th, .mk-pl__table tbody tr:last-child td { border-bottom: 0; }
.mk-pl__table tbody tr:nth-child(even) { background: none; }   /* the public layout stripes tables */
@media (max-width: 900px) {
    .mk-pl__pick { grid-template-columns: 1fr 1fr; }
    .mk-pl__plan { grid-template-columns: 1fr; }
    .mk-pl__plan > div + div { border-left: 0; border-top: 1px solid var(--mk-line); }
    .mk-pl__calc { grid-template-columns: 1fr; }
    .mk-pl__table { overflow-x: auto; }
    .mk-pl__table table { min-width: 620px; }
}
