/* ═══════════════════════════════════════════
   Masterclass subpage — uses the tokens, fonts,
   .btn and .cf-f patterns from style.css (loaded first).
   Page-specific layout + the login modal live here.

   Colour scheme: LIGHT page (cream) + DARK card.
═══════════════════════════════════════════ */

body.mc {
  background: var(--cream);
  color: var(--blk);
  min-height: 100svh;
  overflow-x: hidden;
}
body.mc.mc-locked { overflow: hidden; }  /* lock scroll while the modal is open */
/* Native cursor stays hidden (via style.css `* { cursor:none !important }`) —
   masterclass.js renders the same custom dot+ring cursor as the main site. */

/* ─── NAV (matches the other subpages' .legal-nav) ─── */
.legal-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px; border-bottom: 1px solid var(--bdr);
  /* sit above the full-screen login modal so it's always reachable */
  position: relative; z-index: 110;
}
.legal-nav a {
  font-family: var(--ff-d); font-size: 20px; letter-spacing: 0.08em;
  color: var(--blk); transition: color 0.2s;
}
.legal-nav a:hover { color: var(--yel-dk); }
.legal-nav .back {
  font-family: var(--ff-s); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.legal-nav .back:hover { color: var(--blk); }

/* ─── SHARED EYEBROW ─── */
.mc-eyebrow {
  font-family: var(--ff-s); font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════════
   CLASSROOM
═══════════════════════════════════════════ */
/* Scroll-progress bar (mirrors the main site) */
.mc-scroll {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--yel); transform: scaleX(0); transform-origin: left;
  z-index: 130; pointer-events: none;
}

/* Shared centered container for both views */
.mc-shell { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.mc-shell.is-in { animation: mc-fade 0.35s var(--ease) both; }
.mc-progress { height: 6px; background: var(--bdr); }
.mc-progress__bar { display: block; height: 100%; background: var(--yel); transition: width 0.4s var(--ease); }
.mc-progress__label {
  font-family: var(--ff-s); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

/* ─── OVERVIEW (dashboard) ─── */
.mc-ov__head { padding: 56px 0 36px; border-bottom: 1px solid var(--bdr); margin-bottom: 44px; }
.mc-ov__title { font-family: var(--ff-d); font-size: clamp(56px, 10vw, 120px); line-height: 0.9; letter-spacing: 0.01em; }
.mc-ov__sub { font-family: var(--ff-b); font-size: 17px; line-height: 1.6; color: rgba(13, 12, 9, 0.7); max-width: 560px; margin-top: 12px; }
.mc-ov__bar { display: flex; align-items: center; gap: 16px; margin-top: 28px; max-width: 480px; }
.mc-ov__bar .mc-progress { flex: 1; }
.mc-ov__head .mc-logout { margin-top: 26px; }

.mc-ov__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px; background: var(--bdr); border: 1px solid var(--bdr);
  margin-bottom: 100px;
}
.mc-mcard { background: var(--cream); padding: 28px 26px; }
.mc-mcard__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--bdr);
}
.mc-mcard__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; flex-shrink: 0;
  font-family: var(--ff-s); font-size: 12px; font-weight: 700;
  background: var(--blk); color: var(--cream);
}
.mc-mcard__title { font-family: var(--ff-d); font-size: 24px; letter-spacing: 0.02em; line-height: 1; }
.mc-mcard__list { display: flex; flex-direction: column; }
.mc-llink {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 12px 6px;
  font-family: var(--ff-b); font-size: 15px; color: rgba(13, 12, 9, 0.82);
  border-bottom: 1px solid var(--bdr);
  transition: color 0.2s, padding-left 0.2s;
}
.mc-mcard__list li:last-child .mc-llink { border-bottom: none; }
.mc-llink:hover { color: var(--blk); padding-left: 12px; }
.mc-llink__check {
  flex-shrink: 0; width: 18px; height: 18px;
  border: 1.5px solid var(--bdr-h); border-radius: 50%; position: relative;
}
.mc-llink.is-done .mc-llink__check { background: var(--yel); border-color: var(--yel); }
.mc-llink.is-done .mc-llink__check::after {
  content: ''; position: absolute; left: 5.5px; top: 2px;
  width: 4px; height: 8px; border: solid var(--blk);
  border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.mc-llink__t { flex: 1; line-height: 1.3; }
.mc-llink__d {
  font-family: var(--ff-s); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--muted); flex-shrink: 0;
}

/* ─── LESSON BAR (sticky) ─── */
.mc-lessonbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; margin-bottom: 4px;
  background: var(--cream); border-bottom: 1px solid var(--bdr);
}
.mc-back-btn {
  font-family: var(--ff-s); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blk);
  transition: color 0.2s;
}
.mc-back-btn:hover { color: var(--yel-dk); }
.mc-lessonbar__pos {
  margin-left: auto;
  font-family: var(--ff-s); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.mc-lessonbar__prog { font-family: var(--ff-s); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--yel-dk); }

/* Nav toggle (hide/show sidebar) */
.mc-navtoggle {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-s); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blk);
  transition: color 0.2s;
}
.mc-navtoggle:hover { color: var(--yel-dk); }
.mc-navtoggle__icon { position: relative; width: 16px; height: 2px; background: currentColor; }
.mc-navtoggle__icon::before,
.mc-navtoggle__icon::after { content: ''; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
.mc-navtoggle__icon::before { top: -5px; }
.mc-navtoggle__icon::after  { top: 5px; }

/* ─── LESSON LAYOUT (collapsible sidebar + content) ─── */
.mc-layout { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: start; }
.mc-layout.is-collapsed { grid-template-columns: 1fr; }
.mc-layout.is-collapsed .mc-coursenav { display: none; }
.mc-navscrim { display: none; }

.mc-coursenav {
  position: sticky; top: 60px; align-self: start;
  max-height: calc(100vh - 60px); overflow-y: auto;
  padding: 30px 24px 30px 0; border-right: 1px solid var(--bdr);
}
.mc-cn__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.mc-cn__eyebrow { font-family: var(--ff-s); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.mc-cn__mod { margin-bottom: 22px; }
.mc-cn__modtitle {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-d); font-size: 18px; letter-spacing: 0.03em; color: var(--blk); margin-bottom: 6px;
}
.mc-cn__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
  font-family: var(--ff-s); font-size: 10px; font-weight: 700;
  background: var(--blk); color: var(--cream);
}
.mc-cn__list { display: flex; flex-direction: column; }
.mc-cn__link {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 9px 10px;
  font-family: var(--ff-b); font-size: 14px; line-height: 1.3; color: rgba(13, 12, 9, 0.72);
  border-left: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.mc-cn__link:hover { color: var(--blk); background: rgba(13, 12, 9, 0.05); }
.mc-cn__link.is-active { color: var(--blk); font-weight: 500; background: rgba(242, 194, 0, 0.18); border-left-color: var(--yel); }
.mc-cn__check { flex-shrink: 0; width: 16px; height: 16px; border: 1.5px solid var(--bdr-h); border-radius: 50%; position: relative; }
.mc-cn__link.is-done .mc-cn__check { background: var(--yel); border-color: var(--yel); }
.mc-cn__link.is-done .mc-cn__check::after {
  content: ''; position: absolute; left: 4.5px; top: 1.5px;
  width: 4px; height: 7px; border: solid var(--blk); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.mc-cn__t { flex: 1; }
.mc-cn__d { font-family: var(--ff-s); font-size: 11px; font-weight: 600; color: var(--muted); flex-shrink: 0; }

/* ─── LESSON STAGE ─── */
.mc-stage { max-width: 760px; padding: 36px 0 120px; }
.mc-layout.is-collapsed .mc-stage { margin: 0 auto; }
@keyframes mc-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.mc-crumbs {
  font-family: var(--ff-s); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.mc-lesson__title {
  font-family: var(--ff-d); font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95; letter-spacing: 0.01em;
}
.mc-lesson__meta {
  font-family: var(--ff-s); font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  margin: 10px 0 28px;
}
.mc-done-tag { color: var(--yel-dk); }

/* ─── LIGHT CONTENT PROTECTION ───
   Deters casual copying/saving of lesson content. NOT real security —
   the course still ships in masterclass.js. The prompt "Kopírovať"
   buttons still work (they use the Clipboard API, not text selection). */
.mc-shell {
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
/* Prompt text stays selectable for readability (still copyable via button only) */
.mc-prompt__text { -webkit-user-select: text; user-select: text; }
/* Stop drag-to-save and right-click-on-image */
.mc-shell img {
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}

/* Video placeholder */
.mc-video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background-size: cover; background-position: center; background-color: var(--blk);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 44px; overflow: hidden;
}
.mc-video::after { content: ''; position: absolute; inset: 0; background: rgba(13, 12, 9, 0.35); }
.mc-video__play {
  position: relative; z-index: 1;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--yel); color: var(--blk);
  display: flex; align-items: center; justify-content: center; padding-left: 4px;
  transition: transform 0.2s;
}
.mc-video__play:hover { transform: scale(1.08); }
.mc-video__tag {
  position: absolute; z-index: 1; bottom: 14px; left: 16px;
  font-family: var(--ff-s); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream);
}

/* Lesson text */
.mc-h { font-family: var(--ff-d); font-size: 26px; letter-spacing: 0.02em; margin: 34px 0 10px; }
.mc-h--mark { display: flex; align-items: center; gap: 12px; }
.mc-h--mark::before { content: ''; width: 18px; height: 3px; background: var(--yel); }
.mc-p { font-family: var(--ff-b); font-size: 16px; line-height: 1.75; color: rgba(13, 12, 9, 0.8); max-width: 64ch; }

/* Callout — "Najčastejšia chyba" / "Tip" */
.mc-callout {
  margin: 26px 0; padding: 16px 20px;
  border-left: 3px solid var(--blk); background: var(--cream-d);
}
.mc-callout--tip { border-left-color: var(--yel); }
.mc-callout__label {
  display: block; font-family: var(--ff-s); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blk); margin-bottom: 6px;
}
.mc-callout__body { font-family: var(--ff-b); font-size: 15px; line-height: 1.7; color: rgba(13, 12, 9, 0.82); }

/* Copy-prompt block (dark, like a code snippet) */
.mc-prompt { margin: 26px 0; background: #231f19; color: var(--cream); }
.mc-prompt__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid rgba(243, 237, 224, 0.12);
}
.mc-prompt__label {
  font-family: var(--ff-s); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243, 237, 224, 0.5);
}
.mc-prompt__copy {
  font-family: var(--ff-s); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blk); background: var(--yel); padding: 6px 12px;
  transition: opacity 0.2s;
}
.mc-prompt__copy:hover { opacity: 0.85; }
.mc-prompt__text {
  margin: 0; padding: 16px 18px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13.5px; line-height: 1.75;
  color: var(--cream); white-space: pre-wrap; word-break: break-word;
  overflow-x: auto;
}
/* Highlighted [placeholder] tokens in prompt templates */
.mc-prompt__var {
  color: var(--yel);
  background: rgba(242, 194, 0, 0.13);
  padding: 0 3px;
}
.mc-prompt__hint {
  margin: 0; padding: 0 18px 14px;
  font-family: var(--ff-s); font-size: 11px; letter-spacing: 0.04em;
  color: rgba(243, 237, 224, 0.5);
}
.mc-prompt__hint .mc-prompt__var { background: none; padding: 0; }

/* Before / after slider */
.mc-ba { margin: 28px 0; }
.mc-ba__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blk); }
.mc-ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-ba__clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.mc-ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--yel); transform: translateX(-1px); }
.mc-ba__tag {
  position: absolute; bottom: 12px;
  font-family: var(--ff-s); font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); background: rgba(13, 12, 9, 0.55); padding: 3px 8px;
}
.mc-ba__tag--b { left: 12px; }
.mc-ba__tag--a { right: 12px; }
.mc-ba__range { display: block; width: 100%; margin-top: 12px; accent-color: var(--yel-dk); }

/* Try-then-reveal task */
.mc-reveal { margin: 28px 0; padding: 22px; border: 1.5px solid var(--bdr); }
.mc-reveal__task { font-family: var(--ff-b); font-size: 16px; line-height: 1.65; color: var(--blk); }
.mc-reveal__label {
  display: block; font-family: var(--ff-s); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--yel-dk); margin-bottom: 6px;
}
.mc-reveal__btn {
  margin-top: 14px;
  font-family: var(--ff-s); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blk); border-bottom: 2px solid var(--yel); padding-bottom: 2px;
}
.mc-reveal__sol { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--bdr-h); }

/* Self-check rubric */
.mc-rubric { margin: 28px 0; padding: 22px; background: var(--cream-d); }
.mc-rubric__label {
  display: block; font-family: var(--ff-s); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blk); margin-bottom: 12px;
}
.mc-rubric__list { display: flex; flex-direction: column; gap: 8px; }
.mc-rubric__item {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--ff-b); font-size: 15px; line-height: 1.5; color: rgba(13, 12, 9, 0.82);
}
.mc-rubric__item input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--yel-dk); }

/* Workbook */
.mc-wb { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--bdr); }
.mc-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.mc-shot { border: 1px solid var(--bdr); background: var(--cream-d); }
.mc-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mc-shot figcaption {
  font-family: var(--ff-s); font-size: 11px; letter-spacing: 0.04em;
  color: var(--muted); padding: 8px 12px;
}

/* Flip cards — end-of-lesson tips / takeaways */
.mc-cards { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--bdr); }
.mc-cards__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-top: 20px;
}
.mc-card { perspective: 1000px; aspect-ratio: 4 / 3; background: none; text-align: left; }
.mc-card__inner {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform 0.55s var(--ease);
}
.mc-card.is-flipped .mc-card__inner { transform: rotateY(180deg); }
.mc-card__face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px; border: 1.5px solid var(--bdr);
}
.mc-card__front { background: var(--blk); color: var(--cream); }
.mc-card__back  { background: var(--yel); color: var(--blk); border-color: var(--yel); transform: rotateY(180deg); }
.mc-card__hint {
  font-family: var(--ff-s); font-size: 9px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.5;
}
.mc-card__front .mc-card__txt { font-family: var(--ff-d); font-size: 22px; line-height: 1.05; letter-spacing: 0.02em; }
.mc-card__back  .mc-card__txt { font-family: var(--ff-b); font-size: 14px; line-height: 1.55; }

/* Quiz */
.mc-quiz { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--bdr); }
.mc-q { margin-top: 24px; }
.mc-q__q { font-family: var(--ff-s); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.mc-q__opts { display: flex; flex-direction: column; gap: 8px; }
.mc-opt {
  text-align: left; padding: 12px 16px;
  font-family: var(--ff-b); font-size: 15px; color: var(--blk);
  border: 1.5px solid var(--bdr);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.mc-opt:hover:not(:disabled) { border-color: var(--blk); }
.mc-opt.is-correct { border-color: #2e7d32; background: rgba(46, 125, 50, 0.1); color: #1b5e20; }
.mc-opt.is-correct::before { content: '✓ '; font-weight: 700; }
.mc-opt.is-wrong { border-color: #c0392b; background: rgba(192, 57, 43, 0.08); color: #c0392b; }
.mc-opt.is-wrong::before { content: '✕ '; font-weight: 700; }
.mc-q__fb { margin-top: 10px; font-family: var(--ff-s); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.mc-q__fb.is-ok { color: #2e7d32; }
.mc-q__fb.is-no { color: #c0392b; }

/* Pager */
.mc-pager {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--bdr);
}
.mc-pager__btn {
  display: flex; flex-direction: column; gap: 4px; text-align: left;
  padding: 14px 18px; border: 1.5px solid var(--bdr); max-width: 48%;
  transition: border-color 0.2s, transform 0.2s;
}
.mc-pager__btn--next { text-align: right; align-items: flex-end; margin-left: auto; }
.mc-pager__btn:hover { border-color: var(--blk); transform: translateY(-2px); }
.mc-pager__dir {
  font-family: var(--ff-s); font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.mc-pager__name { font-family: var(--ff-s); font-weight: 700; font-size: 15px; }

/* ─── CLASSROOM RESPONSIVE ─── */
/* Sidebar becomes an off-canvas drawer */
@media (max-width: 900px) {
  .mc-layout, .mc-layout.is-collapsed { grid-template-columns: 1fr; gap: 0; }
  .mc-coursenav {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 120;
    width: 300px; max-width: 86vw; max-height: none;
    padding: 28px 24px; border-right: 1px solid var(--bdr);
    background: var(--cream);
    transform: translateX(-100%); transition: transform 0.3s var(--ease);
  }
  .mc-layout.is-collapsed .mc-coursenav { display: block; transform: translateX(-100%); }
  .mc-layout:not(.is-collapsed) .mc-coursenav { transform: none; }
  .mc-navscrim {
    display: block; position: fixed; inset: 0; z-index: 115;
    background: rgba(13, 12, 9, 0.4);
    opacity: 0; visibility: hidden; transition: opacity 0.3s;
  }
  .mc-layout:not(.is-collapsed) .mc-navscrim { opacity: 1; visibility: visible; }
  .mc-stage, .mc-layout.is-collapsed .mc-stage { margin: 0 auto; }
}

@media (max-width: 760px) {
  .mc-shell { padding: 0 20px; }
  .mc-ov__grid { grid-template-columns: 1fr; }
  .mc-shots { grid-template-columns: 1fr; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .mc-shell.is-in { animation: none; }
  .mc-progress__bar, .mc-card__inner, .mc-coursenav, .mc-navscrim { transition: none; }
}

/* ─── LOGIN MODAL ─── */
.mc-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.mc-modal.open {
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.mc-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(243, 237, 224, 0.82);
  backdrop-filter: blur(10px);
}
.mc-modal__panel {
  position: relative;
  width: 100%; max-width: 420px;
  background: #231f19;          /* softer warm dark — less harsh than pure --blk */
  color: var(--cream);
  padding: 40px 36px 32px;
  animation: mc-pop 0.5s var(--ease) both;
}
@keyframes mc-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.mc-modal__panel .mc-eyebrow { color: rgba(243, 237, 224, 0.4); }
.mc-modal__title {
  font-family: var(--ff-d); font-size: 52px;
  line-height: 0.95; letter-spacing: 0.02em;
}
.mc-modal__sub { font-size: 14px; color: rgba(243, 237, 224, 0.45); margin: 8px 0 24px; }

.mc-form { display: flex; flex-direction: column; gap: 1px; }

/* Keep the input fields clearly LIGHT on the dark card */
.mc-form .cf-f { margin-bottom: 0; background: var(--cream); }
.mc-form .cf-f:focus-within { background: var(--white); }
.mc-form .cf-f input { color: var(--blk); }
.mc-form .cf-f input::placeholder { color: rgba(13, 12, 9, 0.35); }

/* Stop the browser (dark mode) from painting autofilled inputs dark */
.mc-form .cf-f input:-webkit-autofill,
.mc-form .cf-f input:-webkit-autofill:hover,
.mc-form .cf-f input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--blk);
  -webkit-box-shadow: 0 0 0 1000px var(--cream) inset;
  caret-color: var(--blk);
}
.mc-form__error {
  color: #ff6f61; font-size: 13px; font-weight: 500;
  margin-top: 12px;
}
.mc-form__submit {
  margin-top: 20px; width: 100%; justify-content: center;
}
.mc-form__submit:disabled { opacity: 0.55; pointer-events: none; }

.mc-modal__note { font-size: 13px; color: rgba(243, 237, 224, 0.45); margin-top: 18px; text-align: center; }
.mc-modal__note a { color: var(--yel); text-decoration: underline; text-underline-offset: 2px; }

/* ─── MOTION PREFERENCE ─── */
@media (prefers-reduced-motion: reduce) {
  .mc-modal__panel { animation-duration: 0.01ms; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .legal-nav { padding: 16px 20px; }
  .mc-ov__head { padding: 40px 0 28px; }
  .mc-stage { padding: 28px 0 80px; }
  .mc-modal__panel { padding: 32px 24px 26px; }
  .mc-pager { flex-direction: column; }
  .mc-pager__btn { max-width: none; }
}
